@zyacreatives/shared 2.0.65 → 2.0.66
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
CHANGED
|
@@ -182,26 +182,6 @@ export declare const BrandWithUserEntitySchema: z.ZodObject<{
|
|
|
182
182
|
bio: z.ZodOptional<z.ZodString>;
|
|
183
183
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
184
184
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
186
|
-
name: z.ZodString;
|
|
187
|
-
url: z.ZodString;
|
|
188
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
189
|
-
readonly INSTAGRAM: "Instagram";
|
|
190
|
-
readonly LINKEDIN: "LinkedIn";
|
|
191
|
-
readonly TWITTER: "Twitter";
|
|
192
|
-
readonly YOUTUBE: "Youtube";
|
|
193
|
-
readonly PORTFOLIO: "Portfolio Website";
|
|
194
|
-
readonly GENERIC_WEBSITE: "Generic Website";
|
|
195
|
-
}>>;
|
|
196
|
-
}, z.core.$strip>>>;
|
|
197
|
-
achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
|
-
title: z.ZodString;
|
|
199
|
-
description: z.ZodString;
|
|
200
|
-
link: z.ZodOptional<z.ZodString>;
|
|
201
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
202
|
-
}, z.core.$strip>>>;
|
|
203
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
204
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
205
185
|
user: z.ZodObject<{
|
|
206
186
|
id: z.ZodCUID2;
|
|
207
187
|
username: z.ZodOptional<z.ZodString>;
|
|
@@ -229,26 +209,6 @@ export declare const SearchBrandOutputSchema: z.ZodObject<{
|
|
|
229
209
|
bio: z.ZodOptional<z.ZodString>;
|
|
230
210
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
231
211
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
232
|
-
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
233
|
-
name: z.ZodString;
|
|
234
|
-
url: z.ZodString;
|
|
235
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
236
|
-
readonly INSTAGRAM: "Instagram";
|
|
237
|
-
readonly LINKEDIN: "LinkedIn";
|
|
238
|
-
readonly TWITTER: "Twitter";
|
|
239
|
-
readonly YOUTUBE: "Youtube";
|
|
240
|
-
readonly PORTFOLIO: "Portfolio Website";
|
|
241
|
-
readonly GENERIC_WEBSITE: "Generic Website";
|
|
242
|
-
}>>;
|
|
243
|
-
}, z.core.$strip>>>;
|
|
244
|
-
achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
245
|
-
title: z.ZodString;
|
|
246
|
-
description: z.ZodString;
|
|
247
|
-
link: z.ZodOptional<z.ZodString>;
|
|
248
|
-
year: z.ZodOptional<z.ZodNumber>;
|
|
249
|
-
}, z.core.$strip>>>;
|
|
250
|
-
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
251
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
252
212
|
user: z.ZodObject<{
|
|
253
213
|
id: z.ZodCUID2;
|
|
254
214
|
username: z.ZodOptional<z.ZodString>;
|
package/dist/schemas/brand.js
CHANGED
|
@@ -146,7 +146,7 @@ exports.GetBrandQuerySchema = common_1.ProfileIdentifierSchema;
|
|
|
146
146
|
exports.CreateBrandOutputSchema = exports.BrandEntitySchema;
|
|
147
147
|
exports.GetBrandOutputSchema = exports.BrandEntitySchema;
|
|
148
148
|
exports.UpdateBrandOutputSchema = exports.BrandEntitySchema;
|
|
149
|
-
exports.BrandWithUserEntitySchema = exports.
|
|
149
|
+
exports.BrandWithUserEntitySchema = exports.MinimalBrandEntitySchema.extend({
|
|
150
150
|
user: user_1.MinimalUserSchema,
|
|
151
151
|
});
|
|
152
152
|
exports.SearchBrandInputSchema = zod_openapi_1.z.object({
|
|
@@ -263,7 +263,7 @@ export declare const UpdateCreativeOutputSchema: z.ZodObject<{
|
|
|
263
263
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
264
264
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
265
265
|
}, z.core.$strip>;
|
|
266
|
-
export declare const CreativeWithUserEntitySchema: z.
|
|
266
|
+
export declare const CreativeWithUserEntitySchema: z.ZodObject<{
|
|
267
267
|
id: z.ZodCUID2;
|
|
268
268
|
userId: z.ZodCUID2;
|
|
269
269
|
bio: z.ZodOptional<z.ZodString>;
|
|
@@ -290,14 +290,14 @@ export declare const CreativeWithUserEntitySchema: z.ZodOptional<z.ZodObject<{
|
|
|
290
290
|
name: z.ZodOptional<z.ZodString>;
|
|
291
291
|
image: z.ZodOptional<z.ZodString>;
|
|
292
292
|
}, z.core.$strip>;
|
|
293
|
-
}, z.core.$strip
|
|
293
|
+
}, z.core.$strip>;
|
|
294
294
|
export declare const SearchCreativeInputSchema: z.ZodObject<{
|
|
295
295
|
string: z.ZodString;
|
|
296
296
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
297
297
|
cursor: z.ZodOptional<z.ZodString>;
|
|
298
298
|
}, z.core.$strip>;
|
|
299
299
|
export declare const SearchCreativeOutputSchema: z.ZodObject<{
|
|
300
|
-
creatives: z.ZodArray<z.
|
|
300
|
+
creatives: z.ZodArray<z.ZodObject<{
|
|
301
301
|
id: z.ZodCUID2;
|
|
302
302
|
userId: z.ZodCUID2;
|
|
303
303
|
bio: z.ZodOptional<z.ZodString>;
|
|
@@ -324,6 +324,6 @@ export declare const SearchCreativeOutputSchema: z.ZodObject<{
|
|
|
324
324
|
name: z.ZodOptional<z.ZodString>;
|
|
325
325
|
image: z.ZodOptional<z.ZodString>;
|
|
326
326
|
}, z.core.$strip>;
|
|
327
|
-
}, z.core.$strip
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
328
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
329
329
|
}, z.core.$strip>;
|
package/dist/schemas/creative.js
CHANGED
|
@@ -198,7 +198,7 @@ exports.GetCreativeOutputSchema = exports.CreativeEntitySchema;
|
|
|
198
198
|
exports.UpdateCreativeOutputSchema = exports.CreativeEntitySchema;
|
|
199
199
|
exports.CreativeWithUserEntitySchema = exports.MinimalCreativeEntitySchema.extend({
|
|
200
200
|
user: user_1.MinimalUserSchema,
|
|
201
|
-
})
|
|
201
|
+
});
|
|
202
202
|
exports.SearchCreativeInputSchema = zod_openapi_1.z.object({
|
|
203
203
|
string: zod_openapi_1.z
|
|
204
204
|
.string()
|
package/package.json
CHANGED
package/src/schemas/brand.ts
CHANGED
|
@@ -165,7 +165,7 @@ export const GetBrandOutputSchema = BrandEntitySchema;
|
|
|
165
165
|
|
|
166
166
|
export const UpdateBrandOutputSchema = BrandEntitySchema;
|
|
167
167
|
|
|
168
|
-
export const BrandWithUserEntitySchema =
|
|
168
|
+
export const BrandWithUserEntitySchema = MinimalBrandEntitySchema.extend({
|
|
169
169
|
user: MinimalUserSchema,
|
|
170
170
|
});
|
|
171
171
|
|
package/src/schemas/creative.ts
CHANGED
|
@@ -237,7 +237,7 @@ export const UpdateCreativeOutputSchema = CreativeEntitySchema;
|
|
|
237
237
|
|
|
238
238
|
export const CreativeWithUserEntitySchema = MinimalCreativeEntitySchema.extend({
|
|
239
239
|
user: MinimalUserSchema,
|
|
240
|
-
})
|
|
240
|
+
})
|
|
241
241
|
|
|
242
242
|
export const SearchCreativeInputSchema = z.object({
|
|
243
243
|
string: z
|