cogsbox-shape 0.5.152 → 0.5.154
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 +3 -1
- package/package.json +1 -1
package/dist/schema.js
CHANGED
|
@@ -781,9 +781,11 @@ export function createSchemaBox(schemas, resolver) {
|
|
|
781
781
|
toDb: entry.zodSchemas.toDb,
|
|
782
782
|
},
|
|
783
783
|
defaults: defaults,
|
|
784
|
-
//
|
|
784
|
+
// Include the pk and clientPk arrays
|
|
785
785
|
pk: entry.zodSchemas.pk,
|
|
786
786
|
clientPk: entry.zodSchemas.clientPk,
|
|
787
|
+
// ADD THIS - the boolean from createViewObject
|
|
788
|
+
supportsReconciliation: view.supportsReconciliation,
|
|
787
789
|
isView: true,
|
|
788
790
|
viewSelection: selection,
|
|
789
791
|
baseTable: tableName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cogsbox-shape",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.154",
|
|
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",
|