cogsbox-shape 0.5.8 → 0.5.10

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/schema.js CHANGED
@@ -215,7 +215,7 @@ export const shape = {
215
215
  sql: sqlConfig,
216
216
  dbType: serverType,
217
217
  zodDbSchema: serverType,
218
- zodClientSchema: serverType,
218
+ zodClientSchema: inferredClientType,
219
219
  jsonSchema: zodToJsonSchema(serverType),
220
220
  defaultValue: inferDefaultFromZod(serverType),
221
221
  client: createClient({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogsbox-shape",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "A TypeScript library for creating type-safe database schemas with Zod validation, SQL type definitions, and automatic client/server transformations. Unifies client, server, and database types through a single schema definition, with built-in support for relationships and serialization.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",