@zyacreatives/shared 2.5.37 → 2.5.38

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.
@@ -14,6 +14,7 @@ export declare const BrandEntitySchema: z.ZodObject<{
14
14
  userId: z.ZodCUID2;
15
15
  brandName: z.ZodString;
16
16
  bio: z.ZodOptional<z.ZodString>;
17
+ location: z.ZodString;
17
18
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
19
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
20
  url: z.ZodURL;
@@ -38,6 +39,7 @@ export declare const BrandEntitySchema: z.ZodObject<{
38
39
  export type BrandEntity = z.infer<typeof BrandEntitySchema>;
39
40
  export declare const CreateBrandProfileInputSchema: z.ZodObject<{
40
41
  brandName: z.ZodString;
42
+ location: z.ZodString;
41
43
  disciplineSlugs: z.ZodDefault<z.ZodArray<z.ZodString>>;
42
44
  }, z.core.$strip>;
43
45
  export type CreateBrandProfileInput = z.infer<typeof CreateBrandProfileInputSchema>;
@@ -54,6 +56,7 @@ export declare const UpdateBrandProfileInputSchema: z.ZodObject<{
54
56
  readonly GENERIC_WEBSITE: "Generic Website";
55
57
  }>;
56
58
  }, z.core.$strip>>>;
59
+ location: z.ZodString;
57
60
  achievements: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
61
  title: z.ZodString;
59
62
  link: z.ZodOptional<z.ZodURL>;
@@ -83,6 +86,7 @@ export declare const CreateBrandOutputSchema: z.ZodObject<{
83
86
  userId: z.ZodCUID2;
84
87
  brandName: z.ZodString;
85
88
  bio: z.ZodOptional<z.ZodString>;
89
+ location: z.ZodString;
86
90
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
91
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
88
92
  url: z.ZodURL;
@@ -110,6 +114,7 @@ export declare const GetBrandOutputSchema: z.ZodObject<{
110
114
  userId: z.ZodCUID2;
111
115
  brandName: z.ZodString;
112
116
  bio: z.ZodOptional<z.ZodString>;
117
+ location: z.ZodString;
113
118
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
119
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
120
  url: z.ZodURL;
@@ -137,6 +142,7 @@ export declare const UpdateBrandOutputSchema: z.ZodObject<{
137
142
  userId: z.ZodCUID2;
138
143
  brandName: z.ZodString;
139
144
  bio: z.ZodOptional<z.ZodString>;
145
+ location: z.ZodString;
140
146
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
147
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
142
148
  url: z.ZodURL;
@@ -30,6 +30,9 @@ exports.BrandEntitySchema = zod_openapi_1.z
30
30
  bio: zod_openapi_1.z.string().optional().openapi({
31
31
  example: "Leading software development firm focused on AI.",
32
32
  }),
33
+ location: zod_openapi_1.z.string().openapi({
34
+ example: "UK",
35
+ }),
33
36
  disciplines: zod_openapi_1.z
34
37
  .array(zod_openapi_1.z.string())
35
38
  .optional()
@@ -60,6 +63,9 @@ exports.CreateBrandProfileInputSchema = zod_openapi_1.z
60
63
  .string()
61
64
  .min(1, "Brand name is required")
62
65
  .openapi({ example: "Acme Creative Studio" }),
66
+ location: zod_openapi_1.z.string().openapi({
67
+ example: "UK",
68
+ }),
63
69
  disciplineSlugs: zod_openapi_1.z
64
70
  .array(zod_openapi_1.z.string())
65
71
  .min(1, "At least one discipline is required")
@@ -82,6 +88,9 @@ exports.UpdateBrandProfileInputSchema = zod_openapi_1.z
82
88
  })
83
89
  .array()
84
90
  .optional(),
91
+ location: zod_openapi_1.z.string().openapi({
92
+ example: "UK",
93
+ }),
85
94
  achievements: zod_openapi_1.z
86
95
  .object({
87
96
  title: zod_openapi_1.z.string(),
@@ -92,6 +92,7 @@ export declare const UserProfileEntitySchema: z.ZodObject<{
92
92
  userId: z.ZodCUID2;
93
93
  brandName: z.ZodString;
94
94
  bio: z.ZodOptional<z.ZodString>;
95
+ location: z.ZodString;
95
96
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
96
97
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
98
  url: z.ZodURL;
@@ -1329,6 +1330,7 @@ export declare const GetAuthenticatedUserProfileOutputSchema: z.ZodObject<{
1329
1330
  userId: z.ZodCUID2;
1330
1331
  brandName: z.ZodString;
1331
1332
  bio: z.ZodOptional<z.ZodString>;
1333
+ location: z.ZodString;
1332
1334
  disciplines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1333
1335
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1334
1336
  url: z.ZodURL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.5.37",
3
+ "version": "2.5.38",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,6 +31,9 @@ export const BrandEntitySchema = z
31
31
  bio: z.string().optional().openapi({
32
32
  example: "Leading software development firm focused on AI.",
33
33
  }),
34
+ location: z.string().openapi({
35
+ example: "UK",
36
+ }),
34
37
  disciplines: z
35
38
  .array(z.string())
36
39
  .optional()
@@ -64,6 +67,9 @@ export const CreateBrandProfileInputSchema = z
64
67
  .string()
65
68
  .min(1, "Brand name is required")
66
69
  .openapi({ example: "Acme Creative Studio" }),
70
+ location: z.string().openapi({
71
+ example: "UK",
72
+ }),
67
73
  disciplineSlugs: z
68
74
  .array(z.string())
69
75
  .min(1, "At least one discipline is required")
@@ -91,6 +97,9 @@ export const UpdateBrandProfileInputSchema = z
91
97
  })
92
98
  .array()
93
99
  .optional(),
100
+ location: z.string().openapi({
101
+ example: "UK",
102
+ }),
94
103
  achievements: z
95
104
  .object({
96
105
  title: z.string(),