@jh-tech/be-content-shared 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,15 +2,29 @@ import { z } from 'zod';
2
2
  export declare const creatorCreationData: z.ZodObject<{
3
3
  name: z.ZodString;
4
4
  description: z.ZodOptional<z.ZodString>;
5
- primaryRole: z.ZodEnum<{
6
- studio: "studio";
7
- director: "director";
8
- writer: "writer";
9
- actor: "actor";
10
- band: "band";
11
- author: "author";
12
- publisher: "publisher";
13
- developer: "developer";
14
- }>;
5
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
6
+ "film-director": "film-director";
7
+ "film-producer": "film-producer";
8
+ "film-writer": "film-writer";
9
+ "film-actor": "film-actor";
10
+ "film-studio": "film-studio";
11
+ "film-publisher": "film-publisher";
12
+ }>, z.ZodEnum<{
13
+ "video_game-studio": "video_game-studio";
14
+ "video_game-publisher": "video_game-publisher";
15
+ "video_game-developer": "video_game-developer";
16
+ }>, z.ZodEnum<{
17
+ "music-artist": "music-artist";
18
+ "music-producer": "music-producer";
19
+ "music-label": "music-label";
20
+ "music-band": "music-band";
21
+ }>, z.ZodEnum<{
22
+ "tv-director": "tv-director";
23
+ "tv-producer": "tv-producer";
24
+ "tv-writer": "tv-writer";
25
+ "tv-actor": "tv-actor";
26
+ "tv-studio": "tv-studio";
27
+ "tv-network": "tv-network";
28
+ }>]>;
15
29
  }, z.core.$strip>;
16
30
  export type CreatorCreationData = z.infer<typeof creatorCreationData>;
@@ -2,17 +2,38 @@ import { z } from 'zod';
2
2
  declare const projectCreatorRelation: z.ZodObject<{
3
3
  creatorId: z.ZodUUID;
4
4
  primary: z.ZodBoolean;
5
- role: z.ZodString;
5
+ role: z.ZodUnion<readonly [z.ZodEnum<{
6
+ "film-director": "film-director";
7
+ "film-producer": "film-producer";
8
+ "film-writer": "film-writer";
9
+ "film-actor": "film-actor";
10
+ "film-studio": "film-studio";
11
+ "film-publisher": "film-publisher";
12
+ }>, z.ZodEnum<{
13
+ "video_game-studio": "video_game-studio";
14
+ "video_game-publisher": "video_game-publisher";
15
+ "video_game-developer": "video_game-developer";
16
+ }>, z.ZodEnum<{
17
+ "music-artist": "music-artist";
18
+ "music-producer": "music-producer";
19
+ "music-label": "music-label";
20
+ "music-band": "music-band";
21
+ }>, z.ZodEnum<{
22
+ "tv-director": "tv-director";
23
+ "tv-producer": "tv-producer";
24
+ "tv-writer": "tv-writer";
25
+ "tv-actor": "tv-actor";
26
+ "tv-studio": "tv-studio";
27
+ "tv-network": "tv-network";
28
+ }>]>;
6
29
  }, z.core.$strip>;
7
30
  export type ProjectCreatorRelation = z.infer<typeof projectCreatorRelation>;
