@dxos/protocols 2.33.7-dev.c7ce8f32 → 2.33.7
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/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +17 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools.d.ts +20 -16
- package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +9 -9
- package/dist/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/index.d.ts +4 -4
- 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 +2 -0
- package/dist/src/proto/index.d.ts.map +1 -0
- package/dist/src/proto/index.js +23 -0
- package/dist/src/proto/index.js.map +1 -0
- package/dist/src/public-key.d.ts +76 -0
- package/dist/src/public-key.d.ts.map +1 -0
- package/dist/src/public-key.js +146 -0
- package/dist/src/public-key.js.map +1 -0
- package/dist/src/public-key.test.d.ts +2 -0
- package/dist/src/public-key.test.d.ts.map +1 -0
- package/dist/src/public-key.test.js +43 -0
- package/dist/src/public-key.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -4
- package/src/index.ts +3 -0
- package/src/proto/dxos/devtools.proto +74 -32
- package/src/proto/dxos/halo/keys.proto +11 -11
- package/src/proto/gen/dxos/devtools.ts +20 -16
- package/src/proto/gen/dxos/halo/keys.ts +9 -9
- package/src/proto/gen/google/protobuf.ts +4 -4
- package/src/proto/gen/index.ts +5 -5
- package/src/proto/index.ts +8 -0
- package/src/public-key.test.ts +63 -0
- package/src/public-key.ts +163 -0
|
@@ -8,17 +8,22 @@ package dxos.devtools;
|
|
|
8
8
|
|
|
9
9
|
import "google/protobuf/empty.proto";
|
|
10
10
|
import "google/protobuf/timestamp.proto";
|
|
11
|
+
|
|
11
12
|
import "./echo/feed.proto";
|
|
12
13
|
import "./echo/snapshot.proto";
|
|
13
14
|
import "./halo/keys.proto";
|
|
14
15
|
import "./halo/signed.proto";
|
|
15
16
|
import "./rpc.proto";
|
|
16
17
|
|
|
18
|
+
//
|
|
19
|
+
// DevtoolsHost
|
|
20
|
+
//
|
|
21
|
+
|
|
17
22
|
service DevtoolsHost {
|
|
18
23
|
//
|
|
19
24
|
// General
|
|
20
25
|
//
|
|
21
|
-
|
|
26
|
+
|
|
22
27
|
// Subscribe to server-to-client events.
|
|
23
28
|
rpc Events(google.protobuf.Empty) returns (stream Event);
|
|
24
29
|
|
|
@@ -28,7 +33,6 @@ service DevtoolsHost {
|
|
|
28
33
|
rpc ResetStorage(ResetStorageRequest) returns (google.protobuf.Empty);
|
|
29
34
|
|
|
30
35
|
rpc EnableDebugLogging(EnableDebugLoggingRequest) returns (EnableDebugLoggingResponse);
|
|
31
|
-
|
|
32
36
|
rpc DisableDebugLogging(EnableDebugLoggingRequest) returns (EnableDebugLoggingResponse);
|
|
33
37
|
|
|
34
38
|
//
|
|
@@ -44,12 +48,9 @@ service DevtoolsHost {
|
|
|
44
48
|
//
|
|
45
49
|
|
|
46
50
|
rpc SubscribeToParties(SubscribeToPartiesRequest) returns (stream SubscribeToPartiesResponse);
|
|
47
|
-
|
|
48
51
|
rpc SubscribeToItems(SubscribeToItemsRequest) returns (stream SubscribeToItemsResponse);
|
|
49
|
-
|
|
50
52
|
rpc SubscribeToFeeds(SubscribeToFeedsRequest) returns (stream SubscribeToFeedsResponse);
|
|
51
|
-
|
|
52
|
-
rpc SubscribeToFeed(SubscribeToFeedRequest) returns (stream SubscribeToFeedResponse);
|
|
53
|
+
rpc SubscribeToFeedBlocks(SubscribeToFeedBlocksRequest) returns (stream SubscribeToFeedBlocksResponse);
|
|
53
54
|
|
|
54
55
|
rpc GetPartySnapshot(GetPartySnapshotRequest) returns (GetPartySnapshotResponse);
|
|
55
56
|
rpc SavePartySnapshot(SavePartySnapshotRequest) returns (SavePartySnapshotResponse);
|
|
@@ -60,13 +61,9 @@ service DevtoolsHost {
|
|
|
60
61
|
//
|
|
61
62
|
|
|
62
63
|
rpc GetNetworkPeers(GetNetworkPeersRequest) returns (GetNetworkPeersResponse);
|
|
63
|
-
|
|
64
64
|
rpc SubscribeToNetworkTopics(google.protobuf.Empty) returns (stream SubscribeToNetworkTopicsResponse);
|
|
65
|
-
|
|
66
65
|
rpc SubscribeToSignalStatus(google.protobuf.Empty) returns (stream SubscribeToSignalStatusResponse);
|
|
67
|
-
|
|
68
66
|
rpc SubscribeToSignalTrace(google.protobuf.Empty) returns (stream SubscribeToSignalTraceResponse);
|
|
69
|
-
|
|
70
67
|
rpc SubscribeToSwarmInfo(SubscribeToSwarmInfoRequest) returns (stream SubscribeToSwarmInfoResponse);
|
|
71
68
|
}
|
|
72
69
|
|
|
@@ -83,6 +80,8 @@ message GetConfigResponse {
|
|
|
83
80
|
string config = 1;
|
|
84
81
|
}
|
|
85
82
|
|
|
83
|
+
// EnableDebugLogging
|
|
84
|
+
|
|
86
85
|
message EnableDebugLoggingRequest {
|
|
87
86
|
string namespaces = 1;
|
|
88
87
|
}
|
|
@@ -91,6 +90,8 @@ message EnableDebugLoggingResponse {
|
|
|
91
90
|
string enabledNamespaces = 1;
|
|
92
91
|
}
|
|
93
92
|
|
|
93
|
+
// DisableDebugLogging
|
|
94
|
+
|
|
94
95
|
message DisableDebugLoggingRequest {
|
|
95
96
|
string namespaces = 1;
|
|
96
97
|
}
|
|
@@ -99,12 +100,16 @@ message DisableDebugLoggingResponse {
|
|
|
99
100
|
string enabledNamespaces = 1;
|
|
100
101
|
}
|
|
101
102
|
|
|
103
|
+
// SubscribeToKeyringKeys
|
|
104
|
+
|
|
102
105
|
message SubscribeToKeyringKeysRequest {}
|
|
103
106
|
|
|
104
107
|
message SubscribeToKeyringKeysResponse {
|
|
105
108
|
repeated KeyRecord keys = 1;
|
|
106
109
|
}
|
|
107
110
|
|
|
111
|
+
// SubscribeToCredential
|
|
112
|
+
|
|
108
113
|
message SubscribeToCredentialMessagesRequest {
|
|
109
114
|
PubKey partyKey = 1;
|
|
110
115
|
}
|
|
@@ -113,8 +118,12 @@ message SubscribeToCredentialMessagesResponse {
|
|
|
113
118
|
repeated SignedMessage messages = 1;
|
|
114
119
|
}
|
|
115
120
|
|
|
121
|
+
// ResetStorage
|
|
122
|
+
|
|
116
123
|
message ResetStorageRequest {}
|
|
117
124
|
|
|
125
|
+
// GetNetworkPeers
|
|
126
|
+
|
|
118
127
|
message GetNetworkPeersRequest {
|
|
119
128
|
bytes topic = 1;
|
|
120
129
|
}
|
|
@@ -125,29 +134,34 @@ message GetNetworkPeersResponse {
|
|
|
125
134
|
|
|
126
135
|
// PeerState enum.
|
|
127
136
|
string state = 2;
|
|
128
|
-
|
|
137
|
+
|
|
129
138
|
repeated bytes connections = 3;
|
|
130
139
|
}
|
|
131
140
|
|
|
132
141
|
repeated PeerInfo peers = 1;
|
|
133
142
|
}
|
|
134
143
|
|
|
135
|
-
|
|
144
|
+
// SubscribeToParties
|
|
145
|
+
|
|
146
|
+
message SubscribeToPartiesRequest {
|
|
147
|
+
repeated PubKey partyKeys = 1;
|
|
148
|
+
}
|
|
136
149
|
|
|
137
150
|
message SubscribeToPartiesResponse {
|
|
138
151
|
message PartyInfo {
|
|
139
|
-
|
|
152
|
+
PubKey key = 1;
|
|
140
153
|
bool isOpen = 2;
|
|
141
154
|
bool isActive = 3;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
TimeframeVector timeframe = 10;
|
|
155
|
+
TimeframeVector timeframe = 4;
|
|
156
|
+
repeated PubKey feeds = 5;
|
|
157
|
+
map<string, string> properties = 6;
|
|
146
158
|
}
|
|
147
159
|
|
|
148
160
|
repeated PartyInfo parties = 1;
|
|
149
161
|
}
|
|
150
162
|
|
|
163
|
+
// SubscribeToItems
|
|
164
|
+
|
|
151
165
|
message SubscribeToItemsRequest {}
|
|
152
166
|
|
|
153
167
|
message SubscribeToItemsResponse {
|
|
@@ -155,24 +169,32 @@ message SubscribeToItemsResponse {
|
|
|
155
169
|
string data = 1;
|
|
156
170
|
}
|
|
157
171
|
|
|
158
|
-
|
|
172
|
+
// SubscribeToFeeds
|
|
173
|
+
|
|
174
|
+
message SubscribeToFeedsRequest {
|
|
175
|
+
PubKey partyKey = 1;
|
|
176
|
+
repeated PubKey feedKeys = 2;
|
|
177
|
+
}
|
|
159
178
|
|
|
160
179
|
message SubscribeToFeedsResponse {
|
|
161
|
-
message
|
|
162
|
-
PubKey
|
|
163
|
-
|
|
180
|
+
message Feed {
|
|
181
|
+
PubKey feedKey = 1;
|
|
182
|
+
int32 length = 2;
|
|
164
183
|
}
|
|
165
184
|
|
|
166
|
-
repeated
|
|
185
|
+
repeated Feed feeds = 1;
|
|
167
186
|
}
|
|
168
187
|
|
|
169
|
-
|
|
188
|
+
// SubscribeToFeedMessages
|
|
189
|
+
|
|
190
|
+
message SubscribeToFeedBlocksRequest {
|
|
170
191
|
PubKey partyKey = 1;
|
|
171
192
|
PubKey feedKey = 2;
|
|
193
|
+
int32 maxBlocks = 3;
|
|
172
194
|
}
|
|
173
195
|
|
|
174
|
-
message
|
|
175
|
-
message
|
|
196
|
+
message SubscribeToFeedBlocksResponse {
|
|
197
|
+
message Block {
|
|
176
198
|
bytes key = 1;
|
|
177
199
|
int32 seq = 2;
|
|
178
200
|
bool sync = 3;
|
|
@@ -180,9 +202,11 @@ message SubscribeToFeedResponse {
|
|
|
180
202
|
FeedMessage data = 5;
|
|
181
203
|
}
|
|
182
204
|
|
|
183
|
-
repeated
|
|
205
|
+
repeated Block blocks = 1;
|
|
184
206
|
}
|
|
185
207
|
|
|
208
|
+
// GetPartySnapshot
|
|
209
|
+
|
|
186
210
|
message GetPartySnapshotRequest {
|
|
187
211
|
required PubKey partyKey = 1;
|
|
188
212
|
}
|
|
@@ -191,6 +215,8 @@ message GetPartySnapshotResponse {
|
|
|
191
215
|
PartySnapshot snapshot = 1;
|
|
192
216
|
}
|
|
193
217
|
|
|
218
|
+
// SavePartySnapshot
|
|
219
|
+
|
|
194
220
|
message SavePartySnapshotRequest {
|
|
195
221
|
required PubKey partyKey = 1;
|
|
196
222
|
}
|
|
@@ -199,8 +225,12 @@ message SavePartySnapshotResponse {
|
|
|
199
225
|
PartySnapshot snapshot = 1;
|
|
200
226
|
}
|
|
201
227
|
|
|
228
|
+
// ClearSnapshots
|
|
229
|
+
|
|
202
230
|
message ClearSnapshotsRequest {}
|
|
203
231
|
|
|
232
|
+
// SubscribeToNetworkTopics
|
|
233
|
+
|
|
204
234
|
message SubscribeToNetworkTopicsResponse {
|
|
205
235
|
message Topic {
|
|
206
236
|
PubKey topic = 1;
|
|
@@ -210,16 +240,18 @@ message SubscribeToNetworkTopicsResponse {
|
|
|
210
240
|
repeated Topic topics = 1;
|
|
211
241
|
}
|
|
212
242
|
|
|
243
|
+
// SubscribeToSignalStatus
|
|
244
|
+
|
|
213
245
|
message SubscribeToSignalStatusResponse {
|
|
214
246
|
message SignalServer {
|
|
215
247
|
string host = 1;
|
|
216
248
|
|
|
217
249
|
// SignalApi.State enum.
|
|
218
250
|
string state = 2;
|
|
219
|
-
|
|
251
|
+
|
|
220
252
|
string error = 3;
|
|
221
253
|
|
|
222
|
-
// Number of milliseconds before reconnection.
|
|
254
|
+
// Number of milliseconds before reconnection.
|
|
223
255
|
// TODO(dmaretskyi): Represent as absolute timestamp.
|
|
224
256
|
int32 reconnectIn = 4;
|
|
225
257
|
|
|
@@ -231,11 +263,15 @@ message SubscribeToSignalStatusResponse {
|
|
|
231
263
|
repeated SignalServer servers = 1;
|
|
232
264
|
}
|
|
233
265
|
|
|
266
|
+
// SubscribeToSignalTrace
|
|
267
|
+
|
|
234
268
|
message SubscribeToSignalTraceResponse {
|
|
235
269
|
// JSON-encoded events.
|
|
236
270
|
repeated string events = 1;
|
|
237
271
|
}
|
|
238
272
|
|
|
273
|
+
// SubscribeToSwarmInfo
|
|
274
|
+
|
|
239
275
|
message SubscribeToSwarmInfoRequest {}
|
|
240
276
|
|
|
241
277
|
message SubscribeToSwarmInfoResponse {
|
|
@@ -261,11 +297,17 @@ message SubscribeToSwarmInfoResponse {
|
|
|
261
297
|
repeated SwarmInfo data = 1;
|
|
262
298
|
}
|
|
263
299
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
300
|
+
//
|
|
301
|
+
// TracingService
|
|
302
|
+
//
|
|
267
303
|
|
|
268
304
|
service TracingService {
|
|
269
305
|
rpc SetTracingOptions(SetTracingOptionsRequest) returns (google.protobuf.Empty);
|
|
270
306
|
rpc SubscribeToRpcTrace (google.protobuf.Empty) returns (stream RpcMessage);
|
|
271
|
-
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
// SetTracingOptions
|
|
310
|
+
|
|
311
|
+
message SetTracingOptionsRequest {
|
|
312
|
+
bool enable = 1;
|
|
313
|
+
}
|
|
@@ -31,43 +31,43 @@ message PrivKey {
|
|
|
31
31
|
|
|
32
32
|
message KeyRecord {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* The `KeyType` type of the key. This is often unknown for keys from other sources.
|
|
35
35
|
*/
|
|
36
36
|
required KeyType type = 1;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* The public key as a Buffer (required).
|
|
40
40
|
*/
|
|
41
41
|
required PubKey publicKey = 2;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The secret key as a Buffer (this will never be visible outside the Keyring).
|
|
45
45
|
*/
|
|
46
46
|
PrivKey secretKey = 3;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Is this key from a Greeting "hint"?
|
|
50
50
|
*/
|
|
51
51
|
bool hint = 4;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
54
|
+
* Determines if this is our key?
|
|
55
|
+
* Usually true if `secretKey` is present; may be false for "inception keys" such as the Party key.
|
|
56
56
|
*/
|
|
57
|
-
bool own = 5;
|
|
57
|
+
bool own = 5; // TODO(burdon): Rename "local" or "private".
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Is this key to be trusted?
|
|
61
61
|
*/
|
|
62
|
-
bool trusted = 6;
|
|
62
|
+
bool trusted = 6; // TODO(burdon): Rename "trust". How is this determined?
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* An RFC-3339 date/time string for when the key was added to the Keyring.
|
|
66
66
|
*/
|
|
67
67
|
string added = 7;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* An RFC-3339 date/time string for when the key was created.
|
|
71
71
|
*/
|
|
72
72
|
string created = 8;
|
|
73
73
|
}
|
|
@@ -27,7 +27,7 @@ export interface DevtoolsHost {
|
|
|
27
27
|
subscribeToParties: (request: SubscribeToPartiesRequest) => Stream<SubscribeToPartiesResponse>;
|
|
28
28
|
subscribeToItems: (request: SubscribeToItemsRequest) => Stream<SubscribeToItemsResponse>;
|
|
29
29
|
subscribeToFeeds: (request: SubscribeToFeedsRequest) => Stream<SubscribeToFeedsResponse>;
|
|
30
|
-
|
|
30
|
+
subscribeToFeedBlocks: (request: SubscribeToFeedBlocksRequest) => Stream<SubscribeToFeedBlocksResponse>;
|
|
31
31
|
getPartySnapshot: (request: GetPartySnapshotRequest) => Promise<GetPartySnapshotResponse>;
|
|
32
32
|
savePartySnapshot: (request: SavePartySnapshotRequest) => Promise<SavePartySnapshotResponse>;
|
|
33
33
|
clearSnapshots: (request: ClearSnapshotsRequest) => Promise<void>;
|
|
@@ -84,18 +84,19 @@ export namespace GetNetworkPeersResponse {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
export interface SubscribeToPartiesRequest {
|
|
87
|
+
partyKeys?: dxos_halo_keys.PubKey[];
|
|
87
88
|
}
|
|
88
89
|
export interface SubscribeToPartiesResponse {
|
|
89
90
|
parties?: SubscribeToPartiesResponse.PartyInfo[];
|
|
90
91
|
}
|
|
91
92
|
export namespace SubscribeToPartiesResponse {
|
|
92
93
|
export interface PartyInfo {
|
|
93
|
-
key?:
|
|
94
|
+
key?: dxos_halo_keys.PubKey;
|
|
94
95
|
isOpen?: boolean;
|
|
95
96
|
isActive?: boolean;
|
|
96
|
-
feedKeys?: number;
|
|
97
|
-
properties?: Partial<Record<string, string>>;
|
|
98
97
|
timeframe?: dxos_echo_timeframe.TimeframeVector;
|
|
98
|
+
feeds?: dxos_halo_keys.PubKey[];
|
|
99
|
+
properties?: Partial<Record<string, string>>;
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
export interface SubscribeToItemsRequest {
|
|
@@ -104,25 +105,28 @@ export interface SubscribeToItemsResponse {
|
|
|
104
105
|
data?: string;
|
|
105
106
|
}
|
|
106
107
|
export interface SubscribeToFeedsRequest {
|
|
108
|
+
partyKey?: dxos_halo_keys.PubKey;
|
|
109
|
+
feedKeys?: dxos_halo_keys.PubKey[];
|
|
107
110
|
}
|
|
108
111
|
export interface SubscribeToFeedsResponse {
|
|
109
|
-
|
|
112
|
+
feeds?: SubscribeToFeedsResponse.Feed[];
|
|
110
113
|
}
|
|
111
114
|
export namespace SubscribeToFeedsResponse {
|
|
112
|
-
export interface
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
export interface Feed {
|
|
116
|
+
feedKey?: dxos_halo_keys.PubKey;
|
|
117
|
+
length?: number;
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
|
-
export interface
|
|
120
|
+
export interface SubscribeToFeedBlocksRequest {
|
|
118
121
|
partyKey?: dxos_halo_keys.PubKey;
|
|
119
122
|
feedKey?: dxos_halo_keys.PubKey;
|
|
123
|
+
maxBlocks?: number;
|
|
120
124
|
}
|
|
121
|
-
export interface
|
|
122
|
-
blocks?:
|
|
125
|
+
export interface SubscribeToFeedBlocksResponse {
|
|
126
|
+
blocks?: SubscribeToFeedBlocksResponse.Block[];
|
|
123
127
|
}
|
|
124
|
-
export namespace
|
|
125
|
-
export interface
|
|
128
|
+
export namespace SubscribeToFeedBlocksResponse {
|
|
129
|
+
export interface Block {
|
|
126
130
|
key?: Uint8Array;
|
|
127
131
|
seq?: number;
|
|
128
132
|
sync?: boolean;
|
|
@@ -198,10 +202,10 @@ export namespace SubscribeToSwarmInfoResponse {
|
|
|
198
202
|
}
|
|
199
203
|
}
|
|
200
204
|
}
|
|
201
|
-
export interface SetTracingOptionsRequest {
|
|
202
|
-
enable?: boolean;
|
|
203
|
-
}
|
|
204
205
|
export interface TracingService {
|
|
205
206
|
setTracingOptions: (request: SetTracingOptionsRequest) => Promise<void>;
|
|
206
207
|
subscribeToRpcTrace: (request: void) => Stream<dxos_rpc.RpcMessage>;
|
|
207
208
|
}
|
|
209
|
+
export interface SetTracingOptionsRequest {
|
|
210
|
+
enable?: boolean;
|
|
211
|
+
}
|
|
@@ -32,36 +32,36 @@ export interface PrivKey {
|
|
|
32
32
|
}
|
|
33
33
|
export interface KeyRecord {
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* The `KeyType` type of the key. This is often unknown for keys from other sources.
|
|
36
36
|
*/
|
|
37
37
|
type: KeyType;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* The public key as a Buffer (required).
|
|
40
40
|
*/
|
|
41
41
|
publicKey: PubKey;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* The secret key as a Buffer (this will never be visible outside the Keyring).
|
|
44
44
|
*/
|
|
45
45
|
secretKey?: PrivKey;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Is this key from a Greeting "hint"?
|
|
48
48
|
*/
|
|
49
49
|
hint?: boolean;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* may be false for "inception keys" such as the Party key.
|
|
51
|
+
* Determines if this is our key?
|
|
52
|
+
* Usually true if `secretKey` is present; may be false for "inception keys" such as the Party key.
|
|
53
53
|
*/
|
|
54
54
|
own?: boolean;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Is this key to be trusted?
|
|
57
57
|
*/
|
|
58
58
|
trusted?: boolean;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* An RFC-3339 date/time string for when the key was added to the Keyring.
|
|
61
61
|
*/
|
|
62
62
|
added?: string;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* An RFC-3339 date/time string for when the key was created.
|
|
65
65
|
*/
|
|
66
66
|
created?: string;
|
|
67
67
|
}
|
|
@@ -18,14 +18,14 @@ import * as dxos_halo_keys from "../dxos/halo/keys";
|
|
|
18
18
|
import * as dxos_rpc from "../dxos/rpc";
|
|
19
19
|
export interface Empty {
|
|
20
20
|
}
|
|
21
|
-
export interface Timestamp {
|
|
22
|
-
seconds?: string;
|
|
23
|
-
nanos?: number;
|
|
24
|
-
}
|
|
25
21
|
export interface Any {
|
|
26
22
|
type_url?: string;
|
|
27
23
|
value?: Uint8Array;
|
|
28
24
|
}
|
|
25
|
+
export interface Timestamp {
|
|
26
|
+
seconds?: string;
|
|
27
|
+
nanos?: number;
|
|
28
|
+
}
|
|
29
29
|
export interface FileDescriptorSet {
|
|
30
30
|
file?: FileDescriptorProto[];
|
|
31
31
|
}
|