@digitraffic/common 2026.2.17-1 → 2026.2.17-2

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.
@@ -20,12 +20,12 @@ export declare const zEmptyStringToUndefined: z.ZodPipe<z.ZodLiteral<"">, z.ZodT
20
20
  /**
21
21
  * Optional string query parameter. Empty strings are treated as undefined.
22
22
  */
23
- export declare function zOptionalString(): z.ZodUnion<[z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>, z.ZodOptional<z.ZodString>]>;
23
+ export declare function zOptionalString(): z.ZodType<string | undefined>;
24
24
  /**
25
25
  * Optional number query parameter parsed from a string. Empty strings are treated as undefined.
26
26
  */
27
- export declare function zOptionalNumber(message?: string): z.ZodUnion<[z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>]>;
27
+ export declare function zOptionalNumber(message?: string): z.ZodType<number | undefined>;
28
28
  /**
29
29
  * Optional date query parameter parsed from a string. Empty strings are treated as undefined.
30
30
  */
31
- export declare function zOptionalDate(message?: string): z.ZodUnion<[z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Date | undefined, string>>>]>;
31
+ export declare function zOptionalDate(message?: string): z.ZodType<Date | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitraffic/common",
3
- "version": "2026.2.17-1",
3
+ "version": "2026.2.17-2",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "repository": {