@jh-tech/be-content-shared 0.0.39 → 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 +2 -0
- package/dist/definitions/update.zod.d.ts +1 -1
- 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/creator/creator.update.d.ts +5 -1
- 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 +4 -0
- package/dist/route-definitions/project/project.get.d.ts +2 -0
- package/dist/route-definitions/project/project.update.d.ts +4 -0
- package/dist/route-definitions/project/projects.bulkCreate.d.ts +4 -0
- 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.d.ts +0 -84
- package/dist/route-definitions/project-creator/projectCreator.create.js +0 -18
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type z } from 'zod';
|
|
2
2
|
export declare const creatorCreationData: z.ZodObject<{
|
|
3
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4
3
|
name: z.ZodString;
|
|
4
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5
5
|
primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
6
|
"film-director": "film-director";
|
|
7
7
|
"film-producer": "film-producer";
|
|
@@ -34,5 +34,7 @@ export declare const creatorCreationData: z.ZodObject<{
|
|
|
34
34
|
"book-publisher": "book-publisher";
|
|
35
35
|
}>]>;
|
|
36
36
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
37
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
37
39
|
}, z.core.$strip>;
|
|
38
40
|
export type CreatorCreationData = z.infer<typeof creatorCreationData>;
|
|
@@ -297,6 +297,8 @@ export declare const projectCreationData: z.ZodObject<{
|
|
|
297
297
|
ZM: "ZM";
|
|
298
298
|
ZW: "ZW";
|
|
299
299
|
}>>;
|
|
300
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
300
302
|
releaseDate: z.ZodOptional<z.ZodString>;
|
|
301
303
|
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
302
304
|
id: "id";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type z } from 'zod';
|
|
2
2
|
export declare const updateCreationData: z.ZodObject<{
|
|
3
|
-
projectId: z.ZodUUID;
|
|
4
3
|
type: z.ZodEnum<{
|
|
5
4
|
release: "release";
|
|
6
5
|
trailer: "trailer";
|
|
7
6
|
teaser: "teaser";
|
|
8
7
|
}>;
|
|
9
8
|
title: z.ZodString;
|
|
9
|
+
projectId: z.ZodUUID;
|
|
10
10
|
links: z.ZodArray<z.ZodString>;
|
|
11
11
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, z.core.$strip>;
|
|
@@ -3,8 +3,8 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const request: z.ZodObject<{
|
|
4
4
|
body: z.ZodObject<{
|
|
5
5
|
data: z.ZodObject<{
|
|
6
|
-
description: z.ZodOptional<z.ZodString>;
|
|
7
6
|
name: z.ZodString;
|
|
7
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8
8
|
primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
9
|
"film-director": "film-director";
|
|
10
10
|
"film-producer": "film-producer";
|
|
@@ -37,6 +37,8 @@ declare const request: z.ZodObject<{
|
|
|
37
37
|
"book-publisher": "book-publisher";
|
|
38
38
|
}>]>;
|
|
39
39
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
40
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
40
42
|
}, z.core.$strip>;
|
|
41
43
|
}, z.core.$strip>;
|
|
42
44
|
}, z.core.$strip>;
|
|
@@ -79,6 +81,8 @@ declare const response: z.ZodObject<{
|
|
|
79
81
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
80
82
|
createdAt: z.ZodString;
|
|
81
83
|
updatedAt: z.ZodString;
|
|
84
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
82
86
|
}, z.core.$strip>;
|
|
83
87
|
}, z.core.$strip>;
|
|
84
88
|
export declare const routeSchema: RouteSchema;
|
|
@@ -44,6 +44,8 @@ declare const response: z.ZodObject<{
|
|
|
44
44
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
45
45
|
createdAt: z.ZodString;
|
|
46
46
|
updatedAt: z.ZodString;
|
|
47
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
47
49
|
}, z.core.$strip>;
|
|
48
50
|
}, z.core.$strip>;
|
|
49
51
|
export declare const routeSchema: RouteSchema;
|
|
@@ -6,8 +6,8 @@ declare const request: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
body: z.ZodObject<{
|
|
8
8
|
data: z.ZodObject<{
|
|
9
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10
9
|
name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11
11
|
primaryRole: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
12
|
"film-director": "film-director";
|
|
13
13
|
"film-producer": "film-producer";
|
|
@@ -40,6 +40,8 @@ declare const request: z.ZodObject<{
|
|
|
40
40
|
"book-publisher": "book-publisher";
|
|
41
41
|
}>]>>;
|
|
42
42
|
originCountry: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
43
|
+
hidden: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
44
|
+
doNotIngest: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
43
45
|
}, z.core.$strip>;
|
|
44
46
|
}, z.core.$strip>;
|
|
45
47
|
}, z.core.$strip>;
|
|
@@ -82,6 +84,8 @@ declare const response: z.ZodObject<{
|
|
|
82
84
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
83
85
|
createdAt: z.ZodString;
|
|
84
86
|
updatedAt: z.ZodString;
|
|
87
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
85
89
|
}, z.core.$strip>;
|
|
86
90
|
}, z.core.$strip>;
|
|
87
91
|
export declare const routeSchema: RouteSchema;
|
|
@@ -326,6 +326,8 @@ declare const response: z.ZodObject<{
|
|
|
326
326
|
ZM: "ZM";
|
|
327
327
|
ZW: "ZW";
|
|
328
328
|
}>>;
|
|
329
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
329
331
|
}, z.core.$strip>>;
|
|
330
332
|
}, z.core.$strip>;
|
|
331
333
|
export declare const routeSchema: RouteSchema;
|
|
@@ -3,8 +3,8 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const request: z.ZodObject<{
|
|
4
4
|
body: z.ZodObject<{
|
|
5
5
|
data: z.ZodArray<z.ZodObject<{
|
|
6
|
-
description: z.ZodOptional<z.ZodString>;
|
|
7
6
|
name: z.ZodString;
|
|
7
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8
8
|
primaryRole: z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
9
|
"film-director": "film-director";
|
|
10
10
|
"film-producer": "film-producer";
|
|
@@ -37,6 +37,8 @@ declare const request: z.ZodObject<{
|
|
|
37
37
|
"book-publisher": "book-publisher";
|
|
38
38
|
}>]>;
|
|
39
39
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
40
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
40
42
|
}, z.core.$strip>>;
|
|
41
43
|
}, z.core.$strip>;
|
|
42
44
|
}, z.core.$strip>;
|
|
@@ -79,6 +81,8 @@ declare const response: z.ZodObject<{
|
|
|
79
81
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
80
82
|
createdAt: z.ZodString;
|
|
81
83
|
updatedAt: z.ZodString;
|
|
84
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
82
86
|
}, z.core.$strip>>;
|
|
83
87
|
}, z.core.$strip>;
|
|
84
88
|
export declare const routeSchema: RouteSchema;
|
|
@@ -3,6 +3,8 @@ import { z } from 'zod';
|
|
|
3
3
|
declare const filters: z.ZodObject<{
|
|
4
4
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5
5
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const query: z.ZodObject<{
|
|
8
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -12,11 +14,13 @@ declare const query: z.ZodObject<{
|
|
|
12
14
|
filters: z.ZodOptional<z.ZodObject<{
|
|
13
15
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
16
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
15
19
|
}, z.core.$strip>>;
|
|
16
20
|
sorting: z.ZodOptional<z.ZodObject<{
|
|
17
21
|
sortBy: z.ZodEnum<{
|
|
18
|
-
createdAt: "createdAt";
|
|
19
22
|
name: "name";
|
|
23
|
+
createdAt: "createdAt";
|
|
20
24
|
}>;
|
|
21
25
|
order: z.ZodEnum<{
|
|
22
26
|
asc: "asc";
|
|
@@ -33,11 +37,13 @@ declare const request: z.ZodObject<{
|
|
|
33
37
|
filters: z.ZodOptional<z.ZodObject<{
|
|
34
38
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
39
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
36
42
|
}, z.core.$strip>>;
|
|
37
43
|
sorting: z.ZodOptional<z.ZodObject<{
|
|
38
44
|
sortBy: z.ZodEnum<{
|
|
39
|
-
createdAt: "createdAt";
|
|
40
45
|
name: "name";
|
|
46
|
+
createdAt: "createdAt";
|
|
41
47
|
}>;
|
|
42
48
|
order: z.ZodEnum<{
|
|
43
49
|
asc: "asc";
|
|
@@ -85,6 +91,8 @@ declare const response: z.ZodObject<{
|
|
|
85
91
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
86
92
|
createdAt: z.ZodString;
|
|
87
93
|
updatedAt: z.ZodString;
|
|
94
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
88
96
|
}, z.core.$strip>>;
|
|
89
97
|
meta: z.ZodOptional<z.ZodObject<{
|
|
90
98
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -4,6 +4,8 @@ import { z } from 'zod';
|
|
|
4
4
|
const filters = z.object({
|
|
5
5
|
creatorIds: z.array(z.string()).optional(),
|
|
6
6
|
projectIds: z.array(z.string()).optional(),
|
|
7
|
+
hidden: z.boolean().optional(),
|
|
8
|
+
doNotIngest: z.boolean().optional(),
|
|
7
9
|
});
|
|
8
10
|
const sorting = z.object({
|
|
9
11
|
sortBy: z.enum(['name', 'createdAt']),
|
|
@@ -264,6 +264,8 @@ declare const request: z.ZodObject<{
|
|
|
264
264
|
ZM: "ZM";
|
|
265
265
|
ZW: "ZW";
|
|
266
266
|
}>>;
|
|
267
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
267
269
|
releaseDate: z.ZodOptional<z.ZodString>;
|
|
268
270
|
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
269
271
|
id: "id";
|
|
@@ -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;
|
|
@@ -267,6 +267,8 @@ declare const request: z.ZodObject<{
|
|
|
267
267
|
ZM: "ZM";
|
|
268
268
|
ZW: "ZW";
|
|
269
269
|
}>>>;
|
|
270
|
+
hidden: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
271
|
+
doNotIngest: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
270
272
|
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
271
273
|
originalLanguage: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
272
274
|
id: "id";
|
|
@@ -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;
|
|
@@ -264,6 +264,8 @@ declare const request: z.ZodObject<{
|
|
|
264
264
|
ZM: "ZM";
|
|
265
265
|
ZW: "ZW";
|
|
266
266
|
}>>;
|
|
267
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
267
269
|
releaseDate: z.ZodOptional<z.ZodString>;
|
|
268
270
|
originalLanguage: z.ZodOptional<z.ZodEnum<{
|
|
269
271
|
id: "id";
|
|
@@ -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>>;
|