8
31
  export declare const projectCreationData: z.ZodObject<{
9
32
  type: z.ZodEnum<{
10
- movie: "movie";
11
- album: "album";
12
- single: "single";
13
- game: "game";
14
- book: "book";
15
- "tv show": "tv show";
33
+ film: "film";
34
+ video_game: "video_game";
35
+ music: "music";
36
+ tv: "tv";
16
37
  }>;
17
38
  title: z.ZodString;
18
39
  description: z.ZodOptional<z.ZodString>;
@@ -325,12 +346,10 @@ export declare const projectCreationData: z.ZodObject<{
325
346
  export type ProjectCreationData = z.infer<typeof projectCreationData>;
326
347
  export declare const projectWithCreatorRelationCreationData: z.ZodObject<{
327
348
  type: z.ZodEnum<{
328
- movie: "movie";
329
- album: "album";
330
- single: "single";
331
- game: "game";
332
- book: "book";
333
- "tv show": "tv show";
349
+ film: "film";
350
+ video_game: "video_game";
351
+ music: "music";
352
+ tv: "tv";
334
353
  }>;
335
354
  title: z.ZodString;
336
355
  description: z.ZodOptional<z.ZodString>;
@@ -642,7 +661,30 @@ export declare const projectWithCreatorRelationCreationData: z.ZodObject<{
642
661
  creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
643
662
  creatorId: z.ZodUUID;
644
663
  primary: z.ZodBoolean;
645
- role: z.ZodString;
664
+ role: z.ZodUnion<readonly [z.ZodEnum<{
665
+ "film-director": "film-director";
666
+ "film-producer": "film-producer";
667
+ "film-writer": "film-writer";
668
+ "film-actor": "film-actor";
669
+ "film-studio": "film-studio";
670
+ "film-publisher": "film-publisher";
671
+ }>, z.ZodEnum<{
672
+ "video_game-studio": "video_game-studio";
673
+ "video_game-publisher": "video_game-publisher";
674
+ "video_game-developer": "video_game-developer";
675
+ }>, z.ZodEnum<{
676
+ "music-artist": "music-artist";
677
+ "music-producer": "music-producer";
678
+ "music-label": "music-label";
679
+ "music-band": "music-band";
680
+ }>, z.ZodEnum<{
681
+ "tv-director": "tv-director";
682
+ "tv-producer": "tv-producer";
683
+ "tv-writer": "tv-writer";
684
+ "tv-actor": "tv-actor";
685
+ "tv-studio": "tv-studio";
686
+ "tv-network": "tv-network";
687
+ }>]>;
646
688
  }, z.core.$strip>>>;
647
689
  }, z.core.$strip>;
648
690
  export type ProjectWithCreatorRelationCreationData = z.infer<typeof projectWithCreatorRelationCreationData>;
@@ -5,16 +5,30 @@ declare const request: z.ZodObject<{
5
5
  data: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  description: z.ZodOptional<z.ZodString>;
8
- primaryRole: z.ZodEnum<{
9
- studio: "studio";
10
- director: "director";
11
- writer: "writer";
12
- actor: "actor";
13
- band: "band";
14
- author: "author";
15
- publisher: "publisher";
16
- developer: "developer";
17
- }>;
8
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
9
+ "film-director": "film-director";
10
+ "film-producer": "film-producer";
11
+ "film-writer": "film-writer";
12
+ "film-actor": "film-actor";
13
+ "film-studio": "film-studio";
14
+ "film-publisher": "film-publisher";
15
+ }>, z.ZodEnum<{
16
+ "video_game-studio": "video_game-studio";
17
+ "video_game-publisher": "video_game-publisher";
18
+ "video_game-developer": "video_game-developer";
19
+ }>, z.ZodEnum<{
20
+ "music-artist": "music-artist";
21
+ "music-producer": "music-producer";
22
+ "music-label": "music-label";
23
+ "music-band": "music-band";
24
+ }>, z.ZodEnum<{
25
+ "tv-director": "tv-director";
26
+ "tv-producer": "tv-producer";
27
+ "tv-writer": "tv-writer";
28
+ "tv-actor": "tv-actor";
29
+ "tv-studio": "tv-studio";
30
+ "tv-network": "tv-network";
31
+ }>]>;
18
32
  }, z.core.$strip>;
19
33
  }, z.core.$strip>;
20
34
  }, z.core.$strip>;
@@ -22,16 +36,30 @@ declare const response: z.ZodObject<{
22
36
  data: z.ZodObject<{
23
37
  id: z.ZodUUID;
24
38
  name: z.ZodString;
25
- primaryRole: z.ZodEnum<{
26
- studio: "studio";
27
- director: "director";
28
- writer: "writer";
29
- actor: "actor";
30
- band: "band";
31
- author: "author";
32
- publisher: "publisher";
33
- developer: "developer";
34
- }>;
39
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
40
+ "film-director": "film-director";
41
+ "film-producer": "film-producer";
42
+ "film-writer": "film-writer";
43
+ "film-actor": "film-actor";
44
+ "film-studio": "film-studio";
45
+ "film-publisher": "film-publisher";
46
+ }>, z.ZodEnum<{
47
+ "video_game-studio": "video_game-studio";
48
+ "video_game-publisher": "video_game-publisher";
49
+ "video_game-developer": "video_game-developer";
50
+ }>, z.ZodEnum<{
51
+ "music-artist": "music-artist";
52
+ "music-producer": "music-producer";
53
+ "music-label": "music-label";
54
+ "music-band": "music-band";
55
+ }>, z.ZodEnum<{
56
+ "tv-director": "tv-director";
57
+ "tv-producer": "tv-producer";
58
+ "tv-writer": "tv-writer";
59
+ "tv-actor": "tv-actor";
60
+ "tv-studio": "tv-studio";
61
+ "tv-network": "tv-network";
62
+ }>]>;
35
63
  description: z.ZodOptional<z.ZodString>;
