@zenstackhq/runtime 3.0.0-alpha.16 → 3.0.0-alpha.18
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/{contract-C6xcEG6Q.d.cts → contract-Cn4sSxg8.d.cts} +58 -54
- package/dist/{contract-C6xcEG6Q.d.ts → contract-Cn4sSxg8.d.ts} +58 -54
- package/dist/index.cjs +29 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -1
- package/dist/plugins/policy/index.cjs +6 -0
- package/dist/plugins/policy/index.cjs.map +1 -1
- package/dist/plugins/policy/index.d.cts +1 -1
- package/dist/plugins/policy/index.d.ts +1 -1
- package/dist/plugins/policy/index.js +6 -0
- package/dist/plugins/policy/index.js.map +1 -1
- package/package.json +8 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as kysely from 'kysely';
|
|
2
|
-
import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-
|
|
2
|
+
import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-Cn4sSxg8.cjs';
|
|
3
3
|
import { SchemaDef } from '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as kysely from 'kysely';
|
|
2
|
-
import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-
|
|
2
|
+
import { R as RuntimePlugin, V as OnKyselyQueryArgs } from '../../contract-Cn4sSxg8.js';
|
|
3
3
|
import { SchemaDef } from '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
|
|
@@ -1015,6 +1015,9 @@ var PostgresCrudDialect = class extends BaseCrudDialect {
|
|
|
1015
1015
|
return `ARRAY[${values.map((v) => typeof v === "string" ? `'${v}'` : v)}]`;
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
|
+
get supportInsertWithDefault() {
|
|
1019
|
+
return true;
|
|
1020
|
+
}
|
|
1018
1021
|
};
|
|
1019
1022
|
|
|
1020
1023
|
// src/client/crud/dialects/sqlite.ts
|
|
@@ -1169,6 +1172,9 @@ var SqliteCrudDialect = class extends BaseCrudDialect {
|
|
|
1169
1172
|
buildArrayLiteralSQL(_values) {
|
|
1170
1173
|
throw new Error("SQLite does not support array literals");
|
|
1171
1174
|
}
|
|
1175
|
+
get supportInsertWithDefault() {
|
|
1176
|
+
return false;
|
|
1177
|
+
}
|
|
1172
1178
|
};
|
|
1173
1179
|
|
|
1174
1180
|
// src/client/crud/dialects/index.ts
|