@jh-tech/be-content-shared 0.0.37 → 0.0.39
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.
- package/dist/definitions/project.zod.d.ts +56 -56
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/route-definitions/creator/creator.update.d.ts +91 -0
- package/dist/route-definitions/creator/creator.update.js +21 -0
- package/dist/route-definitions/creator-project-relation/creatorProjectRelation.create.d.ts +85 -0
- package/dist/route-definitions/creator-project-relation/creatorProjectRelation.create.js +17 -0
- package/dist/route-definitions/project/project.create.d.ts +56 -56
- package/dist/route-definitions/project/project.update.d.ts +56 -56
- package/dist/route-definitions/project/projects.bulkCreate.d.ts +56 -56
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -36,7 +36,6 @@ export declare const projectCreatorRelation: z.ZodObject<{
|
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
export type ProjectCreatorRelation = z.infer<typeof projectCreatorRelation>;
|
|
38
38
|
export declare const projectCreationData: z.ZodObject<{
|
|
39
|
-
title: z.ZodString;
|
|
40
39
|
type: z.ZodEnum<{
|
|
41
40
|
film: "film";
|
|
42
41
|
video_game: "video_game";
|
|
@@ -45,62 +44,8 @@ export declare const projectCreationData: z.ZodObject<{
|
|
|
45
44
|
comic: "comic";
|
|
46
45
|
book: "book";
|
|
47
46
|
}>;
|
|
47
|
+
title: z.ZodString;
|
|
48
48
|
description: z.ZodOptional<z.ZodString>;
|
|
49
|
-
releaseDate: z.ZodOptional<z.ZodString>;
|
|
50
|
-
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
51
|
-
id: "id";
|
|
52
|
-
af: "af";
|
|
53
|
-
am: "am";
|
|
54
|
-
ar: "ar";
|
|
55
|
-
bg: "bg";
|
|
56
|
-
bn: "bn";
|
|
57
|
-
ca: "ca";
|
|
58
|
-
cs: "cs";
|
|
59
|
-
cy: "cy";
|
|
60
|
-
da: "da";
|
|
61
|
-
de: "de";
|
|
62
|
-
el: "el";
|
|
63
|
-
en: "en";
|
|
64
|
-
eo: "eo";
|
|
65
|
-
es: "es";
|
|
66
|
-
fa: "fa";
|
|
67
|
-
fi: "fi";
|
|
68
|
-
fr: "fr";
|
|
69
|
-
ga: "ga";
|
|
70
|
-
he: "he";
|
|
71
|
-
hi: "hi";
|
|
72
|
-
hr: "hr";
|
|
73
|
-
hu: "hu";
|
|
74
|
-
is: "is";
|
|
75
|
-
it: "it";
|
|
76
|
-
ja: "ja";
|
|
77
|
-
ko: "ko";
|
|
78
|
-
la: "la";
|
|
79
|
-
lb: "lb";
|
|
80
|
-
mk: "mk";
|
|
81
|
-
mr: "mr";
|
|
82
|
-
ms: "ms";
|
|
83
|
-
mt: "mt";
|
|
84
|
-
nl: "nl";
|
|
85
|
-
no: "no";
|
|
86
|
-
pl: "pl";
|
|
87
|
-
pt: "pt";
|
|
88
|
-
ro: "ro";
|
|
89
|
-
ru: "ru";
|
|
90
|
-
sk: "sk";
|
|
91
|
-
sr: "sr";
|
|
92
|
-
sv: "sv";
|
|
93
|
-
sw: "sw";
|
|
94
|
-
ta: "ta";
|
|
95
|
-
te: "te";
|
|
96
|
-
th: "th";
|
|
97
|
-
tl: "tl";
|
|
98
|
-
tr: "tr";
|
|
99
|
-
uk: "uk";
|
|
100
|
-
ur: "ur";
|
|
101
|
-
vi: "vi";
|
|
102
|
-
zh: "zh";
|
|
103
|
-
}>>;
|
|
104
49
|
originCountry: z.ZodOptional<z.ZodEnum<{
|
|
105
50
|
AF: "AF";
|
|
106
51
|
AX: "AX";
|
|
@@ -352,5 +297,60 @@ export declare const projectCreationData: z.ZodObject<{
|
|
|
352
297
|
ZM: "ZM";
|
|
353
298
|
ZW: "ZW";
|
|
354
299
|
}>>;
|
|
300
|
+
releaseDate: z.ZodOptional<z.ZodString>;
|
|
301
|
+
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
302
|
+
id: "id";
|
|
303
|
+
af: "af";
|
|
304
|
+
am: "am";
|
|
305
|
+
ar: "ar";
|
|
306
|
+
bg: "bg";
|
|
307
|
+
bn: "bn";
|
|
308
|
+
ca: "ca";
|
|
309
|
+
cs: "cs";
|
|
310
|
+
cy: "cy";
|
|
311
|
+
da: "da";
|
|
312
|
+
de: "de";
|
|
313
|
+
el: "el";
|
|
314
|
+
en: "en";
|
|
315
|
+
eo: "eo";
|
|
316
|
+
es: "es";
|
|
317
|
+
fa: "fa";
|
|
318
|
+
fi: "fi";
|
|
319
|
+
fr: "fr";
|
|
320
|
+
ga: "ga";
|
|
321
|
+
he: "he";
|
|
322
|
+
hi: "hi";
|
|
323
|
+
hr: "hr";
|
|
324
|
+
hu: "hu";
|
|
325
|
+
is: "is";
|
|
326
|
+
it: "it";
|
|
327
|
+
ja: "ja";
|
|
328
|
+
ko: "ko";
|
|
329
|
+
la: "la";
|
|
330
|
+
lb: "lb";
|
|
331
|
+
mk: "mk";
|
|
332
|
+
mr: "mr";
|
|
333
|
+
ms: "ms";
|
|
334
|
+
mt: "mt";
|
|
335
|
+
nl: "nl";
|
|
336
|
+
no: "no";
|
|
337
|
+
pl: "pl";
|
|
338
|
+
pt: "pt";
|
|
339
|
+
ro: "ro";
|
|
340
|
+
ru: "ru";
|
|
341
|
+
sk: "sk";
|
|
342
|
+
sr: "sr";
|
|
343
|
+
sv: "sv";
|
|
344
|
+
sw: "sw";
|
|
345
|
+
ta: "ta";
|
|
346
|
+
te: "te";
|
|
347
|
+
th: "th";
|
|
348
|
+
tl: "tl";
|
|
349
|
+
tr: "tr";
|
|
350
|
+
uk: "uk";
|
|
351
|
+
ur: "ur";
|
|
352
|
+
vi: "vi";
|
|
353
|
+
zh: "zh";
|
|
354
|
+
}>>;
|
|
355
355
|
}, z.core.$strip>;
|
|
356
356
|
export type ProjectCreationData = z.infer<typeof projectCreationData>;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * as CreateCollectionItemDef from './route-definitions/collection-item/co
|
|
|
5
5
|
export * as ListCollectionItemsDef from './route-definitions/collection-item/collectionItem.list.js';
|
|
6
6
|
export * as CreateCreatorDef from './route-definitions/creator/creator.create.js';
|
|
7
7
|
export * as GetCreatorDef from './route-definitions/creator/creator.get.js';
|
|
8
|
+
export * as UpdateCreatorDef from './route-definitions/creator/creator.update.js';
|
|
8
9
|
export * as BulkCreateCreatorsDef from './route-definitions/creator/creators.bulkCreate.js';
|
|
9
10
|
export * as ListCreatorsDef from './route-definitions/creator/creators.list.js';
|
|
10
11
|
export * as ListCreatorProjectsDef from './route-definitions/creator/creatorProjects.list.js';
|
|
@@ -14,7 +15,7 @@ export * as GetProjectDef from './route-definitions/project/project.get.js';
|
|
|
14
15
|
export * as UpdateProjectDef from './route-definitions/project/project.update.js';
|
|
15
16
|
export * as BulkCreateProjectsDef from './route-definitions/project/projects.bulkCreate.js';
|
|
16
17
|
export * as ListProjectsDef from './route-definitions/project/projects.list.js';
|
|
17
|
-
export * as CreateCreatorProjectRelationDef from './route-definitions/creator-project-relation/creatorProjectRelation.js';
|
|
18
|
+
export * as CreateCreatorProjectRelationDef from './route-definitions/creator-project-relation/creatorProjectRelation.create.js';
|
|
18
19
|
export * as ListProjectCreatorsDef from './route-definitions/project-creator/projectCreators.list.js';
|
|
19
20
|
export * as CreateUpdateDef from './route-definitions/update/update.create.js';
|
|
20
21
|
export * as BulkCreateUpdatesDef from './route-definitions/update/updates.bulkCreate.js';
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export * as CreateCollectionItemDef from './route-definitions/collection-item/co
|
|
|
5
5
|
export * as ListCollectionItemsDef from './route-definitions/collection-item/collectionItem.list.js';
|
|
6
6
|
export * as CreateCreatorDef from './route-definitions/creator/creator.create.js';
|
|
7
7
|
export * as GetCreatorDef from './route-definitions/creator/creator.get.js';
|
|
8
|
+
export * as UpdateCreatorDef from './route-definitions/creator/creator.update.js';
|
|
8
9
|
export * as BulkCreateCreatorsDef from './route-definitions/creator/creators.bulkCreate.js';
|
|
9
10
|
export * as ListCreatorsDef from './route-definitions/creator/creators.list.js';
|
|
10
11
|
export * as ListCreatorProjectsDef from './route-definitions/creator/creatorProjects.list.js';
|
|
@@ -14,7 +15,7 @@ export * as GetProjectDef from './route-definitions/project/project.get.js';
|
|
|
14
15
|
export * as UpdateProjectDef from './route-definitions/project/project.update.js';
|
|
15
16
|
export * as BulkCreateProjectsDef from './route-definitions/project/projects.bulkCreate.js';
|
|
16
17
|
export * as ListProjectsDef from './route-definitions/project/projects.list.js';
|
|
17
|
-
export * as CreateCreatorProjectRelationDef from './route-definitions/creator-project-relation/creatorProjectRelation.js';
|
|
18
|
+
export * as CreateCreatorProjectRelationDef from './route-definitions/creator-project-relation/creatorProjectRelation.create.js';
|
|
18
19
|
export * as ListProjectCreatorsDef from './route-definitions/project-creator/projectCreators.list.js';
|
|
19
20
|
export * as CreateUpdateDef from './route-definitions/update/update.create.js';
|
|
20
21
|
export * as BulkCreateUpdatesDef from './route-definitions/update/updates.bulkCreate.js';
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { RouteSchema, RouteDef } from '@jh-tech/util-tools-be';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
declare const request: z.ZodObject<{
|
|
4
|
+
params: z.ZodObject<{
|
|
5
|
+
creatorId: z.ZodUUID;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
body: z.ZodObject<{
|
|
8
|
+
data: z.ZodObject<{
|
|
9
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11
|
+
primaryRole: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
"film-director": "film-director";
|
|
13
|
+
"film-producer": "film-producer";
|
|
14
|
+
"film-writer": "film-writer";
|
|
15
|
+
"film-actor": "film-actor";
|
|
16
|
+
"film-studio": "film-studio";
|
|
17
|
+
"film-publisher": "film-publisher";
|
|
18
|
+
}>, z.ZodEnum<{
|
|
19
|
+
"video_game-studio": "video_game-studio";
|
|
20
|
+
"video_game-publisher": "video_game-publisher";
|
|
21
|
+
"video_game-developer": "video_game-developer";
|
|
22
|
+
}>, z.ZodEnum<{
|
|
23
|
+
"music-artist": "music-artist";
|
|
24
|
+
"music-producer": "music-producer";
|
|
25
|
+
"music-label": "music-label";
|
|
26
|
+
"music-band": "music-band";
|
|
27
|
+
}>, z.ZodEnum<{
|
|
28
|
+
"tv-director": "tv-director";
|
|
29
|
+
"tv-producer": "tv-producer";
|
|
30
|
+
"tv-writer": "tv-writer";
|
|
31
|
+
"tv-actor": "tv-actor";
|
|
32
|
+
"tv-studio": "tv-studio";
|
|
33
|
+
"tv-network": "tv-network";
|
|
34
|
+
}>, z.ZodEnum<{
|
|
35
|
+
"comic-artist": "comic-artist";
|
|
36
|
+
"comic-writer": "comic-writer";
|
|
37
|
+
"comic-publisher": "comic-publisher";
|
|
38
|
+
}>, z.ZodEnum<{
|
|
39
|
+
"book-author": "book-author";
|
|
40
|
+
"book-publisher": "book-publisher";
|
|
41
|
+
}>]>>;
|
|
42
|
+
originCountry: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const response: z.ZodObject<{
|
|
47
|
+
data: z.ZodObject<{
|
|
48
|
+
id: z.ZodUUID;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
|
|
51
|
+
"film-director": "film-director";
|
|
52
|
+
"film-producer": "film-producer";
|
|
53
|
+
"film-writer": "film-writer";
|
|
54
|
+
"film-actor": "film-actor";
|
|
55
|
+
"film-studio": "film-studio";
|
|
56
|
+
"film-publisher": "film-publisher";
|
|
57
|
+
}>, z.ZodEnum<{
|
|
58
|
+
"video_game-studio": "video_game-studio";
|
|
59
|
+
"video_game-publisher": "video_game-publisher";
|
|
60
|
+
"video_game-developer": "video_game-developer";
|
|
61
|
+
}>, z.ZodEnum<{
|
|
62
|
+
"music-artist": "music-artist";
|
|
63
|
+
"music-producer": "music-producer";
|
|
64
|
+
"music-label": "music-label";
|
|
65
|
+
"music-band": "music-band";
|
|
66
|
+
}>, z.ZodEnum<{
|
|
67
|
+
"tv-director": "tv-director";
|
|
68
|
+
"tv-producer": "tv-producer";
|
|
69
|
+
"tv-writer": "tv-writer";
|
|
70
|
+
"tv-actor": "tv-actor";
|
|
71
|
+
"tv-studio": "tv-studio";
|
|
72
|
+
"tv-network": "tv-network";
|
|
73
|
+
}>, z.ZodEnum<{
|
|
74
|
+
"comic-artist": "comic-artist";
|
|
75
|
+
"comic-writer": "comic-writer";
|
|
76
|
+
"comic-publisher": "comic-publisher";
|
|
77
|
+
}>, z.ZodEnum<{
|
|
78
|
+
"book-author": "book-author";
|
|
79
|
+
"book-publisher": "book-publisher";
|
|
80
|
+
}>]>;
|
|
81
|
+
description: z.ZodOptional<z.ZodString>;
|
|
82
|
+
originCountry: z.ZodOptional<z.ZodString>;
|
|
83
|
+
createdAt: z.ZodString;
|
|
84
|
+
updatedAt: z.ZodString;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export declare const routeSchema: RouteSchema;
|
|
88
|
+
export type Request = z.infer<typeof request>;
|
|
89
|
+
export type Response = z.infer<typeof response>;
|
|
90
|
+
export declare const definition: RouteDef;
|
|
91
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { creator } from '@jackhayes/util-types';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { creatorCreationData } from '../../definitions/creator.zod.js';
|
|
4
|
+
const request = z.object({
|
|
5
|
+
params: z.object({
|
|
6
|
+
creatorId: z.uuid(),
|
|
7
|
+
}),
|
|
8
|
+
body: z.object({
|
|
9
|
+
data: creatorCreationData.partial(),
|
|
10
|
+
}),
|
|
11
|
+
});
|
|
12
|
+
const response = z.object({
|
|
13
|
+
data: creator,
|
|
14
|
+
});
|
|
15
|
+
export const routeSchema = {
|
|
16
|
+
request,
|
|
17
|
+
response,
|
|
18
|
+
};
|
|
19
|
+
const path = '/creator/:creatorId';
|
|
20
|
+
const method = 'put';
|
|
21
|
+
export const definition = { method, path, routeSchema };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { RouteDef, RouteSchema } from '@jh-tech/util-tools-be';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
declare const request: z.ZodObject<{
|
|
4
|
+
body: z.ZodObject<{
|
|
5
|
+
data: z.ZodObject<{
|
|
6
|
+
creatorId: z.ZodUUID;
|
|
7
|
+
projectId: z.ZodUUID;
|
|
8
|
+
primary: z.ZodBoolean;
|
|
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
|
+
}>, z.ZodEnum<{
|
|
33
|
+
"comic-artist": "comic-artist";
|
|
34
|
+
"comic-writer": "comic-writer";
|
|
35
|
+
"comic-publisher": "comic-publisher";
|
|
36
|
+
}>, z.ZodEnum<{
|
|
37
|
+
"book-author": "book-author";
|
|
38
|
+
"book-publisher": "book-publisher";
|
|
39
|
+
}>]>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const response: z.ZodObject<{
|
|
44
|
+
data: z.ZodObject<{
|
|
45
|
+
creatorId: z.ZodUUID;
|
|
46
|
+
projectId: z.ZodUUID;
|
|
47
|
+
primary: z.ZodBoolean;
|
|
48
|
+
role: z.ZodUnion<readonly [z.ZodEnum<{
|
|
49
|
+
"film-director": "film-director";
|
|
50
|
+
"film-producer": "film-producer";
|
|
51
|
+
"film-writer": "film-writer";
|
|
52
|
+
"film-actor": "film-actor";
|
|
53
|
+
"film-studio": "film-studio";
|
|
54
|
+
"film-publisher": "film-publisher";
|
|
55
|
+
}>, z.ZodEnum<{
|
|
56
|
+
"video_game-studio": "video_game-studio";
|
|
57
|
+
"video_game-publisher": "video_game-publisher";
|
|
58
|
+
"video_game-developer": "video_game-developer";
|
|
59
|
+
}>, z.ZodEnum<{
|
|
60
|
+
"music-artist": "music-artist";
|
|
61
|
+
"music-producer": "music-producer";
|
|
62
|
+
"music-label": "music-label";
|
|
63
|
+
"music-band": "music-band";
|
|
64
|
+
}>, z.ZodEnum<{
|
|
65
|
+
"tv-director": "tv-director";
|
|
66
|
+
"tv-producer": "tv-producer";
|
|
67
|
+
"tv-writer": "tv-writer";
|
|
68
|
+
"tv-actor": "tv-actor";
|
|
69
|
+
"tv-studio": "tv-studio";
|
|
70
|
+
"tv-network": "tv-network";
|
|
71
|
+
}>, z.ZodEnum<{
|
|
72
|
+
"comic-artist": "comic-artist";
|
|
73
|
+
"comic-writer": "comic-writer";
|
|
74
|
+
"comic-publisher": "comic-publisher";
|
|
75
|
+
}>, z.ZodEnum<{
|
|
76
|
+
"book-author": "book-author";
|
|
77
|
+
"book-publisher": "book-publisher";
|
|
78
|
+
}>]>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
export declare const routeSchema: RouteSchema;
|
|
82
|
+
export type Request = z.infer<typeof request>;
|
|
83
|
+
export type Response = z.infer<typeof response>;
|
|
84
|
+
export declare const definition: RouteDef;
|
|
85
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { creatorProjectRelation } from '@jackhayes/util-types';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
const request = z.object({
|
|
4
|
+
body: z.object({
|
|
5
|
+
data: creatorProjectRelation,
|
|
6
|
+
}),
|
|
7
|
+
});
|
|
8
|
+
const response = z.object({
|
|
9
|
+
data: creatorProjectRelation,
|
|
10
|
+
});
|
|
11
|
+
export const routeSchema = {
|
|
12
|
+
request,
|
|
13
|
+
response,
|
|
14
|
+
};
|
|
15
|
+
const method = 'post';
|
|
16
|
+
const path = '/creator-project-relation';
|
|
17
|
+
export const definition = { method, path, routeSchema };
|
|
@@ -3,7 +3,6 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const request: z.ZodObject<{
|
|
4
4
|
body: z.ZodObject<{
|
|
5
5
|
data: z.ZodObject<{
|
|
6
|
-
title: z.ZodString;
|
|
7
6
|
type: z.ZodEnum<{
|
|
8
7
|
film: "film";
|
|
9
8
|
video_game: "video_game";
|
|
@@ -12,62 +11,8 @@ declare const request: z.ZodObject<{
|
|
|
12
11
|
comic: "comic";
|
|
13
12
|
book: "book";
|
|
14
13
|
}>;
|
|
14
|
+
title: z.ZodString;
|
|
15
15
|
description: z.ZodOptional<z.ZodString>;
|
|
16
|
-
releaseDate: z.ZodOptional<z.ZodString>;
|
|
17
|
-
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
18
|
-
id: "id";
|
|
19
|
-
af: "af";
|
|
20
|
-
am: "am";
|
|
21
|
-
ar: "ar";
|
|
22
|
-
bg: "bg";
|
|
23
|
-
bn: "bn";
|
|
24
|
-
ca: "ca";
|
|
25
|
-
cs: "cs";
|
|
26
|
-
cy: "cy";
|
|
27
|
-
da: "da";
|
|
28
|
-
de: "de";
|
|
29
|
-
el: "el";
|
|
30
|
-
en: "en";
|
|
31
|
-
eo: "eo";
|
|
32
|
-
es: "es";
|
|
33
|
-
fa: "fa";
|
|
34
|
-
fi: "fi";
|
|
35
|
-
fr: "fr";
|
|
36
|
-
ga: "ga";
|
|
37
|
-
he: "he";
|
|
38
|
-
hi: "hi";
|
|
39
|
-
hr: "hr";
|
|
40
|
-
hu: "hu";
|
|
41
|
-
is: "is";
|
|
42
|
-
it: "it";
|
|
43
|
-
ja: "ja";
|
|
44
|
-
ko: "ko";
|
|
45
|
-
la: "la";
|
|
46
|
-
lb: "lb";
|
|
47
|
-
mk: "mk";
|
|
48
|
-
mr: "mr";
|
|
49
|
-
ms: "ms";
|
|
50
|
-
mt: "mt";
|
|
51
|
-
nl: "nl";
|
|
52
|
-
no: "no";
|
|
53
|
-
pl: "pl";
|
|
54
|
-
pt: "pt";
|
|
55
|
-
ro: "ro";
|
|
56
|
-
ru: "ru";
|
|
57
|
-
sk: "sk";
|
|
58
|
-
sr: "sr";
|
|
59
|
-
sv: "sv";
|
|
60
|
-
sw: "sw";
|
|
61
|
-
ta: "ta";
|
|
62
|
-
te: "te";
|
|
63
|
-
th: "th";
|
|
64
|
-
tl: "tl";
|
|
65
|
-
tr: "tr";
|
|
66
|
-
uk: "uk";
|
|
67
|
-
ur: "ur";
|
|
68
|
-
vi: "vi";
|
|
69
|
-
zh: "zh";
|
|
70
|
-
}>>;
|
|
71
16
|
originCountry: z.ZodOptional<z.ZodEnum<{
|
|
72
17
|
AF: "AF";
|
|
73
18
|
AX: "AX";
|
|
@@ -319,6 +264,61 @@ declare const request: z.ZodObject<{
|
|
|
319
264
|
ZM: "ZM";
|
|
320
265
|
ZW: "ZW";
|
|
321
266
|
}>>;
|
|
267
|
+
releaseDate: z.ZodOptional<z.ZodString>;
|
|
268
|
+
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
id: "id";
|
|
270
|
+
af: "af";
|
|
271
|
+
am: "am";
|
|
272
|
+
ar: "ar";
|
|
273
|
+
bg: "bg";
|
|
274
|
+
bn: "bn";
|
|
275
|
+
ca: "ca";
|
|
276
|
+
cs: "cs";
|
|
277
|
+
cy: "cy";
|
|
278
|
+
da: "da";
|
|
279
|
+
de: "de";
|
|
280
|
+
el: "el";
|
|
281
|
+
en: "en";
|
|
282
|
+
eo: "eo";
|
|
283
|
+
es: "es";
|
|
284
|
+
fa: "fa";
|
|
285
|
+
fi: "fi";
|
|
286
|
+
fr: "fr";
|
|
287
|
+
ga: "ga";
|
|
288
|
+
he: "he";
|
|
289
|
+
hi: "hi";
|
|
290
|
+
hr: "hr";
|
|
291
|
+
hu: "hu";
|
|
292
|
+
is: "is";
|
|
293
|
+
it: "it";
|
|
294
|
+
ja: "ja";
|
|
295
|
+
ko: "ko";
|
|
296
|
+
la: "la";
|
|
297
|
+
lb: "lb";
|
|
298
|
+
mk: "mk";
|
|
299
|
+
mr: "mr";
|
|
300
|
+
ms: "ms";
|
|
301
|
+
mt: "mt";
|
|
302
|
+
nl: "nl";
|
|
303
|
+
no: "no";
|
|
304
|
+
pl: "pl";
|
|
305
|
+
pt: "pt";
|
|
306
|
+
ro: "ro";
|
|
307
|
+
ru: "ru";
|
|
308
|
+
sk: "sk";
|
|
309
|
+
sr: "sr";
|
|
310
|
+
sv: "sv";
|
|
311
|
+
sw: "sw";
|
|
312
|
+
ta: "ta";
|
|
313
|
+
te: "te";
|
|
314
|
+
th: "th";
|
|
315
|
+
tl: "tl";
|
|
316
|
+
tr: "tr";
|
|
317
|
+
uk: "uk";
|
|
318
|
+
ur: "ur";
|
|
319
|
+
vi: "vi";
|
|
320
|
+
zh: "zh";
|
|
321
|
+
}>>;
|
|
322
322
|
}, z.core.$strip>;
|
|
323
323
|
}, z.core.$strip>;
|
|
324
324
|
}, z.core.$strip>;
|
|
@@ -6,7 +6,6 @@ declare const request: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
body: z.ZodObject<{
|
|
8
8
|
data: z.ZodObject<{
|
|
9
|
-
title: z.ZodOptional<z.ZodString>;
|
|
10
9
|
type: z.ZodOptional<z.ZodEnum<{
|
|
11
10
|
film: "film";
|
|
12
11
|
video_game: "video_game";
|
|
@@ -15,62 +14,8 @@ declare const request: z.ZodObject<{
|
|
|
15
14
|
comic: "comic";
|
|
16
15
|
book: "book";
|
|
17
16
|
}>>;
|
|
17
|
+
title: z.ZodOptional<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19
|
-
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
20
|
-
originalLanguage: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
id: "id";
|
|
22
|
-
af: "af";
|
|
23
|
-
am: "am";
|
|
24
|
-
ar: "ar";
|
|
25
|
-
bg: "bg";
|
|
26
|
-
bn: "bn";
|
|
27
|
-
ca: "ca";
|
|
28
|
-
cs: "cs";
|
|
29
|
-
cy: "cy";
|
|
30
|
-
da: "da";
|
|
31
|
-
de: "de";
|
|
32
|
-
el: "el";
|
|
33
|
-
en: "en";
|
|
34
|
-
eo: "eo";
|
|
35
|
-
es: "es";
|
|
36
|
-
fa: "fa";
|
|
37
|
-
fi: "fi";
|
|
38
|
-
fr: "fr";
|
|
39
|
-
ga: "ga";
|
|
40
|
-
he: "he";
|
|
41
|
-
hi: "hi";
|
|
42
|
-
hr: "hr";
|
|
43
|
-
hu: "hu";
|
|
44
|
-
is: "is";
|
|
45
|
-
it: "it";
|
|
46
|
-
ja: "ja";
|
|
47
|
-
ko: "ko";
|
|
48
|
-
la: "la";
|
|
49
|
-
lb: "lb";
|
|
50
|
-
mk: "mk";
|
|
51
|
-
mr: "mr";
|
|
52
|
-
ms: "ms";
|
|
53
|
-
mt: "mt";
|
|
54
|
-
nl: "nl";
|
|
55
|
-
no: "no";
|
|
56
|
-
pl: "pl";
|
|
57
|
-
pt: "pt";
|
|
58
|
-
ro: "ro";
|
|
59
|
-
ru: "ru";
|
|
60
|
-
sk: "sk";
|
|
61
|
-
sr: "sr";
|
|
62
|
-
sv: "sv";
|
|
63
|
-
sw: "sw";
|
|
64
|
-
ta: "ta";
|
|
65
|
-
te: "te";
|
|
66
|
-
th: "th";
|
|
67
|
-
tl: "tl";
|
|
68
|
-
tr: "tr";
|
|
69
|
-
uk: "uk";
|
|
70
|
-
ur: "ur";
|
|
71
|
-
vi: "vi";
|
|
72
|
-
zh: "zh";
|
|
73
|
-
}>>>;
|
|
74
19
|
originCountry: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
75
20
|
AF: "AF";
|
|
76
21
|
AX: "AX";
|
|
@@ -322,6 +267,61 @@ declare const request: z.ZodObject<{
|
|
|
322
267
|
ZM: "ZM";
|
|
323
268
|
ZW: "ZW";
|
|
324
269
|
}>>>;
|
|
270
|
+
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
271
|
+
originalLanguage: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
272
|
+
id: "id";
|
|
273
|
+
af: "af";
|
|
274
|
+
am: "am";
|
|
275
|
+
ar: "ar";
|
|
276
|
+
bg: "bg";
|
|
277
|
+
bn: "bn";
|
|
278
|
+
ca: "ca";
|
|
279
|
+
cs: "cs";
|
|
280
|
+
cy: "cy";
|
|
281
|
+
da: "da";
|
|
282
|
+
de: "de";
|
|
283
|
+
el: "el";
|
|
284
|
+
en: "en";
|
|
285
|
+
eo: "eo";
|
|
286
|
+
es: "es";
|
|
287
|
+
fa: "fa";
|
|
288
|
+
fi: "fi";
|
|
289
|
+
fr: "fr";
|
|
290
|
+
ga: "ga";
|
|
291
|
+
he: "he";
|
|
292
|
+
hi: "hi";
|
|
293
|
+
hr: "hr";
|
|
294
|
+
hu: "hu";
|
|
295
|
+
is: "is";
|
|
296
|
+
it: "it";
|
|
297
|
+
ja: "ja";
|
|
298
|
+
ko: "ko";
|
|
299
|
+
la: "la";
|
|
300
|
+
lb: "lb";
|
|
301
|
+
mk: "mk";
|
|
302
|
+
mr: "mr";
|
|
303
|
+
ms: "ms";
|
|
304
|
+
mt: "mt";
|
|
305
|
+
nl: "nl";
|
|
306
|
+
no: "no";
|
|
307
|
+
pl: "pl";
|
|
308
|
+
pt: "pt";
|
|
309
|
+
ro: "ro";
|
|
310
|
+
ru: "ru";
|
|
311
|
+
sk: "sk";
|
|
312
|
+
sr: "sr";
|
|
313
|
+
sv: "sv";
|
|
314
|
+
sw: "sw";
|
|
315
|
+
ta: "ta";
|
|
316
|
+
te: "te";
|
|
317
|
+
th: "th";
|
|
318
|
+
tl: "tl";
|
|
319
|
+
tr: "tr";
|
|
320
|
+
uk: "uk";
|
|
321
|
+
ur: "ur";
|
|
322
|
+
vi: "vi";
|
|
323
|
+
zh: "zh";
|
|
324
|
+
}>>>;
|
|
325
325
|
}, z.core.$strip>;
|
|
326
326
|
}, z.core.$strip>;
|
|
327
327
|
}, z.core.$strip>;
|