cogsbox-shape 0.5.123 → 0.5.125

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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +1 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -339,6 +339,7 @@ type RegistryShape = Record<string, {
339
339
  type CreateSchemaBoxReturn<S extends Record<string, SchemaWithPlaceholders>, R extends ResolutionMap<S>, Resolved extends RegistryShape = ResolvedRegistryWithSchemas<S, R> extends RegistryShape ? ResolvedRegistryWithSchemas<S, R> : RegistryShape> = {
340
340
  [K in keyof Resolved]: {
341
341
  definition: Resolved[K]["rawSchema"];
342
+ schemaKey: K;
342
343
  schemas: {
343
344
  sql: Resolved[K]["zodSchemas"]["sqlSchema"];
344
345
  client: Resolved[K]["zodSchemas"]["clientSchema"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogsbox-shape",
3
- "version": "0.5.123",
3
+ "version": "0.5.125",
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",