@rotorsoft/act-tck 1.38.26 → 1.38.27
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/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/store-tck.d.ts +11 -18
- package/dist/@types/store-tck.d.ts.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -68,29 +68,22 @@ export type StoreCapabilities = {
|
|
|
68
68
|
*/
|
|
69
69
|
readonly source_matches?: boolean;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* index-friendly path.
|
|
78
|
-
*
|
|
79
|
-
* Stores that cannot run an arbitrary regex against candidate streams
|
|
80
|
-
* (e.g. SQLite, whose libsql build has no `REGEXP` and whose portable
|
|
81
|
-
* `LIKE` grammar cannot express alternation/grouping) leave this
|
|
82
|
-
* `false` and instead reject a non-portable claim source at
|
|
83
|
-
* {@link subscribe} time — see {@link rejects_nonportable_claim_source}.
|
|
71
|
+
* Gates nothing. `claim` reads only the subscription row and never
|
|
72
|
+
* matches a `source`; correlate does, so a **pattern** source (e.g. the
|
|
73
|
+
* calculator's `^(A|B)$`) works on every adapter that accepts it at
|
|
74
|
+
* {@link subscribe}. Kept so specs that set it still compile. Stores that
|
|
75
|
+
* cannot run an arbitrary regex reject a non-portable source at subscribe
|
|
76
|
+
* instead; see {@link rejects_nonportable_claim_source}.
|
|
84
77
|
*/
|
|
85
78
|
readonly pattern_claim_source?: boolean;
|
|
86
79
|
/**
|
|
87
|
-
* Adapter cannot faithfully match every regex
|
|
88
|
-
* fails loud at registration: {@link subscribe} throws
|
|
80
|
+
* Adapter cannot faithfully match every regex `source` when the drain
|
|
81
|
+
* fetches a stream's events, so it fails loud at registration: {@link subscribe} throws
|
|
89
82
|
* {@link ValidationError} for a source outside its portable subset
|
|
90
83
|
* (alternation/grouping like `^(A|B)$`), rather than silently never
|
|
91
|
-
*
|
|
84
|
+
* fetching them. When `true`, the TCK runs the reject-at-subscribe
|
|
92
85
|
* case. Currently only SQLite sets this — its message points operators
|
|
93
|
-
* to InMemory/PG for full regex
|
|
86
|
+
* to InMemory/PG for full regex sources.
|
|
94
87
|
*/
|
|
95
88
|
readonly rejects_nonportable_claim_source?: boolean;
|
|
96
89
|
/**
|
|
@@ -171,7 +164,7 @@ export type StoreTckOptions = {
|
|
|
171
164
|
* `ValidationError` — never a silent approximation
|
|
172
165
|
* - `subscribe` — idempotent re-subscribe, watermark return value
|
|
173
166
|
* - `claim` / `ack` — lease lifecycle, dual frontiers, leased streams
|
|
174
|
-
* not double-claimed, exact-source
|
|
167
|
+
* not double-claimed, exact-source fetch, timed-out-lease
|
|
175
168
|
* retry accounting
|
|
176
169
|
* - `block` — blocked streams hidden from claim, only same-drainer can block
|
|
177
170
|
* - `reset` — restart watermarks (including blocked), no-op for missing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-tck.d.ts","sourceRoot":"","sources":["../../src/store-tck.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAQV,KAAK,EAIN,MAAM,sBAAsB,CAAC;AAe9B;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;;;;;OASG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;;;;;OAQG;IACH,QAAQ,CAAC,cAAc,CA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