@niscorp/vex 0.4.0 → 0.4.2
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/CHANGELOG.md +25 -0
- package/DESIGN.md +12 -7
- package/DOCS.md +64 -19
- package/README.md +2 -2
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.cjs.map +1 -1
- package/dist/adapters/express/index.d.cts +2 -2
- package/dist/adapters/express/index.d.ts +2 -2
- package/dist/adapters/express/index.js +1 -1
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.cjs.map +1 -1
- package/dist/adapters/hono/index.d.cts +2 -2
- package/dist/adapters/hono/index.d.ts +2 -2
- package/dist/adapters/hono/index.js +1 -1
- package/dist/adapters/pg/index.cjs +44 -0
- package/dist/adapters/pg/index.cjs.map +1 -0
- package/dist/adapters/pg/index.d.cts +28 -0
- package/dist/adapters/pg/index.d.ts +28 -0
- package/dist/adapters/pg/index.js +31 -0
- package/dist/adapters/pg/index.js.map +1 -0
- package/dist/adapters/pglite/index.cjs +3 -1
- package/dist/adapters/pglite/index.cjs.map +1 -1
- package/dist/adapters/pglite/index.d.cts +5 -4
- package/dist/adapters/pglite/index.d.ts +5 -4
- package/dist/adapters/pglite/index.js +3 -3
- package/dist/adapters/pglite/index.js.map +1 -1
- package/dist/agent/index.cjs +144 -22
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +144 -22
- package/dist/agent/index.js.map +1 -1
- package/dist/chunk-DFWYYBJU.js +7 -0
- package/dist/chunk-DFWYYBJU.js.map +1 -0
- package/dist/{chunk-7F2OH4IP.js → chunk-RGJRUOGQ.js} +7 -4
- package/dist/chunk-RGJRUOGQ.js.map +1 -0
- package/dist/date-parsers-BaUuE_ax.d.cts +4 -0
- package/dist/date-parsers-BaUuE_ax.d.ts +4 -0
- package/dist/{handler-Bw7xVmBM.d.ts → handler-CoJxInw-.d.ts} +1 -1
- package/dist/{handler-Cy0gNM6K.d.cts → handler-CsFbanZA.d.cts} +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/{types-DO-rYZci.d.cts → types-B2HEmyNq.d.cts} +1 -1
- package/dist/{types-Bs_9VM9p.d.ts → types-DC68ZUuq.d.ts} +1 -1
- package/package.json +13 -1
- package/dist/chunk-7F2OH4IP.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as QueryEngine, aa as ScopeValues } from '../../types-
|
|
2
|
-
import { V as VexHandlerConfig } from '../../handler-
|
|
1
|
+
import { a as QueryEngine, aa as ScopeValues } from '../../types-B2HEmyNq.cjs';
|
|
2
|
+
import { V as VexHandlerConfig } from '../../handler-CsFbanZA.cjs';
|
|
3
3
|
import '../../query.schema-B-LVNfyX.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@niscorp/prism';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as QueryEngine, aa as ScopeValues } from '../../types-
|
|
2
|
-
import { V as VexHandlerConfig } from '../../handler-
|
|
1
|
+
import { a as QueryEngine, aa as ScopeValues } from '../../types-DC68ZUuq.js';
|
|
2
|
+
import { V as VexHandlerConfig } from '../../handler-CoJxInw-.js';
|
|
3
3
|
import '../../query.schema-B-LVNfyX.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@niscorp/prism';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { handleDiscovery, handleQuery, handleFingerprintPatch, handleFingerprintDelete } from '../../chunk-
|
|
1
|
+
import { handleDiscovery, handleQuery, handleFingerprintPatch, handleFingerprintDelete } from '../../chunk-RGJRUOGQ.js';
|
|
2
2
|
import '../../chunk-XTOK7YOR.js';
|
|
3
3
|
import '../../chunk-UPQMKAAX.js';
|
|
4
4
|
|
|
@@ -1018,7 +1018,7 @@ var scopeInsertParts = (table, rawValues, rawConflict, policy) => {
|
|
|
1018
1018
|
for (const r of [...gate.rule.write ?? [], ...gate.rule.update ?? []]) {
|
|
1019
1019
|
if ("set" in r) {
|
|
1020
1020
|
conflict = { ...conflict, set: { ...conflict.set ?? {}, [r.set]: { $scope: r.to } } };
|
|
1021
|
-
} else
|
|
1021
|
+
} else {
|
|
1022
1022
|
const boundary = boundaryOf(table, r);
|
|
1023
1023
|
conflict = { ...conflict, where: conflict.where === void 0 ? boundary : { and: [conflict.where, boundary] } };
|
|
1024
1024
|
}
|