36
64
  createdAt: z.ZodString;
37
65
  updatedAt: z.ZodString;
@@ -9,16 +9,30 @@ declare const response: z.ZodObject<{
9
9
  data: z.ZodObject<{
10
10
  id: z.ZodUUID;
11
11
  name: z.ZodString;
12
- primaryRole: z.ZodEnum<{
13
- studio: "studio";
14
- director: "director";
15
- writer: "writer";
16
- actor: "actor";
17
- band: "band";
18
- author: "author";
19
- publisher: "publisher";
20
- developer: "developer";
21
- }>;
12
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
13
+ "film-director": "film-director";
14
+ "film-producer": "film-producer";
15
+ "film-writer": "film-writer";
16
+ "film-actor": "film-actor";
17
+ "film-studio": "film-studio";
18
+ "film-publisher": "film-publisher";
19
+ }>, z.ZodEnum<{
20
+ "video_game-studio": "video_game-studio";
21
+ "video_game-publisher": "video_game-publisher";
22
+ "video_game-developer": "video_game-developer";
23
+ }>, z.ZodEnum<{
24
+ "music-artist": "music-artist";
25
+ "music-producer": "music-producer";
26
+ "music-label": "music-label";
27
+ "music-band": "music-band";
28
+ }>, z.ZodEnum<{
29
+ "tv-director": "tv-director";
30
+ "tv-producer": "tv-producer";
31
+ "tv-writer": "tv-writer";
32
+ "tv-actor": "tv-actor";
33
+ "tv-studio": "tv-studio";
34
+ "tv-network": "tv-network";
35
+ }>]>;
22
36
  description: z.ZodOptional<z.ZodString>;
23
37
  createdAt: z.ZodString;
24
38
  updatedAt: z.ZodString;
@@ -10,12 +10,10 @@ declare const response: z.ZodObject<{
10
10
  id: z.ZodUUID;
11
11
  title: z.ZodString;
12
12
  type: z.ZodEnum<{
13
- movie: "movie";
14
- album: "album";
15
- single: "single";
16
- game: "game";
17
- book: "book";
18
- "tv show": "tv show";
13
+ film: "film";
14
+ video_game: "video_game";
15
+ music: "music";
16
+ tv: "tv";
19
17
  }>;
20
18
  description: z.ZodOptional<z.ZodString>;
21
19
  releaseDate: z.ZodOptional<z.ZodString>;
@@ -5,16 +5,30 @@ declare const request: z.ZodObject<{
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  description: z.ZodOptional<z.ZodString>;
8
- primaryRole: z.ZodEnum<{
9
- studio: "studio";
10
- director: "director";
11
- writer: "writer";
12
- actor: "actor";
13
- band: "band";
14
- author: "author";
15
- publisher: "publisher";
16
- developer: "developer";
17
- }>;
8
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
9
+ "film-director": "film-director";
10
+ "film-producer": "film-producer";
11
+ "film-writer": "film-writer";
12
+ "film-actor": "film-actor";
13
+ "film-studio": "film-studio";
14
+ "film-publisher": "film-publisher";
15
+ }>, z.ZodEnum<{
16
+ "video_game-studio": "video_game-studio";
17
+ "video_game-publisher": "video_game-publisher";
18
+ "video_game-developer": "video_game-developer";
19
+ }>, z.ZodEnum<{
20
+ "music-artist": "music-artist";
21
+ "music-producer": "music-producer";
22
+ "music-label": "music-label";
23
+ "music-band": "music-band";
24
+ }>, z.ZodEnum<{
25
+ "tv-director": "tv-director";
26
+ "tv-producer": "tv-producer";
27
+ "tv-writer": "tv-writer";
28
+ "tv-actor": "tv-actor";
29
+ "tv-studio": "tv-studio";
30
+ "tv-network": "tv-network";
31
+ }>]>;
18
32
  }, z.core.$strip>>;
19
33
  }, z.core.$strip>;
20
34
  }, z.core.$strip>;
