@dxos/protocols 0.5.1-next.7f021b8 → 0.5.1-next.975970b

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.
@@ -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;AAyiB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,q3yGAAq3yG,CAAC,CAAC,CAAC;AAC96yG,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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA0iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,wuzGAAwuzG,CAAC,CAAC,CAAC;AACjyzG,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.1-next.7f021b8",
3
+ "version": "0.5.1-next.975970b",
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.1-next.7f021b8",
37
- "@dxos/invariant": "0.5.1-next.7f021b8",
38
- "@dxos/keys": "0.5.1-next.7f021b8",
39
- "@dxos/timeframe": "0.5.1-next.7f021b8"
36
+ "@dxos/codec-protobuf": "0.5.1-next.975970b",
37
+ "@dxos/keys": "0.5.1-next.975970b",
38
+ "@dxos/timeframe": "0.5.1-next.975970b",
39
+ "@dxos/invariant": "0.5.1-next.975970b"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -78,7 +78,19 @@ message LayoutRequest {
78
78
  optional string target = 4;
79
79
  }
80
80
 
81
+ message InvitationUrlRequest {
82
+ /// Base URL for invitations.
83
+ string invitation_url = 1;
84
+
85
+ /// Query parameter for device invitations.
86
+ string device_invitation_param = 2;
87
+
88
+ /// Query parameter for space invitations.
89
+ string space_invitation_param = 3;
90
+ }
91
+
81
92
  /// Shell UI RPCs.
82
93
  service ShellService {
83
94
  rpc SetLayout(LayoutRequest) returns (google.protobuf.Empty);
95
+ rpc SetInvitationUrl(InvitationUrlRequest) returns (google.protobuf.Empty);
84
96
  }
@@ -61,37 +61,6 @@ 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
- }
95
64
  /**
96
65
  * Defined in:
97
66
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -514,3 +483,34 @@ export interface SubscribeToSwarmInfoRequest {
514
483
  export interface SubscribeToSwarmInfoResponse {
515
484
  data?: dxos_devtools_swarm.SwarmInfo[];
516
485
  }
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
+ }
@@ -192,6 +192,24 @@ export interface LayoutRequest {
192
192
  */
193
193
  target?: string;
194
194
  }
195
+ /**
196
+ * Defined in:
197
+ * {@link file://./../../dxos/iframe.proto}
198
+ */
199
+ export interface InvitationUrlRequest {
200
+ /**
201
+ * Base URL for invitations.
202
+ */
203
+ invitationUrl: string;
204
+ /**
205
+ * Query parameter for device invitations.
206
+ */
207
+ deviceInvitationParam: string;
208
+ /**
209
+ * Query parameter for space invitations.
210
+ */
211
+ spaceInvitationParam: string;
212
+ }
195
213
  /**
196
214
  * Shell UI RPCs.
197
215
  *
@@ -200,4 +218,5 @@ export interface LayoutRequest {
200
218
  */
201
219
  export interface ShellService {
202
220
  setLayout: (request: LayoutRequest, options?: RequestOptions) => Promise<void>;
221
+ setInvitationUrl: (request: InvitationUrlRequest, options?: RequestOptions) => Promise<void>;
203
222
  }
@@ -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
  }