@zyacreatives/shared 2.1.45 → 2.1.46

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.
@@ -99,15 +99,15 @@ export declare const UpdateCreativeProfileInputSchema: z.ZodObject<{
99
99
  description: z.ZodOptional<z.ZodString>;
100
100
  }, z.core.$strip>>>;
101
101
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
102
- url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>;
103
- type: z.ZodOptional<z.ZodEnum<{
102
+ url: z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>;
103
+ type: z.ZodEnum<{
104
104
  readonly INSTAGRAM: "Instagram";
105
105
  readonly LINKEDIN: "LinkedIn";
106
106
  readonly TWITTER: "Twitter";
107
107
  readonly YOUTUBE: "Youtube";
108
108
  readonly PORTFOLIO: "Portfolio Website";
109
109
  readonly GENERIC_WEBSITE: "Generic Website";
110
- }>>;
110
+ }>;
111
111
  }, z.core.$strip>>>;
112
112
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
113
113
  title: z.ZodString;
@@ -177,13 +177,11 @@ exports.UpdateCreativeProfileInputSchema = zod_openapi_1.z
177
177
  .optional(),
178
178
  links: zod_openapi_1.z
179
179
  .object({
180
- url: zod_openapi_1.z
181
- .union([
180
+ url: zod_openapi_1.z.union([
182
181
  zod_openapi_1.z.url({ message: "Please enter a valid URL" }),
183
182
  zod_openapi_1.z.literal(""),
184
- ])
185
- .optional(),
186
- type: zod_openapi_1.z.enum(constants_1.LINK_TYPES).optional(),
183
+ ]),
184
+ type: zod_openapi_1.z.enum(constants_1.LINK_TYPES),
187
185
  })
188
186
  .array()
189
187
  .optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.45",
3
+ "version": "2.1.46",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -208,13 +208,11 @@ export const UpdateCreativeProfileInputSchema = z
208
208
  .optional(),
209
209
  links: z
210
210
  .object({
211
- url: z
212
- .union([
213
- z.url({ message: "Please enter a valid URL" }),
214
- z.literal(""),
215
- ])
216
- .optional(),
217
- type: z.enum(LINK_TYPES).optional(),
211
+ url: z.union([
212
+ z.url({ message: "Please enter a valid URL" }),
213
+ z.literal(""),
214
+ ]),
215
+ type: z.enum(LINK_TYPES),
218
216
  })
219
217
  .array()
220
218
  .optional(),