@graview/ship 0.2.11 → 0.2.12
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/export.d.ts +11 -0
- package/dist/export.d.ts.map +1 -1
- package/dist/export.js +43 -17
- package/dist/export.js.map +1 -1
- package/package.json +2 -2
package/dist/export.d.ts
CHANGED
|
@@ -33,6 +33,17 @@ export interface AppBundle {
|
|
|
33
33
|
* opened on it: `log`, with this as its one epoch.
|
|
34
34
|
*/
|
|
35
35
|
readonly checkpoint?: Epoch;
|
|
36
|
+
/**
|
|
37
|
+
* WHO CHANGED EACH RECORD, AS THE PERSON (Graview HQ
|
|
38
|
+
* feature:f-system-backup-touched-by-seat-ids): for each seat a record's
|
|
39
|
+
* `createdBy` or `updatedBy` names, in the snapshot, the checkpoint or a
|
|
40
|
+
* record the log adds or removes, the record of the people kind it is
|
|
41
|
+
* bound to, or was last bound to — `{ "acct-bud": "participant:bud" }`,
|
|
42
|
+
* which may be a record since removed. The records keep the seat, so a
|
|
43
|
+
* restore says the four the store kept; no restore reads this. Absent
|
|
44
|
+
* where no such seat is bound to anybody.
|
|
45
|
+
*/
|
|
46
|
+
readonly seatPeople?: Readonly<Record<string, string>>;
|
|
36
47
|
}
|
|
37
48
|
export interface ExportOptions {
|
|
38
49
|
/** The persisted log, when the caller has one; the store's own otherwise. */
|
package/dist/export.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../src/export.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../src/export.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6F,KAAK,SAAS,EAAE,KAAK,KAAK,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AACtO,OAAO,KAA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EAAE,OAAO,CAAC,EAAE,aAAa,GAAG;IAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG,SAAS,CAAC;AACvJ,wBAAgB,YAAY,CAAC,CAAC,SAAS,SAAS,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,aAAa,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAmE7J,uEAAuE;AACvE,wBAAgB,YAAY,CAAC,CAAC,SAAS,SAAS,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI,CAoB7F"}
|
package/dist/export.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { assertReadable, bareOp, formatStamp, unseatedOp, unseatedSnapshot } from "@graview/core";
|
|
1
|
+
import { assertReadable, bareOp, CREATED_BY, formatStamp, UPDATED_BY, unseatedOp, unseatedSnapshot } from "@graview/core";
|
|
2
2
|
/*
|
|
3
3
|
* WHERE EACH OPENED STORE'S ARCHIVE IS (FR-23). `openStore` says, for a
|
|
4
4
|
* store over an adapter that keeps one, so a full export of that store can
|
|
@@ -33,23 +33,32 @@ export function exportBundle(app, store, options = {}) {
|
|
|
33
33
|
// The persisted log when the caller has one (it holds migration runs and
|
|
34
34
|
// prior sessions); the in-memory log otherwise.
|
|
35
35
|
const log = options.log ?? store.log.all();
|
|
36
|
-
// Who made or touched each record as the store keeps it, the seat, as an op's author is kept;
|
|
36
|
+
// Who made or touched each record as the store keeps it, the seat, as an op's author is kept; the checkpoint's own map of bindings (`Epoch.bound`) stays in the installation, and the person each such seat is, is said once, as `seatPeople`.
|
|
37
37
|
const withoutBindings = ({ bound: _bound, ...epoch }) => epoch;
|
|
38
|
-
const bundle = (log, horizon, checkpoint) =>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
38
|
+
const bundle = (log, horizon, checkpoint) => {
|
|
39
|
+
// No record says whose a person is: the mark that binds one stays in the installation (Roadmap f-invite-binds-existing-person).
|
|
40
|
+
const snapshot = unseatedSnapshot(store.snapshot(), { touched: "kept" });
|
|
41
|
+
const begins = horizon > 0 && checkpoint?.seq === horizon ? checkpoint : undefined;
|
|
42
|
+
const base = begins ? unseatedSnapshot(begins.base, { touched: "kept" }) : undefined;
|
|
43
|
+
// Who made or changed each record, said once a seat as the person it is (`seatPeople`).
|
|
44
|
+
const kept = log.flatMap((op) => op.primitives.flatMap((primitive) => (primitive.op === "add-node" || primitive.op === "remove-node" ? [primitive.node] : [])));
|
|
45
|
+
const people = seatPeopleOf(store, [...snapshot.nodes, ...(base?.nodes ?? []), ...kept]);
|
|
46
|
+
return {
|
|
47
|
+
format: "graview-bundle",
|
|
48
|
+
bundleVersion: 1,
|
|
49
|
+
app: app.name,
|
|
50
|
+
version: app.version ?? 1,
|
|
51
|
+
exportedAt: (options.now ?? (() => new Date().toISOString()))(),
|
|
52
|
+
// Snapshot format 2 when the checkpoint it begins at lies past what stood published (FR-31).
|
|
53
|
+
...formatStamp(begins),
|
|
54
|
+
snapshot,
|
|
55
|
+
// Stamped op format 2, and so written: a persisted or archived op from format 1 goes without an inverse its primitives already say.
|
|
56
|
+
log: log.map((op) => unseatedOp(bareOp(op))),
|
|
57
|
+
...(horizon > 0 ? { horizon } : {}),
|
|
58
|
+
...(begins && base ? { checkpoint: { ...withoutBindings(begins), base } } : {}),
|
|
59
|
+
...(people ? { seatPeople: people } : {}),
|
|
60
|
+
};
|
|
61
|
+
};
|
|
53
62
|
const horizon = log[0]?.seq ?? store.log.horizon;
|
|
54
63
|
const own = store.log.epochs().find((epoch) => epoch.horizon && epoch.seq === horizon);
|
|
55
64
|
if (!options.full)
|
|
@@ -65,6 +74,23 @@ export function exportBundle(app, store, options = {}) {
|
|
|
65
74
|
return begins.checkpoint ? bundle([...begins.ops, ...log], begins.checkpoint.seq, begins.checkpoint) : bundle([...begins.ops, ...log], 0);
|
|
66
75
|
});
|
|
67
76
|
}
|
|
77
|
+
/** Each seat the records name as who made or last changed them, and the person it is or was last bound to (`AppBundle.seatPeople`); none where nobody is. */
|
|
78
|
+
function seatPeopleOf(store, nodes) {
|
|
79
|
+
const graph = store.graph;
|
|
80
|
+
const people = {};
|
|
81
|
+
for (const node of nodes) {
|
|
82
|
+
for (const field of [CREATED_BY, UPDATED_BY]) {
|
|
83
|
+
const seat = node[field];
|
|
84
|
+
if (typeof seat !== "string" || Object.hasOwn(people, seat))
|
|
85
|
+
continue;
|
|
86
|
+
const person = graph.personSaidFor?.(seat);
|
|
87
|
+
// "someone": a profile of an account that is somebody's record, or an account one of whose profiles is — no record to name.
|
|
88
|
+
if (person !== undefined && person !== "someone" && person !== seat)
|
|
89
|
+
people[seat] = person;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return Object.keys(people).length > 0 ? people : undefined;
|
|
93
|
+
}
|
|
68
94
|
/** Refuses a bundle for a different app or a newer format, plainly. */
|
|
69
95
|
export function assertBundle(app, bundle) {
|
|
70
96
|
if (bundle.format !== "graview-bundle") {
|
package/dist/export.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.js","sourceRoot":"","sources":["../src/export.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAA8G,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"export.js","sourceRoot":"","sources":["../src/export.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,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CAAC;IACD,8FAA8F;IAC9F,cAAc,CAAC,MAAM,CAAC,CAAC;IACvB,IAAI,MAAM,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,uBAAuB,MAAM,CAAC,GAAG,WAAW,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC;IAC3E,CAAC;IACD,IAAI,MAAM,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CACb,wBAAwB,MAAM,CAAC,OAAO,mCAAmC,GAAG,CAAC,OAAO,IAAI,CAAC,IAAI;YAC3F,+BAA+B,CAClC,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graview/ship",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@graview/core": "0.2.
|
|
30
|
+
"@graview/core": "0.2.12"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"zod": "^4.6.7"
|