@jh-tech/be-content-shared 0.0.38 → 0.0.40
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/creator.zod.d.ts +3 -1
- package/dist/definitions/project.zod.d.ts +58 -56
- package/dist/definitions/update.zod.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/route-definitions/creator/creator.create.d.ts +5 -1
- package/dist/route-definitions/creator/creator.get.d.ts +2 -0
- package/dist/route-definitions/{project-creator/projectCreator.create.d.ts → creator/creator.update.d.ts} +18 -7
- package/dist/route-definitions/creator/creator.update.js +21 -0
- package/dist/route-definitions/creator/creatorProjects.list.d.ts +2 -0
- package/dist/route-definitions/creator/creators.bulkCreate.d.ts +5 -1
- package/dist/route-definitions/creator/creators.list.d.ts +10 -2
- package/dist/route-definitions/creator/creators.list.js +2 -0
- package/dist/route-definitions/project/project.create.d.ts +60 -56
- package/dist/route-definitions/project/project.get.d.ts +2 -0
- package/dist/route-definitions/project/project.update.d.ts +60 -56
- package/dist/route-definitions/project/projects.bulkCreate.d.ts +60 -56
- package/dist/route-definitions/project/projects.list.d.ts +8 -0
- package/dist/route-definitions/project/projects.list.js +2 -0
- package/dist/route-definitions/update/update.create.d.ts +1 -1
- package/dist/route-definitions/update/updates.bulkCreate.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/definitions/projectCreator.zod.d.ts +0 -37
- package/dist/definitions/projectCreator.zod.js +0 -5
- package/dist/route-definitions/creator-project-relation/creatorProjectRelation.d.ts +0 -85
- package/dist/route-definitions/creator-project-relation/creatorProjectRelation.js +0 -17
- package/dist/route-definitions/creator-project-relation/projectCreatorRelation.create.d.ts +0 -85
- package/dist/route-definitions/creator-project-relation/projectCreatorRelation.create.js +0 -17
- package/dist/route-definitions/project-creator/projectCreator.create.js +0 -18
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -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,63 @@ declare const request: z.ZodObject<{
|
|
|
322
267
|
ZM: "ZM";
|
|
323
268
|
ZW: "ZW";
|
|
324
269
|
}>>>;
|
|
270
|
+
hidden: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
271
|
+
doNotIngest: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
272
|
+
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
273
|
+
originalLanguage: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
274
|
+
id: "id";
|
|
275
|
+
af: "af";
|
|
276
|
+
am: "am";
|
|
277
|
+
ar: "ar";
|
|
278
|
+
bg: "bg";
|
|
279
|
+
bn: "bn";
|
|
280
|
+
ca: "ca";
|
|
281
|
+
cs: "cs";
|
|
282
|
+
cy: "cy";
|
|
283
|
+
da: "da";
|
|
284
|
+
de: "de";
|
|
285
|
+
el: "el";
|
|
286
|
+
en: "en";
|
|
287
|
+
eo: "eo";
|
|
288
|
+
es: "es";
|
|
289
|
+
fa: "fa";
|
|
290
|
+
fi: "fi";
|
|
291
|
+
fr: "fr";
|
|
292
|
+
ga: "ga";
|
|
293
|
+
he: "he";
|
|
294
|
+
hi: "hi";
|
|
295
|
+
hr: "hr";
|
|
296
|
+
hu: "hu";
|
|
297
|
+
is: "is";
|
|
298
|
+
it: "it";
|
|
299
|
+
ja: "ja";
|
|
300
|
+
ko: "ko";
|
|
301
|
+
la: "la";
|
|
302
|
+
lb: "lb";
|
|
303
|
+
mk: "mk";
|
|
304
|
+
mr: "mr";
|
|
305
|
+
ms: "ms";
|
|
306
|
+
mt: "mt";
|
|
307
|
+
nl: "nl";
|
|
308
|
+
no: "no";
|
|
309
|
+
pl: "pl";
|
|
310
|
+
pt: "pt";
|
|
311
|
+
ro: "ro";
|
|
312
|
+
ru: "ru";
|
|
313
|
+
sk: "sk";
|
|
314
|
+
sr: "sr";
|
|
315
|
+
sv: "sv";
|
|
316
|
+
sw: "sw";
|
|
317
|
+
ta: "ta";
|
|
318
|
+
te: "te";
|
|
319
|
+
th: "th";
|
|
320
|
+
tl: "tl";
|
|
321
|
+
tr: "tr";
|
|
322
|
+
uk: "uk";
|
|
323
|
+
ur: "ur";
|
|
324
|
+
vi: "vi";
|
|
325
|
+
zh: "zh";
|
|
326
|
+
}>>>;
|
|
325
327
|
}, z.core.$strip>;
|
|
326
328
|
}, z.core.$strip>;
|
|
327
329
|
}, z.core.$strip>;
|
|
@@ -646,6 +648,8 @@ declare const response: z.ZodObject<{
|
|
|
646
648
|
ZM: "ZM";
|
|
647
649
|
ZW: "ZW";
|
|
648
650
|
}>>;
|
|
651
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
652
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
649
653
|
}, z.core.$strip>;
|
|
650
654
|
}, z.core.$strip>;
|
|
651
655
|
export declare const routeSchema: 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.ZodArray<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,63 @@ declare const request: z.ZodObject<{
|
|
|
319
264
|
ZM: "ZM";
|
|
320
265
|
ZW: "ZW";
|
|
321
266
|
}>>;
|
|
267
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
releaseDate: z.ZodOptional<z.ZodString>;
|
|
270
|
+
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
271
|
+
id: "id";
|
|
272
|
+
af: "af";
|
|
273
|
+
am: "am";
|
|
274
|
+
ar: "ar";
|
|
275
|
+
bg: "bg";
|
|
276
|
+
bn: "bn";
|
|
277
|
+
ca: "ca";
|
|
278
|
+
cs: "cs";
|
|
279
|
+
cy: "cy";
|
|
280
|
+
da: "da";
|
|
281
|
+
de: "de";
|
|
282
|
+
el: "el";
|
|
283
|
+
en: "en";
|
|
284
|
+
eo: "eo";
|
|
285
|
+
es: "es";
|
|
286
|
+
fa: "fa";
|
|
287
|
+
fi: "fi";
|
|
288
|
+
fr: "fr";
|
|
289
|
+
ga: "ga";
|
|
290
|
+
he: "he";
|
|
291
|
+
hi: "hi";
|
|
292
|
+
hr: "hr";
|
|
293
|
+
hu: "hu";
|
|
294
|
+
is: "is";
|
|
295
|
+
it: "it";
|
|
296
|
+
ja: "ja";
|
|
297
|
+
ko: "ko";
|
|
298
|
+
la: "la";
|
|
299
|
+
lb: "lb";
|
|
300
|
+
mk: "mk";
|
|
301
|
+
mr: "mr";
|
|
302
|
+
ms: "ms";
|
|
303
|
+
mt: "mt";
|
|
304
|
+
nl: "nl";
|
|
305
|
+
no: "no";
|
|
306
|
+
pl: "pl";
|
|
307
|
+
pt: "pt";
|
|
308
|
+
ro: "ro";
|
|
309
|
+
ru: "ru";
|
|
310
|
+
sk: "sk";
|
|
311
|
+
sr: "sr";
|
|
312
|
+
sv: "sv";
|
|
313
|
+
sw: "sw";
|
|
314
|
+
ta: "ta";
|
|
315
|
+
te: "te";
|
|
316
|
+
th: "th";
|
|
317
|
+
tl: "tl";
|
|
318
|
+
tr: "tr";
|
|
319
|
+
uk: "uk";
|
|
320
|
+
ur: "ur";
|
|
321
|
+
vi: "vi";
|
|
322
|
+
zh: "zh";
|
|
323
|
+
}>>;
|
|
322
324
|
}, z.core.$strip>>;
|
|
323
325
|
}, z.core.$strip>;
|
|
324
326
|
}, z.core.$strip>;
|
|
@@ -643,6 +645,8 @@ declare const response: z.ZodObject<{
|
|
|
643
645
|
ZM: "ZM";
|
|
644
646
|
ZW: "ZW";
|
|
645
647
|
}>>;
|
|
648
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
649
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
646
650
|
}, z.core.$strip>>;
|
|
647
651
|
}, z.core.$strip>;
|
|
648
652
|
export declare const routeSchema: RouteSchema;
|
|
@@ -324,6 +324,8 @@ declare const filters: z.ZodObject<{
|
|
|
324
324
|
}, z.core.$strip>>;
|
|
325
325
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
326
326
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
327
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
328
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
327
329
|
}, z.core.$strip>;
|
|
328
330
|
declare const sorting: z.ZodObject<{
|
|
329
331
|
sortBy: z.ZodEnum<{
|
|
@@ -675,6 +677,8 @@ declare const query: z.ZodObject<{
|
|
|
675
677
|
}, z.core.$strip>>;
|
|
676
678
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
677
679
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
680
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
678
682
|
}, z.core.$strip>>;
|
|
679
683
|
}, z.core.$strip>;
|
|
680
684
|
declare const request: z.ZodObject<{
|
|
@@ -1018,6 +1022,8 @@ declare const request: z.ZodObject<{
|
|
|
1018
1022
|
}, z.core.$strip>>;
|
|
1019
1023
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1020
1024
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1025
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
1021
1027
|
}, z.core.$strip>>;
|
|
1022
1028
|
}, z.core.$strip>;
|
|
1023
1029
|
}, z.core.$strip>;
|
|
@@ -1342,6 +1348,8 @@ declare const response: z.ZodObject<{
|
|
|
1342
1348
|
ZM: "ZM";
|
|
1343
1349
|
ZW: "ZW";
|
|
1344
1350
|
}>>;
|
|
1351
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1352
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
1345
1353
|
creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1346
1354
|
id: z.ZodUUID;
|
|
1347
1355
|
name: z.ZodString;
|
|
@@ -9,6 +9,8 @@ const filters = z.object({
|
|
|
9
9
|
createdAt: dateRange.optional(),
|
|
10
10
|
projectIds: z.array(z.string()).optional(),
|
|
11
11
|
creatorIds: z.array(z.string()).optional(),
|
|
12
|
+
hidden: z.boolean().optional(),
|
|
13
|
+
doNotIngest: z.boolean().optional(),
|
|
12
14
|
});
|
|
13
15
|
const sorting = z.object({
|
|
14
16
|
sortBy: z.enum(['createdAt', 'releaseDate']),
|
|
@@ -4,13 +4,13 @@ import { updateCreationData } from '../../definitions/update.zod.js';
|
|
|
4
4
|
declare const request: z.ZodObject<{
|
|
5
5
|
body: z.ZodObject<{
|
|
6
6
|
data: z.ZodObject<{
|
|
7
|
-
projectId: z.ZodUUID;
|
|
8
7
|
type: z.ZodEnum<{
|
|
9
8
|
release: "release";
|
|
10
9
|
trailer: "trailer";
|
|
11
10
|
teaser: "teaser";
|
|
12
11
|
}>;
|
|
13
12
|
title: z.ZodString;
|
|
13
|
+
projectId: z.ZodUUID;
|
|
14
14
|
links: z.ZodArray<z.ZodString>;
|
|
15
15
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
16
16
|
}, z.core.$strip>;
|
|
@@ -3,13 +3,13 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const request: z.ZodObject<{
|
|
4
4
|
body: z.ZodObject<{
|
|
5
5
|
data: z.ZodArray<z.ZodObject<{
|
|
6
|
-
projectId: z.ZodUUID;
|
|
7
6
|
type: z.ZodEnum<{
|
|
8
7
|
release: "release";
|
|
9
8
|
trailer: "trailer";
|
|
10
9
|
teaser: "teaser";
|
|
11
10
|
}>;
|
|
12
11
|
title: z.ZodString;
|
|
12
|
+
projectId: z.ZodUUID;
|
|
13
13
|
links: z.ZodArray<z.ZodString>;
|
|
14
14
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, z.core.$strip>>;
|