@agentshouse/mdruntime 0.1.0-c5d81e5d5cb58 → 0.1.0-c5e756efec46e
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 +21 -19
- package/dist/acceptance.d.ts +3 -0
- package/dist/acceptance.d.ts.map +1 -0
- package/dist/acceptance.js +299 -0
- package/dist/act-lanes.d.ts +30 -0
- package/dist/act-lanes.d.ts.map +1 -0
- package/dist/act-lanes.js +225 -0
- package/dist/actions.d.ts +26 -0
- package/dist/actions.d.ts.map +1 -0
- package/dist/actions.js +321 -0
- package/dist/adapter.d.ts +207 -121
- package/dist/adapter.d.ts.map +1 -1
- package/dist/attached-model.d.ts +3 -11
- package/dist/attached-model.d.ts.map +1 -1
- package/dist/attached-model.js +20 -60
- package/dist/authored.d.ts +88 -0
- package/dist/authored.d.ts.map +1 -0
- package/dist/authored.js +347 -0
- package/dist/binary.d.ts +6 -2
- package/dist/binary.d.ts.map +1 -1
- package/dist/binary.js +10 -3
- package/dist/bootstrap.d.ts +15 -18
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +252 -158
- package/dist/cell.d.ts +6 -0
- package/dist/cell.d.ts.map +1 -0
- package/dist/cell.js +9 -0
- package/dist/chain.d.ts +2 -1
- package/dist/chain.d.ts.map +1 -1
- package/dist/change-set.d.ts +4 -0
- package/dist/change-set.d.ts.map +1 -1
- package/dist/change-set.js +6 -0
- package/dist/change.d.ts +7 -2
- package/dist/change.d.ts.map +1 -1
- package/dist/change.js +7 -2
- package/dist/chat-types.d.ts +3 -0
- package/dist/chat-types.d.ts.map +1 -0
- package/dist/chat-types.js +11 -0
- package/dist/client.d.ts +41 -25
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +58 -69
- package/dist/collection.d.ts +27 -7
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +29 -27
- package/dist/column.d.ts +5 -0
- package/dist/column.d.ts.map +1 -0
- package/dist/column.js +9 -0
- package/dist/compile.d.ts +8 -6
- package/dist/compile.d.ts.map +1 -1
- package/dist/compile.js +289 -333
- package/dist/connection.d.ts +6 -144
- package/dist/connection.d.ts.map +1 -1
- package/dist/connection.js +114 -5227
- package/dist/context.d.ts +2 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +7 -0
- package/dist/conversation-live.d.ts +149 -0
- package/dist/conversation-live.d.ts.map +1 -0
- package/dist/conversation-live.js +259 -0
- package/dist/conversation-row.d.ts +40 -0
- package/dist/conversation-row.d.ts.map +1 -0
- package/dist/conversation-row.js +66 -0
- package/dist/conversation.d.ts +74 -56
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js +1015 -883
- package/dist/declaration.d.ts +10 -0
- package/dist/declaration.d.ts.map +1 -0
- package/dist/declaration.js +24 -0
- package/dist/discovery.d.ts +12 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +175 -0
- package/dist/download.d.ts +6 -0
- package/dist/download.d.ts.map +1 -0
- package/dist/download.js +42 -0
- package/dist/durability.d.ts +20 -1
- package/dist/durability.d.ts.map +1 -1
- package/dist/durability.js +7 -0
- package/dist/entry.d.ts +17 -2
- package/dist/entry.d.ts.map +1 -1
- package/dist/entry.js +60 -21
- package/dist/expectation.d.ts +26 -13
- package/dist/expectation.d.ts.map +1 -1
- package/dist/expectation.js +72 -19
- package/dist/failure.d.ts +3 -0
- package/dist/failure.d.ts.map +1 -1
- package/dist/failure.js +8 -0
- package/dist/figures.d.ts +49 -0
- package/dist/figures.d.ts.map +1 -0
- package/dist/figures.js +199 -0
- package/dist/file.d.ts +1 -1
- package/dist/file.d.ts.map +1 -1
- package/dist/file.js +3 -2
- package/dist/holdings.d.ts +29 -0
- package/dist/holdings.d.ts.map +1 -0
- package/dist/holdings.js +95 -0
- package/dist/host.d.ts +25 -8
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +130 -56
- package/dist/house-query.d.ts +18 -0
- package/dist/house-query.d.ts.map +1 -0
- package/dist/house-query.js +54 -0
- package/dist/identity.d.ts +0 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +0 -3
- package/dist/index.d.ts +43 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -6
- package/dist/install.d.ts +60 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +537 -0
- package/dist/lifecycle.d.ts +7 -0
- package/dist/lifecycle.d.ts.map +1 -0
- package/dist/lifecycle.js +290 -0
- package/dist/listing.d.ts +60 -0
- package/dist/listing.d.ts.map +1 -0
- package/dist/listing.js +168 -0
- package/dist/live.d.ts +9 -6
- package/dist/live.d.ts.map +1 -1
- package/dist/live.js +118 -36
- package/dist/loaded.d.ts +7 -0
- package/dist/loaded.d.ts.map +1 -0
- package/dist/loaded.js +46 -0
- package/dist/locks.d.ts +7 -0
- package/dist/locks.d.ts.map +1 -0
- package/dist/locks.js +34 -0
- package/dist/lost.d.ts +5 -0
- package/dist/lost.d.ts.map +1 -0
- package/dist/lost.js +49 -0
- package/dist/media.d.ts +20 -4
- package/dist/media.d.ts.map +1 -1
- package/dist/media.js +183 -39
- package/dist/memory.d.ts +21 -8
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +262 -109
- package/dist/messages.d.ts +40 -5
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +118 -39
- package/dist/modal.d.ts +2 -0
- package/dist/modal.d.ts.map +1 -0
- package/dist/modal.js +11 -0
- package/dist/model.d.ts +6 -13
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +6 -23
- package/dist/models.d.ts +10 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/models.js +153 -0
- package/dist/name.d.ts +0 -1
- package/dist/name.d.ts.map +1 -1
- package/dist/name.js +3 -7
- package/dist/observation.d.ts +30 -13
- package/dist/observation.d.ts.map +1 -1
- package/dist/observation.js +218 -81
- package/dist/online.d.ts +7 -0
- package/dist/online.d.ts.map +1 -0
- package/dist/online.js +29 -0
- package/dist/opened.d.ts +1 -1
- package/dist/opened.d.ts.map +1 -1
- package/dist/opened.js +5 -5
- package/dist/opening.d.ts +4 -0
- package/dist/opening.d.ts.map +1 -0
- package/dist/opening.js +69 -0
- package/dist/outcome.d.ts +28 -8
- package/dist/outcome.d.ts.map +1 -1
- package/dist/outcome.js +36 -3
- package/dist/overlay.d.ts +10 -5
- package/dist/overlay.d.ts.map +1 -1
- package/dist/overlay.js +48 -24
- package/dist/page-metadata.d.ts +8 -0
- package/dist/page-metadata.d.ts.map +1 -0
- package/dist/page-metadata.js +19 -0
- package/dist/parts.d.ts +6 -0
- package/dist/parts.d.ts.map +1 -0
- package/dist/parts.js +36 -0
- package/dist/paths.d.ts +1 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +22 -0
- package/dist/preparation.d.ts +46 -0
- package/dist/preparation.d.ts.map +1 -0
- package/dist/preparation.js +344 -0
- package/dist/presence.d.ts +58 -0
- package/dist/presence.d.ts.map +1 -0
- package/dist/presence.js +231 -0
- package/dist/queries.d.ts +16 -0
- package/dist/queries.d.ts.map +1 -0
- package/dist/queries.js +287 -0
- package/dist/query.d.ts +16 -212
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +3 -505
- package/dist/questions.d.ts +30 -0
- package/dist/questions.d.ts.map +1 -0
- package/dist/questions.js +117 -0
- package/dist/queue.d.ts +40 -0
- package/dist/queue.d.ts.map +1 -0
- package/dist/queue.js +480 -0
- package/dist/reach.d.ts +26 -15
- package/dist/reach.d.ts.map +1 -1
- package/dist/reach.js +350 -160
- package/dist/react.d.ts +21 -3
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +33 -1
- package/dist/read.d.ts +7 -0
- package/dist/read.d.ts.map +1 -0
- package/dist/read.js +17 -0
- package/dist/readiness.d.ts +23 -22
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +21 -20
- package/dist/reads.d.ts +38 -10
- package/dist/reads.d.ts.map +1 -1
- package/dist/reads.js +163 -85
- package/dist/recovery.d.ts +4 -0
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +59 -2
- package/dist/reference-forms.d.ts +4 -0
- package/dist/reference-forms.d.ts.map +1 -0
- package/dist/reference-forms.js +74 -0
- package/dist/refresh.d.ts +7 -5
- package/dist/refresh.d.ts.map +1 -1
- package/dist/refresh.js +37 -9
- package/dist/refusal.d.ts +5 -0
- package/dist/refusal.d.ts.map +1 -0
- package/dist/refusal.js +55 -0
- package/dist/replica.d.ts +12 -18
- package/dist/replica.d.ts.map +1 -1
- package/dist/replica.js +68 -38
- package/dist/retried.d.ts +30 -0
- package/dist/retried.d.ts.map +1 -0
- package/dist/retried.js +72 -0
- package/dist/room-draft.d.ts +51 -12
- package/dist/room-draft.d.ts.map +1 -1
- package/dist/room-draft.js +368 -111
- package/dist/room-drafts.d.ts +24 -0
- package/dist/room-drafts.d.ts.map +1 -0
- package/dist/room-drafts.js +222 -0
- package/dist/room-list.d.ts +10 -0
- package/dist/room-list.d.ts.map +1 -0
- package/dist/room-list.js +45 -0
- package/dist/rows.d.ts +16 -22
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +51 -187
- package/dist/running.d.ts +5 -0
- package/dist/running.d.ts.map +1 -0
- package/dist/running.js +10 -0
- package/dist/runtime.d.ts +35 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +1 -0
- package/dist/save.d.ts +43 -86
- package/dist/save.d.ts.map +1 -1
- package/dist/save.js +332 -228
- package/dist/saves.d.ts +34 -0
- package/dist/saves.d.ts.map +1 -0
- package/dist/saves.js +457 -0
- package/dist/search.d.ts +12 -63
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +9 -52
- package/dist/seed.d.ts +11 -2
- package/dist/seed.d.ts.map +1 -1
- package/dist/seed.js +71 -1
- package/dist/shared.d.ts +1 -7
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +13 -105
- package/dist/shown.d.ts +35 -0
- package/dist/shown.d.ts.map +1 -0
- package/dist/shown.js +326 -0
- package/dist/socket/admission.d.ts +7 -0
- package/dist/socket/admission.d.ts.map +1 -0
- package/dist/socket/admission.js +39 -0
- package/dist/socket/answers.d.ts +6 -0
- package/dist/socket/answers.d.ts.map +1 -0
- package/dist/socket/answers.js +20 -0
- package/dist/socket/lanes.d.ts +28 -0
- package/dist/socket/lanes.d.ts.map +1 -0
- package/dist/socket/lanes.js +103 -0
- package/dist/socket/reads.d.ts +10 -0
- package/dist/socket/reads.d.ts.map +1 -0
- package/dist/socket/reads.js +31 -0
- package/dist/socket/session.d.ts +41 -0
- package/dist/socket/session.d.ts.map +1 -0
- package/dist/socket/session.js +26 -0
- package/dist/socket.d.ts +68 -0
- package/dist/socket.d.ts.map +1 -0
- package/dist/socket.js +165 -0
- package/dist/source.d.ts +61 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +95 -0
- package/dist/status.d.ts +0 -6
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +0 -6
- package/dist/store/installs.d.ts +30 -0
- package/dist/store/installs.d.ts.map +1 -0
- package/dist/store/installs.js +40 -0
- package/dist/store/readiness.d.ts +11 -0
- package/dist/store/readiness.d.ts.map +1 -0
- package/dist/store/readiness.js +68 -0
- package/dist/store/records.d.ts +227 -0
- package/dist/store/records.d.ts.map +1 -0
- package/dist/store/records.js +468 -0
- package/dist/store/room-held.d.ts +8 -0
- package/dist/store/room-held.d.ts.map +1 -0
- package/dist/store/room-held.js +17 -0
- package/dist/store/rooms-shown.d.ts +8 -0
- package/dist/store/rooms-shown.d.ts.map +1 -0
- package/dist/store/rooms-shown.js +13 -0
- package/dist/store/space.d.ts +11 -0
- package/dist/store/space.d.ts.map +1 -0
- package/dist/store/space.js +41 -0
- package/dist/store/watchers.d.ts +17 -0
- package/dist/store/watchers.d.ts.map +1 -0
- package/dist/store/watchers.js +56 -0
- package/dist/store/writes.d.ts +24 -0
- package/dist/store/writes.d.ts.map +1 -0
- package/dist/store/writes.js +125 -0
- package/dist/store.d.ts +125 -175
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +173 -419
- package/dist/stored.d.ts +81 -61
- package/dist/stored.d.ts.map +1 -1
- package/dist/stored.js +456 -295
- package/dist/surface.d.ts +94 -0
- package/dist/surface.d.ts.map +1 -0
- package/dist/surface.js +255 -0
- package/dist/sync.d.ts +21 -0
- package/dist/sync.d.ts.map +1 -0
- package/dist/sync.js +557 -0
- package/dist/tables.d.ts +119 -104
- package/dist/tables.d.ts.map +1 -1
- package/dist/tables.js +201 -328
- package/dist/tallies.d.ts +18 -0
- package/dist/tallies.d.ts.map +1 -0
- package/dist/tallies.js +128 -0
- package/dist/transfer.d.ts +0 -5
- package/dist/transfer.d.ts.map +1 -1
- package/dist/validation.d.ts +3 -4
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +42 -106
- package/dist/windows.d.ts +1 -12
- package/dist/windows.d.ts.map +1 -1
- package/dist/windows.js +2 -75
- package/dist/wire.d.ts +85 -14
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +37 -15
- package/package.json +3 -2
- package/dist/attempt.d.ts +0 -16
- package/dist/attempt.d.ts.map +0 -1
- package/dist/attempt.js +0 -70
- package/dist/fence.d.ts +0 -6
- package/dist/fence.d.ts.map +0 -1
- package/dist/fence.js +0 -10
- package/dist/fulltext.d.ts +0 -27
- package/dist/fulltext.d.ts.map +0 -1
- package/dist/fulltext.js +0 -368
- package/dist/log.d.ts +0 -5
- package/dist/log.d.ts.map +0 -1
- package/dist/log.js +0 -14
- package/dist/words.d.ts +0 -19
- package/dist/words.d.ts.map +0 -1
- package/dist/words.js +0 -156
package/dist/stored.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HeadChange } from './adapter.js';
|
|
1
|
+
import type { SavedFacts, HeadChange } from './adapter.js';
|
|
2
2
|
import { type Composed, type Composition } from './collection.js';
|
|
3
3
|
import type { HeldBinary } from './overlay.js';
|
|
4
4
|
import type { Connection } from './tables.js';
|
|
@@ -10,8 +10,10 @@ export type StoredEntry = {
|
|
|
10
10
|
readonly binary: HeldBinary | null;
|
|
11
11
|
readonly revision: string | null;
|
|
12
12
|
readonly fileId: string | null;
|
|
13
|
+
readonly created: string | null;
|
|
13
14
|
readonly change: HeadChange | null;
|
|
14
15
|
readonly written: string | null;
|
|
16
|
+
readonly facts: SavedFacts | null;
|
|
15
17
|
};
|
|
16
18
|
export type OverlayEntry = StoredEntry & {
|
|
17
19
|
readonly present: boolean;
|
|
@@ -19,6 +21,11 @@ export type OverlayEntry = StoredEntry & {
|
|
|
19
21
|
export type HeldEntry = StoredEntry & {
|
|
20
22
|
readonly type: string | null;
|
|
21
23
|
};
|
|
24
|
+
export type ValuedEntry = {
|
|
25
|
+
readonly path: string;
|
|
26
|
+
readonly type: string;
|
|
27
|
+
readonly fields: Readonly<Record<string, unknown>>;
|
|
28
|
+
};
|
|
22
29
|
export type TypedEntry = {
|
|
23
30
|
readonly path: string;
|
|
24
31
|
readonly type: string | null;
|
|
@@ -27,45 +34,57 @@ export type TypedEntry = {
|
|
|
27
34
|
export type Referrer = {
|
|
28
35
|
readonly path: string;
|
|
29
36
|
readonly target: string;
|
|
30
|
-
readonly kind: string;
|
|
31
37
|
};
|
|
32
|
-
export type
|
|
38
|
+
export type HeldRoomRow = {
|
|
39
|
+
readonly locator: string;
|
|
33
40
|
readonly key: number;
|
|
41
|
+
readonly record: string;
|
|
42
|
+
readonly indexed: boolean;
|
|
43
|
+
readonly documents: number;
|
|
44
|
+
};
|
|
45
|
+
export type HeldRoomWork = {
|
|
46
|
+
readonly room: (HeldRoomRow & {
|
|
47
|
+
readonly overlaid: readonly string[];
|
|
48
|
+
}) | null;
|
|
49
|
+
readonly queue: readonly {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
readonly batch: string;
|
|
52
|
+
readonly state: string;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
export type CoverLog = {
|
|
56
|
+
readonly token: string;
|
|
57
|
+
readonly at: number;
|
|
58
|
+
};
|
|
59
|
+
export type CoveredRow = {
|
|
34
60
|
readonly locator: string;
|
|
61
|
+
readonly handle: string;
|
|
62
|
+
readonly key: number;
|
|
35
63
|
readonly transfer: string;
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
64
|
+
readonly roomVersion: string;
|
|
65
|
+
readonly indexed: boolean;
|
|
66
|
+
readonly documents: number;
|
|
67
|
+
readonly bytes: number;
|
|
68
|
+
readonly offline: string;
|
|
38
69
|
};
|
|
39
|
-
export type
|
|
40
|
-
readonly
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
readonly key: number;
|
|
48
|
-
readonly record: string;
|
|
49
|
-
}[];
|
|
50
|
-
readonly kept: readonly {
|
|
51
|
-
readonly locator: string;
|
|
52
|
-
readonly token: string;
|
|
53
|
-
readonly bytes: number;
|
|
54
|
-
}[];
|
|
55
|
-
readonly keys: readonly HeldKey[];
|
|
56
|
-
readonly facts: Readonly<Record<string, string>>;
|
|
57
|
-
readonly presentation: readonly {
|
|
58
|
-
readonly app: string;
|
|
59
|
-
readonly value: string;
|
|
60
|
-
}[];
|
|
61
|
-
readonly overlaid: readonly {
|
|
62
|
-
readonly key: number;
|
|
63
|
-
readonly path: string;
|
|
64
|
-
}[];
|
|
65
|
-
readonly erasing: readonly {
|
|
66
|
-
readonly key: number;
|
|
70
|
+
export type CoveredRooms = {
|
|
71
|
+
readonly log: CoverLog;
|
|
72
|
+
readonly whole: boolean;
|
|
73
|
+
readonly rooms: readonly CoveredRow[];
|
|
74
|
+
readonly removed: readonly string[];
|
|
75
|
+
};
|
|
76
|
+
export type Covering = CoveredRooms & {
|
|
77
|
+
readonly queues: readonly {
|
|
67
78
|
readonly locator: string;
|
|
79
|
+
readonly ids: readonly string[];
|
|
68
80
|
}[];
|
|
81
|
+
};
|
|
82
|
+
export type HeldLocators = {
|
|
83
|
+
readonly held: readonly string[];
|
|
84
|
+
readonly staged: readonly string[];
|
|
85
|
+
};
|
|
86
|
+
export type ReplicaOpened = {
|
|
87
|
+
readonly erasing: boolean;
|
|
69
88
|
readonly orphans: readonly number[];
|
|
70
89
|
};
|
|
71
90
|
export type RoomCommit = {
|
|
@@ -88,29 +107,32 @@ export type RoomCommit = {
|
|
|
88
107
|
};
|
|
89
108
|
};
|
|
90
109
|
export type Committed = {
|
|
91
|
-
readonly counts: Readonly<Record<string, number>>;
|
|
92
110
|
readonly changed: Readonly<Record<string, readonly string[] | null>>;
|
|
93
111
|
readonly indexed: Readonly<Record<string, boolean>>;
|
|
94
112
|
};
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
readonly roots: readonly string[];
|
|
98
|
-
};
|
|
99
|
-
export type Walked = {
|
|
100
|
-
readonly entries: readonly HeldEntry[];
|
|
101
|
-
readonly next: string | null;
|
|
102
|
-
};
|
|
103
|
-
export declare function entered(connection: Connection, locator: string, composition: Composition, rows: readonly StoredEntry[]): number;
|
|
113
|
+
export declare function entered(connection: Connection, locator: string, composition: Composition, entries: readonly StoredEntry[]): number;
|
|
114
|
+
export declare function enteredValues(connection: Connection, locator: string, composition: Composition, documents: readonly ValuedEntry[]): number;
|
|
104
115
|
export declare function stage(connection: Connection, request: {
|
|
105
116
|
readonly locator: string;
|
|
106
117
|
readonly transfer: string;
|
|
107
|
-
readonly record: string;
|
|
108
118
|
readonly key: number | null;
|
|
109
119
|
readonly fingerprint: string;
|
|
110
120
|
readonly entries: readonly StoredEntry[];
|
|
111
121
|
readonly folders: readonly string[];
|
|
112
|
-
readonly
|
|
122
|
+
readonly part: string | null;
|
|
113
123
|
}): number;
|
|
124
|
+
export type Resumed = {
|
|
125
|
+
readonly key: number | null;
|
|
126
|
+
readonly transfer: string;
|
|
127
|
+
readonly staged: readonly string[];
|
|
128
|
+
};
|
|
129
|
+
export declare function resume(connection: Connection, request: {
|
|
130
|
+
readonly locator: string;
|
|
131
|
+
readonly transfer: string;
|
|
132
|
+
readonly fingerprint: string;
|
|
133
|
+
readonly parts: readonly string[];
|
|
134
|
+
readonly published: number | null;
|
|
135
|
+
}): Resumed;
|
|
114
136
|
export declare function refreshing(connection: Connection, request: {
|
|
115
137
|
readonly key: number;
|
|
116
138
|
readonly composed: Composed;
|
|
@@ -120,10 +142,9 @@ export declare function refreshing(connection: Connection, request: {
|
|
|
120
142
|
readonly folderRemovals: readonly string[];
|
|
121
143
|
}): null;
|
|
122
144
|
export declare function unrefresh(connection: Connection, key: number): null;
|
|
123
|
-
export declare function counts(connection: Connection, rooms: readonly CountedRoom[]): number[];
|
|
124
145
|
export declare function commit(connection: Connection, rooms: readonly RoomCommit[]): Committed;
|
|
125
146
|
export declare function fenceRooms(connection: Connection, locators: readonly string[]): null;
|
|
126
|
-
export declare function abandon(connection: Connection, locator: string
|
|
147
|
+
export declare function abandon(connection: Connection, locator: string): null;
|
|
127
148
|
export declare function release(connection: Connection, key: number): null;
|
|
128
149
|
export declare function erase(connection: Connection, locator: string | null, limit: number): {
|
|
129
150
|
readonly remaining: boolean;
|
|
@@ -134,21 +155,20 @@ export declare function rederive(connection: Connection, key: number, composed:
|
|
|
134
155
|
};
|
|
135
156
|
export declare function entries(connection: Connection, key: number, view: View, list: readonly string[]): HeldEntry[];
|
|
136
157
|
export declare function typed(connection: Connection, key: number, view: View, list: readonly string[]): TypedEntry[];
|
|
137
|
-
export declare function referrers(connection: Connection, key: number, view: View, targets: readonly string[]
|
|
138
|
-
export declare function
|
|
139
|
-
export declare function files(connection: Connection, key: number, view: View, after: string | null, limit: number): {
|
|
140
|
-
readonly path: string;
|
|
141
|
-
readonly revision: string;
|
|
142
|
-
}[];
|
|
143
|
-
export declare function folders(connection: Connection, key: number, view: View, list: readonly string[]): string[];
|
|
158
|
+
export declare function referrers(connection: Connection, key: number, view: View, targets: readonly string[]): Referrer[];
|
|
159
|
+
export declare function folders(connection: Connection, key: number, list: readonly string[]): string[];
|
|
144
160
|
export declare function typedWithin(connection: Connection, key: number, view: View, roots: readonly string[], within: boolean): boolean;
|
|
145
|
-
export declare function transferPart(connection: Connection, locator: string, token: string): Uint8Array | null;
|
|
146
|
-
export type KeptPart = {
|
|
147
|
-
readonly locator: string;
|
|
148
|
-
readonly token: string;
|
|
149
|
-
readonly part: Uint8Array;
|
|
150
|
-
};
|
|
151
|
-
export declare function keepParts(connection: Connection, parts: readonly KeptPart[]): null;
|
|
152
161
|
export declare function opened(connection: Connection): ReplicaOpened;
|
|
162
|
+
export declare function heldRooms(connection: Connection, locators: readonly string[] | null): readonly HeldRoomRow[];
|
|
163
|
+
export declare function heldRoom(connection: Connection, locator: string): HeldRoomRow | null;
|
|
164
|
+
export declare function overlaid(connection: Connection, key: number): readonly string[];
|
|
165
|
+
export declare function covering(connection: Connection, since: CoverLog | null): CoveredRooms;
|
|
166
|
+
export declare function offlineMode(connection: Connection, locator: string): string | null;
|
|
167
|
+
export declare function stagedLocators(connection: Connection): readonly string[];
|
|
168
|
+
export declare function heldLocators(connection: Connection): readonly string[];
|
|
169
|
+
export declare function demoted(connection: Connection): null;
|
|
170
|
+
export declare function facts(connection: Connection, names: readonly string[] | null): Readonly<Record<string, string>>;
|
|
171
|
+
export declare function presentation(connection: Connection, app: string): string | null;
|
|
172
|
+
export declare function tablesOf(statements: readonly string[]): readonly string[];
|
|
153
173
|
export declare function ended(connection: Connection): void;
|
|
154
174
|
//# sourceMappingURL=stored.d.ts.map
|
package/dist/stored.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stored.d.ts","sourceRoot":"","sources":["../src/stored.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stored.d.ts","sourceRoot":"","sources":["../src/stored.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAmB,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAc,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAA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