@rocicorp/zero 0.23.2025083000 → 0.23.2025090100
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/out/{chunk-GW2SIBPI.js → chunk-6USDOK3X.js} +6 -4
- package/out/chunk-6USDOK3X.js.map +7 -0
- package/out/{chunk-KSJKRBQT.js → chunk-FMWNU2YJ.js} +2 -2
- package/out/react.js +1 -1
- package/out/solid.js +2 -2
- package/out/zero/package.json +1 -1
- package/out/zero-client/src/client/crud.d.ts +1 -1
- package/out/zero-client/src/client/crud.d.ts.map +1 -1
- package/out/zero-client/src/client/options.d.ts +0 -14
- package/out/zero-client/src/client/options.d.ts.map +1 -1
- package/out/zero-client/src/client/zero.d.ts +1 -1
- package/out/zero-client/src/client/zero.d.ts.map +1 -1
- package/out/zero-schema/src/builder/schema-builder.d.ts +23 -1
- package/out/zero-schema/src/builder/schema-builder.d.ts.map +1 -1
- package/out/zero-schema/src/builder/schema-builder.js +2 -0
- package/out/zero-schema/src/builder/schema-builder.js.map +1 -1
- package/out/zero-schema/src/schema-config.d.ts +2 -0
- package/out/zero-schema/src/schema-config.d.ts.map +1 -1
- package/out/zero-schema/src/schema-config.js +2 -0
- package/out/zero-schema/src/schema-config.js.map +1 -1
- package/out/zero.js +2 -2
- package/package.json +1 -1
- package/out/chunk-GW2SIBPI.js.map +0 -7
- /package/out/{chunk-KSJKRBQT.js.map → chunk-FMWNU2YJ.js.map} +0 -0
|
@@ -1730,7 +1730,9 @@ function createSchema(options) {
|
|
|
1730
1730
|
});
|
|
1731
1731
|
return {
|
|
1732
1732
|
tables: retTables,
|
|
1733
|
-
relationships: retRelationships
|
|
1733
|
+
relationships: retRelationships,
|
|
1734
|
+
enableLegacyQueries: options.enableLegacyQueries,
|
|
1735
|
+
enableLegacyMutators: options.enableLegacyMutators
|
|
1734
1736
|
};
|
|
1735
1737
|
}
|
|
1736
1738
|
function checkRelationship(relationships, tableName, tables) {
|
|
@@ -8666,7 +8668,7 @@ function makeMessage(message, context, logLevel) {
|
|
|
8666
8668
|
}
|
|
8667
8669
|
|
|
8668
8670
|
// ../zero-client/src/client/version.ts
|
|
8669
|
-
var version2 = "0.23.
|
|
8671
|
+
var version2 = "0.23.2025090100";
|
|
8670
8672
|
|
|
8671
8673
|
// ../zero-client/src/client/log-options.ts
|
|
8672
8674
|
var LevelFilterLogSink = class {
|
|
@@ -10289,7 +10291,7 @@ var Zero = class _Zero {
|
|
|
10289
10291
|
enableAnalytics: this.#enableAnalytics
|
|
10290
10292
|
});
|
|
10291
10293
|
const logOptions = this.#logOptions;
|
|
10292
|
-
const { enableLegacyMutators = true, enableLegacyQueries = true } =
|
|
10294
|
+
const { enableLegacyMutators = true, enableLegacyQueries = true } = schema;
|
|
10293
10295
|
const replicacheMutators = {
|
|
10294
10296
|
[CRUD_MUTATION_NAME]: enableLegacyMutators ? makeCRUDMutator(schema) : () => Promise.reject(new Error("Zero CRUD mutators are not enabled."))
|
|
10295
10297
|
};
|
|
@@ -11607,4 +11609,4 @@ export {
|
|
|
11607
11609
|
update_needed_reason_type_enum_exports,
|
|
11608
11610
|
Zero
|
|
11609
11611
|
};
|
|
11610
|
-
//# sourceMappingURL=chunk-
|
|
11612
|
+
//# sourceMappingURL=chunk-6USDOK3X.js.map
|