@haverstack/core 0.42.0 → 0.43.0
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 +5 -7
- package/dist/access.d.ts +30 -32
- package/dist/access.d.ts.map +1 -1
- package/dist/access.js +40 -98
- package/dist/access.js.map +1 -1
- package/dist/adapter/combine.d.ts.map +1 -1
- package/dist/adapter/combine.js +11 -3
- package/dist/adapter/combine.js.map +1 -1
- package/dist/adapter/index.d.ts +6 -4
- package/dist/adapter/index.d.ts.map +1 -1
- package/dist/adapter/index.js +4 -3
- package/dist/adapter/index.js.map +1 -1
- package/dist/adapter/reach.d.ts +14 -0
- package/dist/adapter/reach.d.ts.map +1 -0
- package/dist/adapter/reach.js +31 -0
- package/dist/adapter/reach.js.map +1 -0
- package/dist/associations/identity.d.ts +18 -42
- package/dist/associations/identity.d.ts.map +1 -1
- package/dist/associations/identity.js +60 -84
- package/dist/associations/identity.js.map +1 -1
- package/dist/associations/validation.d.ts +1 -8
- package/dist/associations/validation.d.ts.map +1 -1
- package/dist/associations/validation.js +3 -30
- package/dist/associations/validation.js.map +1 -1
- package/dist/collection.d.ts +7 -11
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +24 -34
- package/dist/collection.js.map +1 -1
- package/dist/content-match.d.ts +2 -2
- package/dist/content-match.js +2 -2
- package/dist/errors.d.ts +23 -8
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +28 -9
- package/dist/errors.js.map +1 -1
- package/dist/grants.d.ts +3 -3
- package/dist/grants.d.ts.map +1 -1
- package/dist/grants.js +4 -21
- package/dist/grants.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lazy.d.ts +13 -0
- package/dist/lazy.d.ts.map +1 -0
- package/dist/lazy.js +27 -0
- package/dist/lazy.js.map +1 -0
- package/dist/merge.d.ts +1 -1
- package/dist/merge.js +1 -1
- package/dist/query-validation.d.ts +41 -28
- package/dist/query-validation.d.ts.map +1 -1
- package/dist/query-validation.js +85 -71
- package/dist/query-validation.js.map +1 -1
- package/dist/record-changes.d.ts +12 -36
- package/dist/record-changes.d.ts.map +1 -1
- package/dist/record-changes.js +9 -98
- package/dist/record-changes.js.map +1 -1
- package/dist/scoped-stack/authority-snapshot.d.ts +37 -0
- package/dist/scoped-stack/authority-snapshot.d.ts.map +1 -0
- package/dist/scoped-stack/authority-snapshot.js +49 -0
- package/dist/scoped-stack/authority-snapshot.js.map +1 -0
- package/dist/scoped-stack/authority.d.ts +51 -38
- package/dist/scoped-stack/authority.d.ts.map +1 -1
- package/dist/scoped-stack/authority.js +160 -136
- package/dist/scoped-stack/authority.js.map +1 -1
- package/dist/scoped-stack/family-policy.d.ts +59 -0
- package/dist/scoped-stack/family-policy.d.ts.map +1 -0
- package/dist/scoped-stack/family-policy.js +68 -0
- package/dist/scoped-stack/family-policy.js.map +1 -0
- package/dist/scoped-stack/scoped-stack.d.ts +66 -86
- package/dist/scoped-stack/scoped-stack.d.ts.map +1 -1
- package/dist/scoped-stack/scoped-stack.js +243 -324
- package/dist/scoped-stack/scoped-stack.js.map +1 -1
- package/dist/scoped-stack/subscription.d.ts +14 -33
- package/dist/scoped-stack/subscription.d.ts.map +1 -1
- package/dist/scoped-stack/subscription.js +16 -57
- package/dist/scoped-stack/subscription.js.map +1 -1
- package/dist/stack/arguments.d.ts +27 -0
- package/dist/stack/arguments.d.ts.map +1 -0
- package/dist/stack/arguments.js +53 -0
- package/dist/stack/arguments.js.map +1 -0
- package/dist/stack/attachments.d.ts +1 -1
- package/dist/stack/attachments.js +1 -1
- package/dist/stack/changes.d.ts +4 -10
- package/dist/stack/changes.d.ts.map +1 -1
- package/dist/stack/changes.js +8 -8
- package/dist/stack/changes.js.map +1 -1
- package/dist/stack/client.d.ts +34 -58
- package/dist/stack/client.d.ts.map +1 -1
- package/dist/stack/install-app.d.ts.map +1 -1
- package/dist/stack/install-app.js +7 -5
- package/dist/stack/install-app.js.map +1 -1
- package/dist/stack/integrity.js +2 -2
- package/dist/stack/integrity.js.map +1 -1
- package/dist/stack/limits.d.ts +1 -1
- package/dist/stack/limits.js +1 -1
- package/dist/stack/reads.d.ts +9 -5
- package/dist/stack/reads.d.ts.map +1 -1
- package/dist/stack/reads.js +24 -4
- package/dist/stack/reads.js.map +1 -1
- package/dist/stack/stack.d.ts +77 -71
- package/dist/stack/stack.d.ts.map +1 -1
- package/dist/stack/stack.js +229 -256
- package/dist/stack/stack.js.map +1 -1
- package/dist/stack/type-grants.d.ts.map +1 -1
- package/dist/stack/type-grants.js +4 -4
- package/dist/stack/type-grants.js.map +1 -1
- package/dist/stack/write-expectation.d.ts +13 -12
- package/dist/stack/write-expectation.d.ts.map +1 -1
- package/dist/stack/write-expectation.js.map +1 -1
- package/dist/stack/write-gate.d.ts +23 -0
- package/dist/stack/write-gate.d.ts.map +1 -0
- package/dist/stack/write-gate.js +17 -0
- package/dist/stack/write-gate.js.map +1 -0
- package/dist/testing.d.ts +25 -9
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +147 -123
- package/dist/testing.js.map +1 -1
- package/dist/types/adapter.d.ts +90 -31
- package/dist/types/adapter.d.ts.map +1 -1
- package/dist/types/associations.d.ts +1 -17
- package/dist/types/associations.d.ts.map +1 -1
- package/dist/types/associations.js +1 -8
- package/dist/types/associations.js.map +1 -1
- package/dist/types/capabilities.d.ts +8 -8
- package/dist/types/capabilities.d.ts.map +1 -1
- package/dist/types/events.d.ts +3 -8
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/query.d.ts +4 -4
- package/dist/types/system.d.ts +1 -1
- package/dist/validate.d.ts +2 -0
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +2 -1
- package/dist/validate.js.map +1 -1
- package/dist/wire/body.d.ts +32 -9
- package/dist/wire/body.d.ts.map +1 -1
- package/dist/wire/body.js +69 -8
- package/dist/wire/body.js.map +1 -1
- package/dist/wire/index.d.ts +4 -4
- package/dist/wire/index.d.ts.map +1 -1
- package/dist/wire/index.js +3 -3
- package/dist/wire/index.js.map +1 -1
- package/dist/wire/record.d.ts +1 -8
- package/dist/wire/record.d.ts.map +1 -1
- package/dist/wire/record.js +0 -48
- package/dist/wire/record.js.map +1 -1
- package/dist/wire/request.d.ts +18 -18
- package/dist/wire/request.d.ts.map +1 -1
- package/dist/wire/request.js +41 -36
- package/dist/wire/request.js.map +1 -1
- package/package.json +1 -1
package/dist/stack/stack.d.ts
CHANGED
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
*
|
|
17
17
|
* Apps should never talk to a StackAdapter directly.
|
|
18
18
|
*/
|
|
19
|
-
import type { StackRecord, StackType, TypeSchema, TypeId, BaseId, StackAdapter, StackQuery, QueryResult, AssociationEdit, AuthorityAssociation, DataAssociation, RecordVersion, StackCapabilities, IfVersionOptions, GrantContent, TypeGrant, PutAttachmentOptions, AttachmentContent, FileId, EntityId, AppId, InstallContent, RecordId, Actor, ActorOptions, RecordChange,
|
|
19
|
+
import type { StackRecord, StackType, TypeSchema, TypeId, BaseId, StackAdapter, StackQuery, QueryResult, AssociationEdit, AuthorityAssociation, DataAssociation, RecordVersion, StackCapabilities, IfVersionOptions, GrantContent, TypeGrant, PutAttachmentOptions, AttachmentContent, FileId, EntityId, AppId, InstallContent, RecordId, Actor, ActorOptions, RecordChange, SubscribeOptions, Unsubscribe, JournalQuery, VersionsQuery, RecordJournalEntry } from '../types/index.js';
|
|
20
20
|
import type { GrantQuery } from '../grants.js';
|
|
21
21
|
import type { AppManifest, InstallPlan } from '../install.js';
|
|
22
22
|
import { ScopedStack } from '../scoped-stack/scoped-stack.js';
|
|
23
|
-
import type { BackdatableCreateRecordOptions, CollectAttachmentGarbageOptions, CollectAttachmentGarbageResult, DefineTypeOptions,
|
|
23
|
+
import type { BackdatableCreateRecordOptions, CollectAttachmentGarbageOptions, CollectAttachmentGarbageResult, DefineTypeOptions, DeleteRecordOptions, DeleteResult, GetRecordOptions, MigrateAllOptions, StackClient, StackOptions } from './client.js';
|
|
24
24
|
import type { ExpectationOptions } from './write-expectation.js';
|
|
25
|
+
import type { GateOptions } from './write-gate.js';
|
|
25
26
|
import type { ContentOf, ReadonlyTypeSchema, TypeHandle } from '../type-handle.js';
|
|
26
27
|
import type { Collection } from '../collection.js';
|
|
27
28
|
export declare class Stack implements StackClient {
|
|
@@ -47,7 +48,7 @@ export declare class Stack implements StackClient {
|
|
|
47
48
|
/**
|
|
48
49
|
* Announce a mutation that has already been persisted. Called after the
|
|
49
50
|
* adapter write resolves and before the mutating method settles, so
|
|
50
|
-
* `await stack.
|
|
51
|
+
* `await stack.patchContent(...)` guarantees subscribers have been notified —
|
|
51
52
|
* and nothing about work they deferred. A handler cannot fail the write:
|
|
52
53
|
* there is nothing left to fail. See docs/spec/events.md § Handlers.
|
|
53
54
|
*/
|
|
@@ -91,6 +92,12 @@ export declare class Stack implements StackClient {
|
|
|
91
92
|
* See docs/spec/access-control.md § Delegation: principal and subject.
|
|
92
93
|
*/
|
|
93
94
|
asActor(actor: Actor): ScopedStack;
|
|
95
|
+
/**
|
|
96
|
+
* A scoped view needs a stack that owns its storage: one whose adapter
|
|
97
|
+
* queries within a reach and relays no changes from elsewhere. A
|
|
98
|
+
* server-backed stack is scoped by the session that opened it instead.
|
|
99
|
+
* See docs/spec/access-control.md § Enforcement: Stack.asEntity().
|
|
100
|
+
*/
|
|
94
101
|
private scope;
|
|
95
102
|
collection<S extends ReadonlyTypeSchema>(handle: TypeHandle<S>): Collection<ContentOf<S>>;
|
|
96
103
|
/**
|
|
@@ -136,67 +143,71 @@ export declare class Stack implements StackClient {
|
|
|
136
143
|
*/
|
|
137
144
|
get(id: RecordId, opts?: GetRecordOptions): Promise<StackRecord | null>;
|
|
138
145
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* against the record's current stored type.
|
|
146
|
+
* Merge a patch into a record's content, checked against its current
|
|
147
|
+
* stored type. A patch the content already satisfies writes nothing.
|
|
142
148
|
* See docs/spec/data-model.md § Mutations.
|
|
143
149
|
*/
|
|
144
|
-
|
|
150
|
+
patchContent(id: RecordId, patch: Record<string, unknown | null>, opts?: IfVersionOptions & ActorOptions & ExpectationOptions): Promise<StackRecord>;
|
|
145
151
|
/**
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
152
|
+
* Every check a content patch owes, all before anything is written.
|
|
153
|
+
* Returns the merged content, which the caller compares to decide whether
|
|
154
|
+
* content moved.
|
|
149
155
|
*/
|
|
150
|
-
|
|
156
|
+
private validatePatch;
|
|
151
157
|
/**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
158
|
+
* Move a record under another, or to the root with `null`. The
|
|
159
|
+
* destination is checked only when it changes: it has to exist, and the
|
|
160
|
+
* move must not make the record its own ancestor.
|
|
161
|
+
* See docs/spec/data-model.md § Reparenting.
|
|
155
162
|
*/
|
|
156
|
-
|
|
163
|
+
setParent(id: RecordId, parentId: RecordId | null, opts?: IfVersionOptions & ActorOptions & ExpectationOptions): Promise<StackRecord>;
|
|
157
164
|
/**
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
* a reference came from.
|
|
165
|
+
* Withhold a record from enumeration, or restore it. Restating the
|
|
166
|
+
* current state writes nothing, so `unlistedAt` is never dragged forward.
|
|
167
|
+
* See docs/spec/unlisted.md.
|
|
162
168
|
*/
|
|
163
|
-
|
|
169
|
+
setUnlisted(id: RecordId, unlisted: boolean, opts?: IfVersionOptions & ActorOptions & ExpectationOptions): Promise<StackRecord>;
|
|
164
170
|
/**
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* `attachmentRecordId`
|
|
169
|
-
*
|
|
171
|
+
* Apply adds and removes to a record's data associations: one adapter
|
|
172
|
+
* write, one journal entry carrying each element in full, so the entry is
|
|
173
|
+
* as undoable as a single-element one. An add naming a held identity with
|
|
174
|
+
* a new `attachmentRecordId` re-points it — see docs/spec/attachments.md
|
|
175
|
+
* § Naming the upload a reference came from.
|
|
170
176
|
*/
|
|
171
|
-
|
|
177
|
+
editAssociations(id: RecordId, edits: AssociationEdit[], opts?: IfVersionOptions & ActorOptions & ExpectationOptions & GateOptions): Promise<StackRecord>;
|
|
172
178
|
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
179
|
+
* Make a record's data associations exactly `associations`. Its
|
|
180
|
+
* permissions are another aspect, which this never reads or writes.
|
|
181
|
+
*/
|
|
182
|
+
setAssociations(id: RecordId, associations: DataAssociation[], opts?: IfVersionOptions & ActorOptions & ExpectationOptions & GateOptions): Promise<StackRecord>;
|
|
183
|
+
/**
|
|
184
|
+
* The shared half of the two data-association writes, from the set the
|
|
185
|
+
* write would leave: nothing moved writes nothing, a roster keeps an
|
|
186
|
+
* admin, and every new attachment pointer names its own upload.
|
|
178
187
|
*/
|
|
179
|
-
|
|
188
|
+
private writeAssociations;
|
|
180
189
|
/**
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
* granted. No-bump, like associate(); an element the record already
|
|
185
|
-
* carries is a no-op. `write` never implies `read` — name both.
|
|
190
|
+
* Apply adds and removes to who reaches a record. The write-implies-read
|
|
191
|
+
* invariant is asked once, of the set the whole list produces, so a
|
|
192
|
+
* downgrade is one call. See docs/spec/access-control.md § Write implies read.
|
|
186
193
|
*/
|
|
187
|
-
|
|
194
|
+
editAccess(id: RecordId, edits: AssociationEdit[], opts?: IfVersionOptions & ActorOptions & ExpectationOptions & GateOptions): Promise<StackRecord>;
|
|
195
|
+
/** Make who reaches a record exactly `permissions`; `[]` is private. */
|
|
196
|
+
setAccess(id: RecordId, permissions: AuthorityAssociation[], opts?: IfVersionOptions & ActorOptions & ExpectationOptions & GateOptions): Promise<StackRecord>;
|
|
197
|
+
private writeAccess;
|
|
188
198
|
/**
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
199
|
+
* Run an element-set write from its read onward, again from a fresh read
|
|
200
|
+
* each time the adapter finds the set moved since the last one, so the
|
|
201
|
+
* rules over the resulting set are asked of the set the write lands on.
|
|
202
|
+
* Unbounded: each refusal means another write landed.
|
|
203
|
+
* See docs/spec/versioning.md § Element-set writes compare the set they read.
|
|
192
204
|
*/
|
|
193
|
-
|
|
205
|
+
private untilSetHolds;
|
|
194
206
|
/**
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
* produces. See docs/spec/access-control.md § Write implies read.
|
|
207
|
+
* Land a write that never bumps. Its precondition and journal entry
|
|
208
|
+
* travel together here, so no aspect verb can drop either.
|
|
198
209
|
*/
|
|
199
|
-
|
|
210
|
+
private writeAspect;
|
|
200
211
|
/**
|
|
201
212
|
* Hold a permission set to the cross-element invariant — see
|
|
202
213
|
* validatePermissions() in access.ts for why it reads the post-state.
|
|
@@ -210,6 +221,14 @@ export declare class Stack implements StackClient {
|
|
|
210
221
|
* not applied to a tombstone.
|
|
211
222
|
*/
|
|
212
223
|
private refuseIfDeleted;
|
|
224
|
+
/**
|
|
225
|
+
* The record a write addresses, past every refusal owed before
|
|
226
|
+
* validation: missing, another family, a caller's gate, soft-deleted,
|
|
227
|
+
* then a stale `ifVersion` — before validation, so a caller that lost the
|
|
228
|
+
* race hears that first, and before any no-op, so a write that moved
|
|
229
|
+
* nothing never satisfies a precondition.
|
|
230
|
+
*/
|
|
231
|
+
private requireWritable;
|
|
213
232
|
/**
|
|
214
233
|
* A by-id read straight from the adapter, for the integrity checks a write
|
|
215
234
|
* runs once it is under way: they read past the open-check, as the write
|
|
@@ -219,19 +238,13 @@ export declare class Stack implements StackClient {
|
|
|
219
238
|
/** The record, or the not-found refusal every mutating verb owes. */
|
|
220
239
|
private requireRecord;
|
|
221
240
|
/**
|
|
222
|
-
* Soft-delete a record, or purge it with its history
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
* docs/spec/versioning.md § Deletion and docs/spec/attachments.md
|
|
226
|
-
* purge strands the bytes it referenced.
|
|
241
|
+
* Soft-delete a record, or purge it with its history, reporting the
|
|
242
|
+
* record as the write left it — or as a purge destroyed it — captured in
|
|
243
|
+
* the same write, so nothing lands unseen between a read and the delete.
|
|
244
|
+
* See docs/spec/versioning.md § Deletion and docs/spec/attachments.md
|
|
245
|
+
* § A purge strands the bytes it referenced.
|
|
227
246
|
*/
|
|
228
247
|
delete(id: RecordId, opts?: DeleteRecordOptions & ActorOptions & ExpectationOptions): Promise<DeleteResult>;
|
|
229
|
-
/**
|
|
230
|
-
* delete(), plus the record it acted on — before destruction for a purge,
|
|
231
|
-
* the tombstone for a soft delete — captured inside the same write, so no
|
|
232
|
-
* concurrent write can land unseen between a read and the delete.
|
|
233
|
-
*/
|
|
234
|
-
deleteAndReturn(id: RecordId, opts?: DeleteRecordOptions & ActorOptions & ExpectationOptions): Promise<DeleteAndReturnResult>;
|
|
235
248
|
/**
|
|
236
249
|
* The files a record references, by the same definition
|
|
237
250
|
* deleteAttachment() and the garbage sweep use: attachment associations
|
|
@@ -248,24 +261,17 @@ export declare class Stack implements StackClient {
|
|
|
248
261
|
*/
|
|
249
262
|
undelete(id: RecordId, opts?: IfVersionOptions & ActorOptions & ExpectationOptions): Promise<StackRecord>;
|
|
250
263
|
/**
|
|
251
|
-
* Query records. filter.baseId matches every version of a type family
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
* docs/spec/data-model.md § Queries.
|
|
264
|
+
* Query records. filter.baseId matches every version of a type family.
|
|
265
|
+
* Results come back exactly as stored; pass presentAt: 'latest' to
|
|
266
|
+
* migrate in memory. See docs/spec/data-model.md § Queries.
|
|
255
267
|
*/
|
|
256
268
|
query(query?: StackQuery): Promise<QueryResult>;
|
|
257
269
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
* the caller can short-circuit without an adapter round trip.
|
|
262
|
-
*/
|
|
263
|
-
private resolveBaseIdFilter;
|
|
264
|
-
/**
|
|
265
|
-
* Every registered version of the named families, as concrete typeIds —
|
|
266
|
-
* resolved here because an adapter has no baseId concept of its own.
|
|
270
|
+
* Everything query() does around the adapter call once the query is
|
|
271
|
+
* split and checked: the migration on the way out. `read` is the call,
|
|
272
|
+
* so a scoped query within a reach gets the same treatment as any other.
|
|
267
273
|
*/
|
|
268
|
-
private
|
|
274
|
+
private dispatchQuery;
|
|
269
275
|
getVersions(id: RecordId, query?: VersionsQuery): Promise<RecordVersion[]>;
|
|
270
276
|
/**
|
|
271
277
|
* A record's change journal, oldest first, ungated. A missing or purged
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../src/stack/stack.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AA4BH,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,EACN,YAAY,EACZ,UAAU,EAEV,WAAW,
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../src/stack/stack.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AA4BH,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,EACN,YAAY,EACZ,UAAU,EAEV,WAAW,EAEX,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,iBAAiB,EACjB,MAAM,EAEN,QAAQ,EAER,KAAK,EACL,cAAc,EACd,QAAQ,EACR,KAAK,EACL,YAAY,EAEZ,YAAY,EAGZ,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAqC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW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