@zyacreatives/shared 2.5.50 → 2.5.51

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.
@@ -1,237 +1,137 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchInvestorOutputSchema = exports.UpdateInvestorOutputSchema = exports.GetInvestorOutputSchema = exports.CreateInvestorOutputSchema = exports.GetInvestorQuerySchema = exports.GetInvestorParamsSchema = exports.SearchInvestorInputSchema = exports.ListInvestorsInputSchema = exports.UpdateInvestorProfileInputSchema = exports.CreateInvestorProfileInputSchema = exports.InvestorWithUserEntitySchema = exports.InvestorEntitySchema = exports.MinimalInvestorEntitySchema = void 0;
3
+ exports.SearchInvestorOutputSchema = exports.SearchInvestorInputSchema = exports.ListInvestorsInputSchema = exports.InvestorWithUserEntitySchema = exports.UpdateInvestorOutputSchema = exports.GetInvestorOutputSchema = exports.CreateInvestorOutputSchema = exports.GetInvestorQuerySchema = exports.GetInvestorParamsSchema = exports.UpdateInvestorProfileInputSchema = exports.CreateInvestorProfileInputSchema = exports.MinimalInvestorEntitySchema = exports.InvestorEntitySchema = void 0;
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
7
  const user_1 = require("./user");
8
- const WebsiteUrlInputSchema = zod_openapi_1.z
9
- .string()
10
- .transform((val) => {
11
- if (!val)
12
- return val;
13
- if (val.startsWith("http://") || val.startsWith("https://")) {
14
- return val;
15
- }
16
- return `https://${val}`;
17
- })
18
- .pipe(zod_openapi_1.z.url("Invalid URL").or(zod_openapi_1.z.literal("")))
19
- .optional();
20
- const InvestorLinkSchema = zod_openapi_1.z.object({
21
- url: zod_openapi_1.z.union([zod_openapi_1.z.url({ message: "Please enter a valid URL" }), zod_openapi_1.z.literal("")]),
22
- type: zod_openapi_1.z.enum(constants_1.LINK_TYPES),
23
- });
24
- const InvestorAchievementSchema = zod_openapi_1.z.object({
25
- title: zod_openapi_1.z.string(),
26
- link: zod_openapi_1.z.string().optional(),
27
- year: zod_openapi_1.z.coerce.number().int().optional(),
28
- });
29
- exports.MinimalInvestorEntitySchema = zod_openapi_1.z.object({
30
- id: zod_openapi_1.z.cuid2().openapi({ example: "inv_cksd0v6q0000s9a5y8z7p3x9" }),
31
- userId: zod_openapi_1.z.cuid2().openapi({ example: "user_owner_123" }),
32
- bio: zod_openapi_1.z
33
- .string()
34
- .optional()
35
- .openapi({ example: "Early stage VC focusing on creative technology." }),
36
- location: zod_openapi_1.z.string().optional().openapi({ example: "New York, USA" }),
37
- experienceLevel: zod_openapi_1.z
38
- .enum(Object.values(constants_1.EXPERIENCE_LEVELS))
39
- .optional()
40
- .openapi({ example: "EXPERT" }),
41
- investorType: zod_openapi_1.z
42
- .enum(Object.values(constants_1.INVESTOR_TYPES))
43
- .optional()
44
- .openapi({ example: "VC" }),
45
- investmentSize: zod_openapi_1.z
46
- .enum(Object.values(constants_1.INVESTMENT_SIZES))
47
- .optional()
48
- .openapi({
49
- example: "SEED",
50
- }),
51
- geographicFocus: zod_openapi_1.z
52
- .enum(Object.values(constants_1.GEOGRAPHIC_FOCUS))
53
- .optional()
54
- .openapi({
55
- example: "GLOBAL",
56
- }),
57
- websiteURL: zod_openapi_1.z
58
- .url()
59
- .optional()
60
- .openapi({ example: "https://investorpartners.com" }),
61
- disciplines: zod_openapi_1.z
62
- .array(zod_openapi_1.z.string())
63
- .optional()
64
- .openapi({ example: ["Product Design", "AI Strategy"] }),
65
- createdAt: zod_openapi_1.z.coerce
66
- .date()
67
- .optional()
68
- .openapi({ example: "2025-10-13T09:00:00.000Z" }),
69
- updatedAt: zod_openapi_1.z.coerce
70
- .date()
71
- .optional()
72
- .openapi({ example: "2025-10-13T09:00:00.000Z" }),
8
+ /**
9
+ * --------------------------------
10
+ * SHAPE
11
+ * --------------------------------
12
+ */
13
+ const InvestorShape = zod_openapi_1.z.object({
14
+ bio: zod_openapi_1.z.string().max(600).default(""),
15
+ location: zod_openapi_1.z.string().default(""),
16
+ experienceLevel: zod_openapi_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)),
17
+ investorType: zod_openapi_1.z.enum(Object.values(constants_1.INVESTOR_TYPES)),
18
+ investmentSize: zod_openapi_1.z.enum(Object.values(constants_1.INVESTMENT_SIZES)),
19
+ geographicFocus: zod_openapi_1.z.enum(Object.values(constants_1.GEOGRAPHIC_FOCUS)),
20
+ websiteURL: zod_openapi_1.z.url().default(""),
21
+ disciplines: zod_openapi_1.z.array(zod_openapi_1.z.string()).default([]),
22
+ links: zod_openapi_1.z
23
+ .array(zod_openapi_1.z.object({
24
+ url: zod_openapi_1.z.url(),
25
+ type: zod_openapi_1.z.enum(constants_1.LINK_TYPES).default(constants_1.LINK_TYPES.GENERIC_WEBSITE),
26
+ }))
27
+ .default([]),
28
+ achievements: zod_openapi_1.z
29
+ .array(zod_openapi_1.z.object({
30
+ title: zod_openapi_1.z.string(),
31
+ link: zod_openapi_1.z.url().optional(),
32
+ year: zod_openapi_1.z.number().int().optional(),
33
+ }))
34
+ .default([]),
73
35
  });