@@ -22,16 +36,30 @@ declare const response: z.ZodObject<{
22
36
  data: z.ZodArray<z.ZodObject<{
23
37
  id: z.ZodUUID;
24
38
  name: z.ZodString;
25
- primaryRole: z.ZodEnum<{
26
- studio: "studio";
27
- director: "director";
28
- writer: "writer";
29
- actor: "actor";
30
- band: "band";
31
- author: "author";
32
- publisher: "publisher";
33
- developer: "developer";
34
- }>;
39
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
40
+ "film-director": "film-director";
41
+ "film-producer": "film-producer";
42
+ "film-writer": "film-writer";
43
+ "film-actor": "film-actor";
44
+ "film-studio": "film-studio";
45
+ "film-publisher": "film-publisher";
46
+ }>, z.ZodEnum<{
47
+ "video_game-studio": "video_game-studio";
48
+ "video_game-publisher": "video_game-publisher";
49
+ "video_game-developer": "video_game-developer";
50
+ }>, z.ZodEnum<{
51
+ "music-artist": "music-artist";
52
+ "music-producer": "music-producer";
53
+ "music-label": "music-label";
54
+ "music-band": "music-band";
55
+ }>, z.ZodEnum<{
56
+ "tv-director": "tv-director";
57
+ "tv-producer": "tv-producer";
58
+ "tv-writer": "tv-writer";
59
+ "tv-actor": "tv-actor";
60
+ "tv-studio": "tv-studio";
61
+ "tv-network": "tv-network";
62
+ }>]>;
35
63
  description: z.ZodOptional<z.ZodString>;
36
64
  createdAt: z.ZodString;
37
65
  updatedAt: z.ZodString;
@@ -14,16 +14,30 @@ declare const response: z.ZodObject<{
14
14
  data: z.ZodArray<z.ZodObject<{
15
15
  id: z.ZodUUID;
16
16
  name: z.ZodString;
17
- primaryRole: z.ZodEnum<{
18
- studio: "studio";
19
- director: "director";
20
- writer: "writer";
21
- actor: "actor";
22
- band: "band";
23
- author: "author";
24
- publisher: "publisher";
25
- developer: "developer";
26
- }>;
17
+ primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
18
+ "film-director": "film-director";
19
+ "film-producer": "film-producer";
20
+ "film-writer": "film-writer";
21
+ "film-actor": "film-actor";
22
+ "film-studio": "film-studio";
23
+ "film-publisher": "film-publisher";
24
+ }>, z.ZodEnum<{
25
+ "video_game-studio": "video_game-studio";
26
+ "video_game-publisher": "video_game-publisher";
27
+ "video_game-developer": "video_game-developer";
28
+ }>, z.ZodEnum<{
29
+ "music-artist": "music-artist";
30
+ "music-producer": "music-producer";
31
+ "music-label": "music-label";
32
+ "music-band": "music-band";
33
+ }>, z.ZodEnum<{
34
+ "tv-director": "tv-director";
35
+ "tv-producer": "tv-producer";
36
+ "tv-writer": "tv-writer";
37
+ "tv-actor": "tv-actor";
38
+ "tv-studio": "tv-studio";
39
+ "tv-network": "tv-network";
40
+ }>]>;
27
41
  description: z.ZodOptional<z.ZodString>;
28
42
  createdAt: z.ZodString;
29
43
  updatedAt: z.ZodString;
@@ -6,7 +6,30 @@ declare const request: z.ZodObject<{
6
6
  creatorId: z.ZodUUID;
7
7
  projectId: z.ZodUUID;
8
8
  primary: z.ZodBoolean;
9
- role: z.ZodString;
9
+ role: z.ZodUnion<readonly [z.ZodEnum<{
10
+ "film-director": "film-director";
11
+ "film-producer": "film-producer";
12
+ "film-writer": "film-writer";
13
+ "film-actor": "film-actor";
14
+ "film-studio": "film-studio";
15
+ "film-publisher": "film-publisher";
16
+ }>, z.ZodEnum<{
17
+ "video_game-studio": "video_game-studio";
18
+ "video_game-publisher": "video_game-publisher";
19
+ "video_game-developer": "video_game-developer";
20
+ }>, z.ZodEnum<{
21
+ "music-artist": "music-artist";
22
+ "music-producer": "music-producer";
23
+ "music-label": "music-label";
24
+ "music-band": "music-band";
25
+ }>, z.ZodEnum<{
26
+ "tv-director": "tv-director";
27
+ "tv-producer": "tv-producer";
28
+ "tv-writer": "tv-writer";
29
+ "tv-actor": "tv-actor";
30
+ "tv-studio": "tv-studio";
31
+ "tv-network": "tv-network";
32
+ }>]>;
10
33
  }, z.core.$strip>>;
