@noy-db/hub 0.2.0-pre.14 → 0.2.0-pre.15
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/aggregate/index.cjs +56 -56
- package/dist/aggregate/index.cjs.map +1 -1
- package/dist/aggregate/index.d.cts +2 -2
- package/dist/aggregate/index.d.ts +2 -2
- package/dist/aggregate/index.js +3 -3
- package/dist/attestation/index.d.cts +5 -5
- package/dist/attestation/index.d.ts +5 -5
- package/dist/blobs/index.d.cts +6 -6
- package/dist/blobs/index.d.ts +6 -6
- package/dist/bundle/index.cjs +426 -68
- package/dist/bundle/index.cjs.map +1 -1
- package/dist/bundle/index.d.cts +7 -7
- package/dist/bundle/index.d.ts +7 -7
- package/dist/bundle/index.js +1 -1
- package/dist/{chunk-3EWA37FV.js → chunk-3EWXMOK3.js} +7 -266
- package/dist/chunk-3EWXMOK3.js.map +1 -0
- package/dist/{chunk-ACKFRSAH.js → chunk-7EFFHEN5.js} +26 -19
- package/dist/chunk-7EFFHEN5.js.map +1 -0
- package/dist/{chunk-UWNYBOOO.js → chunk-C5T5AFWN.js} +2 -2
- package/dist/chunk-CJORTUJ2.js +524 -0
- package/dist/chunk-CJORTUJ2.js.map +1 -0
- package/dist/{chunk-YNTBADIY.js → chunk-CZI2A4MQ.js} +2 -2
- package/dist/{chunk-KGCORI4L.js → chunk-EYVQHAGH.js} +266 -66
- package/dist/chunk-EYVQHAGH.js.map +1 -0
- package/dist/{chunk-NP6EZT44.js → chunk-IQLVUT37.js} +2 -2
- package/dist/{chunk-4PEFEETV.js → chunk-KIP6JLTF.js} +2 -2
- package/dist/{chunk-ZWTNWAO4.js → chunk-NU6Q3FOR.js} +3 -3
- package/dist/chunk-NU6Q3FOR.js.map +1 -0
- package/dist/{chunk-WIBHRONM.js → chunk-XWH4MXIU.js} +2 -2
- package/dist/consent/index.d.cts +6 -6
- package/dist/consent/index.d.ts +6 -6
- package/dist/derivations/index.d.cts +7 -7
- package/dist/derivations/index.d.ts +7 -7
- package/dist/{dev-unlock-DV7ujTCI.d.ts → dev-unlock-iAS8z9jc.d.ts} +1 -1
- package/dist/{dev-unlock-BF4OSxRv.d.cts → dev-unlock-nVkuRLLe.d.cts} +1 -1
- package/dist/{executor-723ZP6TH.js → executor-HSSRXDOB.js} +4 -4
- package/dist/guards/index.d.cts +7 -7
- package/dist/guards/index.d.ts +7 -7
- package/dist/{hash-BcF5WQXl.d.cts → hash-Cv6byZs7.d.cts} +1 -1
- package/dist/{hash-DswxkLtW.d.ts → hash-DHOnRarj.d.ts} +1 -1
- package/dist/history/index.d.cts +7 -7
- package/dist/history/index.d.ts +7 -7
- package/dist/i18n/index.d.cts +6 -6
- package/dist/i18n/index.d.ts +6 -6
- package/dist/{immutable-guard-C8IYdzfu.d.ts → immutable-guard-BehB1YGB.d.ts} +1 -1
- package/dist/{immutable-guard-7KqslW2K.d.cts → immutable-guard-yBEOYmif.d.cts} +1 -1
- package/dist/{index-CUVOMtgg.d.cts → index-D95VK1Qy.d.cts} +11 -3
- package/dist/{index-Cqzp4tt9.d.ts → index-XNB2r6bX.d.ts} +11 -3
- package/dist/index.cjs +567 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +145 -15
- package/dist/index.d.ts +145 -15
- package/dist/index.js +132 -16
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.cjs +92 -31
- package/dist/indexing/index.cjs.map +1 -1
- package/dist/indexing/index.d.cts +3 -3
- package/dist/indexing/index.d.ts +3 -3
- package/dist/indexing/index.js +3 -3
- package/dist/{lazy-builder-D5GU14TS.d.ts → lazy-builder-ChSqcF5t.d.ts} +1 -1
- package/dist/{lazy-builder-Ci5_YG73.d.cts → lazy-builder-eYZzLEL1.d.cts} +1 -1
- package/dist/materialized-views/index.cjs +2 -2
- package/dist/materialized-views/index.cjs.map +1 -1
- package/dist/materialized-views/index.d.cts +7 -7
- package/dist/materialized-views/index.d.ts +7 -7
- package/dist/materialized-views/index.js +5 -5
- package/dist/{noydb-VZ4JVW55.js → noydb-GZGFBA4E.js} +8 -8
- package/dist/overlay-views/index.d.cts +7 -7
- package/dist/overlay-views/index.d.ts +7 -7
- package/dist/periods/index.d.cts +6 -6
- package/dist/periods/index.d.ts +6 -6
- package/dist/{predicate-Bt5ft-9c.d.cts → predicate-BmhBSPCH.d.cts} +59 -2
- package/dist/{predicate-Bt5ft-9c.d.ts → predicate-BmhBSPCH.d.ts} +59 -2
- package/dist/query/index.cjs +580 -195
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +5 -5
- package/dist/session/index.d.cts +7 -7
- package/dist/session/index.d.ts +7 -7
- package/dist/shadow/index.d.cts +6 -6
- package/dist/shadow/index.d.ts +6 -6
- package/dist/snapshots/index.d.cts +6 -6
- package/dist/snapshots/index.d.ts +6 -6
- package/dist/{stale-7FRJVHN6.js → stale-JH67FU57.js} +2 -2
- package/dist/store/index.d.cts +6 -6
- package/dist/store/index.d.ts +6 -6
- package/dist/{strategy-CrS7PnbE.d.ts → strategy-CbneC7bS.d.cts} +1 -1
- package/dist/{strategy-CrS7PnbE.d.cts → strategy-CbneC7bS.d.ts} +1 -1
- package/dist/sync/index.d.cts +5 -5
- package/dist/sync/index.d.ts +5 -5
- package/dist/team/index.d.cts +6 -6
- package/dist/team/index.d.ts +6 -6
- package/dist/tx/index.d.cts +6 -6
- package/dist/tx/index.d.ts +6 -6
- package/dist/{types-BFHQUjdy.d.ts → types-4t1-tWS4.d.ts} +22 -7
- package/dist/{types-V5R2-pd4.d.cts → types-BpPV5uyy.d.cts} +22 -7
- package/dist/{ulid-CwNf9e6-.d.cts → ulid-CiPrpGqm.d.cts} +1 -1
- package/dist/{ulid-p2nKiiKg.d.ts → ulid-DAfenvFd.d.ts} +1 -1
- package/dist/{vault-group-W7QC4UYW.js → vault-group-KOM7QRJG.js} +3 -3
- package/dist/{with-derivation-C9K43BOB.d.cts → with-derivation-DBqJB3dQ.d.cts} +1 -1
- package/dist/{with-derivation-Ds9yZgCj.d.ts → with-derivation-OK9M2sJE.d.ts} +1 -1
- package/dist/{with-materialized-view-DwR4jkV5.d.ts → with-materialized-view-Dt-ufPWQ.d.ts} +1 -1
- package/dist/{with-materialized-view-DgQcAjYv.d.cts → with-materialized-view-NzuxYPDF.d.cts} +1 -1
- package/dist/{with-overlayed-view-7-rUB3vD.d.cts → with-overlayed-view-CC0_ocy-.d.cts} +1 -1
- package/dist/{with-overlayed-view-ByyhHdVr.d.ts → with-overlayed-view-eDvMs6LO.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-3EWA37FV.js.map +0 -1
- package/dist/chunk-ACKFRSAH.js.map +0 -1
- package/dist/chunk-KGCORI4L.js.map +0 -1
- package/dist/chunk-TV3YZ35S.js +0 -90
- package/dist/chunk-TV3YZ35S.js.map +0 -1
- package/dist/chunk-ZWTNWAO4.js.map +0 -1
- /package/dist/{chunk-UWNYBOOO.js.map → chunk-C5T5AFWN.js.map} +0 -0
- /package/dist/{chunk-YNTBADIY.js.map → chunk-CZI2A4MQ.js.map} +0 -0
- /package/dist/{chunk-NP6EZT44.js.map → chunk-IQLVUT37.js.map} +0 -0
- /package/dist/{chunk-4PEFEETV.js.map → chunk-KIP6JLTF.js.map} +0 -0
- /package/dist/{chunk-WIBHRONM.js.map → chunk-XWH4MXIU.js.map} +0 -0
- /package/dist/{executor-723ZP6TH.js.map → executor-HSSRXDOB.js.map} +0 -0
- /package/dist/{noydb-VZ4JVW55.js.map → noydb-GZGFBA4E.js.map} +0 -0
- /package/dist/{stale-7FRJVHN6.js.map → stale-JH67FU57.js.map} +0 -0
- /package/dist/{vault-group-W7QC4UYW.js.map → vault-group-KOM7QRJG.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as IndexStrategy } from '../lazy-builder-
|
|
2
|
-
export { C as COMPOSITE_DELIMITER, a as IDX_PREFIX, b as IndexState, c as IngestRow, L as LazyOrderBy, d as LazyQuery, e as LazyQuerySource, O as OrderedEntry, P as PersistedCollectionIndex, f as PersistedIndexDef, g as compositeKey, h as decodeIdxId, i as encodeIdxId, j as isIdxId } from '../lazy-builder-
|
|
3
|
-
export { C as CollectionIndexes, H as HashIndex, I as IndexDef } from '../predicate-
|
|
1
|
+
import { I as IndexStrategy } from '../lazy-builder-eYZzLEL1.cjs';
|
|
2
|
+
export { C as COMPOSITE_DELIMITER, a as IDX_PREFIX, b as IndexState, c as IngestRow, L as LazyOrderBy, d as LazyQuery, e as LazyQuerySource, O as OrderedEntry, P as PersistedCollectionIndex, f as PersistedIndexDef, g as compositeKey, h as decodeIdxId, i as encodeIdxId, j as isIdxId } from '../lazy-builder-eYZzLEL1.cjs';
|
|
3
|
+
export { C as CollectionIndexes, H as HashIndex, I as IndexDef } from '../predicate-BmhBSPCH.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Active indexing strategy factory. Calling `withIndexing()` returns
|
package/dist/indexing/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as IndexStrategy } from '../lazy-builder-
|
|
2
|
-
export { C as COMPOSITE_DELIMITER, a as IDX_PREFIX, b as IndexState, c as IngestRow, L as LazyOrderBy, d as LazyQuery, e as LazyQuerySource, O as OrderedEntry, P as PersistedCollectionIndex, f as PersistedIndexDef, g as compositeKey, h as decodeIdxId, i as encodeIdxId, j as isIdxId } from '../lazy-builder-
|
|
3
|
-
export { C as CollectionIndexes, H as HashIndex, I as IndexDef } from '../predicate-
|
|
1
|
+
import { I as IndexStrategy } from '../lazy-builder-ChSqcF5t.js';
|
|
2
|
+
export { C as COMPOSITE_DELIMITER, a as IDX_PREFIX, b as IndexState, c as IngestRow, L as LazyOrderBy, d as LazyQuery, e as LazyQuerySource, O as OrderedEntry, P as PersistedCollectionIndex, f as PersistedIndexDef, g as compositeKey, h as decodeIdxId, i as encodeIdxId, j as isIdxId } from '../lazy-builder-ChSqcF5t.js';
|
|
3
|
+
export { C as CollectionIndexes, H as HashIndex, I as IndexDef } from '../predicate-BmhBSPCH.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Active indexing strategy factory. Calling `withIndexing()` returns
|
package/dist/indexing/index.js
CHANGED
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
decodeIdxId,
|
|
8
8
|
encodeIdxId,
|
|
9
9
|
isIdxId
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-CZI2A4MQ.js";
|
|
11
11
|
import {
|
|
12
12
|
CollectionIndexes
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-XWH4MXIU.js";
|
|
14
|
+
import "../chunk-CJORTUJ2.js";
|
|
15
15
|
import "../chunk-535SSHBS.js";
|
|
16
16
|
|
|
17
17
|
// src/indexing/active.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as IndexDef, C as CollectionIndexes, F as FieldClause, O as Operator } from './predicate-
|
|
1
|
+
import { I as IndexDef, C as CollectionIndexes, F as FieldClause, O as Operator } from './predicate-BmhBSPCH.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Persistent, encrypted secondary indexes for lazy-mode collections.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as IndexDef, C as CollectionIndexes, F as FieldClause, O as Operator } from './predicate-
|
|
1
|
+
import { I as IndexDef, C as CollectionIndexes, F as FieldClause, O as Operator } from './predicate-BmhBSPCH.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Persistent, encrypted secondary indexes for lazy-mode collections.
|
|
@@ -727,9 +727,9 @@ function withMaterializedView(spec) {
|
|
|
727
727
|
throw new ValidationError("withMaterializedView: query must be a function returning a Query<T>");
|
|
728
728
|
}
|
|
729
729
|
if (spec.unionSources) {
|
|
730
|
-
if (spec.unionSources.length <
|
|
730
|
+
if (spec.unionSources.length < 1) {
|
|
731
731
|
throw new MaterializedViewConfigError(
|
|
732
|
-
"unionSources requires at least
|
|
732
|
+
"unionSources requires at least 1 source collection"
|
|
733
733
|
);
|
|
734
734
|
}
|
|
735
735
|
const seen = /* @__PURE__ */ new Set();
|