@melite/estate-drafts 0.0.0-stage → 0.1.5-pre-alpha
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/LICENSE +557 -0
- package/README.md +55 -2
- package/lib/bench.d.ts +376 -0
- package/lib/bench.js +1941 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.js +17 -0
- package/lib/remote.d.ts +325 -0
- package/lib/remote.js +1307 -0
- package/lib/spec.d.ts +88 -0
- package/lib/spec.js +87 -0
- package/lib/store.d.ts +46 -0
- package/lib/store.js +194 -0
- package/lib/trail.d.ts +16 -0
- package/lib/trail.js +91 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +1016 -0
- package/lib/typert.remote-client.d.ts +54 -0
- package/lib/typert.remote-client.js +732 -0
- package/lib/types.d.ts +3 -0
- package/lib/types.js +2 -0
- package/package.json +65 -4
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import type {
|
|
3
|
+
RemoteResult,
|
|
4
|
+
RemoteStreamHandle,
|
|
5
|
+
TypertRemoteContribution,
|
|
6
|
+
} from '@deepseek-ai/dsh-typert-protocol'
|
|
7
|
+
import type { BenchClearRow, BenchDoc, BenchEnsureRow, BenchGetRow, BenchPatchRow, BenchReorderRow, BenchRewireRow, BenchStageRow, BenchUndoRow, DraftGetRow, DraftListResult, DraftPatchRow, DraftStagePatch } from '@melite/estate-drafts/types'
|
|
8
|
+
|
|
9
|
+
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
10
|
+
interface TypertRemoteNamespace$62656e6368 {
|
|
11
|
+
'add-stage': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
12
|
+
clear: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchClearRow>>
|
|
13
|
+
ensure: (doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchEnsureRow>>
|
|
14
|
+
get: (sessionKey: string, signal?: AbortSignal) => Promise<RemoteResult<BenchGetRow>>
|
|
15
|
+
group: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
16
|
+
patch: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchPatchRow>>
|
|
17
|
+
'remove-stage': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
18
|
+
reorder: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchReorderRow>>
|
|
19
|
+
rewire: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchRewireRow>>
|
|
20
|
+
subscribe: (sessionKey: string, signal?: AbortSignal) => RemoteStreamHandle<BenchGetRow, never>
|
|
21
|
+
undo: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchUndoRow>>
|
|
22
|
+
ungroup: (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
23
|
+
}
|
|
24
|
+
interface TypertRemoteNamespace$647261667473 {
|
|
25
|
+
get: (draftId: string, signal?: AbortSignal) => Promise<RemoteResult<DraftGetRow>>
|
|
26
|
+
list: (signal?: AbortSignal) => Promise<RemoteResult<DraftListResult>>
|
|
27
|
+
patch: (draftId: string, stageId: string, patch: DraftStagePatch, expectRev: number | null, signal?: AbortSignal) => Promise<RemoteResult<DraftPatchRow>>
|
|
28
|
+
}
|
|
29
|
+
interface TypertRemoteMap {
|
|
30
|
+
'bench/add-stage': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
31
|
+
'bench/clear': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchClearRow>>
|
|
32
|
+
'bench/ensure': (doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchEnsureRow>>
|
|
33
|
+
'bench/get': (sessionKey: string, signal?: AbortSignal) => Promise<RemoteResult<BenchGetRow>>
|
|
34
|
+
'bench/group': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
35
|
+
'bench/patch': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchPatchRow>>
|
|
36
|
+
'bench/remove-stage': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
37
|
+
'bench/reorder': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchReorderRow>>
|
|
38
|
+
'bench/rewire': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchRewireRow>>
|
|
39
|
+
'bench/subscribe': (sessionKey: string, signal?: AbortSignal) => RemoteStreamHandle<BenchGetRow, never>
|
|
40
|
+
'bench/undo': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchUndoRow>>
|
|
41
|
+
'bench/ungroup': (sessionKey: string, doc: BenchDoc, signal?: AbortSignal) => Promise<RemoteResult<BenchStageRow>>
|
|
42
|
+
'drafts/get': (draftId: string, signal?: AbortSignal) => Promise<RemoteResult<DraftGetRow>>
|
|
43
|
+
'drafts/list': (signal?: AbortSignal) => Promise<RemoteResult<DraftListResult>>
|
|
44
|
+
'drafts/patch': (draftId: string, stageId: string, patch: DraftStagePatch, expectRev: number | null, signal?: AbortSignal) => Promise<RemoteResult<DraftPatchRow>>
|
|
45
|
+
}
|
|
46
|
+
interface TypertRemoteNamespaceMap {
|
|
47
|
+
'bench': TypertRemoteNamespace$62656e6368
|
|
48
|
+
'drafts': TypertRemoteNamespace$647261667473
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export declare const TYPERT_REMOTE: TypertRemoteContribution
|
|
53
|
+
export default TYPERT_REMOTE
|
|
54
|
+
//# sourceMappingURL=typert.remote-client.d.ts.map
|