@dxos/protocols 0.4.10-main.4ae4df1 → 0.4.10-main.572d54f

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.
Files changed (61) hide show
  1. package/dist/cjs/src/indexing.d.ts.map +1 -1
  2. package/dist/cjs/src/indexing.js.map +1 -1
  3. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +185 -177
  4. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  5. package/dist/cjs/src/proto/gen/dxos/client/services.js +26 -25
  6. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  7. package/dist/cjs/src/proto/gen/dxos/config.d.ts +2 -7
  8. package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
  9. package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
  10. package/dist/cjs/src/proto/gen/dxos/echo/model/document.d.ts +0 -1
  11. package/dist/cjs/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  12. package/dist/cjs/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  13. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts +9 -1
  14. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  15. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +7 -5
  16. package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  17. package/dist/cjs/src/proto/gen/dxos/iframe.js +7 -5
  18. package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
  19. package/dist/cjs/src/proto/gen/google/protobuf.d.ts +4 -4
  20. package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
  21. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  22. package/dist/cjs/src/proto/gen/index.js +1 -1
  23. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  24. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  25. package/dist/esm/src/indexing.d.ts.map +1 -1
  26. package/dist/esm/src/indexing.js.map +1 -1
  27. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +185 -177
  28. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  29. package/dist/esm/src/proto/gen/dxos/client/services.js +25 -24
  30. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  31. package/dist/esm/src/proto/gen/dxos/config.d.ts +2 -7
  32. package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
  33. package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
  34. package/dist/esm/src/proto/gen/dxos/echo/model/document.d.ts +0 -1
  35. package/dist/esm/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
  36. package/dist/esm/src/proto/gen/dxos/echo/model/document.js.map +1 -1
  37. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts +9 -1
  38. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  39. package/dist/esm/src/proto/gen/dxos/iframe.d.ts +7 -5
  40. package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
  41. package/dist/esm/src/proto/gen/dxos/iframe.js +7 -5
  42. package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
  43. package/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
  44. package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
  45. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  46. package/dist/esm/src/proto/gen/index.js +1 -1
  47. package/dist/esm/src/proto/gen/index.js.map +1 -1
  48. package/package.json +5 -5
  49. package/src/indexing.ts +1 -0
  50. package/src/proto/dxos/client/services.proto +13 -3
  51. package/src/proto/dxos/config.proto +4 -3
  52. package/src/proto/dxos/echo/model/document.proto +0 -3
  53. package/src/proto/dxos/echo/service.proto +5 -1
  54. package/src/proto/dxos/iframe.proto +7 -5
  55. package/src/proto/gen/dxos/client/services.ts +185 -177
  56. package/src/proto/gen/dxos/config.ts +2 -7
  57. package/src/proto/gen/dxos/echo/model/document.ts +0 -1
  58. package/src/proto/gen/dxos/echo/service.ts +9 -1
  59. package/src/proto/gen/dxos/iframe.ts +7 -5
  60. package/src/proto/gen/google/protobuf.ts +4 -4
  61. 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;AA8DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA4hB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,y+rGAAy+rG,CAAC,CAAC,CAAC;AAClisG,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,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;AA8DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA4hB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,21sGAA21sG,CAAC,CAAC,CAAC;AACp5sG,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.10-main.4ae4df1",
3
+ "version": "0.4.10-main.572d54f",
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/codec-protobuf": "0.4.10-main.4ae4df1",
37
- "@dxos/timeframe": "0.4.10-main.4ae4df1",
38
- "@dxos/invariant": "0.4.10-main.4ae4df1",
39
- "@dxos/keys": "0.4.10-main.4ae4df1"
36
+ "@dxos/codec-protobuf": "0.4.10-main.572d54f",
37
+ "@dxos/invariant": "0.4.10-main.572d54f",
38
+ "@dxos/keys": "0.4.10-main.572d54f",
39
+ "@dxos/timeframe": "0.4.10-main.572d54f"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
package/src/indexing.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  // Copyright 2024 DXOS.org
3
3
  //
4
4
 
