@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.
@@ -1,9 +1,9 @@
1
1
  import { project } from '@jackhayes/util-types';
2
2
  import { z } from 'zod';
3
- import { projectWithCreatorRelationCreationData } from '../../definitions/project.zod.js';
3
+ import { projectCreationData } from '../../definitions/project.zod.js';
4
4
  const request = z.object({
5
5
  body: z.object({
6
- data: projectWithCreatorRelationCreationData,
6
+ data: projectCreationData,
7
7
  }),
8
8
  });
9
9
  const response = z.object({
@@ -44,6 +44,7 @@ declare const response: z.ZodObject<{
44
44
  ko: "ko";
45
45
  la: "la";
46
46
  lb: "lb";
47
+ mk: "mk";
47
48
  mr: "mr";
48
49
  ms: "ms";
49
50
  mt: "mt";
@@ -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
- creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
320
- creatorId: z.ZodUUID;
321
- primary: z.ZodBoolean;
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
- }>]>;
346
- }, z.core.$strip>>>;
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 { projectWithCreatorRelationCreationData } from '../../definitions/project.zod.js';
3
+ import { projectCreationData } from '../../definitions/project.zod.js';
4
4
  const request = z.object({
5
5
  body: z.object({
6
- data: z.array(projectWithCreatorRelationCreationData),
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";