@zyacreatives/shared 1.4.5 → 1.4.6
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/file.d.ts +2 -1
- package/dist/schemas/file.js +2 -1
- package/dist/schemas/user.d.ts +2 -2
- package/dist/schemas/user.js +1 -1
- package/package.json +1 -1
- package/src/schemas/file.ts +3 -1
- package/src/schemas/user.ts +1 -1
package/dist/schemas/file.d.ts
CHANGED
|
@@ -37,7 +37,8 @@ export declare const CreateFileOutputSchema: z.ZodObject<{
|
|
|
37
37
|
mimeType: z.ZodString;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
export declare const DeleteFileInputParams: z.ZodObject<{
|
|
40
|
-
fileId: z.ZodCUID2
|
|
40
|
+
fileId: z.ZodOptional<z.ZodCUID2>;
|
|
41
|
+
key: z.ZodOptional<z.ZodCUID2>;
|
|
41
42
|
}, z.core.$strip>;
|
|
42
43
|
export declare const DeleteFileOutputSchema: z.ZodObject<{
|
|
43
44
|
id: z.ZodCUID2;
|
package/dist/schemas/file.js
CHANGED
|
@@ -43,7 +43,8 @@ exports.CreateFileInputSchema = zod_openapi_1.z.object({
|
|
|
43
43
|
});
|
|
44
44
|
exports.CreateFileOutputSchema = exports.FileEntitySchema;
|
|
45
45
|
exports.DeleteFileInputParams = zod_openapi_1.z.object({
|
|
46
|
-
fileId: zod_openapi_1.z.cuid2().openapi({ example: "0irjif0qur09481u90r1u" }),
|
|
46
|
+
fileId: zod_openapi_1.z.cuid2().optional().openapi({ example: "0irjif0qur09481u90r1u" }),
|
|
47
|
+
key: zod_openapi_1.z.cuid2().optional(),
|
|
47
48
|
});
|
|
48
49
|
exports.DeleteFileOutputSchema = zod_openapi_1.z.object({
|
|
49
50
|
id: zod_openapi_1.z.cuid2().openapi({ example: "r90rjnaneifijhi31" }),
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
|
|
|
141
141
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
142
142
|
tags: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
143
143
|
brandName: z.ZodOptional<z.ZodString>;
|
|
144
|
-
websiteURL: z.ZodOptional<z.
|
|
144
|
+
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
145
145
|
investorType: z.ZodOptional<z.ZodString>;
|
|
146
146
|
investmentSize: z.ZodOptional<z.ZodString>;
|
|
147
147
|
geographicFocus: z.ZodOptional<z.ZodString>;
|
|
@@ -398,7 +398,7 @@ export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
|
|
|
398
398
|
disciplines: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
399
399
|
tags: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
400
400
|
brandName: z.ZodOptional<z.ZodString>;
|
|
401
|
-
websiteURL: z.ZodOptional<z.
|
|
401
|
+
websiteURL: z.ZodOptional<z.ZodURL>;
|
|
402
402
|
investorType: z.ZodOptional<z.ZodString>;
|
|
403
403
|
investmentSize: z.ZodOptional<z.ZodString>;
|
|
404
404
|
geographicFocus: z.ZodOptional<z.ZodString>;
|
package/dist/schemas/user.js
CHANGED
|
@@ -66,7 +66,7 @@ exports.UserProfileEntitySchema = exports.UserEntitySchema.extend({
|
|
|
66
66
|
disciplines: zod_openapi_1.z.array(zod_openapi_1.z.any()).optional(),
|
|
67
67
|
tags: zod_openapi_1.z.array(zod_openapi_1.z.any()).optional(),
|
|
68
68
|
brandName: zod_openapi_1.z.string().optional(),
|
|
69
|
-
websiteURL: zod_openapi_1.z.
|
|
69
|
+
websiteURL: zod_openapi_1.z.url().optional(),
|
|
70
70
|
investorType: zod_openapi_1.z.string().optional(),
|
|
71
71
|
investmentSize: zod_openapi_1.z.string().optional(),
|
|
72
72
|
geographicFocus: zod_openapi_1.z.string().optional(),
|
package/package.json
CHANGED
package/src/schemas/file.ts
CHANGED
|
@@ -36,6 +36,7 @@ export const GetFilePresignedUploadUrlOutputSchema = z.object({
|
|
|
36
36
|
export const GetFilePresignedDownloadUrlParams = z.object({
|
|
37
37
|
fileId: z.cuid2().openapi({ example: "0irjif0qur09481u90r1u" }),
|
|
38
38
|
});
|
|
39
|
+
|
|
39
40
|
export const GetFilePresignedDownloadUrlOutputSchema =
|
|
40
41
|
GetFilePresignedUploadUrlOutputSchema;
|
|
41
42
|
|
|
@@ -49,7 +50,8 @@ export const CreateFileInputSchema = z.object({
|
|
|
49
50
|
export const CreateFileOutputSchema = FileEntitySchema;
|
|
50
51
|
|
|
51
52
|
export const DeleteFileInputParams = z.object({
|
|
52
|
-
fileId: z.cuid2().openapi({ example: "0irjif0qur09481u90r1u" }),
|
|
53
|
+
fileId: z.cuid2().optional().openapi({ example: "0irjif0qur09481u90r1u" }),
|
|
54
|
+
key: z.cuid2().optional(),
|
|
53
55
|
});
|
|
54
56
|
|
|
55
57
|
export const DeleteFileOutputSchema = z.object({
|
package/src/schemas/user.ts
CHANGED
|
@@ -74,7 +74,7 @@ export const UserProfileEntitySchema = UserEntitySchema.extend({
|
|
|
74
74
|
disciplines: z.array(z.any()).optional(),
|
|
75
75
|
tags: z.array(z.any()).optional(),
|
|
76
76
|
brandName: z.string().optional(),
|
|
77
|
-
websiteURL: z.
|
|
77
|
+
websiteURL: z.url().optional(),
|
|
78
78
|
investorType: z.string().optional(),
|
|
79
79
|
investmentSize: z.string().optional(),
|
|
80
80
|
geographicFocus: z.string().optional(),
|