@chainfuse/types 3.0.4 → 3.0.6

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.
@@ -1,5 +1,9 @@
1
- import type { infer as zInfer, ZodMiniJSONSchema } from 'zod/mini';
1
+ import type { util, infer as zInfer, ZodMiniJSONSchema, ZodMiniObject, ZodMiniOptional } from 'zod/mini';
2
2
  import * as z from 'zod/mini';
3
+ export type ZodPick<T extends ZodMiniObject> = util.Mask<keyof T['shape']>;
4
+ export type ZodPartial<T extends ZodMiniObject> = ZodMiniObject<{
5
+ [k in keyof T['shape']]: ZodMiniOptional<T['shape'][k]>;
6
+ }, T['_zod']['config']>;
3
7
  export type JSON = zInfer<ZodMiniJSONSchema>;
4
8
  export declare const ZodCoordinate: z.ZodMiniString<string>;
5
9
  export declare const PrefixedUuidRaw: z.ZodMiniString<string>;
@@ -24,7 +28,7 @@ export declare const ZodUuid: z.ZodMiniUnion<readonly [z.ZodMiniString<string>,
24
28
  export declare const ZodUuid4: z.ZodMiniUnion<readonly [z.ZodMiniUUID, z.ZodMiniCustomStringFormat<"hex">, z.ZodMiniBase64, z.ZodMiniBase64URL]>;
25
29
  export declare const ZodUuid7: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniUUID, z.ZodMiniCustomStringFormat<"hex">, z.ZodMiniBase64, z.ZodMiniBase64URL]>;
26
30
  export declare const ZodUuid8: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniUUID, z.ZodMiniCustomStringFormat<"hex">, z.ZodMiniBase64, z.ZodMiniBase64URL]>;
27
- export declare const Zod4FakeUuidExport: z.ZodMiniObject<{
31
+ export declare const Zod4FakeUuidExport: ZodMiniObject<{
28
32
  utf8: z.ZodMiniUUID;
29
33
  hex: z.ZodMiniCustomStringFormat<"hex">;
30
34
  base64: z.ZodMiniBase64;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/types",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
@@ -95,11 +95,11 @@
95
95
  "prettier": "@demosjarco/prettier-config",
96
96
  "dependencies": {
97
97
  "validator": "^13.15.15",
98
- "zod": "^4.1.5"
98
+ "zod": "^4.1.8"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@cloudflare/workers-types": "^4.20250910.0",
102
102
  "@types/validator": "^13.15.3"
103
103
  },
104
- "gitHead": "1c127ba26ad59b37c3c21be20e640220bbcd0bc3"
104
+ "gitHead": "eec909dcd19b90bf4a87bf4e33d5c2be1326c83c"
105
105
  }