@dxos/protocols 2.33.9-dev.a78b0c94 → 2.33.9-dev.ceab0857

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 (98) hide show
  1. package/dist/src/proto/gen/dxos/bot.d.ts +139 -4
  2. package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
  3. package/dist/src/proto/gen/dxos/bot.js +4 -0
  4. package/dist/src/proto/gen/dxos/bot.js.map +1 -1
  5. package/dist/src/proto/gen/dxos/client.d.ts +313 -18
  6. package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
  7. package/dist/src/proto/gen/dxos/client.js +25 -1
  8. package/dist/src/proto/gen/dxos/client.js.map +1 -1
  9. package/dist/src/proto/gen/dxos/config.d.ts +462 -0
  10. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  11. package/dist/src/proto/gen/dxos/config.js +10 -0
  12. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  13. package/dist/src/proto/gen/dxos/credentials/auth.d.ts +12 -3
  14. package/dist/src/proto/gen/dxos/credentials/auth.d.ts.map +1 -1
  15. package/dist/src/proto/gen/dxos/credentials/greet.d.ts +39 -8
  16. package/dist/src/proto/gen/dxos/credentials/greet.d.ts.map +1 -1
  17. package/dist/src/proto/gen/dxos/credentials/greet.js +4 -0
  18. package/dist/src/proto/gen/dxos/credentials/greet.js.map +1 -1
  19. package/dist/src/proto/gen/dxos/credentials/identity.d.ts +12 -4
  20. package/dist/src/proto/gen/dxos/credentials/identity.d.ts.map +1 -1
  21. package/dist/src/proto/gen/dxos/credentials/party.d.ts +50 -18
  22. package/dist/src/proto/gen/dxos/credentials/party.d.ts.map +1 -1
  23. package/dist/src/proto/gen/dxos/credentials/party.js +4 -0
  24. package/dist/src/proto/gen/dxos/credentials/party.js.map +1 -1
  25. package/dist/src/proto/gen/dxos/credentials.d.ts +39 -0
  26. package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
  27. package/dist/src/proto/gen/dxos/devtools.d.ts +266 -30
  28. package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
  29. package/dist/src/proto/gen/dxos/echo/feed.d.ts +65 -6
  30. package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  31. package/dist/src/proto/gen/dxos/echo/feed.js +4 -0
  32. package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
  33. package/dist/src/proto/gen/dxos/echo/invitation.d.ts +19 -3
  34. package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
  35. package/dist/src/proto/gen/dxos/echo/invitation.js +6 -0
  36. package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
  37. package/dist/src/proto/gen/dxos/echo/metadata.d.ts +26 -4
  38. package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  39. package/dist/src/proto/gen/dxos/echo/service.d.ts +49 -13
  40. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  41. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +45 -13
  42. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  43. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +9 -2
  44. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  45. package/dist/src/proto/gen/dxos/halo/keys.d.ts +44 -2
  46. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  47. package/dist/src/proto/gen/dxos/halo/keys.js +4 -0
  48. package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
  49. package/dist/src/proto/gen/dxos/rpc.d.ts +58 -8
  50. package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  51. package/dist/src/proto/gen/dxos/rpc.js +4 -0
  52. package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
  53. package/dist/src/proto/gen/dxos/test/echo.d.ts +15 -3
  54. package/dist/src/proto/gen/dxos/test/echo.d.ts.map +1 -1
  55. package/dist/src/proto/gen/google/protobuf.d.ts +91 -91
  56. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  57. package/dist/src/proto/gen/index.d.ts +11 -0
  58. package/dist/src/proto/gen/index.d.ts.map +1 -1
  59. package/dist/src/proto/gen/index.js +1 -1
  60. package/dist/src/proto/gen/index.js.map +1 -1
  61. package/dist/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +2 -2
  63. package/src/proto/dxos/bot.proto +25 -21
  64. package/src/proto/dxos/client.proto +85 -18
  65. package/src/proto/dxos/config.proto +104 -101
  66. package/src/proto/dxos/devtools.proto +15 -15
  67. package/src/proto/dxos/echo/feed.proto +10 -9
  68. package/src/proto/dxos/echo/invitation.proto +2 -2
  69. package/src/proto/dxos/echo/metadata.proto +7 -6
  70. package/src/proto/dxos/echo/service.proto +3 -3
  71. package/src/proto/dxos/echo/snapshot.proto +6 -5
  72. package/src/proto/dxos/halo/auth.proto +10 -10
  73. package/src/proto/dxos/halo/greet.proto +4 -3
  74. package/src/proto/dxos/halo/identity.proto +8 -7
  75. package/src/proto/dxos/halo/keys.proto +8 -7
  76. package/src/proto/dxos/halo/party.proto +3 -2
  77. package/src/proto/dxos/halo/signed.proto +16 -8
  78. package/src/proto/dxos/rpc.proto +15 -5
  79. package/src/proto/gen/dxos/bot.ts +139 -4
  80. package/src/proto/gen/dxos/client.ts +313 -18
  81. package/src/proto/gen/dxos/config.ts +462 -0
  82. package/src/proto/gen/dxos/credentials/auth.ts +12 -3
  83. package/src/proto/gen/dxos/credentials/greet.ts +39 -8
  84. package/src/proto/gen/dxos/credentials/identity.ts +12 -4
  85. package/src/proto/gen/dxos/credentials/party.ts +50 -18
  86. package/src/proto/gen/dxos/credentials.ts +39 -0
  87. package/src/proto/gen/dxos/devtools.ts +266 -30
  88. package/src/proto/gen/dxos/echo/feed.ts +65 -6
  89. package/src/proto/gen/dxos/echo/invitation.ts +19 -3
  90. package/src/proto/gen/dxos/echo/metadata.ts +26 -4
  91. package/src/proto/gen/dxos/echo/service.ts +49 -13
  92. package/src/proto/gen/dxos/echo/snapshot.ts +45 -13
  93. package/src/proto/gen/dxos/echo/timeframe.ts +9 -2
  94. package/src/proto/gen/dxos/halo/keys.ts +44 -2
  95. package/src/proto/gen/dxos/rpc.ts +58 -8
  96. package/src/proto/gen/dxos/test/echo.ts +15 -3
  97. package/src/proto/gen/google/protobuf.ts +91 -91
  98. package/src/proto/gen/index.ts +12 -1
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/proto/gen/dxos/config.ts"],"names":[],"mappings":";;;AA+DA,IAAiB,OAAO,CAkKvB;AAlKD,WAAiB,OAAO;IAmBpB,IAAiB,MAAM,CAuBtB;IAvBD,WAAiB,MAAM;QACnB,IAAY,IAIX;QAJD,WAAY,IAAI;YACZ,yCAAa,CAAA;YACb,iCAAS,CAAA;YACT,mCAAU,CAAA;QACd,CAAC,EAJW,IAAI,GAAJ,WAAI,KAAJ,WAAI,QAIf;QAOD,IAAiB,OAAO,CAUvB;QAVD,WAAiB,OAAO;YACpB,IAAY,aAQX;YARD,WAAY,aAAa;gBACrB,+CAAO,CAAA;gBACP,+CAAO,CAAA;gBACP,qDAAU,CAAA;gBACV,uDAAW,CAAA;gBACX,iDAAQ,CAAA;gBACR,wDAAY,CAAA;gBACZ,0DAAa,CAAA;YACjB,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB;QACL,CAAC,EAVgB,OAAO,GAAP,cAAO,KAAP,cAAO,QAUvB;IACL,CAAC,EAvBgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAuBtB;AAwHL,CAAC,EAlKgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAkKvB"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/proto/gen/dxos/config.ts"],"names":[],"mappings":";;;AAkLA,IAAiB,OAAO,CA6fvB;AA7fD,WAAiB,OAAO;IA+CpB,IAAiB,MAAM,CAqDtB;IArDD,WAAiB,MAAM;QACnB;;;;;WAKG;QACH,IAAY,IAIX;QAJD,WAAY,IAAI;YACZ,yCAAa,CAAA;YACb,iCAAS,CAAA;YACT,mCAAU,CAAA;QACd,CAAC,EAJW,IAAI,GAAJ,WAAI,KAAJ,WAAI,QAIf;QA2BD,IAAiB,OAAO,CAcvB;QAdD,WAAiB,OAAO;YACpB;;;eAGG;YACH,IAAY,aAQX;YARD,WAAY,aAAa;gBACrB,+CAAO,CAAA;gBACP,+CAAO,CAAA;gBACP,qDAAU,CAAA;gBACV,uDAAW,CAAA;gBACX,iDAAQ,CAAA;gBACR,wDAAY,CAAA;gBACZ,0DAAa,CAAA;YACjB,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB;QACL,CAAC,EAdgB,OAAO,GAAP,cAAO,KAAP,cAAO,QAcvB;IACL,CAAC,EArDgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAqDtB;AAyZL,CAAC,EA7fgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA6fvB"}
@@ -2,26 +2,35 @@ import * as dxos_halo_keys from "../halo/keys";
2
2
  import * as google_protobuf from "../../google/protobuf";