5
+ // TODO(dmaretskyi): Rename ObjectPointer{Decoded/Encoded}.
5
6
  export type IdDecoded = {
6
7
  documentId: string;
7
8
  objectId: string;
@@ -390,7 +390,8 @@ service SpacesService {
390
390
 
391
391
  service IndexService {
392
392
  rpc SetConfig(dxos.echo.indexing.IndexConfig) returns (google.protobuf.Empty);
393
- rpc Find(dxos.agent.query.QueryRequest) returns (dxos.agent.query.QueryResponse);
393
+ rpc Find(dxos.agent.query.QueryRequest) returns (stream dxos.agent.query.QueryResponse);
394
+
394
395
  }
395
396
 
396
397
  //
@@ -404,9 +405,12 @@ message Invitation {
404
405
  enum Type {
405
406
  /// Requires both to be online to complete key exchange.
406
407
  INTERACTIVE = 0;
407
- /// Guest's identity key is known; invitation can be accepted by any valid peer.
408
+ /// Invitation can be accepted by any valid peer.
408
409
  OFFLINE = 1;
409
- /// Multiple-use interactive invitation.
410
+ /**
411
+ * Multi-use interactive invitations.
412
+ * @deprecated use multiUse flag with type=interactive instead.
413
+ */
410
414
  MULTIUSE = 2;
411
415
  }
412
416
 
@@ -421,6 +425,9 @@ message Invitation {
421
425
 
422
426
  /// Guest should call `Authenticate` with the shared secret.
423
427
  SHARED_SECRET = 1;
428
+
429
+ /// Guest should prove they possess a private key corresponding to the known public key recorded in an invitation.
430
+ KNOWN_PUBLIC_KEY = 2;
424
431
  }
425
432
 
426
433
  enum State {
@@ -479,6 +486,9 @@ message Invitation {
479
486
  // TODO(nf): some feedback mechanism or GC for immortal invitations?
480
487
  // TODO(nf): should the creator have a way to make an invitation last as long as the client? this was the previous behavior.
481
488
  optional int32 lifetime = 14;
489
+
490
+ /// Whether an invitation can be used multiple times.
491
+ optional bool multi_use = 15;
482
492
  }
483
493
 
484
494
  message AcceptInvitationRequest {
@@ -103,6 +103,10 @@ message Runtime {
103
103
  optional StorageDriver key_store = 2;
104
104
  optional StorageDriver data_store = 3;
105
105
  optional string data_root = 4;
106
+
107
+ /**
108
+ * @deprecated
109
+ */
106
110
  optional bool space_fragmentation = 5;
107
111
  }
108
112
 
@@ -130,9 +134,6 @@ message Runtime {
130
134
 
131
135
  /// Connect to and serve client services to a remote proxy.
132
136
  optional string devtools_proxy = 7;
133
-
134
- /// Enable E.object api
135
- optional bool use_reactive_object_api = 8;
136
137
  }
137
138
 
138
139
  message App {
@@ -32,9 +32,6 @@ message Value {
32
32
  Array array = 21;
33
33
 
34
34
  Reference reference = 30;
35
-
36
- // YJS state snapshot.
37
- YJS yjs = 40;
38
35
  }
39
36
  }
40
37
 
@@ -47,7 +47,11 @@ message MutationReceipt {
47
47
  }
48
48
 
49
49
  message FlushRequest {
50
- dxos.keys.PublicKey space_key = 1;
50
+ optional dxos.keys.PublicKey space_key = 1;
51
+ /**
52
+ * Automerge specific document ids to wait to flush.
53
+ */
54
+ repeated string document_ids = 2;
51
55
  }
52
56
 
53
57
  // Automerge specific.
@@ -55,11 +55,13 @@ service AppService {
55
55
  enum ShellLayout {
56
56
  DEFAULT = 0;
57
57
  INITIALIZE_IDENTITY = 1;
58
- IDENTITY = 2;
59
- SHARE_IDENTITY = 3;
60
- EDIT_PROFILE = 4;
61
- SPACE = 5;
62
- JOIN_SPACE = 6;
58
+ INITIALIZE_IDENTITY_FROM_INVITATION = 2;
59
+ IDENTITY = 3;
60
+ SHARE_IDENTITY = 4;
61
+ EDIT_PROFILE = 5;
62
+ SPACE = 6;
63
+ JOIN_SPACE = 7;
64
+ STATUS = 8;
63
65
  }
64
66
 
65
67
  message LayoutRequest {
@@ -60,181 +60,6 @@ import * as dxos_value from "../value";
60
60
  import * as example_testing_data from "../../example/testing/data";
61
61
  import * as example_testing_rpc from "../../example/testing/rpc";
62
62
  import * as google_protobuf from "../../google/protobuf";
63
- /**
64
- * Defined in:
65
- * {@link file://./../../../dxos/client/logging.proto}
66
- */
67
- export interface Metrics {
68
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
69
- values?: Metrics.KeyPair[];
70
- }
71
- export namespace Metrics {
72
- /**
73
- * Defined in:
74
- * {@link file://./../../../dxos/client/logging.proto}
75
- */
76
- export interface KeyPair {
77
- /**
78
- * Options:
79
- * - proto3_optional = true
80
- */
81
- key?: string;
82
- /**
83
- * Options:
84
- * - proto3_optional = true
85
- */
86
- value?: dxos_value.Value;
87
- /**
88
- * Options:
89
- * - proto3_optional = true
90
- */
91
- stats?: dxos_value.Stats;
92
- }
93
- }
94
- /**
95
- * Defined in:
96
- * {@link file://./../../../dxos/client/logging.proto}
97
- */
98
- export interface ControlMetricsRequest {
99
- /**
100
- * Options:
101
- * - proto3_optional = true
102
- */
103
- reset?: boolean;
104
- /**
105
- * Options:
106
- * - proto3_optional = true
107
- */
108
- record?: boolean;
109
- }
110
- /**
111
- * Defined in:
112
- * {@link file://./../../../dxos/client/logging.proto}
113
- */
114
- export interface ControlMetricsResponse {
115
- /**
116
- * Options:
117
- * - proto3_optional = true
118
- */
119
- recording?: boolean;
120
- }
121
- /**
122
- * Defined in:
123
- * {@link file://./../../../dxos/client/logging.proto}
124
- */
125
- export interface QueryMetricsRequest {
126
- /**
127
- * Options:
128
- * - proto3_optional = true
129
- */
130
- interval?: number;
131
- }
132
- /**
133
- * Defined in:
134
- * {@link file://./../../../dxos/client/logging.proto}
135
- */
136
- export interface QueryMetricsResponse {
137
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
138
- metrics: Metrics;
139
- }
140
- /**
141
- * Defined in:
142
- * {@link file://./../../../dxos/client/logging.proto}
143
- */
144
- export enum LogLevel {
145
- TRACE = 5,
146
- DEBUG = 10,
147
- INFO = 11,
148
- WARN = 12,
149
- ERROR = 13
150
- }
151
- /**
152
- * Defined in:
153
- * {@link file://./../../../dxos/client/logging.proto}
154
- */
155
- export interface QueryLogsRequest {
156
- filters?: QueryLogsRequest.Filter[];
157
- /**
158
- * Options:
159
- * - proto3_optional = true
160
- */
161
- options?: QueryLogsRequest.MatchingOptions;
162
- }
163
- export namespace QueryLogsRequest {
164
- /**
165
- * Defined in:
166
- * {@link file://./../../../dxos/client/logging.proto}
167
- */
168
- export enum MatchingOptions {
169
- INCLUSIVE = 1,
170
- EXPLICIT = 2
171
- }
172
- /**
173
- * Defined in:
174
- * {@link file://./../../../dxos/client/logging.proto}
175
- */
176
- export interface Filter {
177
- level: LogLevel;
178
- /**
179
- * Options:
180
- * - proto3_optional = true
181
- */
182
- pattern?: string;
183
- }
184
- }
185
- /**
186
- * Defined in:
187
- * {@link file://./../../../dxos/client/logging.proto}
188
- */
189
- export interface LogEntry {
190
- level: LogLevel;
191
- message: string;
192
- /**
193
- * Options:
194
- * - proto3_optional = true
195
- */
196
- context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
197
- /**
198
- * Options:
199
- * - proto3_optional = true
200
- */
201
- meta?: LogEntry.Meta;
202
- /**
203
- * Options:
204
- * - proto3_optional = true
205
- */
206
- error?: dxos_error.Error;
207
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
208
- }
209
- export namespace LogEntry {
210
- /**
211
- * Defined in:
212
- * {@link file://./../../../dxos/client/logging.proto}
213
- */
214
- export interface Meta {
215
- file: string;
216
- line: number;
217
- /**
218
- * Options:
219
- * - proto3_optional = true
220
- */
221
- scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
222
- /**
223
- * Options:
224
- * - proto3_optional = true
225
- */
226
- resourceId?: number;
227
- }
228
- }
229
- /**
230
- * Defined in:
231
- * {@link file://./../../../dxos/client/logging.proto}
232
- */
233
- export interface LoggingService {
234
- controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
235
- queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
236
- queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
237
- }
238
63
  /**
239
64
  * Defined in:
240
65
  * {@link file://./../../../dxos/client/services.proto}
@@ -840,7 +665,7 @@ export interface SpacesService {
840
665
  */
841
666
  export interface IndexService {
842
667
  setConfig: (request: dxos_echo_indexing.IndexConfig, options?: RequestOptions) => Promise<void>;
843
- find: (request: dxos_agent_query.QueryRequest, options?: RequestOptions) => Promise<dxos_agent_query.QueryResponse>;
668
+ find: (request: dxos_agent_query.QueryRequest, options?: RequestOptions) => Stream<dxos_agent_query.QueryResponse>;
844
669
  }
845
670
  /**
846
671
  * Represents the invitation state passed between client and service.
@@ -925,6 +750,13 @@ export interface Invitation {
925
750
  * - proto3_optional = true
926
751
  */
927
752
  lifetime?: number;
753
+ /**
754
+ * Whether an invitation can be used multiple times.
755
+ *
756
+ * Options:
757
+ * - proto3_optional = true
758
+ */
759
+ multiUse?: boolean;
928
760
  }
929
761
  export namespace Invitation {
930
762
  /**
@@ -950,7 +782,8 @@ export namespace Invitation {
950
782
  */
951
783
  export enum AuthMethod {
952
784
  NONE = 0,
953
- SHARED_SECRET = 1
785
+ SHARED_SECRET = 1,
786
+ KNOWN_PUBLIC_KEY = 2
954
787
  }
955
788
  /**
956
789
  * Defined in:
@@ -1099,3 +932,178 @@ export interface NetworkService {
1099
932
  updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
1100
933
  queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
1101
934
  }
935
+ /**
936
+ * Defined in:
937
+ * {@link file://./../../../dxos/client/logging.proto}
938
+ */
939
+ export interface Metrics {
940
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
941
+ values?: Metrics.KeyPair[];
942
+ }
943
+ export namespace Metrics {
944
+ /**
945
+ * Defined in:
946
+ * {@link file://./../../../dxos/client/logging.proto}
947
+ */
948
+ export interface KeyPair {
949
+ /**
950
+ * Options:
951
+ * - proto3_optional = true
952
+ */
953
+ key?: string;
954
+ /**
955
+ * Options:
956
+ * - proto3_optional = true
957
+ */
958
+ value?: dxos_value.Value;
959
+ /**
960
+ * Options:
961
+ * - proto3_optional = true
962
+ */
963
+ stats?: dxos_value.Stats;
964
+ }
965
+ }
966
+ /**
967
+ * Defined in:
968
+ * {@link file://./../../../dxos/client/logging.proto}
969
+ */
970
+ export interface ControlMetricsRequest {
971
+ /**
972
+ * Options:
973
+ * - proto3_optional = true
974
+ */
975
+ reset?: boolean;
976
+ /**
977
+ * Options:
978
+ * - proto3_optional = true
979
+ */
980
+ record?: boolean;
981
+ }
982
+ /**
983
+ * Defined in:
984
+ * {@link file://./../../../dxos/client/logging.proto}
985
+ */
986
+ export interface ControlMetricsResponse {
987
+ /**
988
+ * Options:
989
+ * - proto3_optional = true
990
+ */
991
+ recording?: boolean;
992
+ }
993
+ /**
994
+ * Defined in:
995
+ * {@link file://./../../../dxos/client/logging.proto}
996
+ */
997
+ export interface QueryMetricsRequest {
998
+ /**
999
+ * Options:
1000
+ * - proto3_optional = true
1001
+ */
1002
+ interval?: number;
1003
+ }
1004
+ /**
1005
+ * Defined in:
1006
+ * {@link file://./../../../dxos/client/logging.proto}
1007
+ */
1008
+ export interface QueryMetricsResponse {
1009
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1010
+ metrics: Metrics;
1011
+ }
1012
+ /**
1013
+ * Defined in:
1014
+ * {@link file://./../../../dxos/client/logging.proto}
1015
+ */
1016
+ export enum LogLevel {
1017
+ TRACE = 5,
1018
+ DEBUG = 10,
1019
+ INFO = 11,
1020
+ WARN = 12,
1021
+ ERROR = 13
1022
+ }
1023
+ /**
1024
+ * Defined in:
1025
+ * {@link file://./../../../dxos/client/logging.proto}
1026
+ */
1027
+ export interface QueryLogsRequest {
1028
+ filters?: QueryLogsRequest.Filter[];
1029
+ /**
1030
+ * Options:
1031
+ * - proto3_optional = true
1032
+ */
1033
+ options?: QueryLogsRequest.MatchingOptions;
1034
+ }
1035
+ export namespace QueryLogsRequest {
1036
+ /**
1037
+ * Defined in:
1038
+ * {@link file://./../../../dxos/client/logging.proto}
1039
+ */
1040
+ export enum MatchingOptions {
1041
+ INCLUSIVE = 1,
1042
+ EXPLICIT = 2
1043
+ }
1044
+ /**
1045
+ * Defined in:
1046
+ * {@link file://./../../../dxos/client/logging.proto}
1047
+ */
1048
+ export interface Filter {
1049
+ level: LogLevel;
1050
+ /**
1051
+ * Options:
1052
+ * - proto3_optional = true
1053
+ */
1054
+ pattern?: string;
1055
+ }
1056
+ }
1057
+ /**
1058
+ * Defined in:
1059
+ * {@link file://./../../../dxos/client/logging.proto}
1060
+ */
1061
+ export interface LogEntry {
1062
+ level: LogLevel;
1063
+ message: string;
1064
+ /**
1065
+ * Options:
1066
+ * - proto3_optional = true
1067
+ */
1068
+ context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1069
+ /**
1070
+ * Options:
1071
+ * - proto3_optional = true
1072
+ */
1073
+ meta?: LogEntry.Meta;
1074
+ /**
1075
+ * Options:
1076
+ * - proto3_optional = true
1077
+ */
1078
+ error?: dxos_error.Error;
1079
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1080
+ }
1081
+ export namespace LogEntry {
1082
+ /**
1083
+ * Defined in:
1084
+ * {@link file://./../../../dxos/client/logging.proto}
1085
+ */
1086
+ export interface Meta {
1087
+ file: string;
1088
+ line: number;
1089
+ /**
1090
+ * Options:
1091
+ * - proto3_optional = true
1092
+ */
1093
+ scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1094
+ /**
1095
+ * Options:
1096
+ * - proto3_optional = true
1097
+ */
1098
+ resourceId?: number;
1099
+ }
1100
+ }
1101
+ /**
1102
+ * Defined in:
1103
+ * {@link file://./../../../dxos/client/logging.proto}
1104
+ */
1105
+ export interface LoggingService {
1106
+ controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
1107
+ queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
1108
+ queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
1109
+ }
@@ -298,13 +298,6 @@ export namespace Runtime {
298
298
  * - proto3_optional = true
299
299
  */
300
300
  devtoolsProxy?: string;
301
- /**
302
- * Enable E.object api
303
- *
304
- * Options:
305
- * - proto3_optional = true
306
- */
307
- useReactiveObjectApi?: boolean;
308
301
  }
309
302
  export namespace Client {
310
303
  /**
@@ -333,6 +326,8 @@ export namespace Runtime {
333
326
  */
334
327
  dataRoot?: string;
335
328
  /**
329
+ * @deprecated
330
+ *
336
331
  * Options:
337
332
  * - proto3_optional = true
338
333
  */
@@ -78,7 +78,6 @@ export interface Value {
78
78
  object?: KeyValueObject;
79
79
  array?: Array;
80
80
  reference?: Reference;
81
- yjs?: YJS;
82
81
  }
83
82
  /**
84
83
  * Ordered collection of values.
@@ -135,7 +135,15 @@ export interface MutationReceipt {
135
135
  * {@link file://./../../../dxos/echo/service.proto}
136
136
  */
137
137
  export interface FlushRequest {
138
- spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
138
+ /**
139
+ * Options:
140
+ * - proto3_optional = true
141
+ */
142
+ spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
143
+ /**
144
+ * Automerge specific document ids to wait to flush.
145
+ */
146
+ documentIds?: string[];
139
147
  }
140
148
  /**
141
149
  * Defined in:
@@ -152,11 +152,13 @@ export interface AppService {
152
152
  export enum ShellLayout {
153
153
  DEFAULT = 0,
154
154
  INITIALIZE_IDENTITY = 1,
155
- IDENTITY = 2,
156
- SHARE_IDENTITY = 3,
157
- EDIT_PROFILE = 4,
158
- SPACE = 5,
159
- JOIN_SPACE = 6
155
+ INITIALIZE_IDENTITY_FROM_INVITATION = 2,
156
+ IDENTITY = 3,
157
+ SHARE_IDENTITY = 4,
158
+ EDIT_PROFILE = 5,
159
+ SPACE = 6,
160
+ JOIN_SPACE = 7,
161
+ STATUS = 8
160
162
  }
161
163
  /**
162
164
  * Defined in:
@@ -79,14 +79,14 @@ export enum NullValue {
79
79
  export interface ListValue {
80
80
  values?: Value[];
81
81
  }
82
- export interface Timestamp {
83
- seconds: string;
84
- nanos: number;
85
- }
86
82
  export interface Any {
87
83
  type_url: string;
88
84
  value: Uint8Array;
89
85
  }
86
+ export interface Timestamp {
87
+ seconds: string;
88
+ nanos: number;
89
+ }
90
90
  export interface FileDescriptorSet {
91
91
  file?: FileDescriptorProto[];
92
92
  }