shoal-web-sdk 0.0.127 → 0.0.128

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.
@@ -338,8 +338,8 @@ export const zCacheNodeProps = z.object({
338
338
  size: z.optional(z.int())
339
339
  });
340
340
  export const zSchedulerNodeProps = z.object({
341
- expression: z.string(),
342
- timezone: z.string(),
341
+ expression: z.string().min(9).regex(/^(\*|[0-9*\/,\-]+)\s+(\*|[0-9*\/,\-]+)\s+(\*|[0-9*\/,\-]+)\s+(\*|[0-9*\/,\-]+)\s+(\*|[0-9*\/,\-]+)$/),
342
+ timezone: z.string().min(1),
343
343
  requestMethod: zHttpMethod,
344
344
  requestPayload: z.optional(z.string()),
345
345
  requestHeaders: z.optional(z.record(z.string(), z.string())),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",