@jh-tech/be-content-shared 0.0.23 → 0.0.25
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/collection.zod.d.ts +1 -1
- package/dist/definitions/collection.zod.js +1 -1
- package/dist/definitions/collectionItem.zod.d.ts +1 -1
- package/dist/definitions/collectionItem.zod.js +1 -1
- package/dist/definitions/creator.zod.d.ts +2 -1
- package/dist/definitions/creator.zod.js +1 -1
- package/dist/definitions/project.zod.d.ts +4 -348
- package/dist/definitions/project.zod.js +2 -5
- package/dist/definitions/update.zod.d.ts +1 -1
- package/dist/definitions/update.zod.js +1 -1
- package/dist/route-definitions/creator/creator.create.d.ts +2 -0
- package/dist/route-definitions/creator/creator.get.d.ts +1 -0
- package/dist/route-definitions/creator/creatorProjects.list.d.ts +1 -0
- package/dist/route-definitions/creator/creators.bulkCreate.d.ts +2 -0
- package/dist/route-definitions/creator/creators.list.d.ts +1 -0
- package/dist/route-definitions/project/project.create.d.ts +56 -82
- package/dist/route-definitions/project/project.create.js +2 -2
- package/dist/route-definitions/project/project.get.d.ts +1 -0
- package/dist/route-definitions/project/project.update.d.ts +56 -54
- package/dist/route-definitions/project/projects.bulkCreate.d.ts +56 -82
- package/dist/route-definitions/project/projects.bulkCreate.js +2 -2
- package/dist/route-definitions/project/projects.list.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { project } from '@jackhayes/util-types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { projectCreationData } from '../../definitions/project.zod.js';
|
|
4
4
|
const request = z.object({
|
|
5
5
|
body: z.object({
|
|
6
|
-
data:
|
|
6
|
+
data: projectCreationData,
|
|
7
7
|
}),
|
|
8
8
|
});
|
|
9
9
|
const response = z.object({
|
|
@@ -14,60 +14,6 @@ declare const request: z.ZodObject<{
|
|
|
14
14
|
}>>;
|
|
15
15
|
title: z.ZodOptional<z.ZodString>;
|
|
16
16
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17
|
-
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18
|
-
originalLanguage: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
id: "id";
|
|
20
|
-
af: "af";
|
|
21
|
-
am: "am";
|
|
22
|
-
ar: "ar";
|
|
23
|
-
bg: "bg";
|
|
24
|
-
bn: "bn";
|
|
25
|
-
ca: "ca";
|
|
26
|
-
cs: "cs";
|
|
27
|
-
cy: "cy";
|
|
28
|
-
da: "da";
|
|
29
|
-
de: "de";
|
|
30
|
-
el: "el";
|
|
31
|
-
en: "en";
|
|
32
|
-
eo: "eo";
|
|
33
|
-
es: "es";
|
|
34
|
-
fa: "fa";
|
|
35
|
-
fi: "fi";
|
|
36
|
-
fr: "fr";
|
|
37
|
-
ga: "ga";
|
|
38
|
-
he: "he";
|
|
39
|
-
hi: "hi";
|
|
40
|
-
hr: "hr";
|
|
41
|
-
hu: "hu";
|
|
42
|
-
is: "is";
|
|
43
|
-
it: "it";
|
|
44
|
-
ja: "ja";
|
|
45
|
-
ko: "ko";
|
|
46
|
-
la: "la";
|
|
47
|
-
lb: "lb";
|
|
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
17
|
originCountry: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
72
18
|
AF: "AF";
|
|
73
19
|
AX: "AX";
|
|
@@ -319,6 +265,61 @@ declare const request: z.ZodObject<{
|
|
|
319
265
|
ZM: "ZM";
|
|
320
266
|
ZW: "ZW";
|
|
321
267
|
}>>>;
|
|
268
|
+
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
269
|
+
originalLanguage: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
270
|
+
id: "id";
|
|
271
|
+
af: "af";
|
|
272
|
+
am: "am";
|
|
273
|
+
ar: "ar";
|
|
274
|
+
bg: "bg";
|
|
275
|
+
bn: "bn";
|
|
276
|
+
ca: "ca";
|
|
277
|
+
cs: "cs";
|
|
278
|
+
cy: "cy";
|
|
279
|
+
da: "da";
|
|
280
|
+
de: "de";
|
|
281
|
+
el: "el";
|
|
282
|
+
en: "en";
|
|
283
|
+
eo: "eo";
|
|
284
|
+
es: "es";
|
|
285
|
+
fa: "fa";
|
|
286
|
+
fi: "fi";
|
|
287
|
+
fr: "fr";
|
|
288
|
+
ga: "ga";
|
|
289
|
+
he: "he";
|
|
290
|
+
hi: "hi";
|
|
291
|
+
hr: "hr";
|
|
292
|
+
hu: "hu";
|
|
293
|
+
is: "is";
|
|
294
|
+
it: "it";
|
|
295
|
+
ja: "ja";
|
|
296
|
+
ko: "ko";
|
|
297
|
+
la: "la";
|
|
298
|
+
lb: "lb";
|
|
299
|
+
mk: "mk";
|
|
300
|
+
mr: "mr";
|
|
301
|
+
ms: "ms";
|
|
302
|
+
mt: "mt";
|
|
303
|
+
nl: "nl";
|
|
304
|
+
no: "no";
|
|
305
|
+
pl: "pl";
|
|
306
|
+
pt: "pt";
|
|
307
|
+
ro: "ro";
|
|
308
|
+
ru: "ru";
|
|
309
|
+
sk: "sk";
|
|
310
|
+
sr: "sr";
|
|
311
|
+
sv: "sv";
|
|
312
|
+
sw: "sw";
|
|
313
|
+
ta: "ta";
|
|
314
|
+
te: "te";
|
|
315
|
+
th: "th";
|
|
316
|
+
tl: "tl";
|
|
317
|
+
tr: "tr";
|
|
318
|
+
uk: "uk";
|
|
319
|
+
ur: "ur";
|
|
320
|
+
vi: "vi";
|
|
321
|
+
zh: "zh";
|
|
322
|
+
}>>>;
|
|
322
323
|
}, z.core.$strip>;
|
|
323
324
|
}, z.core.$strip>;
|
|
324
325
|
}, z.core.$strip>;
|
|
@@ -366,6 +367,7 @@ declare const response: z.ZodObject<{
|
|
|
366
367
|
ko: "ko";
|
|
367
368
|
la: "la";
|
|
368
369
|
lb: "lb";
|
|
370
|
+
mk: "mk";
|
|
369
371
|
mr: "mr";
|
|
370
372
|
ms: "ms";
|
|
371
373
|
mt: "mt";
|
|
@@ -11,60 +11,6 @@ declare const request: z.ZodObject<{
|
|
|
11
11
|
}>;
|
|
12
12
|
title: z.ZodString;
|
|
13
13
|
description: z.ZodOptional<z.ZodString>;
|
|
14
|
-
releaseDate: z.ZodOptional<z.ZodString>;
|
|
15
|
-
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
16
|
-
id: "id";
|
|
17
|
-
af: "af";
|
|
18
|
-
am: "am";
|
|
19
|
-
ar: "ar";
|
|
20
|
-
bg: "bg";
|
|
21
|
-
bn: "bn";
|
|
22
|
-
ca: "ca";
|
|
23
|
-
cs: "cs";
|
|
24
|
-
cy: "cy";
|
|
25
|
-
da: "da";
|
|
26
|
-
de: "de";
|
|
27
|
-
el: "el";
|
|
28
|
-
en: "en";
|
|
29
|
-
eo: "eo";
|
|
30
|
-
es: "es";
|
|
31
|
-
fa: "fa";
|
|
32
|
-
fi: "fi";
|
|
33
|
-
fr: "fr";
|
|
34
|
-
ga: "ga";
|
|
35
|
-
he: "he";
|
|
36
|
-
hi: "hi";
|
|
37
|
-
hr: "hr";
|
|
38
|
-
hu: "hu";
|
|
39
|
-
is: "is";
|
|
40
|
-
it: "it";
|
|
41
|
-
ja: "ja";
|
|
42
|
-
ko: "ko";
|
|
43
|
-
la: "la";
|
|
44
|
-
lb: "lb";
|
|
45
|
-
mr: "mr";
|
|
46
|
-
ms: "ms";
|
|
47
|
-
mt: "mt";
|
|
48
|
-
nl: "nl";
|
|
49
|
-
no: "no";
|
|
50
|
-
pl: "pl";
|
|
51
|
-
pt: "pt";
|
|
52
|
-
ro: "ro";
|
|
53
|
-
ru: "ru";
|
|
54
|
-
sk: "sk";
|
|
55
|
-
sr: "sr";
|
|
56
|
-
sv: "sv";
|
|
57
|
-
sw: "sw";
|
|
58
|
-
ta: "ta";
|
|
59
|
-
te: "te";
|
|
60
|
-
th: "th";
|
|
61
|
-
tl: "tl";
|
|
62
|
-
tr: "tr";
|
|
63
|
-
uk: "uk";
|
|
64
|
-
ur: "ur";
|
|
65
|
-
vi: "vi";
|
|
66
|
-
zh: "zh";
|
|
67
|
-
}>>;
|
|
68
14
|
originCountry: z.ZodOptional<z.ZodEnum<{
|
|
69
15
|
AF: "AF";
|
|
70
16
|
AX: "AX";
|
|
@@ -316,34 +262,61 @@ declare const request: z.ZodObject<{
|
|
|
316
262
|
ZM: "ZM";
|
|
317
263
|
ZW: "ZW";
|
|
318
264
|
}>>;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
265
|
+
releaseDate: z.ZodOptional<z.ZodString>;
|
|
266
|
+
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
267
|
+
id: "id";
|
|
268
|
+
af: "af";
|
|
269
|
+
am: "am";
|
|
270
|
+
ar: "ar";
|
|
271
|
+
bg: "bg";
|
|
272
|
+
bn: "bn";
|
|
273
|
+
ca: "ca";
|
|
274
|
+
cs: "cs";
|
|
275
|
+
cy: "cy";
|
|
276
|
+
da: "da";
|
|
277
|
+
de: "de";
|
|
278
|
+
el: "el";
|
|
279
|
+
en: "en";
|
|
280
|
+
eo: "eo";
|
|
281
|
+
es: "es";
|
|
282
|
+
fa: "fa";
|
|
283
|
+
fi: "fi";
|
|
284
|
+
fr: "fr";
|
|
285
|
+
ga: "ga";
|
|
286
|
+
he: "he";
|
|
287
|
+
hi: "hi";
|
|
288
|
+
hr: "hr";
|
|
289
|
+
hu: "hu";
|
|
290
|
+
is: "is";
|
|
291
|
+
it: "it";
|
|
292
|
+
ja: "ja";
|
|
293
|
+
ko: "ko";
|
|
294
|
+
la: "la";
|
|
295
|
+
lb: "lb";
|
|
296
|
+
mk: "mk";
|
|
297
|
+
mr: "mr";
|
|
298
|
+
ms: "ms";
|
|
299
|
+
mt: "mt";
|
|
300
|
+
nl: "nl";
|
|
301
|
+
no: "no";
|
|
302
|
+
pl: "pl";
|
|
303
|
+
pt: "pt";
|
|
304
|
+
ro: "ro";
|
|
305
|
+
ru: "ru";
|
|
306
|
+
sk: "sk";
|
|
307
|
+
sr: "sr";
|
|
308
|
+
sv: "sv";
|
|
309
|
+
sw: "sw";
|
|
310
|
+
ta: "ta";
|
|
311
|
+
te: "te";
|
|
312
|
+
th: "th";
|
|
313
|
+
tl: "tl";
|
|
314
|
+
tr: "tr";
|
|
315
|
+
uk: "uk";
|
|
316
|
+
ur: "ur";
|
|
317
|
+
vi: "vi";
|
|
318
|
+
zh: "zh";
|
|
319
|
+
}>>;
|
|
347
320
|
}, z.core.$strip>>;
|
|
348
321
|
}, z.core.$strip>;
|
|
349
322
|
}, z.core.$strip>;
|
|
@@ -391,6 +364,7 @@ declare const response: z.ZodObject<{
|
|
|
391
364
|
ko: "ko";
|
|
392
365
|
la: "la";
|
|
393
366
|
lb: "lb";
|
|
367
|
+
mk: "mk";
|
|
394
368
|
mr: "mr";
|
|
395
369
|
ms: "ms";
|
|
396
370
|
mt: "mt";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { project } from '@jackhayes/util-types';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { projectCreationData } from '../../definitions/project.zod.js';
|
|
4
4
|
const request = z.object({
|
|
5
5
|
body: z.object({
|
|
6
|
-
data: z.array(
|
|
6
|
+
data: z.array(projectCreationData),
|
|
7
7
|
}),
|
|
8
8
|
});
|
|
9
9
|
const response = z.object({
|
|
@@ -37,6 +37,7 @@ declare const filters: z.ZodObject<{
|
|
|
37
37
|
ko: "ko";
|
|
38
38
|
la: "la";
|
|
39
39
|
lb: "lb";
|
|
40
|
+
mk: "mk";
|
|
40
41
|
mr: "mr";
|
|
41
42
|
ms: "ms";
|
|
42
43
|
mt: "mt";
|
|
@@ -372,6 +373,7 @@ declare const query: z.ZodObject<{
|
|
|
372
373
|
ko: "ko";
|
|
373
374
|
la: "la";
|
|
374
375
|
lb: "lb";
|
|
376
|
+
mk: "mk";
|
|
375
377
|
mr: "mr";
|
|
376
378
|
ms: "ms";
|
|
377
379
|
mt: "mt";
|
|
@@ -700,6 +702,7 @@ declare const request: z.ZodObject<{
|
|
|
700
702
|
ko: "ko";
|
|
701
703
|
la: "la";
|
|
702
704
|
lb: "lb";
|
|
705
|
+
mk: "mk";
|
|
703
706
|
mr: "mr";
|
|
704
707
|
ms: "ms";
|
|
705
708
|
mt: "mt";
|
|
@@ -1022,6 +1025,7 @@ declare const response: z.ZodObject<{
|
|
|
1022
1025
|
ko: "ko";
|
|
1023
1026
|
la: "la";
|
|
1024
1027
|
lb: "lb";
|
|
1028
|
+
mk: "mk";
|
|
1025
1029
|
mr: "mr";
|
|
1026
1030
|
ms: "ms";
|
|
1027
1031
|
mt: "mt";
|