36
+ /**
37
+ * --------------------------------
38
+ * ENTITY (DTO)
39
+ * --------------------------------
40
+ */
74
41
  exports.InvestorEntitySchema = zod_openapi_1.z
75
42
  .object({
76
- id: zod_openapi_1.z.cuid2().openapi({ example: "inv_cksd0v6q0000s9a5y8z7p3x9" }),
77
- userId: zod_openapi_1.z.cuid2().openapi({ example: "user_owner_123" }),
78
- bio: zod_openapi_1.z
79
- .string()
80
- .optional()
81
- .openapi({ example: "Early stage VC focusing on creative technology." }),
82
- location: zod_openapi_1.z.string().optional().openapi({ example: "New York, USA" }),
83
- experienceLevel: zod_openapi_1.z
84
- .enum(Object.values(constants_1.EXPERIENCE_LEVELS))
85
- .optional()
86
- .openapi({ example: "EXPERT" }),
87
- geographicFocus: zod_openapi_1.z
88
- .enum(Object.values(constants_1.GEOGRAPHIC_FOCUS))
89
- .optional()
90
- .openapi({ example: "NORTH_AMERICA" }),
91
- investmentSize: zod_openapi_1.z
92
- .enum(Object.values(constants_1.INVESTMENT_SIZES))
93
- .optional()
94
- .openapi({ example: "SEED" }),
95
- investorType: zod_openapi_1.z
96
- .enum(Object.values(constants_1.INVESTOR_TYPES))
97
- .optional()
98
- .openapi({ example: "VC" }),
99
- websiteURL: zod_openapi_1.z
100
- .url()
101
- .optional()
102
- .openapi({ example: "https://investorpartners.com" }),
103
- links: zod_openapi_1.z.array(InvestorLinkSchema).optional(),
104
- achievements: zod_openapi_1.z.array(InvestorAchievementSchema).optional(),
105
- disciplines: zod_openapi_1.z
106
- .array(zod_openapi_1.z.string())
107
- .optional()
108
- .openapi({ example: ["Product Design", "AI Strategy"] }),
109
- createdAt: zod_openapi_1.z.coerce
110
- .date()
111
- .optional()
112
- .openapi({ example: "2025-10-13T09:00:00.000Z" }),
113
- updatedAt: zod_openapi_1.z.coerce
114
- .date()
115
- .optional()
116
- .openapi({ example: "2025-10-13T09:00:00.000Z" }),
43
+ id: zod_openapi_1.z.cuid2(),
44
+ userId: zod_openapi_1.z.cuid2(),
45
+ ...InvestorShape.shape,
46
+ createdAt: zod_openapi_1.z.iso.datetime(),
47
+ updatedAt: zod_openapi_1.z.iso.datetime(),
117
48
  version: zod_openapi_1.z.int(),
118
49
  })
