@agentshouse/mdruntime 0.1.0-cef5833f6c689 → 0.1.0-cefb421089d74
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 +150 -81
- 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 +345 -0
- package/dist/binary.d.ts +4 -0
- package/dist/binary.d.ts.map +1 -1
- package/dist/binary.js +9 -2
- package/dist/bootstrap.d.ts +9 -5
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +204 -86
- package/dist/cell.d.ts +6 -0
- package/dist/cell.d.ts.map +1 -0
- package/dist/cell.js +9 -0
- 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 +5 -0
- 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 +35 -22
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +51 -62
- package/dist/collection.d.ts +26 -4
- package/dist/collection.d.ts.map +1 -1
- package/dist/collection.js +28 -10
- 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 +7 -0
- package/dist/compile.d.ts.map +1 -1
- package/dist/compile.js +217 -83
- package/dist/connection.d.ts +6 -142
- package/dist/connection.d.ts.map +1 -1
- package/dist/connection.js +113 -5178
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- 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 +64 -45
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js +998 -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 -0
- package/dist/durability.d.ts.map +1 -1
- package/dist/durability.js +7 -0
- package/dist/entry.d.ts +14 -0
- package/dist/entry.d.ts.map +1 -1
- package/dist/entry.js +47 -17
- 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 +24 -4
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +95 -23
- package/dist/house-query.d.ts +15 -0
- package/dist/house-query.d.ts.map +1 -0
- package/dist/house-query.js +43 -0
- package/dist/index.d.ts +36 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -5
- 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 +8 -6
- package/dist/live.d.ts.map +1 -1
- package/dist/live.js +110 -31
- package/dist/loaded.d.ts +5 -0
- package/dist/loaded.d.ts.map +1 -0
- package/dist/loaded.js +40 -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 +170 -36
- package/dist/memory.d.ts +11 -3
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +133 -32
- package/dist/messages.d.ts +38 -3
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +105 -25
- 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 +5 -10
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +6 -11
- package/dist/models.d.ts +10 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/models.js +153 -0
- package/dist/observation.d.ts +29 -12
- package/dist/observation.d.ts.map +1 -1
- package/dist/observation.js +217 -85
- 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 -5
- package/dist/outcome.d.ts.map +1 -1
- package/dist/outcome.js +35 -2
- package/dist/overlay.d.ts +7 -2
- 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 +10 -2
- package/dist/query.d.ts.map +1 -1
- 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 +20 -9
- package/dist/reach.d.ts.map +1 -1
- package/dist/reach.js +323 -120
- package/dist/react.d.ts +18 -2
- 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 +20 -5
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +17 -10
- package/dist/reads.d.ts +39 -0
- package/dist/reads.d.ts.map +1 -0
- package/dist/reads.js +178 -0
- package/dist/recovery.d.ts +4 -1
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +40 -9
- package/dist/refresh.d.ts +1 -1
- package/dist/refresh.d.ts.map +1 -1
- package/dist/refresh.js +10 -22
- 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 +10 -16
- package/dist/replica.d.ts.map +1 -1
- package/dist/replica.js +65 -35
- 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 +31 -8
- package/dist/room-draft.d.ts.map +1 -1
- package/dist/room-draft.js +273 -66
- package/dist/room-drafts.d.ts +24 -0
- package/dist/room-drafts.d.ts.map +1 -0
- package/dist/room-drafts.js +220 -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 -6
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +51 -60
- 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 +42 -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/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 -6
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +13 -95
- 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 +59 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +93 -0
- package/dist/status.d.ts +0 -2
- 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 +116 -151
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +174 -393
- package/dist/stored.d.ts +80 -68
- package/dist/stored.d.ts.map +1 -1
- package/dist/stored.js +410 -168
- 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 +112 -88
- package/dist/tables.d.ts.map +1 -1
- package/dist/tables.js +192 -279
- package/dist/tallies.d.ts +18 -0
- package/dist/tallies.d.ts.map +1 -0
- package/dist/tallies.js +128 -0
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +6 -12
- package/dist/wire.d.ts +81 -7
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +31 -9
- 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/job.d.ts +0 -14
- package/dist/job.d.ts.map +0 -1
- package/dist/job.js +0 -28
- package/dist/log.d.ts +0 -5
- package/dist/log.d.ts.map +0 -1
- package/dist/log.js +0 -14
package/dist/stored.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { HeadChange } from './adapter.js';
|
|
1
|
+
import type { SavedFacts, HeadChange } from './adapter.js';
|
|
3
2
|
import { type Composed, type Composition } from './collection.js';
|
|
4
3
|
import type { HeldBinary } from './overlay.js';
|
|
5
4
|
import type { Connection } from './tables.js';
|
|
@@ -8,12 +7,13 @@ export type View = 'confirmed' | 'visible' | 'refreshed';
|
|
|
8
7
|
export type StoredEntry = {
|
|
9
8
|
readonly path: string;
|
|
10
9
|
readonly content: string | null;
|
|
11
|
-
readonly outline: Outline | null;
|
|
12
10
|
readonly binary: HeldBinary | null;
|
|
13
11
|
readonly revision: string | null;
|
|
14
12
|
readonly fileId: string | null;
|
|
13
|
+
readonly created: string | null;
|
|
15
14
|
readonly change: HeadChange | null;
|
|
16
15
|
readonly written: string | null;
|
|
16
|
+
readonly facts: SavedFacts | null;
|
|
17
17
|
};
|
|
18
18
|
export type OverlayEntry = StoredEntry & {
|
|
19
19
|
readonly present: boolean;
|
|
@@ -21,6 +21,11 @@ export type OverlayEntry = StoredEntry & {
|
|
|
21
21
|
export type HeldEntry = StoredEntry & {
|
|
22
22
|
readonly type: string | null;
|
|
23
23
|
};
|
|
24
|
+
export type ValuedEntry = {
|
|
25
|
+
readonly path: string;
|
|
26
|
+
readonly type: string;
|
|
27
|
+
readonly fields: Readonly<Record<string, unknown>>;
|
|
28
|
+
};
|
|
24
29
|
export type TypedEntry = {
|
|
25
30
|
readonly path: string;
|
|
26
31
|
readonly type: string | null;
|
|
@@ -29,34 +34,57 @@ export type TypedEntry = {
|
|
|
29
34
|
export type Referrer = {
|
|
30
35
|
readonly path: string;
|
|
31
36
|
readonly target: string;
|
|
32
|
-
readonly kind: string;
|
|
33
37
|
};
|
|
34
|
-
export type
|
|
38
|
+
export type HeldRoomRow = {
|
|
39
|
+
readonly locator: string;
|
|
35
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 = {
|
|
36
60
|
readonly locator: string;
|
|
61
|
+
readonly handle: string;
|
|
62
|
+
readonly key: number;
|
|
37
63
|
readonly transfer: string;
|
|
38
|
-
readonly
|
|
64
|
+
readonly roomVersion: string;
|
|
65
|
+
readonly indexed: boolean;
|
|
66
|
+
readonly documents: number;
|
|
67
|
+
readonly bytes: number;
|
|
68
|
+
readonly offline: string;
|
|
39
69
|
};
|
|
40
|
-
export type
|
|
41
|
-
readonly
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
readonly
|
|
48
|
-
readonly presentation: readonly {
|
|
49
|
-
readonly app: string;
|
|
50
|
-
readonly value: string;
|
|
51
|
-
}[];
|
|
52
|
-
readonly overlaid: readonly {
|
|
53
|
-
readonly key: number;
|
|
54
|
-
readonly path: string;
|
|
55
|
-
}[];
|
|
56
|
-
readonly erasing: readonly {
|
|
57
|
-
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 {
|
|
58
78
|
readonly locator: string;
|
|
79
|
+
readonly ids: readonly string[];
|
|
59
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;
|
|
60
88
|
readonly orphans: readonly number[];
|
|
61
89
|
};
|
|
62
90
|
export type RoomCommit = {
|
|
@@ -79,15 +107,11 @@ export type RoomCommit = {
|
|
|
79
107
|
};
|
|
80
108
|
};
|
|
81
109
|
export type Committed = {
|
|
82
|
-
readonly counts: Readonly<Record<string, number>>;
|
|
83
110
|
readonly changed: Readonly<Record<string, readonly string[] | null>>;
|
|
84
111
|
readonly indexed: Readonly<Record<string, boolean>>;
|
|
85
112
|
};
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
readonly roots: readonly string[];
|
|
89
|
-
};
|
|
90
|
-
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;
|
|
91
115
|
export declare function stage(connection: Connection, request: {
|
|
92
116
|
readonly locator: string;
|
|
93
117
|
readonly transfer: string;
|
|
@@ -95,7 +119,20 @@ export declare function stage(connection: Connection, request: {
|
|
|
95
119
|
readonly fingerprint: string;
|
|
96
120
|
readonly entries: readonly StoredEntry[];
|
|
97
121
|
readonly folders: readonly string[];
|
|
122
|
+
readonly part: string | null;
|
|
98
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;
|
|
99
136
|
export declare function refreshing(connection: Connection, request: {
|
|
100
137
|
readonly key: number;
|
|
101
138
|
readonly composed: Composed;
|
|
@@ -105,7 +142,6 @@ export declare function refreshing(connection: Connection, request: {
|
|
|
105
142
|
readonly folderRemovals: readonly string[];
|
|
106
143
|
}): null;
|
|
107
144
|
export declare function unrefresh(connection: Connection, key: number): null;
|
|
108
|
-
export declare function counts(connection: Connection, rooms: readonly CountedRoom[]): number[];
|
|
109
145
|
export declare function commit(connection: Connection, rooms: readonly RoomCommit[]): Committed;
|
|
110
146
|
export declare function fenceRooms(connection: Connection, locators: readonly string[]): null;
|
|
111
147
|
export declare function abandon(connection: Connection, locator: string): null;
|
|
@@ -117,46 +153,22 @@ export declare function rederive(connection: Connection, key: number, composed:
|
|
|
117
153
|
readonly done: boolean;
|
|
118
154
|
readonly text: number;
|
|
119
155
|
};
|
|
120
|
-
export type HeldText = {
|
|
121
|
-
readonly path: string;
|
|
122
|
-
readonly revision: string;
|
|
123
|
-
readonly content: string;
|
|
124
|
-
};
|
|
125
|
-
export declare function holdTexts(connection: Connection, request: {
|
|
126
|
-
readonly key: number;
|
|
127
|
-
readonly locator: string;
|
|
128
|
-
readonly composed: Composed;
|
|
129
|
-
readonly texts: readonly HeldText[];
|
|
130
|
-
}): string[];
|
|
131
|
-
export declare function unholdTexts(connection: Connection, request: {
|
|
132
|
-
readonly key: number;
|
|
133
|
-
readonly locator: string;
|
|
134
|
-
readonly composed: Composed;
|
|
135
|
-
}): {
|
|
136
|
-
readonly paths: readonly string[];
|
|
137
|
-
readonly bytes: number;
|
|
138
|
-
};
|
|
139
|
-
export declare function remembered(connection: Connection, request: {
|
|
140
|
-
readonly key: number;
|
|
141
|
-
readonly locator: string;
|
|
142
|
-
readonly paths: readonly string[];
|
|
143
|
-
}): null;
|
|
144
|
-
export declare function wanted(connection: Connection, request: {
|
|
145
|
-
readonly key: number;
|
|
146
|
-
readonly locator: string;
|
|
147
|
-
}): {
|
|
148
|
-
readonly path: string;
|
|
149
|
-
readonly revision: string;
|
|
150
|
-
}[];
|
|
151
156
|
export declare function entries(connection: Connection, key: number, view: View, list: readonly string[]): HeldEntry[];
|
|
152
157
|
export declare function typed(connection: Connection, key: number, view: View, list: readonly string[]): TypedEntry[];
|
|
153
|
-
export declare function referrers(connection: Connection, key: number, view: View, targets: readonly string[]
|
|
154
|
-
export declare function
|
|
155
|
-
readonly path: string;
|
|
156
|
-
readonly revision: string;
|
|
157
|
-
}[];
|
|
158
|
-
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[];
|
|
159
160
|
export declare function typedWithin(connection: Connection, key: number, view: View, roots: readonly string[], within: boolean): boolean;
|
|
160
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[];
|
|
161
173
|
export declare function ended(connection: Connection): void;
|
|
162
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,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,cAAc,EAAE,SAAS,MAAM,EAoB3C,CAAC;AAuDF,MAAM,MAAM,IAAI,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,M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