@zapier/kitcore 0.17.0 → 0.17.1
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/CHANGELOG.md +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -1
package/dist/index.d.mts
CHANGED
|
@@ -676,7 +676,9 @@ interface NegatableMetadata {
|
|
|
676
676
|
* of the chain.
|
|
677
677
|
*/
|
|
678
678
|
declare function getNegatable(schema: z.ZodType): NegatableMetadata["negatable"] | undefined;
|
|
679
|
-
declare function openEnum<const T extends readonly [string, ...string[]]>(values: T, description: string): z.ZodUnion<readonly [z.ZodEnum<{
|
|
679
|
+
declare function openEnum<const T extends readonly [string, ...string[]]>(values: T, description: string): z.ZodUnion<readonly [z.ZodEnum<{
|
|
680
|
+
[K in T[number]]: K;
|
|
681
|
+
}>, z.ZodString]>;
|
|
680
682
|
|
|
681
683
|
/**
|
|
682
684
|
* Descriptive metadata a leaf carries for the registry / CLI / MCP / docs:
|
package/dist/index.d.ts
CHANGED
|
@@ -676,7 +676,9 @@ interface NegatableMetadata {
|
|
|
676
676
|
* of the chain.
|
|
677
677
|
*/
|
|
678
678
|
declare function getNegatable(schema: z.ZodType): NegatableMetadata["negatable"] | undefined;
|
|
679
|
-
declare function openEnum<const T extends readonly [string, ...string[]]>(values: T, description: string): z.ZodUnion<readonly [z.ZodEnum<{
|
|
679
|
+
declare function openEnum<const T extends readonly [string, ...string[]]>(values: T, description: string): z.ZodUnion<readonly [z.ZodEnum<{
|
|
680
|
+
[K in T[number]]: K;
|
|
681
|
+
}>, z.ZodString]>;
|
|
680
682
|
|
|
681
683
|
/**
|
|
682
684
|
* Descriptive metadata a leaf carries for the registry / CLI / MCP / docs:
|