@dxos/client 2.33.9-dev.d9963f00 → 2.33.9-dev.eb69ac10
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/browser.js +39 -44
- package/dist/src/api/invitations/invitation.d.ts.map +1 -1
- package/dist/src/api/invitations/invitation.js +1 -0
- package/dist/src/api/invitations/invitation.js.map +1 -1
- package/dist/src/proto/gen/dxos/client.d.ts +216 -18
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client.js +4 -0
- package/dist/src/proto/gen/dxos/client.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +457 -0
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +10 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials.d.ts +39 -0
- package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools.d.ts +266 -30
- package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.d.ts +65 -6
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.js +4 -0
- package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/invitation.d.ts +19 -3
- package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/invitation.js +6 -0
- package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +49 -13
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +45 -13
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +9 -2
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +44 -2
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.js +4 -0
- package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts +58 -8
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js +4 -0
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/google/protobuf.d.ts +80 -80
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/dist/src/proto/index.d.ts +1 -0
- package/dist/src/proto/index.d.ts.map +1 -1
- package/dist/src/proto/index.js.map +1 -1
- package/dist/src/services/services.test.js +3 -1
- package/dist/src/services/services.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -17
- package/src/api/invitations/invitation.ts +1 -0
- package/src/proto/gen/dxos/client.ts +216 -18
- package/src/proto/gen/dxos/config.ts +457 -0
- package/src/proto/gen/dxos/credentials.ts +39 -0
- package/src/proto/gen/dxos/devtools.ts +266 -30
- package/src/proto/gen/dxos/echo/feed.ts +65 -6
- package/src/proto/gen/dxos/echo/invitation.ts +19 -3
- package/src/proto/gen/dxos/echo/service.ts +49 -13
- package/src/proto/gen/dxos/echo/snapshot.ts +45 -13
- package/src/proto/gen/dxos/echo/timeframe.ts +9 -2
- package/src/proto/gen/dxos/halo/keys.ts +44 -2
- package/src/proto/gen/dxos/rpc.ts +58 -8
- package/src/proto/gen/google/protobuf.ts +80 -80
- package/src/proto/gen/index.ts +1 -1
- package/src/proto/index.ts +1 -0
- package/src/services/services.test.ts +2 -1
|
@@ -11,43 +11,79 @@ import * as dxos_echo_timeframe from "./timeframe";
|
|
|
11
11
|
import * as dxos_halo_keys from "../halo/keys";
|
|
12
12
|
import * as dxos_rpc from "../rpc";
|
|
13
13
|
import * as google_protobuf from "../../google/protobuf";
|
|
14
|
+
/**
|
|
15
|
+
* Defined in:
|
|
16
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
17
|
+
*/
|
|
14
18
|
export interface SubscribeEntitySetRequest {
|
|
15
|
-
partyKey
|
|
19
|
+
partyKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
16
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Defined in:
|
|
23
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
24
|
+
*/
|
|
17
25
|
export interface SubscribeEntitySetResponse {
|
|
18
26
|
added?: dxos_echo_feed.EchoEnvelope[];
|
|
19
27
|
deleted?: dxos_echo_feed.EchoEnvelope[];
|
|
20
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Defined in:
|
|
31
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
32
|
+
*/
|
|
21
33
|
export interface SubscribeEntityStreamRequest {
|
|
22
|
-
partyKey
|
|
23
|
-
itemId
|
|
34
|
+
partyKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
35
|
+
itemId: string;
|
|
24
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Defined in:
|
|
39
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
40
|
+
*/
|
|
25
41
|
export interface SubscribeEntityStreamResponse {
|
|
26
42
|
snapshot?: dxos_echo_snapshot.ItemSnapshot;
|
|
27
43
|
mutation?: SubscribeEntityStreamResponse.Mutation;
|
|
28
44
|
}
|
|
29
45
|
export namespace SubscribeEntityStreamResponse {
|
|
46
|
+
/**
|
|
47
|
+
* Defined in:
|
|
48
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
49
|
+
*/
|
|
30
50
|
export interface Mutation {
|
|
31
|
-
data
|
|
32
|
-
meta
|
|
51
|
+
data: dxos_echo_feed.EchoEnvelope;
|
|
52
|
+
meta: SubscribeEntityStreamResponse.Mutation.Metadata;
|
|
33
53
|
}
|
|
34
54
|
export namespace Mutation {
|
|
55
|
+
/**
|
|
56
|
+
* Defined in:
|
|
57
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
58
|
+
*/
|
|
35
59
|
export interface Metadata {
|
|
36
|
-
feedKey
|
|
37
|
-
memberKey
|
|
38
|
-
seq
|
|
39
|
-
timeframe
|
|
60
|
+
feedKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
61
|
+
memberKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
62
|
+
seq: number;
|
|
63
|
+
timeframe: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
40
64
|
}
|
|
41
65
|
}
|
|
42
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Defined in:
|
|
69
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
70
|
+
*/
|
|
43
71
|
export interface WriteRequest {
|
|
44
|
-
partyKey
|
|
45
|
-
mutation
|
|
72
|
+
partyKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
73
|
+
mutation: dxos_echo_feed.EchoEnvelope;
|
|
46
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Defined in:
|
|
77
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
78
|
+
*/
|
|
47
79
|
export interface MutationReceipt {
|
|
48
|
-
feedKey
|
|
49
|
-
seq
|
|
80
|
+
feedKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
81
|
+
seq: number;
|
|
50
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Defined in:
|
|
85
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/service.proto}
|
|
86
|
+
*/
|
|
51
87
|
export interface DataService {
|
|
52
88
|
subscribeEntitySet: (request: SubscribeEntitySetRequest) => Stream<SubscribeEntitySetResponse>;
|
|
53
89
|
subscribeEntityStream: (request: SubscribeEntityStreamRequest) => Stream<SubscribeEntityStreamResponse>;
|
|
@@ -11,20 +11,44 @@ import * as dxos_echo_timeframe from "./timeframe";
|
|
|
11
11
|
import * as dxos_halo_keys from "../halo/keys";
|
|
12
12
|
import * as dxos_rpc from "../rpc";
|
|
13
13
|
import * as google_protobuf from "../../google/protobuf";
|
|
14
|
+
/**
|
|
15
|
+
* Defined in:
|
|
16
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
17
|
+
*/
|
|
14
18
|
export interface PartySnapshot {
|
|
15
|
-
partyKey
|
|
19
|
+
partyKey: Uint8Array;
|
|
20
|
+
/**
|
|
21
|
+
* Options:
|
|
22
|
+
* - proto3_optional = true
|
|
23
|
+
*/
|
|
16
24
|
timeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
25
|
+
/**
|
|
26
|
+
* Options:
|
|
27
|
+
* - proto3_optional = true
|
|
28
|
+
*/
|
|
17
29
|
timestamp?: number;
|
|
18
|
-
halo
|
|
19
|
-
database
|
|
30
|
+
halo: HaloStateSnapshot;
|
|
31
|
+
database: DatabaseSnapshot;
|
|
20
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Defined in:
|
|
35
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
36
|
+
*/
|
|
21
37
|
export interface HaloStateSnapshot {
|
|
22
38
|
messages?: ReturnType<(typeof substitutions)["dxos.echo.feed.CredentialsMessage"]["decode"]>[];
|
|
23
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Defined in:
|
|
42
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
43
|
+
*/
|
|
24
44
|
export interface DatabaseSnapshot {
|
|
25
45
|
items?: ItemSnapshot[];
|
|
26
46
|
links?: LinkSnapshot[];
|
|
27
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Defined in:
|
|
50
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
51
|
+
*/
|
|
28
52
|
export interface ItemSnapshot {
|
|
29
53
|
/**
|
|
30
54
|
* Options:
|
|
@@ -36,11 +60,7 @@ export interface ItemSnapshot {
|
|
|
36
60
|
* - proto3_optional = true
|
|
37
61
|
*/
|
|
38
62
|
itemType?: string;
|
|
39
|
-
|
|
40
|
-
* Options:
|
|
41
|
-
* - proto3_optional = true
|
|
42
|
-
*/
|
|
43
|
-
modelType?: string;
|
|
63
|
+
modelType: string;
|
|
44
64
|
/**
|
|
45
65
|
* Options:
|
|
46
66
|
* - proto3_optional = true
|
|
@@ -57,6 +77,10 @@ export interface ItemSnapshot {
|
|
|
57
77
|
*/
|
|
58
78
|
model?: ModelSnapshot;
|
|
59
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Defined in:
|
|
82
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
83
|
+
*/
|
|
60
84
|
export interface LinkSnapshot {
|
|
61
85
|
/**
|
|
62
86
|
* Options:
|
|
@@ -68,11 +92,7 @@ export interface LinkSnapshot {
|
|
|
68
92
|
* - proto3_optional = true
|
|
69
93
|
*/
|
|
70
94
|
linkType?: string;
|
|
71
|
-
|
|
72
|
-
* Options:
|
|
73
|
-
* - proto3_optional = true
|
|
74
|
-
*/
|
|
75
|
-
modelType?: string;
|
|
95
|
+
modelType: string;
|
|
76
96
|
/**
|
|
77
97
|
* Options:
|
|
78
98
|
* - proto3_optional = true
|
|
@@ -86,6 +106,10 @@ export interface LinkSnapshot {
|
|
|
86
106
|
*/
|
|
87
107
|
model?: ModelSnapshot;
|
|
88
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Defined in:
|
|
111
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
112
|
+
*/
|
|
89
113
|
export interface ModelSnapshot {
|
|
90
114
|
/**
|
|
91
115
|
* Encoded model snapshot (defined by the model's codec).
|
|
@@ -100,10 +124,18 @@ export interface ModelSnapshot {
|
|
|
100
124
|
*/
|
|
101
125
|
mutations?: ModelMutation[];
|
|
102
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Defined in:
|
|
129
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
130
|
+
*/
|
|
103
131
|
export interface ModelMutation {
|
|
104
132
|
mutation: Uint8Array;
|
|
105
133
|
meta: ModelMutationMeta;
|
|
106
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Defined in:
|
|
137
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/snapshot.proto}
|
|
138
|
+
*/
|
|
107
139
|
export interface ModelMutationMeta {
|
|
108
140
|
feedKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
109
141
|
seq: number;
|
|
@@ -13,13 +13,20 @@ import * as dxos_rpc from "../rpc";
|
|
|
13
13
|
import * as google_protobuf from "../../google/protobuf";
|
|
14
14
|
/**
|
|
15
15
|
* Vector timestamp used to order messages.
|
|
16
|
+
*
|
|
17
|
+
* Defined in:
|
|
18
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/timeframe.proto}
|
|
16
19
|
*/
|
|
17
20
|
export interface TimeframeVector {
|
|
18
21
|
frames?: TimeframeVector.Frame[];
|
|
19
22
|
}
|
|
20
23
|
export namespace TimeframeVector {
|
|
24
|
+
/**
|
|
25
|
+
* Defined in:
|
|
26
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/echo/timeframe.proto}
|
|
27
|
+
*/
|
|
21
28
|
export interface Frame {
|
|
22
|
-
feedKey
|
|
23
|
-
seq
|
|
29
|
+
feedKey: Uint8Array;
|
|
30
|
+
seq: number;
|
|
24
31
|
}
|
|
25
32
|
}
|
|
@@ -11,6 +11,10 @@ import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
|
11
11
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
12
12
|
import * as dxos_rpc from "../rpc";
|
|
13
13
|
import * as google_protobuf from "../../google/protobuf";
|
|
14
|
+
/**
|
|
15
|
+
* Defined in:
|
|
16
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/halo/keys.proto}
|
|
17
|
+
*/
|
|
14
18
|
export enum KeyType {
|
|
15
19
|
UNKNOWN = 0,
|
|
16
20
|
IDENTITY = 1,
|
|
@@ -19,12 +23,24 @@ export enum KeyType {
|
|
|
19
23
|
FEED = 4,
|
|
20
24
|
DXNS_ADDRESS = 5
|
|
21
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Defined in:
|
|
28
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/halo/keys.proto}
|
|
29
|
+
*/
|
|
22
30
|
export interface PubKey {
|
|
23
|
-
data
|
|
31
|
+
data: Uint8Array;
|
|
24
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Defined in:
|
|
35
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/halo/keys.proto}
|
|
36
|
+
*/
|
|
25
37
|
export interface PrivKey {
|
|
26
|
-
data
|
|
38
|
+
data: Uint8Array;
|
|
27
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Defined in:
|
|
42
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/halo/keys.proto}
|
|
43
|
+
*/
|
|
28
44
|
export interface KeyRecord {
|
|
29
45
|
/**
|
|
30
46
|
* The `KeyType` type of the key. This is often unknown for keys from other sources.
|
|
@@ -36,33 +52,59 @@ export interface KeyRecord {
|
|
|
36
52
|
publicKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
37
53
|
/**
|
|
38
54
|
* The secret key as a Buffer (this will never be visible outside the Keyring).
|
|
55
|
+
*
|
|
56
|
+
* Options:
|
|
57
|
+
* - proto3_optional = true
|
|
39
58
|
*/
|
|
40
59
|
secretKey?: ReturnType<(typeof substitutions)["dxos.halo.keys.PrivKey"]["decode"]>;
|
|
41
60
|
/**
|
|
42
61
|
* Is this key from a Greeting "hint"?
|
|
62
|
+
*
|
|
63
|
+
* Options:
|
|
64
|
+
* - proto3_optional = true
|
|
43
65
|
*/
|
|
44
66
|
hint?: boolean;
|
|
45
67
|
/**
|
|
46
68
|
* Determines if this is our key?
|
|
47
69
|
* Usually true if `secretKey` is present; may be false for "inception keys" such as the Party key.
|
|
70
|
+
*
|
|
71
|
+
* Options:
|
|
72
|
+
* - proto3_optional = true
|
|
48
73
|
*/
|
|
49
74
|
own?: boolean;
|
|
50
75
|
/**
|
|
51
76
|
* Is this key to be trusted?
|
|
77
|
+
*
|
|
78
|
+
* Options:
|
|
79
|
+
* - proto3_optional = true
|
|
52
80
|
*/
|
|
53
81
|
trusted?: boolean;
|
|
54
82
|
/**
|
|
55
83
|
* An RFC-3339 date/time string for when the key was added to the Keyring.
|
|
84
|
+
*
|
|
85
|
+
* Options:
|
|
86
|
+
* - proto3_optional = true
|
|
56
87
|
*/
|
|
57
88
|
added?: string;
|
|
58
89
|
/**
|
|
59
90
|
* An RFC-3339 date/time string for when the key was created.
|
|
91
|
+
*
|
|
92
|
+
* Options:
|
|
93
|
+
* - proto3_optional = true
|
|
60
94
|
*/
|
|
61
95
|
created?: string;
|
|
62
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Defined in:
|
|
99
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/halo/keys.proto}
|
|
100
|
+
*/
|
|
63
101
|
export interface KeyRecordList {
|
|
64
102
|
keys?: KeyRecord[];
|
|
65
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Defined in:
|
|
106
|
+
* {@link file://./../../../../../../../common/protocols/src/proto/dxos/halo/keys.proto}
|
|
107
|
+
*/
|
|
66
108
|
export interface KeyChain {
|
|
67
109
|
publicKey: ReturnType<(typeof substitutions)["dxos.halo.keys.PubKey"]["decode"]>;
|
|
68
110
|
message: dxos_credentials.SignedMessage;
|
|
@@ -11,6 +11,10 @@ import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
|
11
11
|
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
12
12
|
import * as dxos_halo_keys from "./halo/keys";
|
|
13
13
|
import * as google_protobuf from "../google/protobuf";
|
|
14
|
+
/**
|
|
15
|
+
* Defined in:
|
|
16
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
17
|
+
*/
|
|
14
18
|
export interface RpcMessage {
|
|
15
19
|
request?: Request;
|
|
16
20
|
response?: Response;
|
|
@@ -24,31 +28,77 @@ export interface RpcMessage {
|
|
|
24
28
|
openAck?: boolean;
|
|
25
29
|
streamClose?: StreamClose;
|
|
26
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Defined in:
|
|
33
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
34
|
+
*/
|
|
27
35
|
export interface Request {
|
|
28
|
-
id
|
|
29
|
-
method
|
|
30
|
-
payload
|
|
31
|
-
stream
|
|
36
|
+
id: number;
|
|
37
|
+
method: string;
|
|
38
|
+
payload: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
39
|
+
stream: boolean;
|
|
32
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Defined in:
|
|
43
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
44
|
+
*/
|
|
33
45
|
export interface Response {
|
|
34
|
-
id
|
|
46
|
+
id: number;
|
|
35
47
|
payload?: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
36
48
|
error?: Error;
|
|
49
|
+
/**
|
|
50
|
+
* Sent when stream is closed without an error.
|
|
51
|
+
*/
|
|
37
52
|
close?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Sent when the server has processed a request with a streaming response.
|
|
55
|
+
*
|
|
56
|
+
* Can be skipped by the server.
|
|
57
|
+
* In this case the first payload should be treated as the server being ready.
|
|
58
|
+
*/
|
|
59
|
+
streamReady?: boolean;
|
|
38
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Defined in:
|
|
63
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
64
|
+
*/
|
|
39
65
|
export interface StreamClose {
|
|
40
|
-
id
|
|
66
|
+
id: number;
|
|
41
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Defined in:
|
|
70
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
71
|
+
*/
|
|
42
72
|
export interface Error {
|
|
73
|
+
/**
|
|
74
|
+
* Options:
|
|
75
|
+
* - proto3_optional = true
|
|
76
|
+
*/
|
|
43
77
|
name?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Options:
|
|
80
|
+
* - proto3_optional = true
|
|
81
|
+
*/
|
|
44
82
|
message?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Options:
|
|
85
|
+
* - proto3_optional = true
|
|
86
|
+
*/
|
|
45
87
|
stack?: string;
|
|
46
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* Defined in:
|
|
91
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
92
|
+
*/
|
|
47
93
|
export interface MessageTrace {
|
|
48
|
-
direction
|
|
49
|
-
data
|
|
94
|
+
direction: MessageTrace.Direction;
|
|
95
|
+
data: Uint8Array;
|
|
50
96
|
}
|
|
51
97
|
export namespace MessageTrace {
|
|
98
|
+
/**
|
|
99
|
+
* Defined in:
|
|
100
|
+
* {@link file://./../../../../../../common/protocols/src/proto/dxos/rpc.proto}
|
|
101
|
+
*/
|
|
52
102
|
export enum Direction {
|
|
53
103
|
INCOMING = 0,
|
|
54
104
|
OUTGOING = 1
|