@zyacreatives/shared 1.2.6 → 1.2.8
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/schemas/brand.d.ts +0 -52
- package/dist/schemas/brand.js +1 -5
- package/dist/schemas/creative.d.ts +0 -52
- package/dist/schemas/creative.js +1 -5
- package/dist/schemas/investor.d.ts +0 -52
- package/dist/schemas/investor.js +1 -5
- package/package.json +1 -1
- package/src/schemas/brand.ts +3 -5
- package/src/schemas/creative.ts +3 -4
- package/src/schemas/investor.ts +3 -4
package/dist/schemas/brand.d.ts
CHANGED
|
@@ -5,19 +5,6 @@ export declare const BrandEntitySchema: z.ZodObject<{
|
|
|
5
5
|
brandName: z.ZodString;
|
|
6
6
|
bio: z.ZodOptional<z.ZodString>;
|
|
7
7
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
-
user: z.ZodObject<{
|
|
9
|
-
id: z.ZodCUID2;
|
|
10
|
-
username: z.ZodOptional<z.ZodString>;
|
|
11
|
-
email: z.ZodString;
|
|
12
|
-
name: z.ZodOptional<z.ZodString>;
|
|
13
|
-
image: z.ZodOptional<z.ZodString>;
|
|
14
|
-
role: z.ZodEnum<{
|
|
15
|
-
CREATIVE: "CREATIVE";
|
|
16
|
-
BRAND: "BRAND";
|
|
17
|
-
INVESTOR: "INVESTOR";
|
|
18
|
-
ADMIN: "ADMIN";
|
|
19
|
-
}>;
|
|
20
|
-
}, z.core.$strip>;
|
|
21
8
|
disciplines: z.ZodArray<z.ZodString>;
|
|
22
9
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
23
10
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -62,19 +49,6 @@ export declare const CreateBrandEndpointResponseSchema: z.ZodObject<{
|
|
|
62
49
|
brandName: z.ZodString;
|
|
63
50
|
bio: z.ZodOptional<z.ZodString>;
|
|
64
51
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
-
user: z.ZodObject<{
|
|
66
|
-
id: z.ZodCUID2;
|
|
67
|
-
username: z.ZodOptional<z.ZodString>;
|
|
68
|
-
email: z.ZodString;
|
|
69
|
-
name: z.ZodOptional<z.ZodString>;
|
|
70
|
-
image: z.ZodOptional<z.ZodString>;
|
|
71
|
-
role: z.ZodEnum<{
|
|
72
|
-
CREATIVE: "CREATIVE";
|
|
73
|
-
BRAND: "BRAND";
|
|
74
|
-
INVESTOR: "INVESTOR";
|
|
75
|
-
ADMIN: "ADMIN";
|
|
76
|
-
}>;
|
|
77
|
-
}, z.core.$strip>;
|
|
78
52
|
disciplines: z.ZodArray<z.ZodString>;
|
|
79
53
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
80
54
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -88,19 +62,6 @@ export declare const GetBrandEndpointResponseSchema: z.ZodObject<{
|
|
|
88
62
|
disciplines: z.ZodArray<z.ZodString>;
|
|
89
63
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
90
64
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
91
|
-
user: z.ZodObject<{
|
|
92
|
-
id: z.ZodCUID2;
|
|
93
|
-
username: z.ZodOptional<z.ZodString>;
|
|
94
|
-
email: z.ZodString;
|
|
95
|
-
name: z.ZodOptional<z.ZodString>;
|
|
96
|
-
image: z.ZodOptional<z.ZodString>;
|
|
97
|
-
role: z.ZodEnum<{
|
|
98
|
-
CREATIVE: "CREATIVE";
|
|
99
|
-
BRAND: "BRAND";
|
|
100
|
-
INVESTOR: "INVESTOR";
|
|
101
|
-
ADMIN: "ADMIN";
|
|
102
|
-
}>;
|
|
103
|
-
}, z.core.$strip>;
|
|
104
65
|
}, z.core.$strip>;
|
|
105
66
|
export declare const UpdateBrandEndpointResponseSchema: z.ZodObject<{
|
|
106
67
|
id: z.ZodCUID2;
|
|
@@ -108,19 +69,6 @@ export declare const UpdateBrandEndpointResponseSchema: z.ZodObject<{
|
|
|
108
69
|
brandName: z.ZodString;
|
|
109
70
|
bio: z.ZodOptional<z.ZodString>;
|
|
110
71
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
|
-
user: z.ZodObject<{
|
|
112
|
-
id: z.ZodCUID2;
|
|
113
|
-
username: z.ZodOptional<z.ZodString>;
|
|
114
|
-
email: z.ZodString;
|
|
115
|
-
name: z.ZodOptional<z.ZodString>;
|
|
116
|
-
image: z.ZodOptional<z.ZodString>;
|
|
117
|
-
role: z.ZodEnum<{
|
|
118
|
-
CREATIVE: "CREATIVE";
|
|
119
|
-
BRAND: "BRAND";
|
|
120
|
-
INVESTOR: "INVESTOR";
|
|
121
|
-
ADMIN: "ADMIN";
|
|
122
|
-
}>;
|
|
123
|
-
}, z.core.$strip>;
|
|
124
72
|
disciplines: z.ZodArray<z.ZodString>;
|
|
125
73
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
126
74
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
package/dist/schemas/brand.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateBrandEndpointResponseSchema = exports.GetBrandEndpointResponseSchema = exports.CreateBrandEndpointResponseSchema = exports.GetBrandQuerySchema = exports.GetBrandParamsSchema = exports.UpdateBrandProfileSchema = exports.CreateBrandProfileSchema = exports.ListBrandsInputSchema = exports.BrandEntitySchema = void 0;
|
|
4
4
|
const zod_openapi_1 = require("@hono/zod-openapi");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
|
-
const user_1 = require("./user");
|
|
7
6
|
const constants_1 = require("../constants");
|
|
8
7
|
exports.BrandEntitySchema = zod_openapi_1.z
|
|
9
8
|
.object({
|
|
@@ -18,7 +17,6 @@ exports.BrandEntitySchema = zod_openapi_1.z
|
|
|
18
17
|
.array(zod_openapi_1.z.string())
|
|
19
18
|
.optional()
|
|
20
19
|
.openapi({ example: ["technology", "saas", "startup"] }),
|
|
21
|
-
user: user_1.MinimalUserSchema,
|
|
22
20
|
disciplines: zod_openapi_1.z
|
|
23
21
|
.array(zod_openapi_1.z.string())
|
|
24
22
|
.openapi({ example: ["Marketing", "Product Development"] }),
|
|
@@ -103,7 +101,5 @@ exports.GetBrandParamsSchema = zod_openapi_1.z.object({
|
|
|
103
101
|
});
|
|
104
102
|
exports.GetBrandQuerySchema = common_1.ProfileIdentifierSchema;
|
|
105
103
|
exports.CreateBrandEndpointResponseSchema = exports.BrandEntitySchema;
|
|
106
|
-
exports.GetBrandEndpointResponseSchema = exports.BrandEntitySchema
|
|
107
|
-
user: user_1.MinimalUserSchema,
|
|
108
|
-
});
|
|
104
|
+
exports.GetBrandEndpointResponseSchema = exports.BrandEntitySchema;
|
|
109
105
|
exports.UpdateBrandEndpointResponseSchema = exports.BrandEntitySchema;
|
|
@@ -12,19 +12,6 @@ export declare const CreativeEntitySchema: z.ZodObject<{
|
|
|
12
12
|
}>>;
|
|
13
13
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
14
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
-
user: z.ZodObject<{
|
|
16
|
-
id: z.ZodCUID2;
|
|
17
|
-
username: z.ZodOptional<z.ZodString>;
|
|
18
|
-
email: z.ZodString;
|
|
19
|
-
name: z.ZodOptional<z.ZodString>;
|
|
20
|
-
image: z.ZodOptional<z.ZodString>;
|
|
21
|
-
role: z.ZodEnum<{
|
|
22
|
-
CREATIVE: "CREATIVE";
|
|
23
|
-
BRAND: "BRAND";
|
|
24
|
-
INVESTOR: "INVESTOR";
|
|
25
|
-
ADMIN: "ADMIN";
|
|
26
|
-
}>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
15
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
29
16
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
30
17
|
}, z.core.$strip>;
|
|
@@ -87,19 +74,6 @@ export declare const CreateCreativeEndpointResponseSchema: z.ZodObject<{
|
|
|
87
74
|
}>>;
|
|
88
75
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
76
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
|
-
user: z.ZodObject<{
|
|
91
|
-
id: z.ZodCUID2;
|
|
92
|
-
username: z.ZodOptional<z.ZodString>;
|
|
93
|
-
email: z.ZodString;
|
|
94
|
-
name: z.ZodOptional<z.ZodString>;
|
|
95
|
-
image: z.ZodOptional<z.ZodString>;
|
|
96
|
-
role: z.ZodEnum<{
|
|
97
|
-
CREATIVE: "CREATIVE";
|
|
98
|
-
BRAND: "BRAND";
|
|
99
|
-
INVESTOR: "INVESTOR";
|
|
100
|
-
ADMIN: "ADMIN";
|
|
101
|
-
}>;
|
|
102
|
-
}, z.core.$strip>;
|
|
103
77
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
104
78
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
105
79
|
}, z.core.$strip>;
|
|
@@ -118,19 +92,6 @@ export declare const GetCreativeEndpointResponseSchema: z.ZodObject<{
|
|
|
118
92
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
93
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
120
94
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
121
|
-
user: z.ZodObject<{
|
|
122
|
-
id: z.ZodCUID2;
|
|
123
|
-
username: z.ZodOptional<z.ZodString>;
|
|
124
|
-
email: z.ZodString;
|
|
125
|
-
name: z.ZodOptional<z.ZodString>;
|
|
126
|
-
image: z.ZodOptional<z.ZodString>;
|
|
127
|
-
role: z.ZodEnum<{
|
|
128
|
-
CREATIVE: "CREATIVE";
|
|
129
|
-
BRAND: "BRAND";
|
|
130
|
-
INVESTOR: "INVESTOR";
|
|
131
|
-
ADMIN: "ADMIN";
|
|
132
|
-
}>;
|
|
133
|
-
}, z.core.$strip>;
|
|
134
95
|
}, z.core.$strip>;
|
|
135
96
|
export declare const UpdateCreativeEndpointResponseSchema: z.ZodObject<{
|
|
136
97
|
id: z.ZodCUID2;
|
|
@@ -145,19 +106,6 @@ export declare const UpdateCreativeEndpointResponseSchema: z.ZodObject<{
|
|
|
145
106
|
}>>;
|
|
146
107
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
108
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
|
-
user: z.ZodObject<{
|
|
149
|
-
id: z.ZodCUID2;
|
|
150
|
-
username: z.ZodOptional<z.ZodString>;
|
|
151
|
-
email: z.ZodString;
|
|
152
|
-
name: z.ZodOptional<z.ZodString>;
|
|
153
|
-
image: z.ZodOptional<z.ZodString>;
|
|
154
|
-
role: z.ZodEnum<{
|
|
155
|
-
CREATIVE: "CREATIVE";
|
|
156
|
-
BRAND: "BRAND";
|
|
157
|
-
INVESTOR: "INVESTOR";
|
|
158
|
-
ADMIN: "ADMIN";
|
|
159
|
-
}>;
|
|
160
|
-
}, z.core.$strip>;
|
|
161
109
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
162
110
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
163
111
|
}, z.core.$strip>;
|
package/dist/schemas/creative.js
CHANGED
|
@@ -4,7 +4,6 @@ exports.UpdateCreativeEndpointResponseSchema = exports.GetCreativeEndpointRespon
|
|
|
4
4
|
const zod_openapi_1 = require("@hono/zod-openapi");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
|
-
const user_1 = require("./user");
|
|
8
7
|
exports.CreativeEntitySchema = zod_openapi_1.z
|
|
9
8
|
.object({
|
|
10
9
|
id: zod_openapi_1.z.cuid2().openapi({ example: "cre_cksd0v6q0000s9a5y8z7p3x9" }),
|
|
@@ -25,7 +24,6 @@ exports.CreativeEntitySchema = zod_openapi_1.z
|
|
|
25
24
|
.array(zod_openapi_1.z.string())
|
|
26
25
|
.optional()
|
|
27
26
|
.openapi({ example: ["Design", "Art Direction"] }),
|
|
28
|
-
user: user_1.MinimalUserSchema,
|
|
29
27
|
createdAt: zod_openapi_1.z.coerce
|
|
30
28
|
.date()
|
|
31
29
|
.optional()
|
|
@@ -121,7 +119,5 @@ exports.GetCreativeParamsSchema = zod_openapi_1.z.object({
|
|
|
121
119
|
});
|
|
122
120
|
exports.GetCreativeQuerySchema = common_1.ProfileIdentifierSchema;
|
|
123
121
|
exports.CreateCreativeEndpointResponseSchema = exports.CreativeEntitySchema;
|
|
124
|
-
exports.GetCreativeEndpointResponseSchema = exports.CreativeEntitySchema
|
|
125
|
-
user: user_1.MinimalUserSchema,
|
|
126
|
-
});
|
|
122
|
+
exports.GetCreativeEndpointResponseSchema = exports.CreativeEntitySchema;
|
|
127
123
|
exports.UpdateCreativeEndpointResponseSchema = exports.CreativeEntitySchema;
|
|
@@ -46,19 +46,6 @@ export declare const InvestorEntitySchema: z.ZodObject<{
|
|
|
46
46
|
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
47
47
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
48
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
49
|
-
user: z.ZodObject<{
|
|
50
|
-
id: z.ZodCUID2;
|
|
51
|
-
username: z.ZodOptional<z.ZodString>;
|
|
52
|
-
email: z.ZodString;
|
|
53
|
-
name: z.ZodOptional<z.ZodString>;
|
|
54
|
-
image: z.ZodOptional<z.ZodString>;
|
|
55
|
-
role: z.ZodEnum<{
|
|
56
|
-
CREATIVE: "CREATIVE";
|
|
57
|
-
BRAND: "BRAND";
|
|
58
|
-
INVESTOR: "INVESTOR";
|
|
59
|
-
ADMIN: "ADMIN";
|
|
60
|
-
}>;
|
|
61
|
-
}, z.core.$strip>;
|
|
62
49
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
63
50
|
}, z.core.$strip>;
|
|
64
51
|
export declare const CreateInvestorProfileSchema: z.ZodObject<{
|
|
@@ -187,19 +174,6 @@ export declare const CreateInvestorEndpointResponseSchema: z.ZodObject<{
|
|
|
187
174
|
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
188
175
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
176
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
190
|
-
user: z.ZodObject<{
|
|
191
|
-
id: z.ZodCUID2;
|
|
192
|
-
username: z.ZodOptional<z.ZodString>;
|
|
193
|
-
email: z.ZodString;
|
|
194
|
-
name: z.ZodOptional<z.ZodString>;
|
|
195
|
-
image: z.ZodOptional<z.ZodString>;
|
|
196
|
-
role: z.ZodEnum<{
|
|
197
|
-
CREATIVE: "CREATIVE";
|
|
198
|
-
BRAND: "BRAND";
|
|
199
|
-
INVESTOR: "INVESTOR";
|
|
200
|
-
ADMIN: "ADMIN";
|
|
201
|
-
}>;
|
|
202
|
-
}, z.core.$strip>;
|
|
203
177
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
204
178
|
}, z.core.$strip>;
|
|
205
179
|
export declare const GetInvestorEndpointResponseSchema: z.ZodObject<{
|
|
@@ -250,19 +224,6 @@ export declare const GetInvestorEndpointResponseSchema: z.ZodObject<{
|
|
|
250
224
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
225
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
252
226
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
253
|
-
user: z.ZodObject<{
|
|
254
|
-
id: z.ZodCUID2;
|
|
255
|
-
username: z.ZodOptional<z.ZodString>;
|
|
256
|
-
email: z.ZodString;
|
|
257
|
-
name: z.ZodOptional<z.ZodString>;
|
|
258
|
-
image: z.ZodOptional<z.ZodString>;
|
|
259
|
-
role: z.ZodEnum<{
|
|
260
|
-
CREATIVE: "CREATIVE";
|
|
261
|
-
BRAND: "BRAND";
|
|
262
|
-
INVESTOR: "INVESTOR";
|
|
263
|
-
ADMIN: "ADMIN";
|
|
264
|
-
}>;
|
|
265
|
-
}, z.core.$strip>;
|
|
266
227
|
}, z.core.$strip>;
|
|
267
228
|
export declare const UpdateInvestorEndpointResponseSchema: z.ZodObject<{
|
|
268
229
|
id: z.ZodCUID2;
|
|
@@ -311,18 +272,5 @@ export declare const UpdateInvestorEndpointResponseSchema: z.ZodObject<{
|
|
|
311
272
|
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
312
273
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
313
274
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
314
|
-
user: z.ZodObject<{
|
|
315
|
-
id: z.ZodCUID2;
|
|
316
|
-
username: z.ZodOptional<z.ZodString>;
|
|
317
|
-
email: z.ZodString;
|
|
318
|
-
name: z.ZodOptional<z.ZodString>;
|
|
319
|
-
image: z.ZodOptional<z.ZodString>;
|
|
320
|
-
role: z.ZodEnum<{
|
|
321
|
-
CREATIVE: "CREATIVE";
|
|
322
|
-
BRAND: "BRAND";
|
|
323
|
-
INVESTOR: "INVESTOR";
|
|
324
|
-
ADMIN: "ADMIN";
|
|
325
|
-
}>;
|
|
326
|
-
}, z.core.$strip>;
|
|
327
275
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
328
276
|
}, z.core.$strip>;
|
package/dist/schemas/investor.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateInvestorEndpointResponseSchema = exports.GetInvestorEndpointResponseSchema = exports.CreateInvestorEndpointResponseSchema = exports.GetInvestorQuerySchema = exports.GetInvestorParamsSchema = exports.ListInvestorsInputSchema = exports.UpdateInvestorProfileSchema = exports.CreateInvestorProfileSchema = exports.InvestorEntitySchema = void 0;
|
|
4
4
|
const zod_openapi_1 = require("@hono/zod-openapi");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
|
-
const user_1 = require("./user");
|
|
7
6
|
const common_1 = require("./common");
|
|
8
7
|
exports.InvestorEntitySchema = zod_openapi_1.z
|
|
9
8
|
.object({
|
|
@@ -42,7 +41,6 @@ exports.InvestorEntitySchema = zod_openapi_1.z
|
|
|
42
41
|
.date()
|
|
43
42
|
.optional()
|
|
44
43
|
.openapi({ example: "2025-10-13T09:00:00.000Z" }),
|
|
45
|
-
user: user_1.MinimalUserSchema,
|
|
46
44
|
updatedAt: zod_openapi_1.z.coerce
|
|
47
45
|
.date()
|
|
48
46
|
.optional()
|
|
@@ -150,7 +148,5 @@ exports.GetInvestorParamsSchema = zod_openapi_1.z.object({
|
|
|
150
148
|
});
|
|
151
149
|
exports.GetInvestorQuerySchema = common_1.ProfileIdentifierSchema;
|
|
152
150
|
exports.CreateInvestorEndpointResponseSchema = exports.InvestorEntitySchema;
|
|
153
|
-
exports.GetInvestorEndpointResponseSchema = exports.InvestorEntitySchema
|
|
154
|
-
user: user_1.MinimalUserSchema,
|
|
155
|
-
});
|
|
151
|
+
exports.GetInvestorEndpointResponseSchema = exports.InvestorEntitySchema;
|
|
156
152
|
exports.UpdateInvestorEndpointResponseSchema = exports.InvestorEntitySchema;
|
package/package.json
CHANGED
package/src/schemas/brand.ts
CHANGED
|
@@ -16,8 +16,6 @@ export const BrandEntitySchema = z
|
|
|
16
16
|
.array(z.string())
|
|
17
17
|
.optional()
|
|
18
18
|
.openapi({ example: ["technology", "saas", "startup"] }),
|
|
19
|
-
|
|
20
|
-
user: MinimalUserSchema,
|
|
21
19
|
disciplines: z
|
|
22
20
|
.array(z.string())
|
|
23
21
|
.openapi({ example: ["Marketing", "Product Development"] }),
|
|
@@ -116,7 +114,7 @@ export const GetBrandParamsSchema = z.object({
|
|
|
116
114
|
export const GetBrandQuerySchema = ProfileIdentifierSchema;
|
|
117
115
|
|
|
118
116
|
export const CreateBrandEndpointResponseSchema = BrandEntitySchema;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
|
|
118
|
+
export const GetBrandEndpointResponseSchema = BrandEntitySchema;
|
|
119
|
+
|
|
122
120
|
export const UpdateBrandEndpointResponseSchema = BrandEntitySchema;
|
package/src/schemas/creative.ts
CHANGED
|
@@ -28,7 +28,6 @@ export const CreativeEntitySchema = z
|
|
|
28
28
|
.array(z.string())
|
|
29
29
|
.optional()
|
|
30
30
|
.openapi({ example: ["Design", "Art Direction"] }),
|
|
31
|
-
user: MinimalUserSchema,
|
|
32
31
|
createdAt: z.coerce
|
|
33
32
|
.date()
|
|
34
33
|
.optional()
|
|
@@ -137,7 +136,7 @@ export const GetCreativeParamsSchema = z.object({
|
|
|
137
136
|
export const GetCreativeQuerySchema = ProfileIdentifierSchema;
|
|
138
137
|
|
|
139
138
|
export const CreateCreativeEndpointResponseSchema = CreativeEntitySchema;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
|
|
140
|
+
export const GetCreativeEndpointResponseSchema = CreativeEntitySchema
|
|
141
|
+
|
|
143
142
|
export const UpdateCreativeEndpointResponseSchema = CreativeEntitySchema;
|
package/src/schemas/investor.ts
CHANGED
|
@@ -61,7 +61,6 @@ export const InvestorEntitySchema = z
|
|
|
61
61
|
.date()
|
|
62
62
|
.optional()
|
|
63
63
|
.openapi({ example: "2025-10-13T09:00:00.000Z" }),
|
|
64
|
-
user: MinimalUserSchema,
|
|
65
64
|
updatedAt: z.coerce
|
|
66
65
|
.date()
|
|
67
66
|
.optional()
|
|
@@ -199,7 +198,7 @@ export const GetInvestorParamsSchema = z.object({
|
|
|
199
198
|
export const GetInvestorQuerySchema = ProfileIdentifierSchema;
|
|
200
199
|
|
|
201
200
|
export const CreateInvestorEndpointResponseSchema = InvestorEntitySchema;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
|
|
202
|
+
export const GetInvestorEndpointResponseSchema = InvestorEntitySchema
|
|
203
|
+
|
|
205
204
|
export const UpdateInvestorEndpointResponseSchema = InvestorEntitySchema;
|