119
- .openapi("InvestorEntity");
120
- exports.InvestorWithUserEntitySchema = exports.MinimalInvestorEntitySchema.extend({
121
- user: user_1.MinimalUserSchema,
50
+ .openapi("Investor");
51
+ /**
52
+ * Minimal version = derived, not duplicated
53
+ */
54
+ exports.MinimalInvestorEntitySchema = exports.InvestorEntitySchema.pick({
55
+ id: true,
56
+ userId: true,
57
+ bio: true,
58
+ location: true,
59
+ experienceLevel: true,
60
+ investorType: true,
61
+ investmentSize: true,
62
+ geographicFocus: true,
63
+ websiteURL: true,
64
+ disciplines: true,
65
+ createdAt: true,
66
+ updatedAt: true,
122
67
  });
123
- exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
124
- .object({
125
- websiteURL: WebsiteUrlInputSchema,
126
- experienceLevel: zod_openapi_1.z
127
- .enum(Object.values(constants_1.EXPERIENCE_LEVELS))
128
- .openapi({
129
- example: "0-1 year",
130
- }),
131
- location: zod_openapi_1.z.string().openapi({
132
- example: "UK",
133
- }),
134
- })
135
- .openapi({
136
- title: "Create Investor Profile",
68
+ /**
69
+ * --------------------------------
70
+ * INPUT DTOs
71
+ * --------------------------------
72
+ */
73
+ exports.CreateInvestorProfileInputSchema = InvestorShape.pick({
74
+ experienceLevel: true,
75
+ location: true,
76
+ websiteURL: true,
77
+ }).extend({
78
+ disciplineSlugs: zod_openapi_1.z.array(zod_openapi_1.z.string()).min(1),
137
79
  });
138
- exports.UpdateInvestorProfileInputSchema = zod_openapi_1.z
139
- .object({
140
- bio: zod_openapi_1.z.string().max(600).optional().openapi({
141
- example: "Seasoned venture capitalist with a focus on healthtech.",
142
- }),
143
- websiteURL: WebsiteUrlInputSchema,
144
- experienceLevel: zod_openapi_1.z
145
- .enum(Object.values(constants_1.EXPERIENCE_LEVELS))
146
- .optional()
147
- .openapi({
148
- example: "SENIOR",
149
- }),
150
- investorType: zod_openapi_1.z
151
- .enum(Object.values(constants_1.INVESTOR_TYPES))
152
- .optional()
153
- .openapi({
154
- example: "VC",
155
- }),
156
- disciplineSlugs: zod_openapi_1.z
157
- .array(zod_openapi_1.z.string())
158
- .min(1, "At least one discipline is required")
159
- .optional()
160
- .openapi({
161
- example: ["fintech", "edtech"],
162
- }),
163
- investmentSize: zod_openapi_1.z
164
- .enum(Object.values(constants_1.INVESTMENT_SIZES))
165
- .optional()
166
- .openapi({
167
- example: "SEED",
168
- }),
169
- geographicFocus: zod_openapi_1.z
170
- .enum(Object.values(constants_1.GEOGRAPHIC_FOCUS))
171
- .optional()
172
- .openapi({
173
- example: "GLOBAL",
174
- }),
175
- links: zod_openapi_1.z.array(InvestorLinkSchema).optional(),
176
- achievements: zod_openapi_1.z.array(InvestorAchievementSchema).optional(),
177
- location: zod_openapi_1.z.string().optional().openapi({
178
- example: "UK",
179
- }),
80
+ exports.UpdateInvestorProfileInputSchema = InvestorShape.partial()
81
+ .extend({
82
+ disciplineSlugs: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
180
83
  version: zod_openapi_1.z.int(),
181
84
  })
182
- .openapi({
183
- title: "Update Investor Profile",
184
- });
185
- exports.ListInvestorsInputSchema = zod_openapi_1.z
186
- .object({
187
- query: zod_openapi_1.z.string().optional().openapi({ example: "creative tech investor" }),
188
- disciplines: zod_openapi_1.z
189
- .array(zod_openapi_1.z.string())
190
- .optional()
191
- .openapi({ example: ["branding", "UX"] }),
192
- experienceLevels: zod_openapi_1.z
193
- .array(zod_openapi_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)))
194
- .optional()
195
- .openapi({
196
- description: "Filter based on the required experience level.",
197
- }),
198
- location: zod_openapi_1.z.string().optional().openapi({ example: "San Francisco" }),
199
- tags: zod_openapi_1.z
200
- .array(zod_openapi_1.z.string())
201
- .optional()
202
- .openapi({ example: ["design", "future"] }),
203
- page: zod_openapi_1.z.number().int().min(1).default(1).optional().openapi({ example: 1 }),
204
- perPage: zod_openapi_1.z
205
- .number()
206
- .int()
207
- .min(1)
208
- .max(100)
209
- .default(20)
210
- .optional()
211
- .openapi({ example: 20 }),
212
- })
213
- .openapi("ListInvestorsInput");
214
- exports.SearchInvestorInputSchema = zod_openapi_1.z.object({
215
- string: zod_openapi_1.z
216
- .string()
217
- .min(1, { message: "Search string cannot be empty" })
218
- .max(200, { message: "Search string cannot exceed 200 characters" }),
219
- limit: zod_openapi_1.z.coerce
220
- .number()
221
- .int({ message: "Limit must be an integer" })
222
- .min(1, { message: "Limit must be at least 1" })
223
- .max(100, { message: "Limit cannot exceed 100" })
224
- .default(20),
225
- cursor: zod_openapi_1.z.string().optional(),
85
+ .refine((d) => Object.values(d).some((v) => v !== undefined), {
86
+ message: "At least one field must be provided",
226
87
  });
88
+ /**
89
+ * --------------------------------
90
+ * GET / SEARCH
91
+ * --------------------------------
92
+ */
227
93
  exports.GetInvestorParamsSchema = zod_openapi_1.z.object({
228
94
  value: common_1.CuidSchema,
229
95
  });
230
96
  exports.GetInvestorQuerySchema = common_1.ProfileIdentifierSchema;
97
+ /**
98
+ * --------------------------------
99
+ * OUTPUT
100
+ * --------------------------------
101
+ */
231
102
  exports.CreateInvestorOutputSchema = exports.InvestorEntitySchema;
232
103
  exports.GetInvestorOutputSchema = exports.InvestorEntitySchema;
233
104
  exports.UpdateInvestorOutputSchema = exports.InvestorEntitySchema;
105
+ /**
106
+ * --------------------------------
107
+ * ENTITY WITH USER
108
+ * --------------------------------
109
+ */
110
+ exports.InvestorWithUserEntitySchema = exports.MinimalInvestorEntitySchema.extend({
111
+ user: user_1.MinimalUserSchema,
112
+ });
113
+ /**
114
+ * --------------------------------
115
+ * LIST / SEARCH
116
+ * --------------------------------
117
+ */
118
+ exports.ListInvestorsInputSchema = zod_openapi_1.z.object({
119
+ query: zod_openapi_1.z.string().default(""),
120
+ disciplines: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
121
+ experienceLevels: zod_openapi_1.z
122
+ .array(zod_openapi_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)))
123
+ .optional(),
124
+ location: zod_openapi_1.z.string().optional(),
125
+ tags: zod_openapi_1.z.array(zod_openapi_1.z.string()).optional(),
126
+ page: zod_openapi_1.z.coerce.number().int().min(1).default(1),
127
+ perPage: zod_openapi_1.z.coerce.number().int().min(1).max(100).default(20),
128
+ });
129
+ exports.SearchInvestorInputSchema = zod_openapi_1.z.object({
130
+ string: zod_openapi_1.z.string().min(1).max(200),
131
+ limit: zod_openapi_1.z.coerce.number().int().min(1).max(100).default(20),
132
+ cursor: zod_openapi_1.z.string().optional(),
133
+ });
234
134
  exports.SearchInvestorOutputSchema = zod_openapi_1.z.object({
235
135
  investors: zod_openapi_1.z.array(exports.InvestorWithUserEntitySchema),
236
- nextCursor: zod_openapi_1.z.string().optional().nullable(),
136
+ nextCursor: zod_openapi_1.z.string().nullable().optional(),
237
137
  });
@@ -2,10 +2,10 @@ import { z } from "@hono/zod-openapi";
2
2
  export declare const MinimalJobApplicationEntitySchema: z.ZodObject<{
3
3
  user: z.ZodObject<{
4
4
  email: z.ZodEmail;
5
- username: z.ZodOptional<z.ZodString>;
5
+ username: z.ZodDefault<z.ZodString>;
6
6
  id: z.ZodCUID2;
7
- name: z.ZodOptional<z.ZodString>;
8
- image: z.ZodOptional<z.ZodString>;
7
+ name: z.ZodDefault<z.ZodString>;
8
+ image: z.ZodDefault<z.ZodString>;
9
9
  role: z.ZodEnum<{
10
10
  CREATIVE: "CREATIVE";
11
11
  BRAND: "BRAND";
@@ -86,10 +86,10 @@ export declare const JobApplicationEntitySchema: z.ZodObject<{
86
86
  jobId: z.ZodCUID2;
87
87
  user: z.ZodObject<{
88
88
  email: z.ZodEmail;
89
- username: z.ZodOptional<z.ZodString>;
89
+ username: z.ZodDefault<z.ZodString>;
90
90
  id: z.ZodCUID2;
91
- name: z.ZodOptional<z.ZodString>;
92
- image: z.ZodOptional<z.ZodString>;
91
+ name: z.ZodDefault<z.ZodString>;
92
+ image: z.ZodDefault<z.ZodString>;
93
93
  role: z.ZodEnum<{
94
94
  CREATIVE: "CREATIVE";
95
95
  BRAND: "BRAND";
@@ -113,10 +113,10 @@ export declare const NotificationDetailsEntitySchema: z.ZodObject<{
113
113
  deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
114
114
  actor: z.ZodObject<{
115
115
  email: z.ZodEmail;
116
- username: z.ZodOptional<z.ZodString>;
116
+ username: z.ZodDefault<z.ZodString>;
117
117
  id: z.ZodCUID2;
118
- name: z.ZodOptional<z.ZodString>;
119
- image: z.ZodOptional<z.ZodString>;
118
+ name: z.ZodDefault<z.ZodString>;
119
+ image: z.ZodDefault<z.ZodString>;
120
120
  role: z.ZodEnum<{
121
121
  CREATIVE: "CREATIVE";
122
122
  BRAND: "BRAND";
@@ -126,10 +126,10 @@ export declare const NotificationDetailsEntitySchema: z.ZodObject<{
126
126
  }, z.core.$strip>;
127
127
  recipient: z.ZodObject<{
128
128
  email: z.ZodEmail;
129
- username: z.ZodOptional<z.ZodString>;
129
+ username: z.ZodDefault<z.ZodString>;
130
130
  id: z.ZodCUID2;
131
- name: z.ZodOptional<z.ZodString>;
132
- image: z.ZodOptional<z.ZodString>;
131
+ name: z.ZodDefault<z.ZodString>;
132
+ image: z.ZodDefault<z.ZodString>;
133
133
  role: z.ZodEnum<{
134
134
  CREATIVE: "CREATIVE";
135
135
  BRAND: "BRAND";
@@ -221,10 +221,10 @@ export declare const ListNotificationsOutputSchema: z.ZodObject<{
221
221
  deletedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
222
222
  actor: z.ZodObject<{
223
223
  email: z.ZodEmail;
224
- username: z.ZodOptional<z.ZodString>;
224
+ username: z.ZodDefault<z.ZodString>;
225
225
  id: z.ZodCUID2;
226
- name: z.ZodOptional<z.ZodString>;
227
- image: z.ZodOptional<z.ZodString>;
226
+ name: z.ZodDefault<z.ZodString>;
227
+ image: z.ZodDefault<z.ZodString>;
228
228
  role: z.ZodEnum<{
229
229
  CREATIVE: "CREATIVE";
230
230
  BRAND: "BRAND";
@@ -234,10 +234,10 @@ export declare const ListNotificationsOutputSchema: z.ZodObject<{
234
234
  }, z.core.$strip>;
235
235
  recipient: z.ZodObject<{
236
236
  email: z.ZodEmail;
237
- username: z.ZodOptional<z.ZodString>;
237
+ username: z.ZodDefault<z.ZodString>;
238
238
  id: z.ZodCUID2;
239
- name: z.ZodOptional<z.ZodString>;
240
- image: z.ZodOptional<z.ZodString>;
239
+ name: z.ZodDefault<z.ZodString>;
240
+ image: z.ZodDefault<z.ZodString>;
241
241
  role: z.ZodEnum<{
242
242
  CREATIVE: "CREATIVE";
243
243
  BRAND: "BRAND";
@@ -156,10 +156,10 @@ export declare const MinimalProjectSchema: z.ZodObject<{
156
156
  description: z.ZodOptional<z.ZodString>;
157
157
  title: z.ZodString;
158
158
  id: z.ZodCUID2;
159
- imagePlaceholderUrl: z.ZodURL;
160
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
159
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
162
160
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
161
+ imagePlaceholderUrl: z.ZodURL;
162
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
163
  }, z.core.$strip>;
164
164
  export type MinimalProject = z.infer<typeof MinimalProjectSchema>;
165
165
  export declare const ProjectSocialGraphEntitySchema: z.ZodObject<{
@@ -332,10 +332,10 @@ export declare const ProjectDetailsEntitySchema: z.ZodObject<{
332
332
  version: z.ZodNumber;
333
333
  user: z.ZodObject<{
334
334
  email: z.ZodEmail;
335
- username: z.ZodOptional<z.ZodString>;
335
+ username: z.ZodDefault<z.ZodString>;
336
336
  id: z.ZodCUID2;
337
- name: z.ZodOptional<z.ZodString>;
338
- image: z.ZodOptional<z.ZodString>;
337
+ name: z.ZodDefault<z.ZodString>;
338
+ image: z.ZodDefault<z.ZodString>;
339
339
  role: z.ZodEnum<{
340
340
  CREATIVE: "CREATIVE";
341
341
  BRAND: "BRAND";
@@ -432,10 +432,10 @@ export declare const GetProjectOutputSchema: z.ZodObject<{
432
432
  version: z.ZodNumber;
433
433
  user: z.ZodObject<{
434
434
  email: z.ZodEmail;
435
- username: z.ZodOptional<z.ZodString>;
435
+ username: z.ZodDefault<z.ZodString>;
436
436
  id: z.ZodCUID2;
437
- name: z.ZodOptional<z.ZodString>;
438
- image: z.ZodOptional<z.ZodString>;
437
+ name: z.ZodDefault<z.ZodString>;
438
+ image: z.ZodDefault<z.ZodString>;
439
439
  role: z.ZodEnum<{
440
440
  CREATIVE: "CREATIVE";
441
441
  BRAND: "BRAND";
@@ -670,10 +670,10 @@ export declare const ProjectWithProjectCommentsEntitySchema: z.ZodObject<{
670
670
  description: z.ZodOptional<z.ZodString>;
671
671
  title: z.ZodString;
672
672
  id: z.ZodCUID2;
673
- imagePlaceholderUrl: z.ZodURL;
674
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
675
673
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
676
674
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
675
+ imagePlaceholderUrl: z.ZodURL;
676
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
677
677
  comments: z.ZodArray<z.ZodObject<{
678
678
  id: z.ZodCUID2;
679
679
  userId: z.ZodCUID2;
@@ -708,10 +708,10 @@ export declare const GetProjectWithCommentsOutputSchema: z.ZodObject<{
708
708
  description: z.ZodOptional<z.ZodString>;
709
709
  title: z.ZodString;
710
710
  id: z.ZodCUID2;
711
- imagePlaceholderUrl: z.ZodURL;
712
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
713
711
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
714
712
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
713
+ imagePlaceholderUrl: z.ZodURL;
714
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
715
715
  comments: z.ZodArray<z.ZodObject<{
716
716
  id: z.ZodCUID2;
717
717
  userId: z.ZodCUID2;
@@ -747,10 +747,10 @@ export declare const ProjectWithLikesEntitySchema: z.ZodObject<{
747
747
  description: z.ZodOptional<z.ZodString>;
748
748
  title: z.ZodString;
749
749
  id: z.ZodCUID2;
750
- imagePlaceholderUrl: z.ZodURL;
751
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
752
750
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
753
751
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
752
+ imagePlaceholderUrl: z.ZodURL;
753
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
754
754
  likes: z.ZodArray<z.ZodObject<{
755
755
  id: z.ZodCUID2;
756
756
  type: z.ZodEnum<{
@@ -773,10 +773,10 @@ export declare const GetProjectWithLikesOutputSchema: z.ZodObject<{
773
773
  description: z.ZodOptional<z.ZodString>;
774
774
  title: z.ZodString;
775
775
  id: z.ZodCUID2;
776
- imagePlaceholderUrl: z.ZodURL;
777
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
778
776
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
779
777
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
778
+ imagePlaceholderUrl: z.ZodURL;
779
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
780
780
  likes: z.ZodArray<z.ZodObject<{
781
781
  id: z.ZodCUID2;
782
782
  type: z.ZodEnum<{
@@ -800,10 +800,10 @@ export declare const ProjectWithProjectViewsEntitySchema: z.ZodObject<{
800
800
  description: z.ZodOptional<z.ZodString>;
801
801
  title: z.ZodString;
802
802
  id: z.ZodCUID2;
803
- imagePlaceholderUrl: z.ZodURL;
804
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
805
803
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
806
804
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
805
+ imagePlaceholderUrl: z.ZodURL;
806
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
807
807
  views: z.ZodArray<z.ZodObject<{
808
808
  id: z.ZodCUID2;
809
809
  userId: z.ZodNullable<z.ZodCUID2>;
@@ -832,10 +832,10 @@ export declare const ProjectWithProjectBookmarksEntitySchema: z.ZodObject<{
832
832
  description: z.ZodOptional<z.ZodString>;
833
833
  title: z.ZodString;
834
834
  id: z.ZodCUID2;
835
- imagePlaceholderUrl: z.ZodURL;
836
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
837
835
  startDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
838
836
  endDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
837
+ imagePlaceholderUrl: z.ZodURL;
838
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
839
839
  bookmarks: z.ZodArray<z.ZodObject<{
840
840
  id: z.ZodCUID2;
841
841
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;