@zyacreatives/shared 2.5.16 → 2.5.17
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.
|
@@ -485,6 +485,7 @@ export declare const ProjectSearchDocumentSchema: z.ZodObject<{
|
|
|
485
485
|
readonly INVESTOR: "INVESTOR";
|
|
486
486
|
readonly ADMIN: "ADMIN";
|
|
487
487
|
}>;
|
|
488
|
+
isOpenToInvestment: z.ZodBoolean;
|
|
488
489
|
createdAt: z.ZodNumber;
|
|
489
490
|
updatedAt: z.ZodNumber;
|
|
490
491
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -516,6 +517,7 @@ export declare const ProjectSearchDocumentSchema: z.ZodObject<{
|
|
|
516
517
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
517
518
|
creatorUsername: z.ZodString;
|
|
518
519
|
creatorImageUrl: z.ZodString;
|
|
520
|
+
creatorName: z.ZodString;
|
|
519
521
|
clientId: z.ZodOptional<z.ZodString>;
|
|
520
522
|
clientType: z.ZodOptional<z.ZodEnum<{
|
|
521
523
|
readonly CREATIVE: "CREATIVE";
|
|
@@ -563,6 +565,7 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
|
563
565
|
readonly INVESTOR: "INVESTOR";
|
|
564
566
|
readonly ADMIN: "ADMIN";
|
|
565
567
|
}>;
|
|
568
|
+
isOpenToInvestment: z.ZodBoolean;
|
|
566
569
|
createdAt: z.ZodNumber;
|
|
567
570
|
updatedAt: z.ZodNumber;
|
|
568
571
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -594,6 +597,7 @@ export declare const SearchProjectsOutputSchema: z.ZodObject<{
|
|
|
594
597
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
595
598
|
creatorUsername: z.ZodString;
|
|
596
599
|
creatorImageUrl: z.ZodString;
|
|
600
|
+
creatorName: z.ZodString;
|
|
597
601
|
clientId: z.ZodOptional<z.ZodString>;
|
|
598
602
|
clientType: z.ZodOptional<z.ZodEnum<{
|
|
599
603
|
readonly CREATIVE: "CREATIVE";
|
package/dist/schemas/project.js
CHANGED
|
@@ -137,6 +137,7 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
|
|
|
137
137
|
title: zod_openapi_1.z.string(),
|
|
138
138
|
imagePlaceholderUrl: zod_openapi_1.z.url(),
|
|
139
139
|
projectCreatorType: zod_openapi_1.z.enum(constants_1.ROLES),
|
|
140
|
+
isOpenToInvestment: zod_openapi_1.z.boolean(),
|
|
140
141
|
createdAt: zod_openapi_1.z.number(),
|
|
141
142
|
updatedAt: zod_openapi_1.z.number(),
|
|
142
143
|
description: zod_openapi_1.z.string().optional(),
|
|
@@ -147,6 +148,7 @@ exports.ProjectSearchDocumentSchema = zod_openapi_1.z
|
|
|
147
148
|
tags: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
|
|
148
149
|
creatorUsername: zod_openapi_1.z.string(),
|
|
149
150
|
creatorImageUrl: zod_openapi_1.z.string(),
|
|
151
|
+
creatorName: zod_openapi_1.z.string(),
|
|
150
152
|
clientId: zod_openapi_1.z.string().optional(),
|
|
151
153
|
clientType: zod_openapi_1.z.enum(constants_1.CLIENT_TYPES).optional(),
|
|
152
154
|
clientName: zod_openapi_1.z.string().optional(),
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -555,6 +555,7 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
|
555
555
|
readonly INVESTOR: "INVESTOR";
|
|
556
556
|
readonly ADMIN: "ADMIN";
|
|
557
557
|
}>;
|
|
558
|
+
isOpenToInvestment: z.ZodBoolean;
|
|
558
559
|
createdAt: z.ZodNumber;
|
|
559
560
|
updatedAt: z.ZodNumber;
|
|
560
561
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -586,6 +587,7 @@ export declare const UserWithProjectBookmarksEntitySchema: z.ZodObject<{
|
|
|
586
587
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
587
588
|
creatorUsername: z.ZodString;
|
|
588
589
|
creatorImageUrl: z.ZodString;
|
|
590
|
+
creatorName: z.ZodString;
|
|
589
591
|
clientId: z.ZodOptional<z.ZodString>;
|
|
590
592
|
clientType: z.ZodOptional<z.ZodEnum<{
|
|
591
593
|
readonly CREATIVE: "CREATIVE";
|
|
@@ -842,6 +844,7 @@ export declare const GetUserWithProjectBookmarksOutputSchema: z.ZodObject<{
|
|
|
842
844
|
readonly INVESTOR: "INVESTOR";
|
|
843
845
|
readonly ADMIN: "ADMIN";
|
|
844
846
|
}>;
|
|
847
|
+
isOpenToInvestment: z.ZodBoolean;
|
|
845
848
|
createdAt: z.ZodNumber;
|
|
846
849
|
updatedAt: z.ZodNumber;
|
|
847
850
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -873,6 +876,7 @@ export declare const GetUserWithProjectBookmarksOutputSchema: z.ZodObject<{
|
|
|
873
876
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
874
877
|
creatorUsername: z.ZodString;
|
|
875
878
|
creatorImageUrl: z.ZodString;
|
|
879
|
+
creatorName: z.ZodString;
|
|
876
880
|
clientId: z.ZodOptional<z.ZodString>;
|
|
877
881
|
clientType: z.ZodOptional<z.ZodEnum<{
|
|
878
882
|
readonly CREATIVE: "CREATIVE";
|
|
@@ -1520,6 +1524,7 @@ export declare const GetAuthenticatedUserWithProjectBookmarksOutputSchema: z.Zod
|
|
|
1520
1524
|
readonly INVESTOR: "INVESTOR";
|
|
1521
1525
|
readonly ADMIN: "ADMIN";
|
|
1522
1526
|
}>;
|
|
1527
|
+
isOpenToInvestment: z.ZodBoolean;
|
|
1523
1528
|
createdAt: z.ZodNumber;
|
|
1524
1529
|
updatedAt: z.ZodNumber;
|
|
1525
1530
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1551,6 +1556,7 @@ export declare const GetAuthenticatedUserWithProjectBookmarksOutputSchema: z.Zod
|
|
|
1551
1556
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1552
1557
|
creatorUsername: z.ZodString;
|
|
1553
1558
|
creatorImageUrl: z.ZodString;
|
|
1559
|
+
creatorName: z.ZodString;
|
|
1554
1560
|
clientId: z.ZodOptional<z.ZodString>;
|
|
1555
1561
|
clientType: z.ZodOptional<z.ZodEnum<{
|
|
1556
1562
|
readonly CREATIVE: "CREATIVE";
|
package/package.json
CHANGED
package/src/schemas/project.ts
CHANGED
|
@@ -172,6 +172,7 @@ export const ProjectSearchDocumentSchema = z
|
|
|
172
172
|
title: z.string(),
|
|
173
173
|
imagePlaceholderUrl: z.url(),
|
|
174
174
|
projectCreatorType: z.enum(ROLES),
|
|
175
|
+
isOpenToInvestment: z.boolean(),
|
|
175
176
|
createdAt: z.number(),
|
|
176
177
|
updatedAt: z.number(),
|
|
177
178
|
description: z.string().optional(),
|
|
@@ -182,6 +183,7 @@ export const ProjectSearchDocumentSchema = z
|
|
|
182
183
|
tags: z.array(z.string()).optional(),
|
|
183
184
|
creatorUsername: z.string(),
|
|
184
185
|
creatorImageUrl: z.string(),
|
|
186
|
+
creatorName: z.string(),
|
|
185
187
|
clientId: z.string().optional(),
|
|
186
188
|
clientType: z.enum(CLIENT_TYPES).optional(),
|
|
187
189
|
clientName: z.string().optional(),
|