postgresdk 0.10.1 → 0.10.4

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/dist/cli.js CHANGED
@@ -2961,6 +2961,14 @@ export type { AuthConfig, HeaderMap, AuthHeadersProvider } from "./base-client${
2961
2961
  for (const t of tables) {
2962
2962
  const Type = pascal(t.name);
2963
2963
  out += `export { ${Type}PkSchema, ${Type}ListParamsSchema, ${Type}OrderParamsSchema } from "./params/${t.name}${ext}";
2964
+ `;
2965
+ }
2966
+ out += `
2967
+ // Table types (Select, Insert, Update)
2968
+ `;
2969
+ for (const t of tables) {
2970
+ const Type = pascal(t.name);
2971
+ out += `export type { Insert${Type}, Update${Type}, Select${Type} } from "./types/${t.name}${ext}";
2964
2972
  `;
2965
2973
  }
2966
2974
  return out;
package/dist/index.js CHANGED
@@ -2201,6 +2201,14 @@ export type { AuthConfig, HeaderMap, AuthHeadersProvider } from "./base-client${
2201
2201
  for (const t of tables) {
2202
2202
  const Type = pascal(t.name);
2203
2203
  out += `export { ${Type}PkSchema, ${Type}ListParamsSchema, ${Type}OrderParamsSchema } from "./params/${t.name}${ext}";
2204
+ `;
2205
+ }
2206
+ out += `
2207
+ // Table types (Select, Insert, Update)
2208
+ `;
2209
+ for (const t of tables) {
2210
+ const Type = pascal(t.name);
2211
+ out += `export type { Insert${Type}, Update${Type}, Select${Type} } from "./types/${t.name}${ext}";
2204
2212
  `;
2205
2213
  }
2206
2214
  return out;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postgresdk",
3
- "version": "0.10.1",
3
+ "version": "0.10.4",
4
4
  "description": "Generate a typed server/client SDK from a Postgres schema (includes, Zod, Hono).",
5
5
  "type": "module",
6
6
  "bin": {