3
3
  /**
4
4
  * The payload for a SignedMessage sent during handshake for replication authentication.
5
+ *
6
+ * Defined in:
7
+ * {@link file://./../../../dxos/halo/auth.proto}
5
8
  */
6
9
  export interface Auth {
7
10
  /**
8
11
  * The publicKey of the target Party for these credentials.
9
12
  */
10
- partyKey?: dxos_halo_keys.PubKey;
13
+ partyKey: dxos_halo_keys.PubKey;
11
14
  /**
12
15
  * The publicKey of the authenticating Device.
13
16
  */
14
- deviceKey?: dxos_halo_keys.PubKey;
17
+ deviceKey: dxos_halo_keys.PubKey;
15
18
  /**
16
19
  * The publicKey of the authenticating Identity.
17
20
  */
18
- identityKey?: dxos_halo_keys.PubKey;
21
+ identityKey: dxos_halo_keys.PubKey;
19
22
  /**
20
23
  * The publicKey of the authenticating Identity.
24
+ *
25
+ * Options:
26
+ * - proto3_optional = true
21
27
  */
22
28
  feedKey?: dxos_halo_keys.PubKey;
23
29
  /**
24
30
  * FeedAdmit message to the should be written to a control feed in case the `feedKey` is not admitted to the party.
31
+ *
32
+ * Options:
33
+ * - proto3_optional = true
25
34
  */
26
35
  feedAdmit?: google_protobuf.Any;
27
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/auth.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD;;GAEG;AACH,MAAM,WAAW,IAAI;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,GAAG,CAAC;CACnC"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/auth.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD;;;;;GAKG;AACH,MAAM,WAAW,IAAI;IACjB;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC;IAChC;;OAEG;IACH,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,cAAc,CAAC,MAAM,CAAC;IACnC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAChC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,GAAG,CAAC;CACnC"}
@@ -2,13 +2,24 @@ import * as dxos_halo_keys from "../halo/keys";
2
2
  import * as google_protobuf from "../../google/protobuf";
3
3
  /**
4
4
  * A Greeter command.
5
+ *
6
+ * Defined in:
7
+ * {@link file://./../../../dxos/halo/greet.proto}
5
8
  */
6
9
  export interface Command {
7
- command?: Command.Type;
10
+ command: Command.Type;
11
+ /**
12
+ * Options:
13
+ * - proto3_optional = true
14
+ */
8
15
  secret?: Uint8Array;
9
16
  params?: google_protobuf.Any[];
10
17
  }
11
18
  export declare namespace Command {
19
+ /**
20
+ * Defined in:
21
+ * {@link file://./../../../dxos/halo/greet.proto}
22
+ */
12
23
  enum Type {
13
24
  BEGIN = 0,
14
25
  HANDSHAKE = 1,
@@ -17,23 +28,43 @@ export declare namespace Command {
17
28
  CLAIM = 10
18
29
  }
19
30
  }
31
+ /**
32
+ * Defined in:
33
+ * {@link file://./../../../dxos/halo/greet.proto}
34
+ */
20
35
  export interface BeginResponse {
21
36
  info?: Partial<Record<string, google_protobuf.Any>>;
22
37
  }
38
+ /**
39
+ * Defined in:
40
+ * {@link file://./../../../dxos/halo/greet.proto}
41
+ */
23
42
  export interface HandshakeResponse {
24
- nonce?: Uint8Array;
25
- partyKey?: dxos_halo_keys.PubKey;
43
+ nonce: Uint8Array;
44
+ partyKey: dxos_halo_keys.PubKey;
26
45
  }
46
+ /**
47
+ * Defined in:
48
+ * {@link file://./../../../dxos/halo/greet.proto}
49
+ */
27
50
  export interface NotarizeResponse {
28
51
  copies?: google_protobuf.Any[];
29
- genesisFeed?: dxos_halo_keys.PubKey;
52
+ genesisFeed: dxos_halo_keys.PubKey;
30
53
  }
54
+ /**
55
+ * Defined in:
56
+ * {@link file://./../../../dxos/halo/greet.proto}
57
+ */
31
58
  export interface KeyHint {
32
- publicKey?: dxos_halo_keys.PubKey;
33
- type?: dxos_halo_keys.KeyType;
59
+ publicKey: dxos_halo_keys.PubKey;
60
+ type: dxos_halo_keys.KeyType;
34
61
  }
62
+ /**
63
+ * Defined in:
64
+ * {@link file://./../../../dxos/halo/greet.proto}
65
+ */
35
66
  export interface ClaimResponse {
36
- id?: Uint8Array;
37
- rendezvousKey?: Uint8Array;
67
+ id: Uint8Array;
68
+ rendezvousKey: Uint8Array;
38
69
  }
39
70
  //# sourceMappingURL=greet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"greet.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/greet.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC,GAAG,EAAE,CAAC;CAClC;AACD,yBAAiB,OAAO,CAAC;IACrB,KAAY,IAAI;QACZ,KAAK,IAAI;QACT,SAAS,IAAI;QACb,QAAQ,IAAI;QACZ,MAAM,IAAI;QACV,KAAK,KAAK;KACb;CACJ;AACD,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC;CACvD;AACD,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CACpC;AACD,MAAM,WAAW,gBAAgB;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC,GAAG,EAAE,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CACvC;AACD,MAAM,WAAW,OAAO;IACpB,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC;CACjC;AACD,MAAM,WAAW,aAAa;IAC1B,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,aAAa,CAAC,EAAE,UAAU,CAAC;CAC9B"}
1
+ {"version":3,"file":"greet.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/greet.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACpB,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC,GAAG,EAAE,CAAC;CAClC;AACD,yBAAiB,OAAO,CAAC;IACrB;;;OAGG;IACH,KAAY,IAAI;QACZ,KAAK,IAAI;QACT,SAAS,IAAI;QACb,QAAQ,IAAI;QACZ,MAAM,IAAI;QACV,KAAK,KAAK;KACb;CACJ;AACD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC;CACvD;AACD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC;CACnC;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,MAAM,CAAC,EAAE,eAAe,CAAC,GAAG,EAAE,CAAC;IAC/B,WAAW,EAAE,cAAc,CAAC,MAAM,CAAC;CACtC;AACD;;;GAGG;AACH,MAAM,WAAW,OAAO;IACpB,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC;IACjC,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC;CAChC;AACD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,UAAU,CAAC;IACf,aAAa,EAAE,UAAU,CAAC;CAC7B"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Command = void 0;
4
4
  var Command;
5
5
  (function (Command) {
6
+ /**
7
+ * Defined in:
8
+ * {@link file://./../../../dxos/halo/greet.proto}
9
+ */
6
10
  let Type;
7
11
  (function (Type) {
8
12
  Type[Type["BEGIN"] = 0] = "BEGIN";
@@ -1 +1 @@
1
- {"version":3,"file":"greet.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/greet.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,OAAO,CAQvB;AARD,WAAiB,OAAO;IACpB,IAAY,IAMX;IAND,WAAY,IAAI;QACZ,iCAAS,CAAA;QACT,yCAAa,CAAA;QACb,uCAAY,CAAA;QACZ,mCAAU,CAAA;QACV,kCAAU,CAAA;IACd,CAAC,EANW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAMf;AACL,CAAC,EARgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAQvB"}
1
+ {"version":3,"file":"greet.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/greet.ts"],"names":[],"mappings":";;;AAkCA,IAAiB,OAAO,CAYvB;AAZD,WAAiB,OAAO;IACpB;;;OAGG;IACH,IAAY,IAMX;IAND,WAAY,IAAI;QACZ,iCAAS,CAAA;QACT,yCAAa,CAAA;QACb,uCAAY,CAAA;QACZ,mCAAU,CAAA;QACV,kCAAU,CAAA;IACd,CAAC,EANW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAMf;AACL,CAAC,EAZgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAYvB"}
@@ -1,10 +1,18 @@
1
1
  import * as dxos_halo_keys from "../halo/keys";
2
+ /**
3
+ * Defined in:
4
+ * {@link file://./../../../dxos/halo/identity.proto}
5
+ */
2
6
  export interface IdentityInfo {
3
- publicKey?: dxos_halo_keys.PubKey;
4
- displayName?: string;
7
+ publicKey: dxos_halo_keys.PubKey;
8
+ displayName: string;
5
9
  }
10
+ /**
11
+ * Defined in:
12
+ * {@link file://./../../../dxos/halo/identity.proto}
13
+ */
6
14
  export interface DeviceInfo {
7
- publicKey?: dxos_halo_keys.PubKey;
8
- displayName?: string;
15
+ publicKey: dxos_halo_keys.PubKey;
16
+ displayName: string;
9
17
  }
10
18
  //# sourceMappingURL=identity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/identity.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAI/C,MAAM,WAAW,YAAY;IACzB,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,MAAM,WAAW,UAAU;IACvB,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/identity.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAI/C;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;CACvB;AACD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACvB,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -1,7 +1,11 @@
1
1
  import * as dxos_credentials from "../credentials";
2
2
  import * as dxos_halo_keys from "../halo/keys";
3
+ /**
4
+ * Defined in:
5
+ * {@link file://./../../../dxos/halo/party.proto}
6
+ */
3
7
  export interface PartyCredential {
4
- type?: PartyCredential.Type;
8
+ type: PartyCredential.Type;
5
9
  envelope?: Envelope;
6
10
  partyGenesis?: PartyGenesis;
7
11
  keyAdmit?: KeyAdmit;
@@ -9,6 +13,10 @@ export interface PartyCredential {
9
13
  feedGenesis?: FeedGenesis;
10
14
  }
11
15
  export declare namespace PartyCredential {
16
+ /**
17
+ * Defined in:
18
+ * {@link file://./../../../dxos/halo/party.proto}
19
+ */
12
20
  enum Type {
13
21
  ENVELOPE = 0,
14
22
  PARTY_GENESIS = 1,
@@ -17,33 +25,57 @@ export declare namespace PartyCredential {
17
25
  FEED_ADMIT = 4
18
26
  }
19
27
  }
28
+ /**
29
+ * Defined in:
30
+ * {@link file://./../../../dxos/halo/party.proto}
31
+ */
20
32
  export interface PartyGenesis {
21
- partyKey?: dxos_halo_keys.PubKey;
22
- feedKey?: dxos_halo_keys.PubKey;
23
- admitKey?: dxos_halo_keys.PubKey;
24
- admitKeyType?: dxos_halo_keys.KeyType;
33
+ partyKey: dxos_halo_keys.PubKey;
34
+ feedKey: dxos_halo_keys.PubKey;
35
+ admitKey: dxos_halo_keys.PubKey;
36
+ admitKeyType: dxos_halo_keys.KeyType;
25
37
  }
38
+ /**
39
+ * Defined in:
40
+ * {@link file://./../../../dxos/halo/party.proto}
41
+ */
26
42
  export interface KeyAdmit {
27
- partyKey?: dxos_halo_keys.PubKey;
28
- admitKey?: dxos_halo_keys.PubKey;
29
- admitKeyType?: dxos_halo_keys.KeyType;
43
+ partyKey: dxos_halo_keys.PubKey;
44
+ admitKey: dxos_halo_keys.PubKey;
45
+ admitKeyType: dxos_halo_keys.KeyType;
30
46
  }
47
+ /**
48
+ * Defined in:
49
+ * {@link file://./../../../dxos/halo/party.proto}
50
+ */
31
51
  export interface FeedAdmit {
32
- partyKey?: dxos_halo_keys.PubKey;
33
- feedKey?: dxos_halo_keys.PubKey;
52
+ partyKey: dxos_halo_keys.PubKey;
53
+ feedKey: dxos_halo_keys.PubKey;
34
54
  }
55
+ /**
56
+ * Defined in:
57
+ * {@link file://./../../../dxos/halo/party.proto}
58
+ */
35
59
  export interface FeedGenesis {
36
- feedKey?: dxos_halo_keys.PubKey;
37
- ownerKey?: dxos_halo_keys.PubKey;
60
+ feedKey: dxos_halo_keys.PubKey;
61
+ ownerKey: dxos_halo_keys.PubKey;
38
62
  }
63
+ /**
64
+ * Defined in:
65
+ * {@link file://./../../../dxos/halo/party.proto}
66
+ */
39
67
  export interface Envelope {
40
- partyKey?: dxos_halo_keys.PubKey;
41
- message?: dxos_credentials.Message;
68
+ partyKey: dxos_halo_keys.PubKey;
69
+ message: dxos_credentials.Message;
42
70
  }
71
+ /**
72
+ * Defined in:
73
+ * {@link file://./../../../dxos/halo/party.proto}
74
+ */
43
75
  export interface PartyInvitation {
44
- id?: Uint8Array;
45
- partyKey?: dxos_halo_keys.PubKey;
46
- issuerKey?: dxos_halo_keys.PubKey;
47
- inviteeKey?: dxos_halo_keys.PubKey;
76
+ id: Uint8Array;
77
+ partyKey: dxos_halo_keys.PubKey;
78
+ issuerKey: dxos_halo_keys.PubKey;
79
+ inviteeKey: dxos_halo_keys.PubKey;
48
80
  }
49
81
  //# sourceMappingURL=party.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"party.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/party.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAC;AAWnD,OAAO,KAAK,cAAc,MAAM,cAAc,CAAC;AAI/C,MAAM,WAAW,eAAe;IAC5B,IAAI,CAAC,EAAE,eAAe,CAAC,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC7B;AACD,yBAAiB,eAAe,CAAC;IAC7B,KAAY,IAAI;QACZ,QAAQ,IAAI;QACZ,aAAa,IAAI;QACjB,YAAY,IAAI;QAChB,SAAS,IAAI;QACb,UAAU,IAAI;KACjB;CACJ;AACD,MAAM,WAAW,YAAY;IACzB,QAAQ,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,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC;IACjC,UAAU,EAAE,cAAc,CAAC,MAAM,CAAC;CACrC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PartyCredential = void 0;
4
4
  var PartyCredential;
5
5
  (function (PartyCredential) {
6
+ /**
7
+ * Defined in:
8
+ * {@link file://./../../../dxos/halo/party.proto}
9
+ */
6
10
  let Type;
7
11
  (function (Type) {
8
12
  Type[Type["ENVELOPE"] = 0] = "ENVELOPE";
@@ -1 +1 @@
1
- {"version":3,"file":"party.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/party.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,eAAe,CAQ/B;AARD,WAAiB,eAAe;IAC5B,IAAY,IAMX;IAND,WAAY,IAAI;QACZ,uCAAY,CAAA;QACZ,iDAAiB,CAAA;QACjB,+CAAgB,CAAA;QAChB,yCAAa,CAAA;QACb,2CAAc,CAAA;IAClB,CAAC,EANW,IAAI,GAAJ,oBAAI,KAAJ,oBAAI,QAMf;AACL,CAAC,EARgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAQ/B"}
1
+ {"version":3,"file":"party.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/credentials/party.ts"],"names":[],"mappings":";;;AA+BA,IAAiB,eAAe,CAY/B;AAZD,WAAiB,eAAe;IAC5B;;;OAGG;IACH,IAAY,IAMX;IAND,WAAY,IAAI;QACZ,uCAAY,CAAA;QACZ,iDAAiB,CAAA;QACjB,+CAAgB,CAAA;QAChB,yCAAa,CAAA;QACb,2CAAc,CAAA;IAClB,CAAC,EANW,IAAI,GAAJ,oBAAI,KAAJ,oBAAI,QAMf;AACL,CAAC,EAZgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAY/B"}
@@ -1,24 +1,63 @@
1
1
  import * as dxos_halo_keys from "./halo/keys";
2
2
  import * as google_protobuf from "../google/protobuf";
3
+ /**
4
+ * Defined in:
5
+ * {@link file://./../../dxos/halo/signed.proto}
6
+ */
3
7
  export interface Message {
4
8
  payload: google_protobuf.Any;
5
9
  }
6
10
  /**
7
11
  * A generic container message used whenever messages are signed (e.g. PartyCredential)
12
+ *
13
+ * Defined in:
14
+ * {@link file://./../../dxos/halo/signed.proto}
8
15
  */
9
16
  export interface SignedMessage {
17
+ /**
18
+ * The signed message contents.
19
+ */
10
20
  signed: SignedMessage.Signed;
21
+ /**
22
+ * An array of Signatures, one for each key that signed the message.
23
+ */
11
24
  signatures?: SignedMessage.Signature[];
12
25
  }
13
26
  export declare namespace SignedMessage {
27
+ /**
28
+ * Defined in:
29
+ * {@link file://./../../dxos/halo/signed.proto}
30
+ */
14
31
  interface Signed {
32
+ /**
33
+ * RFC-3339 datetime string.
34
+ */
15
35
  created: string;
16
36
  nonce: Uint8Array;
37
+ /**
38
+ * The payload to be signed.
39
+ */
17
40
  payload: google_protobuf.Any;
18
41
  }
42
+ /**
43
+ * Defined in:
44
+ * {@link file://./../../dxos/halo/signed.proto}
45
+ */
19
46
  interface Signature {
47
+ /**
48
+ * The publicKey of the keypair that made this signature.
49
+ */
20
50
  key: dxos_halo_keys.PubKey;
51
+ /**
52
+ * The bytes of the signature.
53
+ */
21
54
  signature: Uint8Array;
55
+ /**
56
+ * The certification chain of SignedMessages for this key.
57
+ *
58
+ * Options:
59
+ * - proto3_optional = true
60
+ */
22
61
  keyChain?: dxos_halo_keys.KeyChain;
23
62
  }
24
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../src/proto/gen/dxos/credentials.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,cAAc,MAAM,aAAa,CAAC;AAG9C,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,MAAM,WAAW,OAAO;IACpB,OAAO,EAAE,eAAe,CAAC,GAAG,CAAC;CAChC;AACD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,aAAa,CAAC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