@supalive/codegen 1.20.2 → 1.22.0
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/README.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-BHtJlw3J.js → src-DvV5kMq2.js} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ on procedure configs lets you override specific fields for the generated client
|
|
|
93
93
|
without changing your handler's return type.
|
|
94
94
|
|
|
95
95
|
Model naming uses the `.modelName()` Zod extension method — no extra imports
|
|
96
|
-
needed (it patches all Zod types when you import from `@supalive/core
|
|
96
|
+
needed (it patches all Zod types automatically when you import `z` from `@supalive/core`).
|
|
97
97
|
|
|
98
98
|
### Default (no `returns`)
|
|
99
99
|
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as emit, c as loadSchemaEnums, i as resolveConfig, n as generateToDisk, o as extractClient, r as readEntryConfig, s as SchemaEnumRegistry, t as generate } from "./src-
|
|
1
|
+
import { a as emit, c as loadSchemaEnums, i as resolveConfig, n as generateToDisk, o as extractClient, r as readEntryConfig, s as SchemaEnumRegistry, t as generate } from "./src-DvV5kMq2.js";
|
|
2
2
|
export { SchemaEnumRegistry, emit, extractClient, generate, generateToDisk, loadSchemaEnums, readEntryConfig, resolveConfig };
|
|
@@ -3,7 +3,7 @@ import fs from "node:fs";
|
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { Node, Project, ts } from "ts-morph";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
|
-
import { schemaRegistry } from "@supalive/core
|
|
6
|
+
import { schemaRegistry } from "@supalive/core";
|
|
7
7
|
//#region src/zod-schema.ts
|
|
8
8
|
/**
|
|
9
9
|
* Map each procedure to the doc comment on its declaration, so the generated
|