@jh-tech/be-content-shared 0.0.39 → 0.0.41
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 +7 -2
- package/dist/route-definitions/creator/creators.list.js +1 -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 +5 -0
- package/dist/route-definitions/project/projects.list.js +1 -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,7 @@ 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
|
+
showHidden: z.ZodOptional<z.ZodBoolean>;
|
|
6
7
|
}, z.core.$strip>;
|
|
7
8
|
declare const query: z.ZodObject<{
|
|
8
9
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -12,11 +13,12 @@ declare const query: z.ZodObject<{
|
|
|
12
13
|
filters: z.ZodOptional<z.ZodObject<{
|
|
13
14
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
15
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
showHidden: z.ZodOptional<z.ZodBoolean>;
|
|
15
17
|
}, z.core.$strip>>;
|
|
16
18
|
sorting: z.ZodOptional<z.ZodObject<{
|
|
17
19
|
sortBy: z.ZodEnum<{
|
|
18
|
-
createdAt: "createdAt";
|
|
19
20
|
name: "name";
|
|
21
|
+
createdAt: "createdAt";
|
|
20
22
|
}>;
|
|
21
23
|
order: z.ZodEnum<{
|
|
22
24
|
asc: "asc";
|
|
@@ -33,11 +35,12 @@ declare const request: z.ZodObject<{
|
|
|
33
35
|
filters: z.ZodOptional<z.ZodObject<{
|
|
34
36
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
37
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
+
showHidden: z.ZodOptional<z.ZodBoolean>;
|
|
36
39
|
}, z.core.$strip>>;
|
|
37
40
|
sorting: z.ZodOptional<z.ZodObject<{
|
|
38
41
|
sortBy: z.ZodEnum<{
|
|
39
|
-
createdAt: "createdAt";
|
|
40
42
|
name: "name";
|
|
43
|
+
createdAt: "createdAt";
|
|
41
44
|
}>;
|
|
42
45
|
order: z.ZodEnum<{
|
|
43
46
|
asc: "asc";
|
|
@@ -85,6 +88,8 @@ declare const response: z.ZodObject<{
|
|
|
85
88
|
originCountry: z.ZodOptional<z.ZodString>;
|
|
86
89
|
createdAt: z.ZodString;
|
|
87
90
|
updatedAt: z.ZodString;
|
|
91
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
88
93
|
}, z.core.$strip>>;
|
|
89
94
|
meta: z.ZodOptional<z.ZodObject<{
|
|
90
95
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -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,7 @@ 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
|
+
showHidden: z.ZodOptional<z.ZodBoolean>;
|
|
327
328
|
}, z.core.$strip>;
|
|
328
329
|
declare const sorting: z.ZodObject<{
|
|
329
330
|
sortBy: z.ZodEnum<{
|
|
@@ -675,6 +676,7 @@ declare const query: z.ZodObject<{
|
|
|
675
676
|
}, z.core.$strip>>;
|
|
676
677
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
677
678
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
679
|
+
showHidden: z.ZodOptional<z.ZodBoolean>;
|
|
678
680
|
}, z.core.$strip>>;
|
|
679
681
|
}, z.core.$strip>;
|
|
680
682
|
declare const request: z.ZodObject<{
|
|
@@ -1018,6 +1020,7 @@ declare const request: z.ZodObject<{
|
|
|
1018
1020
|
}, z.core.$strip>>;
|
|
1019
1021
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1020
1022
|
creatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1023
|
+
showHidden: z.ZodOptional<z.ZodBoolean>;
|
|
1021
1024
|
}, z.core.$strip>>;
|
|
1022
1025
|
}, z.core.$strip>;
|
|
1023
1026
|
}, z.core.$strip>;
|
|
@@ -1342,6 +1345,8 @@ declare const response: z.ZodObject<{
|
|
|
1342
1345
|
ZM: "ZM";
|
|
1343
1346
|
ZW: "ZW";
|
|
1344
1347
|
}>>;
|
|
1348
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1349
|
+
doNotIngest: z.ZodOptional<z.ZodBoolean>;
|
|
1345
1350
|
creators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1346
1351
|
id: z.ZodUUID;
|
|
1347
1352
|
name: z.ZodString;
|
|
@@ -9,6 +9,7 @@ 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
|
+
showHidden: z.boolean().optional(),
|
|
12
13
|
});
|
|
13
14
|
const sorting = z.object({
|
|
14
15
|
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>>;
|