@tripsam/onboarding 1.0.20 → 1.0.22

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/index.cjs CHANGED
@@ -162,11 +162,11 @@ var create = import_zod4.z.object({
162
162
  minHour: import_zod4.z.coerce.number("invalid")
163
163
  });
164
164
  var me3 = import_zod4.z.object({
165
- id: import_zod4.z.string().trim().optional(),
165
+ id: import_zod4.z.string().trim(),
166
166
  name: import_zod4.z.string().trim().nonempty("required"),
167
167
  description: import_zod4.z.string().trim().optional(),
168
- startTime: import_zod4.z.string().trim().nonempty("required"),
169
- endTime: import_zod4.z.string().trim().nonempty("required"),
168
+ startTime: import_zod4.z.coerce.number(),
169
+ endTime: import_zod4.z.coerce.number(),
170
170
  minHour: import_zod4.z.coerce.number("invalid")
171
171
  });
172
172
  var meList = import_zod4.z.array(me3);
package/dist/index.d.cts CHANGED
@@ -177,19 +177,19 @@ declare const create: z.ZodObject<{
177
177
  minHour: z.ZodCoercedNumber<unknown>;
178
178
  }, z.core.$strip>;
179
179
  declare const me: z.ZodObject<{
180
- id: z.ZodOptional<z.ZodString>;
180
+ id: z.ZodString;
181
181
  name: z.ZodString;
182
182
  description: z.ZodOptional<z.ZodString>;
183
- startTime: z.ZodString;
184
- endTime: z.ZodString;
183
+ startTime: z.ZodCoercedNumber<unknown>;
184
+ endTime: z.ZodCoercedNumber<unknown>;
185
185
  minHour: z.ZodCoercedNumber<unknown>;
186
186
  }, z.core.$strip>;
187
187
  declare const meList: z.ZodArray<z.ZodObject<{
188
- id: z.ZodOptional<z.ZodString>;
188
+ id: z.ZodString;
189
189
  name: z.ZodString;
190
190
  description: z.ZodOptional<z.ZodString>;
191
- startTime: z.ZodString;
192
- endTime: z.ZodString;
191
+ startTime: z.ZodCoercedNumber<unknown>;
192
+ endTime: z.ZodCoercedNumber<unknown>;
193
193
  minHour: z.ZodCoercedNumber<unknown>;
194
194
  }, z.core.$strip>>;
195
195
  type SafeMe = z.output<typeof me>;
package/dist/index.d.ts CHANGED
@@ -177,19 +177,19 @@ declare const create: z.ZodObject<{
177
177
  minHour: z.ZodCoercedNumber<unknown>;
178
178
  }, z.core.$strip>;
179
179
  declare const me: z.ZodObject<{
180
- id: z.ZodOptional<z.ZodString>;
180
+ id: z.ZodString;
181
181
  name: z.ZodString;
182
182
  description: z.ZodOptional<z.ZodString>;
183
- startTime: z.ZodString;
184
- endTime: z.ZodString;
183
+ startTime: z.ZodCoercedNumber<unknown>;
184
+ endTime: z.ZodCoercedNumber<unknown>;
185
185
  minHour: z.ZodCoercedNumber<unknown>;
186
186
  }, z.core.$strip>;
187
187
  declare const meList: z.ZodArray<z.ZodObject<{
188
- id: z.ZodOptional<z.ZodString>;
188
+ id: z.ZodString;
189
189
  name: z.ZodString;
190
190
  description: z.ZodOptional<z.ZodString>;
191
- startTime: z.ZodString;
192
- endTime: z.ZodString;
191
+ startTime: z.ZodCoercedNumber<unknown>;
192
+ endTime: z.ZodCoercedNumber<unknown>;
193
193
  minHour: z.ZodCoercedNumber<unknown>;
194
194
  }, z.core.$strip>>;
195
195
  type SafeMe = z.output<typeof me>;
package/dist/index.js CHANGED
@@ -139,11 +139,11 @@ var create = z4.object({
139
139
  minHour: z4.coerce.number("invalid")
140
140
  });
141
141
  var me3 = z4.object({
142
- id: z4.string().trim().optional(),
142
+ id: z4.string().trim(),
143
143
  name: z4.string().trim().nonempty("required"),
144
144
  description: z4.string().trim().optional(),
145
- startTime: z4.string().trim().nonempty("required"),
146
- endTime: z4.string().trim().nonempty("required"),
145
+ startTime: z4.coerce.number(),
146
+ endTime: z4.coerce.number(),
147
147
  minHour: z4.coerce.number("invalid")
148
148
  });
149
149
  var meList = z4.array(me3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",