11
34
  }, z.core.$strip>;
12
35
  params: z.ZodObject<{
@@ -18,7 +41,30 @@ declare const response: z.ZodObject<{
18
41
  creatorId: z.ZodUUID;
19
42
  projectId: z.ZodUUID;
20
43
  primary: z.ZodBoolean;
21
- role: z.ZodString;
44
+ role: z.ZodUnion<readonly [z.ZodEnum<{
45
+ "film-director": "film-director";
46
+ "film-producer": "film-producer";
47
+ "film-writer": "film-writer";
48
+ "film-actor": "film-actor";
49
+ "film-studio": "film-studio";
50
+ "film-publisher": "film-publisher";
51
+ }>, z.ZodEnum<{
52
+ "video_game-studio": "video_game-studio";
53
+ "video_game-publisher": "video_game-publisher";
54
+ "video_game-developer": "video_game-developer";
55
+ }>, z.ZodEnum<{
56
+ "music-artist": "music-artist";
57
+ "music-producer": "music-producer";
58
+ "music-label": "music-label";
59
+ "music-band": "music-band";
60
+ }>, z.ZodEnum<{
61
+ "tv-director": "tv-director";
62
+ "tv-producer": "tv-producer";
63
+ "tv-writer": "tv-writer";
64
+ "tv-actor": "tv-actor";
65
+ "tv-studio": "tv-studio";
66
+ "tv-network": "tv-network";
67
+ }>]>;
22
68
  }, z.core.$strip>>;
23
69
  }, z.core.$strip>;
24
70
  export declare const routeSchema: RouteSchema;
