-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Maximo Mussini <[email protected]>
- Loading branch information
Showing
21 changed files
with
224 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ export default interface Composer { | |
lastName?: string | ||
name: string | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,3 @@ export default interface ComposerWithSongs { | |
name: string | ||
songs: Model[] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ export default interface Model { | |
id: AnyModel['id'] | ||
title: AnyModel['title'] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,3 @@ export default interface NestedAlbum { | |
title: AnyModel['title'] | ||
tracks: Song[] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ export default interface SnakeComposer { | |
last_name?: string | ||
name: string | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ export default interface Song { | |
composer: Composer | ||
title?: string | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,3 @@ export default interface SongWithVideos { | |
title?: string | ||
videos: Video[] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,3 @@ export default interface Video { | |
youtubeId?: string | ||
youtubeUrl?: string | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,3 @@ export default interface VideoWithSong { | |
youtubeId?: string | ||
youtubeUrl?: string | ||
} | ||
|
15 changes: 15 additions & 0 deletions
15
spec/types_from_serializers/__snapshots__/namespace_interfaces_ComposerSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// TypesFromSerializers CacheKey b379726b6fef2dadbfd614384b868746 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
export {} | ||
|
||
declare global { | ||
namespace Schema { | ||
interface Composer { | ||
id: number | ||
firstName?: string | ||
lastName?: string | ||
name: string | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ypes_from_serializers/__snapshots__/namespace_interfaces_ComposerWithSongsSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// TypesFromSerializers CacheKey 1e3a5dea8847b2dcfe76fec134589cbb | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type Model from './Model' | ||
|
||
declare global { | ||
namespace Schema { | ||
interface ComposerWithSongs { | ||
id: number | ||
firstName?: string | ||
lastName?: string | ||
name: string | ||
songs: Model[] | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
spec/types_from_serializers/__snapshots__/namespace_interfaces_ModelSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// TypesFromSerializers CacheKey ed8ff6fbc986e6b666d559749c666dc5 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type AnyModel from '../AnyModel' | ||
|
||
declare global { | ||
namespace Schema { | ||
interface Model { | ||
id: AnyModel['id'] | ||
title: AnyModel['title'] | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
spec/types_from_serializers/__snapshots__/namespace_interfaces_Nested__AlbumSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// TypesFromSerializers CacheKey 58897b61d86838c60d1f12700f326896 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type AnyModel from '../../AnyModel' | ||
import type Song from '../Song' | ||
|
||
declare global { | ||
namespace Schema { | ||
interface NestedAlbum { | ||
id: AnyModel['id'] | ||
title: AnyModel['title'] | ||
tracks: Song[] | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
spec/types_from_serializers/__snapshots__/namespace_interfaces_SnakeComposerSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// TypesFromSerializers CacheKey 89e5760366d01f7f21244d341e1af2d4 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
export {} | ||
|
||
declare global { | ||
namespace Schema { | ||
interface SnakeComposer { | ||
id: number | ||
first_name?: string | ||
last_name?: string | ||
name: string | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
spec/types_from_serializers/__snapshots__/namespace_interfaces_SongSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// TypesFromSerializers CacheKey c3af64a41d21e71dfae56644517994e1 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type Composer from './Composer' | ||
|
||
declare global { | ||
namespace Schema { | ||
interface Song { | ||
id: number | ||
composer: Composer | ||
title?: string | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
spec/types_from_serializers/__snapshots__/namespace_interfaces_SongWithVideosSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// TypesFromSerializers CacheKey 6774f7cbf07614cf9b4136fbd0c8b441 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type Composer from './Composer' | ||
import type Video from './Video' | ||
|
||
declare global { | ||
namespace Schema { | ||
interface SongWithVideos { | ||
id: number | ||
composer: Composer | ||
title?: string | ||
videos: Video[] | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
spec/types_from_serializers/__snapshots__/namespace_interfaces_VideoSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// TypesFromSerializers CacheKey 45d6b515fb6118eabbd39d586269cdd0 | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
export {} | ||
|
||
declare global { | ||
namespace Schema { | ||
interface Video { | ||
id: number | ||
createdAt: string | Date | ||
title?: string | ||
untypedFieldExample: any | ||
youtubeId?: string | ||
youtubeUrl?: string | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
spec/types_from_serializers/__snapshots__/namespace_interfaces_VideoWithSongSerializer.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// TypesFromSerializers CacheKey 4042db0fa9ebdf8668c7c5f0ec172e6d | ||
// | ||
// DO NOT MODIFY: This file was automatically generated by TypesFromSerializers. | ||
import type Song from './Song' | ||
|
||
declare global { | ||
namespace Schema { | ||
interface VideoWithSong { | ||
id: number | ||
createdAt: string | Date | ||
song: Song | ||
title?: string | ||
untypedFieldExample: any | ||
youtubeId?: string | ||
youtubeUrl?: string | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters