@dxos/protocols 0.3.5-next.63b0922 → 0.3.5-next.b7dc283

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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAkgB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,kx9FAAkx9F,CAAC,CAAC,CAAC;AAC309F,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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAmgB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,y09FAAy09F,CAAC,CAAC,CAAC;AACl49F,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.3.5-next.63b0922",
3
+ "version": "0.3.5-next.b7dc283",
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.3.5-next.63b0922",
37
- "@dxos/invariant": "0.3.5-next.63b0922",
38
- "@dxos/keys": "0.3.5-next.63b0922",
39
- "@dxos/timeframe": "0.3.5-next.63b0922"
36
+ "@dxos/codec-protobuf": "0.3.5-next.b7dc283",
37
+ "@dxos/invariant": "0.3.5-next.b7dc283",
38
+ "@dxos/keys": "0.3.5-next.b7dc283",
39
+ "@dxos/timeframe": "0.3.5-next.b7dc283"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -42,22 +42,22 @@ message Value {
42
42
  * Ordered collection of values.
43
43
  */
44
44
  message Array {
45
- repeated Value values = 1;
45
+ repeated Value values = 1;
46
46
  }
47
47
 
48
48
  /**
49
49
  * Key x Value tuple.
50
50
  */
51
51
  message KeyValue {
52
- string key = 1;
53
- Value value = 2;
52
+ string key = 1;
53
+ Value value = 2;
54
54
  }
55
55
 
56
56
  /**
57
57
  * Object data definition.
58
58
  */
59
59
  message KeyValueObject {
60
- repeated KeyValue properties = 1;
60
+ repeated KeyValue properties = 1;
61
61
  }
62
62
 
63
63
  /**
@@ -65,7 +65,7 @@ message KeyValueObject {
65
65
  */
66
66
  message Reference {
67
67
  // TODO(dmaretskyi): Rename `id`.
68
- string itemId = 1;
68
+ string itemId = 1;
69
69
 
70
70
  /// "space", or "protobuf"
71
71
  optional string protocol = 2;
@@ -154,7 +154,7 @@ message ObjectMutationSet {
154
154
  optional Reference type_ref = 4;
155
155
 
156
156
  repeated ObjectMutation mutations = 2;
157
-
157
+
158
158
  // Mutations for the `meta` keyspace.
159
159
  repeated ObjectMutation meta_mutations = 3;
160
160
  }
@@ -70,6 +70,10 @@ message SpaceMember {
70
70
  dxos.keys.PublicKey genesis_feed_key = 4;
71
71
  }
72
72
 
73
+ message MemberProfile {
74
+ optional ProfileDocument profile = 3;
75
+ }
76
+
73
77
  // [ASSERTION]: Device is authorized to sign messages for a given Agent (Identity).
74
78
  // NOTE: Devices are Admitted to Identities.
75
79
  message AuthorizedDevice {
@@ -103,6 +103,17 @@ export namespace SpaceMember {
103
103
  READER = 3
104
104
  }
105
105
  }
106
+ /**
107
+ * Defined in:
108
+ * {@link file://./../../../dxos/halo/credentials.proto}
109
+ */
110
+ export interface MemberProfile {
111
+ /**
112
+ * Options:
113
+ * - proto3_optional = true
114
+ */
115
+ profile?: ProfileDocument;
116
+ }
106
117
  /**
107
118
  * Defined in:
108
119
  * {@link file://./../../../dxos/halo/credentials.proto}
@@ -77,14 +77,14 @@ export enum NullValue {
77
77
  export interface ListValue {
78
78
  values?: Value[];
79
79
  }
80
- export interface Any {
81
- type_url: string;
82
- value: Uint8Array;
83
- }
84
80
  export interface Timestamp {
85
81
  seconds: string;
86
82
  nanos: number;
87
83
  }
84
+ export interface Any {
85
+ type_url: string;
86
+ value: Uint8Array;
87
+ }
88
88
  export interface FileDescriptorSet {
89
89
  file?: FileDescriptorProto[];
90
90
  }