@@ -4,12 +4,10 @@ declare const request: z.ZodObject<{
4
4
  body: z.ZodObject<{
5
5
  data: z.ZodObject<{
6
6
  type: z.ZodEnum<{
7
- movie: "movie";
8
- album: "album";
9
- single: "single";
10
- game: "game";
11
- book: "book";
12
- "tv show": "tv show";
7
+ film: "film";
8
+ video_game: "video_game";
9
+ music: "music";
10
+ tv: "tv";
13
11
  }>;
14
12
  title: z.ZodString;
15
13
  description: z.ZodOptional<z.ZodString>;
@@ -321,7 +319,30 @@ declare const request: z.ZodObject<{
321
319
  creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
322
320
  creatorId: z.ZodUUID;
323
321
  primary: z.ZodBoolean;
324
- role: z.ZodString;
322
+ role: z.ZodUnion<readonly [z.ZodEnum<{
323
+ "film-director": "film-director";
324
+ "film-producer": "film-producer";
325
+ "film-writer": "film-writer";
326
+ "film-actor": "film-actor";
327
+ "film-studio": "film-studio";
328
+ "film-publisher": "film-publisher";
329
+ }>, z.ZodEnum<{
330
+ "video_game-studio": "video_game-studio";
331
+ "video_game-publisher": "video_game-publisher";
332
+ "video_game-developer": "video_game-developer";
333
+ }>, z.ZodEnum<{
334
+ "music-artist": "music-artist";
335
+ "music-producer": "music-producer";
336
+ "music-label": "music-label";
337
+ "music-band": "music-band";
338
+ }>, z.ZodEnum<{
339
+ "tv-director": "tv-director";
340
+ "tv-producer": "tv-producer";
341
+ "tv-writer": "tv-writer";
342
+ "tv-actor": "tv-actor";
343
+ "tv-studio": "tv-studio";
344
+ "tv-network": "tv-network";
345
+ }>]>;
325
346
  }, z.core.$strip>>>;
326
347
  }, z.core.$strip>;
327
348
  }, z.core.$strip>;
@@ -331,12 +352,10 @@ declare const response: z.ZodObject<{
331
352
  id: z.ZodUUID;
332
353
  title: z.ZodString;
333
354
  type: z.ZodEnum<{
334
- movie: "movie";
335
- album: "album";
336
- single: "single";
337
- game: "game";
338
- book: "book";
339
- "tv show": "tv show";
355
+ film: "film";
356
+ video_game: "video_game";
357
+ music: "music";
358
+ tv: "tv";
340
359
  }>;
341
360
  description: z.ZodOptional<z.ZodString>;
342
361
  releaseDate: z.ZodOptional<z.ZodString>;
@@ -5,12 +5,10 @@ declare const response: z.ZodObject<{
5
5
  id: z.ZodUUID;
6
6
  title: z.ZodString;
7
7
  type: z.ZodEnum<{
8
- movie: "movie";
9
- album: "album";
10
- single: "single";
11
- game: "game";
12
- book: "book";
13
- "tv show": "tv show";
8
+ film: "film";
9
+ video_game: "video_game";
10
+ music: "music";
11
+ tv: "tv";
14
12
  }>;
15
13
  description: z.ZodOptional<z.ZodString>;
16
14
  releaseDate: z.ZodOptional<z.ZodString>;
@@ -7,12 +7,10 @@ declare const request: z.ZodObject<{
7
7
  body: z.ZodObject<{
8
8
  data: z.ZodObject<{
9
9
  type: z.ZodOptional<z.ZodEnum<{
10
- movie: "movie";
11
- album: "album";
12
- single: "single";
13
- game: "game";
14
- book: "book";
15
- "tv show": "tv show";
10
+ film: "film";
11
+ video_game: "video_game";
12
+ music: "music";
13
+ tv: "tv";
16
14
  }>>;
17
15
  title: z.ZodOptional<z.ZodString>;
18
16
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -329,12 +327,10 @@ declare const response: z.ZodObject<{
329
327
  id: z.ZodUUID;
330
328
  title: z.ZodString;
331
329
  type: z.ZodEnum<{
332
- movie: "movie";
333
- album: "album";
334
- single: "single";
335
- game: "game";
336
- book: "book";
337
- "tv show": "tv show";
330
+ film: "film";
331
+ video_game: "video_game";
332
+ music: "music";
333
+ tv: "tv";
338
334
  }>;
339
335
  description: z.ZodOptional<z.ZodString>;
340
336
  releaseDate: z.ZodOptional<z.ZodString>;
@@ -4,12 +4,10 @@ declare const request: z.ZodObject<{
4
4
  body: z.ZodObject<{
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  type: z.ZodEnum<{
7
- movie: "movie";
8
- album: "album";
9
- single: "single";
10
- game: "game";
11
- book: "book";
12
- "tv show": "tv show";
7
+ film: "film";
8
+ video_game: "video_game";
9
+ music: "music";
10
+ tv: "tv";
13
11
  }>;
14
12
  title: z.ZodString;
15
13
  description: z.ZodOptional<z.ZodString>;
@@ -321,7 +319,30 @@ declare const request: z.ZodObject<{
321
319
  creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
322
320
  creatorId: z.ZodUUID;
323
321
  primary: z.ZodBoolean;
324
- role: z.ZodString;
322
+ role: z.ZodUnion<readonly [z.ZodEnum<{
323
+ "film-director": "film-director";
324
+ "film-producer": "film-producer";
325
+ "film-writer": "film-writer";
326
+ "film-actor": "film-actor";
327
+ "film-studio": "film-studio";
328
+ "film-publisher": "film-publisher";
329
+ }>, z.ZodEnum<{
330
+ "video_game-studio": "video_game-studio";
331
+ "video_game-publisher": "video_game-publisher";
332
+ "video_game-developer": "video_game-developer";
333
+ }>, z.ZodEnum<{
334
+ "music-artist": "music-artist";
335
+ "music-producer": "music-producer";
336
+ "music-label": "music-label";
337
+ "music-band": "music-band";
338
+ }>, z.ZodEnum<{
339
+ "tv-director": "tv-director";
340
+ "tv-producer": "tv-producer";
341
+ "tv-writer": "tv-writer";
342
+ "tv-actor": "tv-actor";
343
+ "tv-studio": "tv-studio";
344
+ "tv-network": "tv-network";
345
+ }>]>;
325
346
  }, z.core.$strip>>>;
326
347
  }, z.core.$strip>>;
327
348
  }, z.core.$strip>;
@@ -331,12 +352,10 @@ declare const response: z.ZodObject<{
331
352
  id: z.ZodUUID;
332
353
  title: z.ZodString;
333
354
  type: z.ZodEnum<{
334
- movie: "movie";
335
- album: "album";
336
- single: "single";
337
- game: "game";
338
- book: "book";
339
- "tv show": "tv show";
355
+ film: "film";
356
+ video_game: "video_game";
357
+ music: "music";
358
+ tv: "tv";
340
359
  }>;
341
360
  description: z.ZodOptional<z.ZodString>;
342
361
  releaseDate: z.ZodOptional<z.ZodString>;