@haverstack/core 0.32.0 → 0.34.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/dist/adapter-entry.d.ts +2 -2
- package/dist/adapter-entry.d.ts.map +1 -1
- package/dist/adapter-entry.js +1 -1
- package/dist/adapter-entry.js.map +1 -1
- package/dist/changes.d.ts +62 -14
- package/dist/changes.d.ts.map +1 -1
- package/dist/changes.js +94 -33
- package/dist/changes.js.map +1 -1
- package/dist/combine.d.ts.map +1 -1
- package/dist/combine.js +2 -1
- package/dist/combine.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/query-validation.d.ts +25 -1
- package/dist/query-validation.d.ts.map +1 -1
- package/dist/query-validation.js +48 -1
- package/dist/query-validation.js.map +1 -1
- package/dist/record-changes.d.ts +55 -1
- package/dist/record-changes.d.ts.map +1 -1
- package/dist/record-changes.js +82 -4
- package/dist/record-changes.js.map +1 -1
- package/dist/scoped-stack.d.ts +12 -5
- package/dist/scoped-stack.d.ts.map +1 -1
- package/dist/scoped-stack.js +17 -14
- package/dist/scoped-stack.js.map +1 -1
- package/dist/stack.d.ts +113 -27
- package/dist/stack.d.ts.map +1 -1
- package/dist/stack.js +202 -53
- package/dist/stack.js.map +1 -1
- package/dist/testing.d.ts +41 -16
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +144 -27
- package/dist/testing.js.map +1 -1
- package/dist/types.d.ts +172 -41
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/wire-entry.d.ts +1 -1
- package/dist/wire-entry.d.ts.map +1 -1
- package/dist/wire-entry.js +4 -3
- package/dist/wire-entry.js.map +1 -1
- package/dist/wire-request.d.ts +11 -1
- package/dist/wire-request.d.ts.map +1 -1
- package/dist/wire-request.js +19 -0
- package/dist/wire-request.js.map +1 -1
- package/package.json +1 -1
package/dist/stack.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* Apps should never talk to a StackAdapter directly.
|
|
15
15
|
*/
|
|
16
|
-
import type { StackRecord, StackType, TypeSchema, TypeId, StackAdapter, StackQuery, QueryResult, Association, Permission, Migration, RecordVersion, StackFeatures, GrantAction, AttachmentContent, FileId, EntityId, AppId, TokenSession, ActorOptions, RecordChange, RecordChanges, SubscribeOptions, Unsubscribe } from './types.js';
|
|
16
|
+
import type { StackRecord, StackType, TypeSchema, TypeId, StackAdapter, StackQuery, QueryResult, Association, Permission, Migration, RecordVersion, StackFeatures, GrantAction, AttachmentContent, FileId, EntityId, AppId, TokenSession, ActorOptions, RecordChange, RecordChanges, SubscribeOptions, Unsubscribe, JournalQuery, RecordJournalEntry } from './types.js';
|
|
17
17
|
import type { GrantTarget } from './grants.js';
|
|
18
18
|
import { ScopedStack } from './scoped-stack.js';
|
|
19
19
|
export type CreateRecordOptions = {
|
|
@@ -138,6 +138,22 @@ export type DeleteRecordOptions = IfVersionOptions & {
|
|
|
138
138
|
/** If true, permanently remove the record and all its history. Default: false */
|
|
139
139
|
hard?: boolean;
|
|
140
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* What a delete reports back. Information, not action: a purge never
|
|
143
|
+
* touches the blob store, and nothing here is deleted by having been
|
|
144
|
+
* named. See docs/spec/attachments.md § A purge strands the bytes it
|
|
145
|
+
* referenced.
|
|
146
|
+
*/
|
|
147
|
+
export type DeleteResult = {
|
|
148
|
+
/**
|
|
149
|
+
* The files the purged record referenced — its attachment associations
|
|
150
|
+
* and its `file-ref` content fields, deduplicated. The purge removes the
|
|
151
|
+
* only rows naming them, so this is the caller's one chance to hold the
|
|
152
|
+
* argument `deleteAttachment()` takes. Empty on a soft delete, which
|
|
153
|
+
* strands nothing: a tombstone's references stand.
|
|
154
|
+
*/
|
|
155
|
+
referencedFileIds: FileId[];
|
|
156
|
+
};
|
|
141
157
|
export type DefineTypeOptions = {
|
|
142
158
|
migratesFrom?: TypeId;
|
|
143
159
|
};
|
|
@@ -175,13 +191,30 @@ export interface StackClient {
|
|
|
175
191
|
mutate(id: string, changes: RecordChanges, opts?: IfVersionOptions): Promise<StackRecord>;
|
|
176
192
|
/** mutate() with `contentPatch` alone — the common case, named for it. */
|
|
177
193
|
patchContent(id: string, patch: Record<string, unknown | null>, opts?: IfVersionOptions): Promise<StackRecord>;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
194
|
+
/**
|
|
195
|
+
* Add an association. Never bumps `version`/`updatedAt` and takes no
|
|
196
|
+
* `ifVersion` — a set-add composes correctly regardless of write order,
|
|
197
|
+
* so it needs no OCC precondition. See docs/spec/versioning.md § Version
|
|
198
|
+
* history.
|
|
199
|
+
*/
|
|
200
|
+
associate(id: string, association: Association): Promise<StackRecord>;
|
|
201
|
+
/** Remove an association. Never bumps `version`/`updatedAt` — see associate(). */
|
|
202
|
+
dissociate(id: string, association: Association): Promise<StackRecord>;
|
|
203
|
+
delete(id: string, opts?: DeleteRecordOptions): Promise<DeleteResult>;
|
|
181
204
|
undelete(id: string, opts?: IfVersionOptions): Promise<StackRecord>;
|
|
182
205
|
getVersions(id: string): Promise<RecordVersion[]>;
|
|
183
206
|
getVersion(id: string, version: number): Promise<RecordVersion | null>;
|
|
184
207
|
restoreVersion(id: string, version: number, opts?: IfVersionOptions): Promise<StackRecord>;
|
|
208
|
+
/**
|
|
209
|
+
* A record's change journal, oldest first. On the mutate surface, on the
|
|
210
|
+
* same footing as getVersions() — a plain reader is refused.
|
|
211
|
+
*
|
|
212
|
+
* Required of every adapter rather than optional, which is why it sits
|
|
213
|
+
* here beside the rest: an empty log has to mean "nothing changed"
|
|
214
|
+
* unconditionally, so an adapter with nothing to read refuses and names
|
|
215
|
+
* why instead. See docs/spec/journal.md § Reading it.
|
|
216
|
+
*/
|
|
217
|
+
getJournal(id: string, query?: JournalQuery): Promise<RecordJournalEntry[]>;
|
|
185
218
|
/**
|
|
186
219
|
* Commit a per-record migration: change `typeId` and `content` together,
|
|
187
220
|
* validated against `toTypeId`'s schema. The only way a record's typeId
|
|
@@ -232,13 +265,23 @@ export declare class Stack implements StackClient {
|
|
|
232
265
|
* and nothing about work they deferred. A handler cannot fail the write:
|
|
233
266
|
* there is nothing left to fail. See docs/spec/events.md § Handlers.
|
|
234
267
|
*/
|
|
235
|
-
private
|
|
268
|
+
private announce;
|
|
236
269
|
/**
|
|
237
|
-
* The
|
|
238
|
-
*
|
|
239
|
-
*
|
|
270
|
+
* The actor for a `create` journal entry, read off the record as just
|
|
271
|
+
* built. Create is the one journaled write that stamps the requester
|
|
272
|
+
* onto the row itself, so the record in hand is authoritative — and it
|
|
273
|
+
* carries `appId`, which ActorOptions has no field for.
|
|
240
274
|
*/
|
|
241
|
-
private static
|
|
275
|
+
private static createActor;
|
|
276
|
+
/**
|
|
277
|
+
* The requester behind a write that stamps nothing on the record itself —
|
|
278
|
+
* a hard delete, which leaves no record to stamp, and associate()/
|
|
279
|
+
* dissociate(), which don't bump and so don't touch updatedBy/updatedVia.
|
|
280
|
+
* Hard delete is owner-acting-alone only, so it never has a principal to
|
|
281
|
+
* name beside the subject; associate()/dissociate() can run delegated,
|
|
282
|
+
* so `updatedVia` rides along here when present.
|
|
283
|
+
*/
|
|
284
|
+
private static actorFrom;
|
|
242
285
|
private getTypeCached;
|
|
243
286
|
/**
|
|
244
287
|
* Create a Stack instance. Reads ownerEntityId and timezone from the adapter.
|
|
@@ -411,23 +454,34 @@ export declare class Stack implements StackClient {
|
|
|
411
454
|
*/
|
|
412
455
|
private assertGroupAdminRemains;
|
|
413
456
|
/**
|
|
414
|
-
* Add an association to a record.
|
|
415
|
-
*
|
|
416
|
-
*
|
|
457
|
+
* Add an association to a record. Never bumps `version`/`updatedAt` and
|
|
458
|
+
* never snapshots — a set-add composes correctly regardless of write
|
|
459
|
+
* order, so it needs neither the OCC `ifVersion` guards content,
|
|
460
|
+
* `parentId` and `permissions`, nor the rollback history that guards.
|
|
461
|
+
* See docs/spec/versioning.md § Version history.
|
|
462
|
+
*
|
|
417
463
|
* An association the record already holds, saying the same thing, is a
|
|
418
464
|
* no-op; one matching an existing association's identity but naming a
|
|
419
465
|
* different `attachmentRecordId` — or none, which clears the one stored —
|
|
420
466
|
* re-points that association in place, rather than adding a second
|
|
421
|
-
* reference to the same file.
|
|
422
|
-
*
|
|
467
|
+
* reference to the same file. The emitted event's `associationsAdded`
|
|
468
|
+
* carries the association as it now stands either way; what a re-point
|
|
469
|
+
* overwrote is kept only by the journal, on that entry's `repoint`. See
|
|
470
|
+
* docs/spec/events.md § The event shape and docs/spec/journal.md
|
|
471
|
+
* § The entry. Returns the record as it now stands — unchanged on a
|
|
472
|
+
* no-op.
|
|
423
473
|
*/
|
|
424
|
-
associate(id: string, association: Association, opts?:
|
|
474
|
+
associate(id: string, association: Association, opts?: ActorOptions): Promise<StackRecord>;
|
|
425
475
|
/**
|
|
426
|
-
* Remove an association from a record.
|
|
427
|
-
*
|
|
428
|
-
*
|
|
476
|
+
* Remove an association from a record. Never bumps `version`/`updatedAt`
|
|
477
|
+
* — see associate(). Matched by kind, label, and payload. No-op if not
|
|
478
|
+
* found. The emitted event's `associationsRemoved` names the association
|
|
479
|
+
* by identity only — an attachment's `attachmentRecordId` is not
|
|
480
|
+
* repeated there, since it no longer describes anything current, and the
|
|
481
|
+
* journal is where it survives. See docs/spec/events.md § The event
|
|
482
|
+
* shape. Returns the record as it now stands — unchanged on a no-op.
|
|
429
483
|
*/
|
|
430
|
-
dissociate(id: string, association: Association, opts?:
|
|
484
|
+
dissociate(id: string, association: Association, opts?: ActorOptions): Promise<StackRecord>;
|
|
431
485
|
/**
|
|
432
486
|
* The checks a *caller-named* destination owes, before the cycle walk:
|
|
433
487
|
* `parentId` is a real, well-formed record id. Format first, so a
|
|
@@ -468,8 +522,22 @@ export declare class Stack implements StackClient {
|
|
|
468
522
|
* version; a no-op if already deleted. `_config` is never deletable
|
|
469
523
|
* (docs/spec.md § The `_config` record). See docs/spec/versioning.md
|
|
470
524
|
* § Deletion.
|
|
525
|
+
*
|
|
526
|
+
* A purge reports the files the record referenced. It deletes none of
|
|
527
|
+
* them — byte lifetime is not the purged record's to decide — but it
|
|
528
|
+
* destroys the only rows naming them, so a caller who means to erase the
|
|
529
|
+
* bytes too has nowhere else to read the argument from afterwards. See
|
|
530
|
+
* docs/spec/attachments.md § A purge strands the bytes it referenced.
|
|
471
531
|
*/
|
|
472
|
-
delete(id: string, opts?: DeleteRecordOptions & ActorOptions): Promise<
|
|
532
|
+
delete(id: string, opts?: DeleteRecordOptions & ActorOptions): Promise<DeleteResult>;
|
|
533
|
+
/**
|
|
534
|
+
* The files a record references, by the same definition
|
|
535
|
+
* deleteAttachment() and the garbage sweep use: attachment associations
|
|
536
|
+
* and top-level `file-ref` content fields. An `_attachment` record's own
|
|
537
|
+
* `fileId` is a plain string by design and is not one, which is why
|
|
538
|
+
* purging a metadata record reports nothing — see initSystemTypes().
|
|
539
|
+
*/
|
|
540
|
+
private referencedFileIds;
|
|
473
541
|
/**
|
|
474
542
|
* Reverse a soft delete. Idempotent — undeleting a record that isn't
|
|
475
543
|
* deleted returns it unchanged. Hard-deleted records are gone, so this
|
|
@@ -492,13 +560,29 @@ export declare class Stack implements StackClient {
|
|
|
492
560
|
*/
|
|
493
561
|
private resolveBaseIdFilter;
|
|
494
562
|
getVersions(id: string): Promise<RecordVersion[]>;
|
|
563
|
+
/**
|
|
564
|
+
* A record's change journal, oldest first — what moved, who moved it,
|
|
565
|
+
* and the association deltas nothing else retains. The mutation
|
|
566
|
+
* surface's read, on the same footing as getVersions(): a log of who
|
|
567
|
+
* changed what, gated on current read access, would make a record's past
|
|
568
|
+
* exactly as reachable as its present. `ScopedStack` applies that gate;
|
|
569
|
+
* this layer is unscoped and trusted by definition.
|
|
570
|
+
*
|
|
571
|
+
* An adapter with no journal to read refuses rather than answering an
|
|
572
|
+
* empty log — "nothing changed" and "this stack does not remember" are
|
|
573
|
+
* not the same answer, and a caller reconstructing an association's
|
|
574
|
+
* history cannot tell them apart. A record that isn't there is
|
|
575
|
+
* StackNotFoundError for the same reason, a purged one included.
|
|
576
|
+
* See docs/spec/journal.md § Reading it.
|
|
577
|
+
*/
|
|
578
|
+
getJournal(id: string, query?: JournalQuery): Promise<RecordJournalEntry[]>;
|
|
495
579
|
getVersion(id: string, version: number): Promise<RecordVersion | null>;
|
|
496
580
|
/**
|
|
497
581
|
* Restore a record to a previous version by creating a new version —
|
|
498
582
|
* never rewrites history. The snapshot is validated against its own
|
|
499
|
-
* stored typeId (not the record's current type), restores
|
|
500
|
-
*
|
|
501
|
-
*
|
|
583
|
+
* stored typeId (not the record's current type), restores `parentId`
|
|
584
|
+
* (absent on the snapshot is the root, so a restore always settles
|
|
585
|
+
* containment), and restores neither associations nor permissions. See
|
|
502
586
|
* docs/spec/versioning.md § Restore semantics.
|
|
503
587
|
*/
|
|
504
588
|
restoreVersion(id: string, version: number, opts?: IfVersionOptions & ActorOptions): Promise<StackRecord>;
|
|
@@ -807,10 +891,12 @@ export declare class Stack implements StackClient {
|
|
|
807
891
|
private writeOptions;
|
|
808
892
|
/**
|
|
809
893
|
* Snapshot of a record's prior state, passed with the mutating adapter
|
|
810
|
-
* call so snapshot and mutation land in one atomic write. `
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
894
|
+
* call so snapshot and mutation land in one atomic write. `parentId` is
|
|
895
|
+
* always present (`null` where the record has none) so restore can
|
|
896
|
+
* distinguish "at the root" from a snapshot that omits the key entirely
|
|
897
|
+
* ("leave as-is"). Never carries `associations` — associate()/
|
|
898
|
+
* dissociate() don't bump, so no version ever snapshots the association
|
|
899
|
+
* set, and there is nothing for a restore to roll back to. See
|
|
814
900
|
* docs/spec/versioning.md § Version history.
|
|
815
901
|
*/
|
|
816
902
|
private buildVersionSnapshot;
|
package/dist/stack.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../src/stack.ts"],"names":[],"mappings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