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