surreal-zod 0.0.0-alpha.14 → 0.0.0-alpha.15
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/lib/zod/schema.d.ts +1 -1
- package/package.json +1 -1
- package/src/zod/schema.ts +1 -6
package/lib/zod/schema.d.ts
CHANGED
|
@@ -1794,7 +1794,7 @@ export type ZodSurrealTable<Name extends string = string, Fields extends Surreal
|
|
|
1794
1794
|
drop(): ZodSurrealTable<Name, Fields, Config, Kind>;
|
|
1795
1795
|
nodrop(): ZodSurrealTable<Name, Fields, Config, Kind>;
|
|
1796
1796
|
comment(comment: string): ZodSurrealTable<Name, Fields, Config, Kind>;
|
|
1797
|
-
record():
|
|
1797
|
+
record(): NormalizedIdField<Name, Fields, "id">["id"];
|
|
1798
1798
|
dto(): ZodSurrealObject<Omit<NormalizedFields<Name, Fields>, "id"> & {
|
|
1799
1799
|
id: ZodSurrealOptional<NormalizedFields<Name, Fields>["id"]>;
|
|
1800
1800
|
}, {
|
package/package.json
CHANGED
package/src/zod/schema.ts
CHANGED
|
@@ -6499,12 +6499,7 @@ export type ZodSurrealTable<
|
|
|
6499
6499
|
nodrop(): ZodSurrealTable<Name, Fields, Config, Kind>;
|
|
6500
6500
|
comment(comment: string): ZodSurrealTable<Name, Fields, Config, Kind>;
|
|
6501
6501
|
|
|
6502
|
-
record():
|
|
6503
|
-
Name,
|
|
6504
|
-
Fields,
|
|
6505
|
-
Config,
|
|
6506
|
-
Kind
|
|
6507
|
-
>["_zod"]["def"]["fields"]["id"];
|
|
6502
|
+
record(): NormalizedIdField<Name, Fields, "id">["id"];
|
|
6508
6503
|
dto(): ZodSurrealObject<
|
|
6509
6504
|
Omit<NormalizedFields<Name, Fields>, "id"> & {
|
|
6510
6505
|
id: ZodSurrealOptional<NormalizedFields<Name, Fields>["id"]>;
|