@dxos/protocols 0.5.9-main.825ae5a → 0.5.9-main.94cc71c
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/proto/gen/dxos/client/services.d.ts +1 -9
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +0 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +0 -14
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.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/proto/gen/dxos/client/services.d.ts +1 -9
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +0 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts +0 -14
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.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/proto/dxos/client/services.proto +0 -6
- package/src/proto/dxos/echo/service.proto +0 -1
- package/src/proto/dxos/iframe.proto +0 -8
- package/src/proto/gen/dxos/client/services.ts +1 -9
- package/src/proto/gen/dxos/devtools/host.ts +31 -31
- package/src/proto/gen/dxos/iframe.ts +0 -14
- package/src/proto/gen/google/protobuf.ts +4 -4
- 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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA2iB7C,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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA2iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,000GAA000G,CAAC,CAAC,CAAC;AACn40G,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.5.9-main.
|
|
3
|
+
"version": "0.5.9-main.94cc71c",
|
|
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.5.9-main.
|
|
37
|
-
"@dxos/invariant": "0.5.9-main.
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
36
|
+
"@dxos/codec-protobuf": "0.5.9-main.94cc71c",
|
|
37
|
+
"@dxos/invariant": "0.5.9-main.94cc71c",
|
|
38
|
+
"@dxos/timeframe": "0.5.9-main.94cc71c",
|
|
39
|
+
"@dxos/keys": "0.5.9-main.94cc71c"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -358,17 +358,11 @@ message CreateEpochRequest {
|
|
|
358
358
|
|
|
359
359
|
/// Create a new space root and move objects from the current space root to separate automerge documents and.
|
|
360
360
|
FRAGMENT_AUTOMERGE_ROOT = 3;
|
|
361
|
-
|
|
362
|
-
/// Replace the current automerge root with a new one specified by the user.
|
|
363
|
-
REPLACE_AUTOMERGE_ROOT = 4;
|
|
364
361
|
}
|
|
365
362
|
|
|
366
363
|
dxos.keys.PublicKey space_key = 1;
|
|
367
364
|
|
|
368
365
|
optional Migration migration = 2;
|
|
369
|
-
|
|
370
|
-
/// For REPLACE_AUTOMERGE_ROOT migration.
|
|
371
|
-
optional string automerge_root_url = 3;
|
|
372
366
|
}
|
|
373
367
|
|
|
374
368
|
message UpdateMemberRoleRequest {
|
|
@@ -35,12 +35,8 @@ message AppContextRequest {
|
|
|
35
35
|
/// The display mode that shell should use.
|
|
36
36
|
optional ShellDisplay display = 1;
|
|
37
37
|
|
|
38
|
-
// TODO(wittjosiah): Remove.
|
|
39
38
|
/// The key of the joined space.
|
|
40
39
|
optional dxos.keys.PublicKey space_key = 2;
|
|
41
|
-
|
|
42
|
-
/// The id of the joined space.
|
|
43
|
-
optional string space_id = 5;
|
|
44
40
|
|
|
45
41
|
/// Target to redirect to after a successful invitation.
|
|
46
42
|
optional string target = 3;
|
|
@@ -75,13 +71,9 @@ message LayoutRequest {
|
|
|
75
71
|
/// Invitation code to join a space.
|
|
76
72
|
optional string invitation_code = 2;
|
|
77
73
|
|
|
78
|
-
// TODO(wittjosiah): Remove.
|
|
79
74
|
/// Key of the space to share.
|
|
80
75
|
optional dxos.keys.PublicKey space_key = 3;
|
|
81
76
|
|
|
82
|
-
/// Id of the space to share.
|
|
83
|
-
optional string space_id = 5;
|
|
84
|
-
|
|
85
77
|
/// Target to include in an invitation for redirecting after a successful invitation.
|
|
86
78
|
optional string target = 4;
|
|
87
79
|
}
|
|
@@ -797,13 +797,6 @@ export interface CreateEpochRequest {
|
|
|
797
797
|
* - proto3_optional = true
|
|
798
798
|
*/
|
|
799
799
|
migration?: CreateEpochRequest.Migration;
|
|
800
|
-
/**
|
|
801
|
-
* For REPLACE_AUTOMERGE_ROOT migration.
|
|
802
|
-
*
|
|
803
|
-
* Options:
|
|
804
|
-
* - proto3_optional = true
|
|
805
|
-
*/
|
|
806
|
-
automergeRootUrl?: string;
|
|
807
800
|
}
|
|
808
801
|
export namespace CreateEpochRequest {
|
|
809
802
|
/**
|
|
@@ -814,8 +807,7 @@ export namespace CreateEpochRequest {
|
|
|
814
807
|
NONE = 0,
|
|
815
808
|
INIT_AUTOMERGE = 1,
|
|
816
809
|
PRUNE_AUTOMERGE_ROOT_HISTORY = 2,
|
|
817
|
-
FRAGMENT_AUTOMERGE_ROOT = 3
|
|
818
|
-
REPLACE_AUTOMERGE_ROOT = 4
|
|
810
|
+
FRAGMENT_AUTOMERGE_ROOT = 3
|
|
819
811
|
}
|
|
820
812
|
}
|
|
821
813
|
/**
|
|
@@ -61,6 +61,37 @@ import * as dxos_value from "../value";
|
|
|
61
61
|
import * as example_testing_data from "../../example/testing/data";
|
|
62
62
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
63
63
|
import * as google_protobuf from "../../google/protobuf";
|
|
64
|
+
/**
|
|
65
|
+
* Defined in:
|
|
66
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
67
|
+
*/
|
|
68
|
+
export interface Services {
|
|
69
|
+
spaces?: SpaceStats[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Defined in:
|
|
73
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
74
|
+
*/
|
|
75
|
+
export interface SpaceStats {
|
|
76
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
77
|
+
peers?: PeerStats[];
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Defined in:
|
|
81
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
82
|
+
*/
|
|
83
|
+
export interface PeerStats {
|
|
84
|
+
controlFeed: FeedStats;
|
|
85
|
+
dataFeed: FeedStats;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Defined in:
|
|
89
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
90
|
+
*/
|
|
91
|
+
export interface FeedStats {
|
|
92
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
93
|
+
length: number;
|
|
94
|
+
}
|
|
64
95
|
/**
|
|
65
96
|
* Defined in:
|
|
66
97
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -483,34 +514,3 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
483
514
|
export interface SubscribeToSwarmInfoResponse {
|
|
484
515
|
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
485
516
|
}
|
|
486
|
-
/**
|
|
487
|
-
* Defined in:
|
|
488
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
489
|
-
*/
|
|
490
|
-
export interface Services {
|
|
491
|
-
spaces?: SpaceStats[];
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* Defined in:
|
|
495
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
496
|
-
*/
|
|
497
|
-
export interface SpaceStats {
|
|
498
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
499
|
-
peers?: PeerStats[];
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
* Defined in:
|
|
503
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
504
|
-
*/
|
|
505
|
-
export interface PeerStats {
|
|
506
|
-
controlFeed: FeedStats;
|
|
507
|
-
dataFeed: FeedStats;
|
|
508
|
-
}
|
|
509
|
-
/**
|
|
510
|
-
* Defined in:
|
|
511
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
512
|
-
*/
|
|
513
|
-
export interface FeedStats {
|
|
514
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
515
|
-
length: number;
|
|
516
|
-
}
|
|
@@ -122,13 +122,6 @@ export interface AppContextRequest {
|
|
|
122
122
|
* - proto3_optional = true
|
|
123
123
|
*/
|
|
124
124
|
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
125
|
-
/**
|
|
126
|
-
* The id of the joined space.
|
|
127
|
-
*
|
|
128
|
-
* Options:
|
|
129
|
-
* - proto3_optional = true
|
|
130
|
-
*/
|
|
131
|
-
spaceId?: string;
|
|
132
125
|
/**
|
|
133
126
|
* Target to redirect to after a successful invitation.
|
|
134
127
|
*
|
|
@@ -191,13 +184,6 @@ export interface LayoutRequest {
|
|
|
191
184
|
* - proto3_optional = true
|
|
192
185
|
*/
|
|
193
186
|
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
194
|
-
/**
|
|
195
|
-
* Id of the space to share.
|
|
196
|
-
*
|
|
197
|
-
* Options:
|
|
198
|
-
* - proto3_optional = true
|
|
199
|
-
*/
|
|
200
|
-
spaceId?: string;
|
|
201
187
|
/**
|
|
202
188
|
* Target to include in an invitation for redirecting after a successful invitation.
|
|
203
189
|
*
|
|
@@ -80,14 +80,14 @@ export enum NullValue {
|
|
|
80
80
|
export interface ListValue {
|
|
81
81
|
values?: Value[];
|
|
82
82
|
}
|
|
83
|
-
export interface Timestamp {
|
|
84
|
-
seconds: string;
|
|
85
|
-
nanos: number;
|
|
86
|
-
}
|
|
87
83
|
export interface Any {
|
|
88
84
|
type_url: string;
|
|
89
85
|
value: Uint8Array;
|
|
90
86
|
}
|
|
87
|
+
export interface Timestamp {
|
|
88
|
+
seconds: string;
|
|
89
|
+
nanos: number;
|
|
90
|
+
}
|
|
91
91
|
export interface FileDescriptorSet {
|
|
92
92
|
file?: FileDescriptorProto[];
|
|
93
93
|
}
|