@jh-tech/be-content-shared 0.0.17 → 0.0.19

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>;
@@ -7,12 +7,10 @@ declare const projectCreatorRelation: z.ZodObject<{
7
7
  export type ProjectCreatorRelation = z.infer<typeof projectCreatorRelation>;
8
8
  export declare const projectCreationData: z.ZodObject<{
9
9
  type: 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.ZodString;
18
16
  description: z.ZodOptional<z.ZodString>;
@@ -325,12 +323,10 @@ export declare const projectCreationData: z.ZodObject<{
325
323
  export type ProjectCreationData = z.infer<typeof projectCreationData>;
326
324
  export declare const projectWithCreatorRelationCreationData: z.ZodObject<{
327
325
  type: z.ZodEnum<{
328
- movie: "movie";
329
- album: "album";
330
- single: "single";
331
- game: "game";
332
- book: "book";
333
- "tv show": "tv show";
326
+ film: "film";
327
+ video_game: "video_game";
328
+ music: "music";
329
+ tv: "tv";
334
330
  }>;
335
331
  title: z.ZodString;
336
332
  description: z.ZodOptional<z.ZodString>;
@@ -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;
@@ -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>;
@@ -331,12 +329,10 @@ declare const response: z.ZodObject<{
331
329
  id: z.ZodUUID;
332
330
  title: z.ZodString;
333
331
  type: z.ZodEnum<{
334
- movie: "movie";
335
- album: "album";
336
- single: "single";
337
- game: "game";
338
- book: "book";
339
- "tv show": "tv show";
332
+ film: "film";
333
+ video_game: "video_game";
334
+ music: "music";
335
+ tv: "tv";
340
336
  }>;
341
337
  description: z.ZodOptional<z.ZodString>;
342
338
  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>;
@@ -331,12 +329,10 @@ declare const response: z.ZodObject<{
331
329
  id: z.ZodUUID;
332
330
  title: z.ZodString;
333
331
  type: z.ZodEnum<{
334
- movie: "movie";
335
- album: "album";
336
- single: "single";
337
- game: "game";
338
- book: "book";
339
- "tv show": "tv show";
332
+ film: "film";
333
+ video_game: "video_game";
334
+ music: "music";
335
+ tv: "tv";
340
336
  }>;
341
337
  description: z.ZodOptional<z.ZodString>;
342
338
  releaseDate: z.ZodOptional<z.ZodString>;