@dxos/protocols 0.4.7-main.b23cefb → 0.4.7-main.b51ad3a
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/cjs/src/errors/encoding.js.map +1 -1
- package/dist/cjs/src/errors/helpers.js.map +1 -1
- package/dist/cjs/src/index.d.ts +1 -0
- package/dist/cjs/src/index.d.ts.map +1 -1
- package/dist/cjs/src/index.js +1 -0
- package/dist/cjs/src/index.js.map +1 -1
- package/dist/cjs/src/indexing.d.ts +11 -0
- package/dist/cjs/src/indexing.d.ts.map +1 -0
- package/dist/cjs/src/indexing.js +14 -0
- package/dist/cjs/src/indexing.js.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +177 -176
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +26 -25
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +3 -6
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/errors/encoding.js.map +1 -1
- package/dist/esm/src/errors/helpers.js.map +1 -1
- package/dist/esm/src/index.d.ts +1 -0
- package/dist/esm/src/index.d.ts.map +1 -1
- package/dist/esm/src/index.js +1 -0
- package/dist/esm/src/index.js.map +1 -1
- package/dist/esm/src/indexing.d.ts +11 -0
- package/dist/esm/src/indexing.d.ts.map +1 -0
- package/dist/esm/src/indexing.js +11 -0
- package/dist/esm/src/indexing.js.map +1 -0
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +177 -176
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +25 -24
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +3 -6
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -0
- package/src/indexing.ts +11 -0
- package/src/proto/dxos/client/services.proto +3 -0
- package/src/proto/dxos/halo/credentials.proto +2 -2
- package/src/proto/gen/dxos/client/services.ts +177 -176
- package/src/proto/gen/dxos/halo/credentials.ts +3 -6
- package/src/proto/gen/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAuhB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAuhB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,2ioGAA2ioG,CAAC,CAAC,CAAC;AACpmoG,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.4.7-main.
|
|
3
|
+
"version": "0.4.7-main.b51ad3a",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/codec-protobuf": "0.4.7-main.
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/timeframe": "0.4.7-main.
|
|
36
|
+
"@dxos/invariant": "0.4.7-main.b51ad3a",
|
|
37
|
+
"@dxos/codec-protobuf": "0.4.7-main.b51ad3a",
|
|
38
|
+
"@dxos/keys": "0.4.7-main.b51ad3a",
|
|
39
|
+
"@dxos/timeframe": "0.4.7-main.b51ad3a"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
package/src/index.ts
CHANGED
package/src/indexing.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2024 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
export const idCodec = {
|
|
6
|
+
encode: ({ documentId, objectId }: { documentId: string; objectId: string }) => `${documentId}|${objectId}`,
|
|
7
|
+
decode: (id: string) => {
|
|
8
|
+
const [documentId, objectId] = id.split('|');
|
|
9
|
+
return { documentId, objectId };
|
|
10
|
+
},
|
|
11
|
+
};
|
|
@@ -351,6 +351,9 @@ message CreateEpochRequest {
|
|
|
351
351
|
|
|
352
352
|
/// Init empty automerge document as the space root. Disables legacy ECHO snapshot creation.
|
|
353
353
|
INIT_AUTOMERGE = 1;
|
|
354
|
+
|
|
355
|
+
/// Init new automerge root by clonning the current space root. History is pruned.
|
|
356
|
+
PRUNE_AUTOMERGE_ROOT_HISTORY = 2;
|
|
354
357
|
}
|
|
355
358
|
|
|
356
359
|
dxos.keys.PublicKey space_key = 1;
|
|
@@ -143,8 +143,8 @@ message IdentityRecovery {
|
|
|
143
143
|
message ProfileDocument {
|
|
144
144
|
optional string display_name = 1;
|
|
145
145
|
optional string avatar_cid = 2;
|
|
146
|
-
|
|
147
|
-
optional
|
|
146
|
+
/// Custom user data.
|
|
147
|
+
optional google.protobuf.Struct data = 10;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
/// [ASSERTION]: Sets profile information.
|
|
@@ -59,6 +59,181 @@ import * as dxos_value from "../value";
|
|
|
59
59
|
import * as example_testing_data from "../../example/testing/data";
|
|
60
60
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
61
61
|
import * as google_protobuf from "../../google/protobuf";
|
|
62
|
+
/**
|
|
63
|
+
* Defined in:
|
|
64
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
65
|
+
*/
|
|
66
|
+
export interface Metrics {
|
|
67
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
68
|
+
values?: Metrics.KeyPair[];
|
|
69
|
+
}
|
|
70
|
+
export namespace Metrics {
|
|
71
|
+
/**
|
|
72
|
+
* Defined in:
|
|
73
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
74
|
+
*/
|
|
75
|
+
export interface KeyPair {
|
|
76
|
+
/**
|
|
77
|
+
* Options:
|
|
78
|
+
* - proto3_optional = true
|
|
79
|
+
*/
|
|
80
|
+
key?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Options:
|
|
83
|
+
* - proto3_optional = true
|
|
84
|
+
*/
|
|
85
|
+
value?: dxos_value.Value;
|
|
86
|
+
/**
|
|
87
|
+
* Options:
|
|
88
|
+
* - proto3_optional = true
|
|
89
|
+
*/
|
|
90
|
+
stats?: dxos_value.Stats;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Defined in:
|
|
95
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
96
|
+
*/
|
|
97
|
+
export interface ControlMetricsRequest {
|
|
98
|
+
/**
|
|
99
|
+
* Options:
|
|
100
|
+
* - proto3_optional = true
|
|
101
|
+
*/
|
|
102
|
+
reset?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Options:
|
|
105
|
+
* - proto3_optional = true
|
|
106
|
+
*/
|
|
107
|
+
record?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Defined in:
|
|
111
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
112
|
+
*/
|
|
113
|
+
export interface ControlMetricsResponse {
|
|
114
|
+
/**
|
|
115
|
+
* Options:
|
|
116
|
+
* - proto3_optional = true
|
|
117
|
+
*/
|
|
118
|
+
recording?: boolean;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Defined in:
|
|
122
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
123
|
+
*/
|
|
124
|
+
export interface QueryMetricsRequest {
|
|
125
|
+
/**
|
|
126
|
+
* Options:
|
|
127
|
+
* - proto3_optional = true
|
|
128
|
+
*/
|
|
129
|
+
interval?: number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Defined in:
|
|
133
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
134
|
+
*/
|
|
135
|
+
export interface QueryMetricsResponse {
|
|
136
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
137
|
+
metrics: Metrics;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Defined in:
|
|
141
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
142
|
+
*/
|
|
143
|
+
export enum LogLevel {
|
|
144
|
+
TRACE = 5,
|
|
145
|
+
DEBUG = 10,
|
|
146
|
+
INFO = 11,
|
|
147
|
+
WARN = 12,
|
|
148
|
+
ERROR = 13
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Defined in:
|
|
152
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
153
|
+
*/
|
|
154
|
+
export interface QueryLogsRequest {
|
|
155
|
+
filters?: QueryLogsRequest.Filter[];
|
|
156
|
+
/**
|
|
157
|
+
* Options:
|
|
158
|
+
* - proto3_optional = true
|
|
159
|
+
*/
|
|
160
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
161
|
+
}
|
|
162
|
+
export namespace QueryLogsRequest {
|
|
163
|
+
/**
|
|
164
|
+
* Defined in:
|
|
165
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
166
|
+
*/
|
|
167
|
+
export enum MatchingOptions {
|
|
168
|
+
INCLUSIVE = 1,
|
|
169
|
+
EXPLICIT = 2
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Defined in:
|
|
173
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
174
|
+
*/
|
|
175
|
+
export interface Filter {
|
|
176
|
+
level: LogLevel;
|
|
177
|
+
/**
|
|
178
|
+
* Options:
|
|
179
|
+
* - proto3_optional = true
|
|
180
|
+
*/
|
|
181
|
+
pattern?: string;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Defined in:
|
|
186
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
187
|
+
*/
|
|
188
|
+
export interface LogEntry {
|
|
189
|
+
level: LogLevel;
|
|
190
|
+
message: string;
|
|
191
|
+
/**
|
|
192
|
+
* Options:
|
|
193
|
+
* - proto3_optional = true
|
|
194
|
+
*/
|
|
195
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
196
|
+
/**
|
|
197
|
+
* Options:
|
|
198
|
+
* - proto3_optional = true
|
|
199
|
+
*/
|
|
200
|
+
meta?: LogEntry.Meta;
|
|
201
|
+
/**
|
|
202
|
+
* Options:
|
|
203
|
+
* - proto3_optional = true
|
|
204
|
+
*/
|
|
205
|
+
error?: dxos_error.Error;
|
|
206
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
207
|
+
}
|
|
208
|
+
export namespace LogEntry {
|
|
209
|
+
/**
|
|
210
|
+
* Defined in:
|
|
211
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
212
|
+
*/
|
|
213
|
+
export interface Meta {
|
|
214
|
+
file: string;
|
|
215
|
+
line: number;
|
|
216
|
+
/**
|
|
217
|
+
* Options:
|
|
218
|
+
* - proto3_optional = true
|
|
219
|
+
*/
|
|
220
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
221
|
+
/**
|
|
222
|
+
* Options:
|
|
223
|
+
* - proto3_optional = true
|
|
224
|
+
*/
|
|
225
|
+
resourceId?: number;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Defined in:
|
|
230
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
231
|
+
*/
|
|
232
|
+
export interface LoggingService {
|
|
233
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
234
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
235
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
236
|
+
}
|
|
62
237
|
/**
|
|
63
238
|
* Defined in:
|
|
64
239
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -627,7 +802,8 @@ export namespace CreateEpochRequest {
|
|
|
627
802
|
*/
|
|
628
803
|
export enum Migration {
|
|
629
804
|
NONE = 0,
|
|
630
|
-
INIT_AUTOMERGE = 1
|
|
805
|
+
INIT_AUTOMERGE = 1,
|
|
806
|
+
PRUNE_AUTOMERGE_ROOT_HISTORY = 2
|
|
631
807
|
}
|
|
632
808
|
}
|
|
633
809
|
/**
|
|
@@ -880,178 +1056,3 @@ export interface NetworkService {
|
|
|
880
1056
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
881
1057
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
882
1058
|
}
|
|
883
|
-
/**
|
|
884
|
-
* Defined in:
|
|
885
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
886
|
-
*/
|
|
887
|
-
export interface Metrics {
|
|
888
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
889
|
-
values?: Metrics.KeyPair[];
|
|
890
|
-
}
|
|
891
|
-
export namespace Metrics {
|
|
892
|
-
/**
|
|
893
|
-
* Defined in:
|
|
894
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
895
|
-
*/
|
|
896
|
-
export interface KeyPair {
|
|
897
|
-
/**
|
|
898
|
-
* Options:
|
|
899
|
-
* - proto3_optional = true
|
|
900
|
-
*/
|
|
901
|
-
key?: string;
|
|
902
|
-
/**
|
|
903
|
-
* Options:
|
|
904
|
-
* - proto3_optional = true
|
|
905
|
-
*/
|
|
906
|
-
value?: dxos_value.Value;
|
|
907
|
-
/**
|
|
908
|
-
* Options:
|
|
909
|
-
* - proto3_optional = true
|
|
910
|
-
*/
|
|
911
|
-
stats?: dxos_value.Stats;
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
/**
|
|
915
|
-
* Defined in:
|
|
916
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
917
|
-
*/
|
|
918
|
-
export interface ControlMetricsRequest {
|
|
919
|
-
/**
|
|
920
|
-
* Options:
|
|
921
|
-
* - proto3_optional = true
|
|
922
|
-
*/
|
|
923
|
-
reset?: boolean;
|
|
924
|
-
/**
|
|
925
|
-
* Options:
|
|
926
|
-
* - proto3_optional = true
|
|
927
|
-
*/
|
|
928
|
-
record?: boolean;
|
|
929
|
-
}
|
|
930
|
-
/**
|
|
931
|
-
* Defined in:
|
|
932
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
933
|
-
*/
|
|
934
|
-
export interface ControlMetricsResponse {
|
|
935
|
-
/**
|
|
936
|
-
* Options:
|
|
937
|
-
* - proto3_optional = true
|
|
938
|
-
*/
|
|
939
|
-
recording?: boolean;
|
|
940
|
-
}
|
|
941
|
-
/**
|
|
942
|
-
* Defined in:
|
|
943
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
944
|
-
*/
|
|
945
|
-
export interface QueryMetricsRequest {
|
|
946
|
-
/**
|
|
947
|
-
* Options:
|
|
948
|
-
* - proto3_optional = true
|
|
949
|
-
*/
|
|
950
|
-
interval?: number;
|
|
951
|
-
}
|
|
952
|
-
/**
|
|
953
|
-
* Defined in:
|
|
954
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
955
|
-
*/
|
|
956
|
-
export interface QueryMetricsResponse {
|
|
957
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
958
|
-
metrics: Metrics;
|
|
959
|
-
}
|
|
960
|
-
/**
|
|
961
|
-
* Defined in:
|
|
962
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
963
|
-
*/
|
|
964
|
-
export enum LogLevel {
|
|
965
|
-
TRACE = 5,
|
|
966
|
-
DEBUG = 10,
|
|
967
|
-
INFO = 11,
|
|
968
|
-
WARN = 12,
|
|
969
|
-
ERROR = 13
|
|
970
|
-
}
|
|
971
|
-
/**
|
|
972
|
-
* Defined in:
|
|
973
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
974
|
-
*/
|
|
975
|
-
export interface QueryLogsRequest {
|
|
976
|
-
filters?: QueryLogsRequest.Filter[];
|
|
977
|
-
/**
|
|
978
|
-
* Options:
|
|
979
|
-
* - proto3_optional = true
|
|
980
|
-
*/
|
|
981
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
982
|
-
}
|
|
983
|
-
export namespace QueryLogsRequest {
|
|
984
|
-
/**
|
|
985
|
-
* Defined in:
|
|
986
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
987
|
-
*/
|
|
988
|
-
export enum MatchingOptions {
|
|
989
|
-
INCLUSIVE = 1,
|
|
990
|
-
EXPLICIT = 2
|
|
991
|
-
}
|
|
992
|
-
/**
|
|
993
|
-
* Defined in:
|
|
994
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
995
|
-
*/
|
|
996
|
-
export interface Filter {
|
|
997
|
-
level: LogLevel;
|
|
998
|
-
/**
|
|
999
|
-
* Options:
|
|
1000
|
-
* - proto3_optional = true
|
|
1001
|
-
*/
|
|
1002
|
-
pattern?: string;
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
/**
|
|
1006
|
-
* Defined in:
|
|
1007
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1008
|
-
*/
|
|
1009
|
-
export interface LogEntry {
|
|
1010
|
-
level: LogLevel;
|
|
1011
|
-
message: string;
|
|
1012
|
-
/**
|
|
1013
|
-
* Options:
|
|
1014
|
-
* - proto3_optional = true
|
|
1015
|
-
*/
|
|
1016
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1017
|
-
/**
|
|
1018
|
-
* Options:
|
|
1019
|
-
* - proto3_optional = true
|
|
1020
|
-
*/
|
|
1021
|
-
meta?: LogEntry.Meta;
|
|
1022
|
-
/**
|
|
1023
|
-
* Options:
|
|
1024
|
-
* - proto3_optional = true
|
|
1025
|
-
*/
|
|
1026
|
-
error?: dxos_error.Error;
|
|
1027
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1028
|
-
}
|
|
1029
|
-
export namespace LogEntry {
|
|
1030
|
-
/**
|
|
1031
|
-
* Defined in:
|
|
1032
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1033
|
-
*/
|
|
1034
|
-
export interface Meta {
|
|
1035
|
-
file: string;
|
|
1036
|
-
line: number;
|
|
1037
|
-
/**
|
|
1038
|
-
* Options:
|
|
1039
|
-
* - proto3_optional = true
|
|
1040
|
-
*/
|
|
1041
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1042
|
-
/**
|
|
1043
|
-
* Options:
|
|
1044
|
-
* - proto3_optional = true
|
|
1045
|
-
*/
|
|
1046
|
-
resourceId?: number;
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
/**
|
|
1050
|
-
* Defined in:
|
|
1051
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1052
|
-
*/
|
|
1053
|
-
export interface LoggingService {
|
|
1054
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1055
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1056
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1057
|
-
}
|
|
@@ -230,15 +230,12 @@ export interface ProfileDocument {
|
|
|
230
230
|
*/
|
|
231
231
|
avatarCid?: string;
|
|
232
232
|
/**
|
|
233
|
+
* Custom user data.
|
|
234
|
+
*
|
|
233
235
|
* Options:
|
|
234
236
|
* - proto3_optional = true
|
|
235
237
|
*/
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Options:
|
|
239
|
-
* - proto3_optional = true
|
|
240
|
-
*/
|
|
241
|
-
hue?: string;
|
|
238
|
+
data?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
242
239
|
}
|
|
243
240
|
/**
|
|
244
241
|
* [ASSERTION]: Sets profile information.
|