@zyacreatives/shared 2.5.14 → 2.5.15
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.
|
@@ -181,12 +181,12 @@ export declare const InvestorWithUserEntitySchema: z.ZodObject<{
|
|
|
181
181
|
export type InvestorWithUserEntity = z.infer<typeof InvestorWithUserEntitySchema>;
|
|
182
182
|
export declare const CreateInvestorProfileInputSchema: z.ZodObject<{
|
|
183
183
|
websiteURL: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>>;
|
|
184
|
-
experienceLevel: z.
|
|
184
|
+
experienceLevel: z.ZodEnum<{
|
|
185
185
|
"0-1 year": "0-1 year";
|
|
186
186
|
"1-3 years": "1-3 years";
|
|
187
187
|
"3-5 years": "3-5 years";
|
|
188
188
|
"5+ years": "5+ years";
|
|
189
|
-
}
|
|
189
|
+
}>;
|
|
190
190
|
location: z.ZodString;
|
|
191
191
|
}, z.core.$strip>;
|
|
192
192
|
export type CreateInvestorInput = z.infer<typeof CreateInvestorProfileInputSchema>;
|
package/dist/schemas/investor.js
CHANGED
|
@@ -125,7 +125,6 @@ exports.CreateInvestorProfileInputSchema = zod_openapi_1.z
|
|
|
125
125
|
websiteURL: WebsiteUrlInputSchema,
|
|
126
126
|
experienceLevel: zod_openapi_1.z
|
|
127
127
|
.enum(Object.values(constants_1.EXPERIENCE_LEVELS))
|
|
128
|
-
.default(constants_1.EXPERIENCE_LEVELS.YEAR_0_1)
|
|
129
128
|
.openapi({
|
|
130
129
|
example: "0-1 year",
|
|
131
130
|
}),
|
package/dist/schemas/post.d.ts
CHANGED
|
@@ -288,7 +288,7 @@ export declare const CreatePostInputSchema: z.ZodObject<{
|
|
|
288
288
|
url: z.ZodURL;
|
|
289
289
|
title: z.ZodOptional<z.ZodString>;
|
|
290
290
|
description: z.ZodOptional<z.ZodString>;
|
|
291
|
-
image: z.ZodOptional<z.
|
|
291
|
+
image: z.ZodOptional<z.ZodString>;
|
|
292
292
|
}, z.core.$strip>>;
|
|
293
293
|
}, z.core.$strip>;
|
|
294
294
|
export type CreatePostInput = z.infer<typeof CreatePostInputSchema>;
|
package/dist/schemas/post.js
CHANGED
|
@@ -168,7 +168,7 @@ exports.CreatePostInputSchema = zod_openapi_1.z.object({
|
|
|
168
168
|
.optional()
|
|
169
169
|
.openapi({ example: "This is an example link" }),
|
|
170
170
|
image: zod_openapi_1.z
|
|
171
|
-
.
|
|
171
|
+
.string({ message: "" })
|
|
172
172
|
.optional()
|
|
173
173
|
.openapi({ example: "https://example.com/preview.jpg" }),
|
|
174
174
|
})
|
package/package.json
CHANGED
package/src/schemas/investor.ts
CHANGED
package/src/schemas/post.ts
CHANGED
|
@@ -185,7 +185,7 @@ export const CreatePostInputSchema = z.object({
|
|
|
185
185
|
.optional()
|
|
186
186
|
.openapi({ example: "This is an example link" }),
|
|
187
187
|
image: z
|
|
188
|
-
.
|
|
188
|
+
.string({ message: "" })
|
|
189
189
|
.optional()
|
|
190
190
|
.openapi({ example: "https://example.com/preview.jpg" }),
|
|
191
191
|
})
|