lancer-shared 1.0.145 → 1.0.146

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.
@@ -88,6 +88,22 @@ export declare const upworkProfileSchema: z.ZodObject<{
88
88
  period: string;
89
89
  }>, "many">>;
90
90
  languages: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
91
+ portfolio: z.ZodNullable<z.ZodArray<z.ZodObject<{
92
+ title: z.ZodString;
93
+ description: z.ZodString;
94
+ skills: z.ZodArray<z.ZodString, "many">;
95
+ publishedDate: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ title: string;
98
+ description: string;
99
+ skills: string[];
100
+ publishedDate: string;
101
+ }, {
102
+ title: string;
103
+ description: string;
104
+ skills: string[];
105
+ publishedDate: string;
106
+ }>, "many">>;
91
107
  }, "strip", z.ZodTypeAny, {
92
108
  name: string | null;
93
109
  country: string | null;
@@ -100,6 +116,12 @@ export declare const upworkProfileSchema: z.ZodObject<{
100
116
  period: string;
101
117
  }[] | null;
102
118
  languages: Record<string, string> | null;
119
+ portfolio: {
120
+ title: string;
121
+ description: string;
122
+ skills: string[];
123
+ publishedDate: string;
124
+ }[] | null;
103
125
  }, {
104
126
  name: string | null;
105
127
  country: string | null;
@@ -112,4 +134,10 @@ export declare const upworkProfileSchema: z.ZodObject<{
112
134
  period: string;
113
135
  }[] | null;
114
136
  languages: Record<string, string> | null;
137
+ portfolio: {
138
+ title: string;
139
+ description: string;
140
+ skills: string[];
141
+ publishedDate: string;
142
+ }[] | null;
115
143
  }>;
@@ -44,4 +44,12 @@ exports.upworkProfileSchema = (0, zod_1.object)({
44
44
  }))
45
45
  .nullable(),
46
46
  languages: zod_1.z.record((0, zod_1.string)(), (0, zod_1.string)()).nullable(),
47
+ portfolio: zod_1.z
48
+ .array(zod_1.z.object({
49
+ title: (0, zod_1.string)(),
50
+ description: (0, zod_1.string)(),
51
+ skills: zod_1.z.array((0, zod_1.string)()),
52
+ publishedDate: (0, zod_1.string)(),
53
+ }))
54
+ .nullable(),
47
55
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.145",
4
+ "version": "1.0.146",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",