arrowbase 0.1.1
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 +27 -0
- package/COMPATIBILITY.md +398 -0
- package/LICENSE +21 -0
- package/MIGRATING.md +238 -0
- package/README.md +897 -0
- package/RELEASE_NOTES.md +68 -0
- package/dist/arrow.d.ts +93 -0
- package/dist/arrow.js +5366 -0
- package/dist/arrow.js.map +1 -0
- package/dist/broadcast.d.ts +173 -0
- package/dist/broadcast.js +319 -0
- package/dist/broadcast.js.map +1 -0
- package/dist/collection-DGlKgOGi.d.ts +1932 -0
- package/dist/idb.d.ts +146 -0
- package/dist/idb.js +6193 -0
- package/dist/idb.js.map +1 -0
- package/dist/index.d.ts +1802 -0
- package/dist/index.js +13924 -0
- package/dist/index.js.map +1 -0
- package/dist/query-CzV9E57Y.d.ts +279 -0
- package/dist/react.d.ts +51 -0
- package/dist/react.js +1633 -0
- package/dist/react.js.map +1 -0
- package/dist/tanstack.d.ts +51 -0
- package/dist/tanstack.js +191 -0
- package/dist/tanstack.js.map +1 -0
- package/dist/types-CSoU6uED.d.ts +50 -0
- package/package.json +139 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
First public npm release.
|
|
6
|
+
|
|
7
|
+
- Publishes six verified ESM entry points with declarations and provenance.
|
|
8
|
+
- Ships the all-green 294/294 compatibility catalog against
|
|
9
|
+
`@tanstack/db@0.6.16`.
|
|
10
|
+
- Adds columnar incremental live queries, spatial indexing, GeoArrow IPC,
|
|
11
|
+
persistence, cross-tab sync, and React bindings.
|
|
12
|
+
- Adds the hosted City Ops playground and correctness-gated benchmark suite.
|
|
13
|
+
- Hardens release automation, package contents, contribution guidance, and
|
|
14
|
+
private vulnerability reporting.
|
|
15
|
+
|
|
16
|
+
## 0.1.0
|
|
17
|
+
|
|
18
|
+
GitHub-only managed release for the @tanstack/db parity milestone.
|
|
19
|
+
|
|
20
|
+
- Ships the all-green 294/294 export compatibility catalog against
|
|
21
|
+
`@tanstack/db@0.6.16`.
|
|
22
|
+
- Adds TanStack DB migration docs, release notes, and head-to-head benchmark
|
|
23
|
+
coverage.
|
|
24
|
+
- Keeps ArrowBase columnar storage, snapshot/Arrow IPC, IndexedDB persistence,
|
|
25
|
+
BroadcastChannel sync, and React bindings available from published subpaths.
|
|
26
|
+
- Adds tag-driven GitHub release automation and optional npm publishing through
|
|
27
|
+
`NPM_TOKEN`.
|
package/COMPATIBILITY.md
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
# COMPATIBILITY.md — ArrowBase ↔ @tanstack/db
|
|
2
|
+
|
|
3
|
+
**Reference:** `@tanstack/db@0.6.16` (re-audit on every upstream release).
|
|
4
|
+
|
|
5
|
+
Generated by `scripts/build-compat.mjs` from the enumerated export
|
|
6
|
+
list in `/tmp/tanstack-exports.tsv`. Status column is maintained by hand.
|
|
7
|
+
|
|
8
|
+
## Legend
|
|
9
|
+
|
|
10
|
+
- ✅ — release parity. Named export exists in `arrowbase`, behaves
|
|
11
|
+
identically up to the documented tolerances in `GOAL.md §2`.
|
|
12
|
+
- 🟡 / 🚫 / ⚫ — retained for future upstream re-audits only;
|
|
13
|
+
this release catalog has no partial, missing, or non-goal rows.
|
|
14
|
+
|
|
15
|
+
**Totals:** 294 catalog rows are green. For 0.6.16,
|
|
16
|
+
`tests/compatibility.test.ts` additionally audits every runtime root export,
|
|
17
|
+
and `tests/query-builder-core.test.ts` requires exact 28/28 parity with the
|
|
18
|
+
upstream `operators` manifest. New 0.6.16 runtime exports include arithmetic
|
|
19
|
+
operators, `caseWhen`, `materialize`, collection/status helpers,
|
|
20
|
+
`safeRandomUUID`, and `UnsafeAliasPathError`.
|
|
21
|
+
|
|
22
|
+
## Collection (class + helpers)
|
|
23
|
+
|
|
24
|
+
| Export | Kind | Status | Layer | Note |
|
|
25
|
+
|---|---|---|---|---|
|
|
26
|
+
| `Collection` | interface | ✅ | B | B.1–B.8; see B.10 conformance. |
|
|
27
|
+
| `CollectionImpl` | class | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
28
|
+
| `createCollection` | function | ✅ | B | B.9; accepts compiled schema + capacity. StandardSchemaV1 path lands in Layer C. |
|
|
29
|
+
|
|
30
|
+
## Transactions
|
|
31
|
+
|
|
32
|
+
| Export | Kind | Status | Layer | Note |
|
|
33
|
+
|---|---|---|---|---|
|
|
34
|
+
| `createTransaction` | function | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
35
|
+
| `getActiveTransaction` | function | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
36
|
+
|
|
37
|
+
## Optimistic actions
|
|
38
|
+
|
|
39
|
+
| Export | Kind | Status | Layer | Note |
|
|
40
|
+
|---|---|---|---|---|
|
|
41
|
+
| `createOptimisticAction` | function | ✅ | E | E.5; optimistic action wrapper covered by transaction tests. |
|
|
42
|
+
|
|
43
|
+
## Local-only collection
|
|
44
|
+
|
|
45
|
+
| Export | Kind | Status | Layer | Note |
|
|
46
|
+
|---|---|---|---|---|
|
|
47
|
+
| `LocalOnlyCollectionConfig` | interface | ✅ | E | E.7; local-only collection options and acceptMutations utility covered by focused tests. |
|
|
48
|
+
| `localOnlyCollectionOptions` | function | ✅ | E | E.7; local-only collection options and acceptMutations utility covered by focused tests. |
|
|
49
|
+
| `LocalOnlyCollectionUtils` | interface | ✅ | E | E.7; local-only collection options and acceptMutations utility covered by focused tests. |
|
|
50
|
+
|
|
51
|
+
## Local-storage collection
|
|
52
|
+
|
|
53
|
+
| Export | Kind | Status | Layer | Note |
|
|
54
|
+
|---|---|---|---|---|
|
|
55
|
+
| `ClearStorageFn` | type | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
56
|
+
| `GetStorageSizeFn` | type | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
57
|
+
| `LocalStorageCollectionConfig` | interface | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
58
|
+
| `localStorageCollectionOptions` | function | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
59
|
+
| `LocalStorageCollectionUtils` | interface | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
60
|
+
| `Parser` | interface | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
61
|
+
| `StorageApi` | type | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
62
|
+
| `StorageEventApi` | type | ✅ | E | E.8; local-storage hydration, persistence, parser, event sync, and utility behavior covered by focused tests. |
|
|
63
|
+
|
|
64
|
+
## Paced mutations
|
|
65
|
+
|
|
66
|
+
| Export | Kind | Status | Layer | Note |
|
|
67
|
+
|---|---|---|---|---|
|
|
68
|
+
| `createPacedMutations` | function | ✅ | E | E.6; paced mutation behavior covered for coalescing and queue strategies. |
|
|
69
|
+
| `PacedMutationsConfig` | interface | ✅ | E | E.6; paced mutation behavior covered for coalescing and queue strategies. |
|
|
70
|
+
|
|
71
|
+
## Query surface
|
|
72
|
+
|
|
73
|
+
| Export | Kind | Status | Layer | Note |
|
|
74
|
+
|---|---|---|---|---|
|
|
75
|
+
| `add` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
76
|
+
| `and` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
77
|
+
| `ApplyJoinOptionalityToMergedSchema` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
78
|
+
| `avg` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
79
|
+
| `BaseQueryBuilder` | named | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
80
|
+
| `coalesce` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
81
|
+
| `caseWhen` | named | ✅ | C | 0.6.16 scalar expression helper; batch and differential behavior covered by query-method and columnar-live tests. |
|
|
82
|
+
| `compileExpression` | named | ✅ | C | C.5/C.6/C.10; compiler evaluator and one-shot query behavior covered by focused tests. |
|
|
83
|
+
| `compileQuery` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
84
|
+
| `compileSingleRowExpression` | named | ✅ | C | C.5/C.6/C.10; compiler evaluator and one-shot query behavior covered by focused tests. |
|
|
85
|
+
| `concat` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
86
|
+
| `Context` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
87
|
+
| `ContextSchema` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
88
|
+
| `count` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
89
|
+
| `createLiveQueryCollection` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
90
|
+
| `DeduplicatedLoadSubset` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
91
|
+
| `eq` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
92
|
+
| `divide` | named | ✅ | C | 0.6.16 arithmetic expression helper; batch and differential behavior covered by query-method and columnar-live tests. |
|
|
93
|
+
| `ExtractContext` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
94
|
+
| `extractFieldPath` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
95
|
+
| `extractSimpleComparisons` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
96
|
+
| `extractValue` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
97
|
+
| `FieldPath` | type | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
98
|
+
| `FunctionalHavingRow` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
99
|
+
| `GetResult` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
100
|
+
| `GroupByCallback` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
101
|
+
| `gt` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
102
|
+
| `gte` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
103
|
+
| `ilike` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
104
|
+
| `inArray` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
105
|
+
| `InferCollectionType` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
106
|
+
| `InferResultType` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
107
|
+
| `InitialQueryBuilder` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
108
|
+
| `isLimitSubset` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
109
|
+
| `isNull` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
110
|
+
| `isOffsetLimitSubset` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
111
|
+
| `isOrderBySubset` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
112
|
+
| `isPredicateSubset` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
113
|
+
| `isUndefined` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
114
|
+
| `isWhereSubset` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
115
|
+
| `JoinOnCallback` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
116
|
+
| `length` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
117
|
+
| `like` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
118
|
+
| `LiveQueryCollectionConfig` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
119
|
+
| `liveQueryCollectionOptions` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
120
|
+
| `LiveQueryCollectionUtils` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
121
|
+
| `lower` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
122
|
+
| `lt` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
123
|
+
| `lte` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
124
|
+
| `max` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
125
|
+
| `materialize` | named | ✅ | C | 0.6.16 includes helper; array and single-result materialization covered by compiler tests. |
|
|
126
|
+
| `MergeContextForJoinCallback` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
127
|
+
| `MergeContextWithJoinType` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
128
|
+
| `min` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
129
|
+
| `multiply` | named | ✅ | C | 0.6.16 arithmetic expression helper; batch and differential behavior covered by query-method and columnar-live tests. |
|
|
130
|
+
| `minusWherePredicates` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
131
|
+
| `not` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
132
|
+
| `or` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
133
|
+
| `OrderByCallback` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
134
|
+
| `ParsedOrderBy` | interface | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
135
|
+
| `parseLoadSubsetOptions` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
136
|
+
| `parseOrderByExpression` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
137
|
+
| `parseWhereExpression` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
138
|
+
| `ParseWhereOptions` | interface | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
139
|
+
| `Prettify` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
140
|
+
| `Query` | named | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
141
|
+
| `QueryBuilder` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
142
|
+
| `queryOnce` | named | ✅ | C | C.5/C.6/C.10; compiler evaluator and one-shot query behavior covered by focused tests. |
|
|
143
|
+
| `QueryOnceConfig` | type | ✅ | C | C.5/C.6/C.10; compiler evaluator and one-shot query behavior covered by focused tests. |
|
|
144
|
+
| `QueryResult` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
145
|
+
| `RefsForContext` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
146
|
+
| `ResultTypeFromSelect` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
147
|
+
| `SchemaFromSource` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
148
|
+
| `SelectObject` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
149
|
+
| `SimpleComparison` | interface | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
150
|
+
| `Source` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
151
|
+
| `sum` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
152
|
+
| `subtract` | named | ✅ | C | 0.6.16 arithmetic expression helper; batch and differential behavior covered by query-method and columnar-live tests. |
|
|
153
|
+
| `toArray` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
154
|
+
| `toBooleanPredicate` | named | ✅ | C | C.5/C.6/C.10; compiler evaluator and one-shot query behavior covered by focused tests. |
|
|
155
|
+
| `unionWherePredicates` | named | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
156
|
+
| `upper` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
157
|
+
| `walkExpression` | function | ✅ | C | C.12; expression-helper parity with @tanstack/db/query/expression-helpers. |
|
|
158
|
+
| `WhereCallback` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
159
|
+
| `WithResult` | type | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
160
|
+
|
|
161
|
+
## Scheduler strategies
|
|
162
|
+
|
|
163
|
+
| Export | Kind | Status | Layer | Note |
|
|
164
|
+
|---|---|---|---|---|
|
|
165
|
+
| `debounceStrategy` | named | ✅ | H | H.2; scheduler strategy timing and queue persistence behavior covered by focused parity tests. |
|
|
166
|
+
| `queueStrategy` | named | ✅ | H | H.2; scheduler strategy timing and queue persistence behavior covered by focused parity tests. |
|
|
167
|
+
| `throttleStrategy` | named | ✅ | H | H.2; scheduler strategy timing and queue persistence behavior covered by focused parity tests. |
|
|
168
|
+
|
|
169
|
+
## SortedMap
|
|
170
|
+
|
|
171
|
+
| Export | Kind | Status | Layer | Note |
|
|
172
|
+
|---|---|---|---|---|
|
|
173
|
+
| `SortedMap` | class | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
174
|
+
|
|
175
|
+
## Proxy utilities
|
|
176
|
+
|
|
177
|
+
| Export | Kind | Status | Layer | Note |
|
|
178
|
+
|---|---|---|---|---|
|
|
179
|
+
| `createArrayChangeProxy` | function | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
180
|
+
| `createChangeProxy` | function | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
181
|
+
| `withArrayChangeTracking` | function | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
182
|
+
| `withChangeTracking` | function | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
183
|
+
|
|
184
|
+
## Errors
|
|
185
|
+
|
|
186
|
+
| Export | Kind | Status | Layer | Note |
|
|
187
|
+
|---|---|---|---|---|
|
|
188
|
+
| `AggregateFunctionNotInSelectError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
189
|
+
| `AggregateNotSupportedError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
190
|
+
| `CannotCombineEmptyExpressionListError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
191
|
+
| `CollectionConfigurationError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
192
|
+
| `CollectionInErrorStateError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
193
|
+
| `CollectionInputNotFoundError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
194
|
+
| `CollectionIsInErrorStateError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
195
|
+
| `CollectionOperationError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
196
|
+
| `CollectionRequiresConfigError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
197
|
+
| `CollectionRequiresSyncConfigError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
198
|
+
| `CollectionStateError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
199
|
+
| `DeleteKeyNotFoundError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
200
|
+
| `DistinctRequiresSelectError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
201
|
+
| `DuplicateAliasInSubqueryError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
202
|
+
| `DuplicateDbInstanceError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
203
|
+
| `DuplicateKeyError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
204
|
+
| `DuplicateKeySyncError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
205
|
+
| `EmptyReferencePathError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
206
|
+
| `FnSelectWithGroupByError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
207
|
+
| `GroupByError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
208
|
+
| `HavingRequiresGroupByError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
209
|
+
| `InvalidCollectionStatusTransitionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
210
|
+
| `InvalidJoinCondition` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
211
|
+
| `InvalidJoinConditionLeftSourceError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
212
|
+
| `InvalidJoinConditionRightSourceError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
213
|
+
| `InvalidJoinConditionSameSourceError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
214
|
+
| `InvalidJoinConditionSourceMismatchError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
215
|
+
| `InvalidKeyError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
216
|
+
| `InvalidSchemaError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
217
|
+
| `InvalidSourceError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
218
|
+
| `InvalidSourceTypeError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
219
|
+
| `InvalidStorageDataFormatError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
220
|
+
| `InvalidStorageObjectFormatError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
221
|
+
| `InvalidWhereExpressionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
222
|
+
| `JoinCollectionNotFoundError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
223
|
+
| `JoinConditionMustBeEqualityError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
224
|
+
| `JoinError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
225
|
+
| `KeyUpdateNotAllowedError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
226
|
+
| `LimitOffsetRequireOrderByError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
227
|
+
| `LocalStorageCollectionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
228
|
+
| `MissingAliasInputsError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
229
|
+
| `MissingDeleteHandlerError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
230
|
+
| `MissingHandlerError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
231
|
+
| `MissingInsertHandlerError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
232
|
+
| `MissingMutationFunctionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
233
|
+
| `MissingUpdateArgumentError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
234
|
+
| `MissingUpdateHandlerError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
235
|
+
| `NegativeActiveSubscribersError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
236
|
+
| `NoKeysPassedToDeleteError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
237
|
+
| `NoKeysPassedToUpdateError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
238
|
+
| `NonAggregateExpressionNotInGroupByError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
239
|
+
| `NonRetriableError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
240
|
+
| `NoPendingSyncTransactionCommitError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
241
|
+
| `NoPendingSyncTransactionWriteError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
242
|
+
| `OnlyOneSourceAllowedError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
243
|
+
| `OnMutateMustBeSynchronousError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
244
|
+
| `QueryBuilderError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
245
|
+
| `QueryCompilationError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
246
|
+
| `QueryMustHaveFromClauseError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
247
|
+
| `QueryOptimizerError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
248
|
+
| `SchemaMustBeSynchronousError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
249
|
+
| `SchemaValidationError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
250
|
+
| `SerializationError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
251
|
+
| `SetWindowRequiresOrderByError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
252
|
+
| `StorageError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
253
|
+
| `StorageKeyRequiredError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
254
|
+
| `SubQueryMustHaveFromClauseError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
255
|
+
| `SubscriptionNotFoundError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
256
|
+
| `SyncCleanupError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
257
|
+
| `SyncTransactionAlreadyCommittedError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
258
|
+
| `SyncTransactionAlreadyCommittedWriteError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
259
|
+
| `TanStackDBError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
260
|
+
| `TransactionAlreadyCompletedRollbackError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
261
|
+
| `TransactionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
262
|
+
| `TransactionNotPendingCommitError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
263
|
+
| `TransactionNotPendingMutateError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
264
|
+
| `UndefinedKeyError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
265
|
+
| `UnknownExpressionTypeError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
266
|
+
| `UnknownFunctionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
267
|
+
| `UnknownHavingExpressionTypeError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
268
|
+
| `UnsupportedAggregateFunctionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
269
|
+
| `UnsupportedFromTypeError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
270
|
+
| `UnsupportedJoinSourceTypeError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
271
|
+
| `UnsupportedJoinTypeError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
272
|
+
| `UnsupportedRootScalarSelectError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
273
|
+
| `UpdateKeyNotFoundError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
274
|
+
| `WhereClauseConversionError` | class | ✅ | H | H.2; TanStack error runtime names are root-exported and core constructors are parity-tested. |
|
|
275
|
+
|
|
276
|
+
## Core types
|
|
277
|
+
|
|
278
|
+
| Export | Kind | Status | Layer | Note |
|
|
279
|
+
|---|---|---|---|---|
|
|
280
|
+
| `BaseCollectionConfig` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
281
|
+
| `ChangeListener` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
282
|
+
| `ChangeMessage` | interface | ✅ | B | B.3; field-for-field shape. |
|
|
283
|
+
| `ChangeMessageOrDeleteKeyMessage` | type | ✅ | B | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
284
|
+
| `ChangesPayload` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
285
|
+
| `CleanupFn` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
286
|
+
| `CollectionConfig` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
287
|
+
| `CollectionConfigSingleRowOption` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
288
|
+
| `CollectionLike` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
289
|
+
| `CollectionStatus` | type | ✅ | B | B.2. |
|
|
290
|
+
| `CreateOptimisticActionsOptions` | interface | ✅ | E | E.5; optimistic action wrapper covered by transaction tests. |
|
|
291
|
+
| `CurrentStateAsChangesOptions` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
292
|
+
| `CursorExpressions` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
293
|
+
| `DeleteKeyMessage` | type | ✅ | B | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
294
|
+
| `DeleteMutationFn` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
295
|
+
| `DeleteMutationFnParams` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
296
|
+
| `Fn` | type | ✅ | B | B.7. |
|
|
297
|
+
| `InferSchemaInput` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
298
|
+
| `InferSchemaOutput` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
299
|
+
| `InputRow` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
300
|
+
| `InsertConfig` | interface | ✅ | B | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
301
|
+
| `InsertMutationFn` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
302
|
+
| `InsertMutationFnParams` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
303
|
+
| `KeyedNamespacedRow` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
304
|
+
| `KeyedStream` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
305
|
+
| `LoadSubsetFn` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
306
|
+
| `LoadSubsetOptions` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
307
|
+
| `MakeOptional` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
308
|
+
| `MaybeSingleResult` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
309
|
+
| `MutationFn` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
310
|
+
| `MutationFnParams` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
311
|
+
| `NamespacedAndKeyedStream` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
312
|
+
| `NamespacedRow` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
313
|
+
| `NonEmptyArray` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
314
|
+
| `NonSingleResult` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
315
|
+
| `OperationConfig` | interface | ✅ | B | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
316
|
+
| `OperationType` | type | ✅ | B | B.3. |
|
|
317
|
+
| `OptimisticChangeMessage` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
318
|
+
| `PendingMutation` | interface | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
319
|
+
| `ResolveTransactionChanges` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
320
|
+
| `ResultStream` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
321
|
+
| `Row` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
322
|
+
| `SingleResult` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
323
|
+
| `StandardSchema` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
324
|
+
| `StandardSchemaAlias` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
325
|
+
| `StringCollationConfig` | type | ✅ | B | B.7; stored on Collection, consumed by Layer-C orderBy. |
|
|
326
|
+
| `SubscribeChangesOptions` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
327
|
+
| `SubscribeChangesSnapshotOptions` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
328
|
+
| `Subscription` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
329
|
+
| `SubscriptionEvents` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
330
|
+
| `SubscriptionStatus` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
331
|
+
| `SubscriptionStatusChangeEvent` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
332
|
+
| `SubscriptionStatusEvent` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
333
|
+
| `SubscriptionUnsubscribedEvent` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
334
|
+
| `SyncConfig` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
335
|
+
| `SyncConfigRes` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
336
|
+
| `SyncMetadataApi` | interface | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
337
|
+
| `SyncMode` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
338
|
+
| `TransactionConfig` | interface | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
339
|
+
| `TransactionState` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
340
|
+
| `TransactionWithMutations` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
341
|
+
| `UnloadSubsetFn` | type | ✅ | C | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
342
|
+
| `UpdateMutationFn` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
343
|
+
| `UpdateMutationFnParams` | type | ✅ | E | E.2-E.4/E.9; transaction lifecycle, ambient scope, optimistic collection wiring, and mutation streams covered by focused + differential tests. |
|
|
344
|
+
| `UtilsRecord` | type | ✅ | B | B.7. |
|
|
345
|
+
| `WritableDeep` | type | ✅ | B | I.4 release review: covered by export audit, conformance, differential/golden tests, and GOAL.md documented tolerances. |
|
|
346
|
+
|
|
347
|
+
## Top-level re-exports
|
|
348
|
+
|
|
349
|
+
| Export | Kind | Status | Layer | Note |
|
|
350
|
+
|---|---|---|---|---|
|
|
351
|
+
| `BaseIndex` | named | ✅ | D | D.1-D.6; index classes/options shipped, maintained live through collection mutations, and benchmarked. |
|
|
352
|
+
| `BasicIndex` | named | ✅ | D | D.1-D.6; index classes/options shipped, maintained live through collection mutations, and benchmarked. |
|
|
353
|
+
| `BTreeIndex` | named | ✅ | D | D.1-D.6; index classes/options shipped, maintained live through collection mutations, and benchmarked. |
|
|
354
|
+
| `clearQueryPatterns` | named | ✅ | D | D.3-D.6; dev-mode registry shipped with defensive-copy tests and auto-index integration. |
|
|
355
|
+
| `configureIndexDevMode` | named | ✅ | D | D.3-D.6; dev-mode registry shipped with defensive-copy tests and auto-index integration. |
|
|
356
|
+
| `createEffect` | named | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
357
|
+
| `deepEquals` | named | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
358
|
+
| `DeltaEvent` | type | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
359
|
+
| `DeltaType` | type | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
360
|
+
| `Effect` | type | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
361
|
+
| `EffectConfig` | type | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
362
|
+
| `EffectContext` | type | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
363
|
+
| `EffectQueryInput` | type | ✅ | H | H.2; createEffect delta dispatch, batching, skipInitial, cleanup, and async error handling covered by focused tests. |
|
|
364
|
+
| `findIndexForField` | named | ✅ | D | D.2-D.6; optimizer indexed path covered by focused, differential, and benchmark tests. |
|
|
365
|
+
| `getIndexDevModeConfig` | named | ✅ | D | D.3-D.6; dev-mode registry shipped with defensive-copy tests and auto-index integration. |
|
|
366
|
+
| `getQueryPatterns` | named | ✅ | D | D.3-D.6; dev-mode registry shipped with defensive-copy tests and auto-index integration. |
|
|
367
|
+
| `hasVirtualProps` | named | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
368
|
+
| `IndexOptions` | type | ✅ | D | D.1-D.6; index classes/options shipped, maintained live through collection mutations, and benchmarked. |
|
|
369
|
+
| `IR` | local | ✅ | C | C.4/C.11; builder runtime + structural conformance for claimed Layer-C query subset. |
|
|
370
|
+
| `isDevModeEnabled` | named | ✅ | D | D.3-D.6; dev-mode registry shipped with defensive-copy tests and auto-index integration. |
|
|
371
|
+
| `OperatorName` | type | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
372
|
+
| `operators` | named | ✅ | C | C.3/C.10; expression helper signatures and runtime behavior covered by query-method tests. |
|
|
373
|
+
| `optimizeExpressionWithIndexes` | named | ✅ | D | D.2-D.6; optimizer indexed path covered by focused, differential, and benchmark tests. |
|
|
374
|
+
| `ReverseIndex` | named | ✅ | D | D.1-D.6; index classes/options shipped, maintained live through collection mutations, and benchmarked. |
|
|
375
|
+
| `trackQuery` | named | ✅ | D | D.3-D.6; dev-mode registry shipped with defensive-copy tests and auto-index integration. |
|
|
376
|
+
| `VirtualOrigin` | type | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
377
|
+
| `VirtualRowProps` | type | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
378
|
+
| `WithoutVirtualProps` | type | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
379
|
+
| `WithVirtualProps` | type | ✅ | H | H.2; virtual row, deepEquals, SortedMap, and proxy-change behavior covered against @tanstack/db. |
|
|
380
|
+
|
|
381
|
+
## Summary by area
|
|
382
|
+
|
|
383
|
+
| Area | Count | ✅ | 🟡 | 🚫 | ⚫ |
|
|
384
|
+
|---|---|---|---|---|---|
|
|
385
|
+
| Collection (class + helpers) | 3 | 3 | 0 | 0 | 0 |
|
|
386
|
+
| Transactions | 2 | 2 | 0 | 0 | 0 |
|
|
387
|
+
| Optimistic actions | 1 | 1 | 0 | 0 | 0 |
|
|
388
|
+
| Local-only collection | 3 | 3 | 0 | 0 | 0 |
|
|
389
|
+
| Local-storage collection | 8 | 8 | 0 | 0 | 0 |
|
|
390
|
+
| Paced mutations | 2 | 2 | 0 | 0 | 0 |
|
|
391
|
+
| Query surface | 85 | 85 | 0 | 0 | 0 |
|
|
392
|
+
| Scheduler strategies | 3 | 3 | 0 | 0 | 0 |
|
|
393
|
+
| SortedMap | 1 | 1 | 0 | 0 | 0 |
|
|
394
|
+
| Proxy utilities | 4 | 4 | 0 | 0 | 0 |
|
|
395
|
+
| Errors | 87 | 87 | 0 | 0 | 0 |
|
|
396
|
+
| Core types | 66 | 66 | 0 | 0 | 0 |
|
|
397
|
+
| Top-level re-exports | 29 | 29 | 0 | 0 | 0 |
|
|
398
|
+
| **Total** | **294** | **294** | **0** | **0** | **0** |
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 natan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|