@minca/core 0.1.9 → 0.1.11

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 (195) hide show
  1. package/README.md +2 -2
  2. package/dist/identity/abilities.d.ts +3 -3
  3. package/dist/identity/abilities.d.ts.map +1 -1
  4. package/dist/identity/abilities.js +9 -11
  5. package/dist/identity/abilities.js.map +1 -1
  6. package/dist/identity/contact-key.d.ts +15 -15
  7. package/dist/identity/contact-key.d.ts.map +1 -1
  8. package/dist/identity/contact-key.js +21 -28
  9. package/dist/identity/contact-key.js.map +1 -1
  10. package/dist/identity/root-signer.d.ts +0 -5
  11. package/dist/identity/root-signer.d.ts.map +1 -1
  12. package/dist/identity/root-signer.js +0 -1
  13. package/dist/identity/root-signer.js.map +1 -1
  14. package/dist/inbox/inbox.d.ts +140 -0
  15. package/dist/inbox/inbox.d.ts.map +1 -0
  16. package/dist/inbox/inbox.js +212 -0
  17. package/dist/inbox/inbox.js.map +1 -0
  18. package/dist/inbox/index.d.ts +9 -0
  19. package/dist/inbox/index.d.ts.map +1 -0
  20. package/dist/inbox/index.js +7 -0
  21. package/dist/inbox/index.js.map +1 -0
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +1 -1
  25. package/dist/index.js.map +1 -1
  26. package/dist/network/mailbox.d.ts +4 -4
  27. package/dist/network/mailbox.d.ts.map +1 -1
  28. package/dist/network/mailbox.js +5 -5
  29. package/dist/network/mailbox.js.map +1 -1
  30. package/dist/node/actions.d.ts.map +1 -1
  31. package/dist/node/actions.js +28 -18
  32. package/dist/node/actions.js.map +1 -1
  33. package/dist/node/api.d.ts +11 -10
  34. package/dist/node/api.d.ts.map +1 -1
  35. package/dist/node/api.js +11 -10
  36. package/dist/node/api.js.map +1 -1
  37. package/dist/node/carrier.d.ts +11 -5
  38. package/dist/node/carrier.d.ts.map +1 -1
  39. package/dist/node/carrier.js +42 -1
  40. package/dist/node/carrier.js.map +1 -1
  41. package/dist/node/copy.d.ts +1 -1
  42. package/dist/node/copy.d.ts.map +1 -1
  43. package/dist/node/copy.js +10 -4
  44. package/dist/node/copy.js.map +1 -1
  45. package/dist/node/host.d.ts +2 -0
  46. package/dist/node/host.d.ts.map +1 -1
  47. package/dist/node/host.js +2 -0
  48. package/dist/node/host.js.map +1 -1
  49. package/dist/node/index.d.ts +1 -1
  50. package/dist/node/index.d.ts.map +1 -1
  51. package/dist/node/node.d.ts.map +1 -1
  52. package/dist/node/node.js +720 -542
  53. package/dist/node/node.js.map +1 -1
  54. package/dist/node/remote.d.ts +6 -5
  55. package/dist/node/remote.d.ts.map +1 -1
  56. package/dist/node/remote.js +140 -195
  57. package/dist/node/remote.js.map +1 -1
  58. package/dist/node/space-runtime.d.ts +2 -1
  59. package/dist/node/space-runtime.d.ts.map +1 -1
  60. package/dist/node/space-runtime.js +71 -84
  61. package/dist/node/space-runtime.js.map +1 -1
  62. package/dist/node/types.d.ts +84 -47
  63. package/dist/node/types.d.ts.map +1 -1
  64. package/dist/node/worker.d.ts +1 -1
  65. package/dist/node/worker.d.ts.map +1 -1
  66. package/dist/node/worker.js +10 -6
  67. package/dist/node/worker.js.map +1 -1
  68. package/dist/react/use-invite-link.d.ts +1 -1
  69. package/dist/react/use-invite-link.d.ts.map +1 -1
  70. package/dist/react/use-invite-link.js +18 -11
  71. package/dist/react/use-invite-link.js.map +1 -1
  72. package/dist/records/loose.d.ts +52 -0
  73. package/dist/records/loose.d.ts.map +1 -0
  74. package/dist/records/loose.js +86 -0
  75. package/dist/records/loose.js.map +1 -0
  76. package/dist/schema/version.d.ts +2 -0
  77. package/dist/schema/version.d.ts.map +1 -1
  78. package/dist/schema/version.js +2 -1
  79. package/dist/schema/version.js.map +1 -1
  80. package/dist/schemas/choosing.d.ts +19 -0
  81. package/dist/schemas/choosing.d.ts.map +1 -0
  82. package/dist/schemas/choosing.js +69 -0
  83. package/dist/schemas/choosing.js.map +1 -0
  84. package/dist/schemas/contacts.d.ts +34 -87
  85. package/dist/schemas/contacts.d.ts.map +1 -1
  86. package/dist/schemas/contacts.js +32 -76
  87. package/dist/schemas/contacts.js.map +1 -1
  88. package/dist/schemas/index.d.ts +2 -2
  89. package/dist/schemas/index.d.ts.map +1 -1
  90. package/dist/schemas/index.js +1 -1
  91. package/dist/schemas/index.js.map +1 -1
  92. package/dist/schemas/library/annotations.d.ts +17 -285
  93. package/dist/schemas/library/annotations.d.ts.map +1 -1
  94. package/dist/schemas/library/annotations.js +9 -65
  95. package/dist/schemas/library/annotations.js.map +1 -1
  96. package/dist/schemas/library/community.d.ts +9 -17
  97. package/dist/schemas/library/community.d.ts.map +1 -1
  98. package/dist/schemas/library/community.js +5 -5
  99. package/dist/schemas/library/community.js.map +1 -1
  100. package/dist/schemas/library/life.d.ts +3 -3
  101. package/dist/schemas/library/life.d.ts.map +1 -1
  102. package/dist/schemas/library/life.js +2 -2
  103. package/dist/schemas/library/life.js.map +1 -1
  104. package/dist/schemas/library/media.d.ts +148 -541
  105. package/dist/schemas/library/media.d.ts.map +1 -1
  106. package/dist/schemas/library/media.js +28 -64
  107. package/dist/schemas/library/media.js.map +1 -1
  108. package/dist/schemas/library/money.d.ts +8 -8
  109. package/dist/schemas/library/money.d.ts.map +1 -1
  110. package/dist/schemas/library/money.js +4 -4
  111. package/dist/schemas/library/money.js.map +1 -1
  112. package/dist/schemas/library/planning.d.ts +23 -87
  113. package/dist/schemas/library/planning.d.ts.map +1 -1
  114. package/dist/schemas/library/planning.js +10 -26
  115. package/dist/schemas/library/planning.js.map +1 -1
  116. package/dist/schemas/library/publishing.d.ts +14 -14
  117. package/dist/schemas/library/publishing.d.ts.map +1 -1
  118. package/dist/schemas/library/publishing.js +7 -7
  119. package/dist/schemas/library/publishing.js.map +1 -1
  120. package/dist/schemas/library/social.d.ts +2 -2
  121. package/dist/schemas/library/social.d.ts.map +1 -1
  122. package/dist/schemas/library/social.js +1 -1
  123. package/dist/schemas/library/social.js.map +1 -1
  124. package/dist/schemas/standard.d.ts +1 -1
  125. package/dist/schemas/standard.d.ts.map +1 -1
  126. package/dist/schemas/standard.js +3 -3
  127. package/dist/schemas/standard.js.map +1 -1
  128. package/dist/session/auth.d.ts +20 -0
  129. package/dist/session/auth.d.ts.map +1 -1
  130. package/dist/session/auth.js +81 -64
  131. package/dist/session/auth.js.map +1 -1
  132. package/dist/session/connect.d.ts +50 -8
  133. package/dist/session/connect.d.ts.map +1 -1
  134. package/dist/session/connect.js +91 -27
  135. package/dist/session/connect.js.map +1 -1
  136. package/dist/session/connection.d.ts +39 -6
  137. package/dist/session/connection.d.ts.map +1 -1
  138. package/dist/session/connection.js +107 -38
  139. package/dist/session/connection.js.map +1 -1
  140. package/dist/session/hosting.d.ts +15 -0
  141. package/dist/session/hosting.d.ts.map +1 -1
  142. package/dist/session/hosting.js +55 -4
  143. package/dist/session/hosting.js.map +1 -1
  144. package/dist/session/index.d.ts +5 -5
  145. package/dist/session/index.d.ts.map +1 -1
  146. package/dist/session/index.js +2 -2
  147. package/dist/session/index.js.map +1 -1
  148. package/dist/space/account-registry.d.ts +36 -4
  149. package/dist/space/account-registry.d.ts.map +1 -1
  150. package/dist/space/account-registry.js +30 -3
  151. package/dist/space/account-registry.js.map +1 -1
  152. package/dist/space/invitation.d.ts +61 -0
  153. package/dist/space/invitation.d.ts.map +1 -0
  154. package/dist/space/invitation.js +84 -0
  155. package/dist/space/invitation.js.map +1 -0
  156. package/dist/space/invite-link.d.ts +64 -0
  157. package/dist/space/invite-link.d.ts.map +1 -0
  158. package/dist/space/invite-link.js +212 -0
  159. package/dist/space/invite-link.js.map +1 -0
  160. package/dist/space/roles.d.ts +59 -140
  161. package/dist/space/roles.d.ts.map +1 -1
  162. package/dist/space/roles.js +328 -427
  163. package/dist/space/roles.js.map +1 -1
  164. package/dist/space/space-manager.d.ts +21 -6
  165. package/dist/space/space-manager.d.ts.map +1 -1
  166. package/dist/space/space-manager.js +40 -23
  167. package/dist/space/space-manager.js.map +1 -1
  168. package/dist/types.d.ts +2 -0
  169. package/dist/types.d.ts.map +1 -1
  170. package/dist/types.js.map +1 -1
  171. package/docs/README.md +2 -2
  172. package/docs/actions.md +40 -40
  173. package/docs/agents.md +2 -2
  174. package/docs/automations.md +2 -2
  175. package/docs/blueprints-and-guides.md +61 -1
  176. package/docs/bots.md +1 -1
  177. package/docs/building-an-app.md +2 -2
  178. package/docs/contacts.md +48 -69
  179. package/docs/inbox.md +145 -0
  180. package/docs/node.md +135 -76
  181. package/docs/query-format.md +1 -1
  182. package/docs/sign-in.md +16 -9
  183. package/docs/spaces.md +33 -5
  184. package/docs/standard-library.md +111 -86
  185. package/docs/storage.md +1 -1
  186. package/package.json +5 -5
  187. package/dist/doors/doors.d.ts +0 -140
  188. package/dist/doors/doors.d.ts.map +0 -1
  189. package/dist/doors/doors.js +0 -226
  190. package/dist/doors/doors.js.map +0 -1
  191. package/dist/doors/index.d.ts +0 -9
  192. package/dist/doors/index.d.ts.map +0 -1
  193. package/dist/doors/index.js +0 -7
  194. package/dist/doors/index.js.map +0 -1
  195. package/docs/doors.md +0 -151
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Contacts, as two standard collections — the protocol knows neither.
2
+ * Contacts, as standard collections — the protocol knows none of them.
3
3
  *
4
4
  * A contact is someone you share a private space for two with. Your list of
5
5
  * them is `std.contact` records in your contacts space, which only your
6
- * account can find (`deriveContactsSpace`). Asking someone to add you, inside
7
- * a space you both belong to, is a `std.contact-request` there: the invite to a
8
- * new space for two, sealed with their contact key so only they can read it.
6
+ * account can find (`deriveContactsSpace`). Your inbox's settings, and the
7
+ * knocks you left on other people's, are kept there too, so every device of
8
+ * the account reads the same ones.
9
9
  *
10
- * `node.contacts` does the work with both; these are here so apps can read
11
- * and query the records like any other.
10
+ * `node.contacts` and `node.inbox` do the work with them; these are here so
11
+ * apps can read and query the records like any other.
12
12
  */
13
13
  import { define } from './fragments.js';
14
14
  /** Someone you can reach, and the space you share with them. One per person. */
@@ -23,117 +23,73 @@ export const contact = define({
23
23
  name: { type: 'string', maxLength: 200, description: 'What you call them' },
24
24
  space: { type: 'string', maxLength: 256, description: 'The id of your space for two' },
25
25
  note: { type: 'string', maxLength: 2000 },
26
- blocked: { type: 'boolean', description: 'Their contact requests are hidden, in every space' },
27
- door: {
28
- type: 'string',
29
- maxLength: 64,
30
- description: 'The door they knocked on, while your answer is still to be written in your space for two',
31
- },
26
+ blocked: { type: 'boolean', description: 'Their knocks are hidden, in every space and in your inbox' },
32
27
  },
33
28
  required: ['did', 'name'],
34
29
  },
35
30
  rules: { onePer: ['did'] },
36
31
  });
37
- /** An invite to a space for two, sealed so only the person it is for can read it. */
32
+ /** A knock left in a space both belong to: sealed to their contact key, so only they open it. */
38
33
  export const contactRequest = define({
39
34
  name: 'std.contact-request',
40
35
  title: 'Contact request',
41
- description: 'An invite to a space for two, sealed so only one person can read it.',
36
+ description: 'A knock left for someone in a space you share, sealed so only they can open it.',
42
37
  schema: {
43
38
  type: 'object',
44
39
  properties: {
45
- to: { type: 'string', maxLength: 256, description: 'The account it is for' },
46
- sealed: {
47
- type: 'string',
48
- maxLength: 16000,
49
- description: 'The invite and a note, sealed with their contact key',
50
- },
40
+ to: { type: 'string', maxLength: 64, description: 'Their contact key, as on their profile here' },
41
+ sealed: { type: 'string', maxLength: 16000, description: 'The knock, sealed to it (spec 07 §6)' },
51
42
  },
52
43
  required: ['to', 'sealed'],
53
44
  },
54
45
  });
55
46
  /**
56
- * A door of yours: a way in for people you share no space with (`node.doors`).
57
- * Kept in your contacts space, so every device of the account opens the same
58
- * doors. Its key is derived from the contact key and `id`; closing the door
59
- * is deleting the record.
47
+ * Your inbox (`node.inbox`): which one it is and where its knocks wait. Its
48
+ * keys are derived from the contact key and `gen`; a new `gen` is a new inbox,
49
+ * and codes for the old one stop working. The newest record is the inbox.
60
50
  */
61
- export const door = define({
62
- name: 'std.door',
63
- title: 'Door',
64
- description: 'A way for people you share no space with to ask to become your contact.',
51
+ export const inbox = define({
52
+ name: 'std.inbox',
53
+ title: 'Inbox',
54
+ description: 'Where people you share no space with can ask to become your contact.',
65
55
  schema: {
66
56
  type: 'object',
67
57
  properties: {
68
- id: {
69
- type: 'string',
70
- minLength: 16,
71
- maxLength: 64,
72
- description: 'Random; the door key is derived from it',
73
- },
74
- label: { type: 'string', maxLength: 64, description: 'What you call this door — only you see it' },
75
- name: {
76
- type: 'string',
77
- maxLength: 64,
78
- description: 'The name its code gives, shown to whoever knocks',
79
- },
80
- relays: {
58
+ gen: { type: 'integer', minimum: 0, description: 'Which inbox: its keys are derived from it' },
59
+ places: {
81
60
  type: 'array',
82
61
  items: { type: 'string', maxLength: 200 },
83
62
  minItems: 1,
84
63
  maxItems: 3,
85
64
  description: 'Whose mailboxes hold its knocks',
86
65
  },
66
+ name: {
67
+ type: 'string',
68
+ maxLength: 64,
69
+ description: 'The name its code gives, shown to whoever knocks',
70
+ },
87
71
  },
88
- required: ['id', 'relays'],
72
+ required: ['gen', 'places'],
89
73
  },
90
- rules: { onePer: ['id'] },
91
74
  });
92
75
  /**
93
- * A knock you left on someone's door, waiting for them to open it. You don't
94
- * know who they are until they join the space for two; then it becomes a
76
+ * A knock you left on someone's inbox, waiting for them to join the space for
77
+ * two. You don't know who they are until they do; then it becomes a
95
78
  * `std.contact`, and this goes.
96
79
  */
97
80
  export const knock = define({
98
81
  name: 'std.knock',
99
82
  title: 'Knock',
100
- description: 'A knock left on a door, waiting for an answer.',
83
+ description: 'A knock left on an inbox, waiting for them to join.',
101
84
  schema: {
102
85
  type: 'object',
103
86
  properties: {
104
87
  space: { type: 'string', maxLength: 256, description: 'The space for two it invites them to' },
105
- name: { type: 'string', maxLength: 64, description: 'The name their door code gave' },
106
- door: { type: 'string', maxLength: 64, description: 'The door key knocked on' },
107
- sign: {
108
- type: 'string',
109
- maxLength: 64,
110
- description: "The door's signing key, which their answer must be signed with",
111
- },
112
- invite: { type: 'string', maxLength: 8000, description: 'The invite sent, to close once they answer' },
88
+ name: { type: 'string', maxLength: 64, description: 'The name their inbox code gave' },
89
+ invite: { type: 'string', maxLength: 12000, description: 'The invite sent, to close once they join' },
113
90
  },
114
- required: ['space', 'name', 'door', 'sign', 'invite'],
91
+ required: ['space', 'name', 'invite'],
115
92
  },
116
93
  rules: { onePer: ['space'] },
117
94
  });
118
- /**
119
- * The answer to a knock, in the space for two: the door's owner, signing with
120
- * the door's signing key that the account writing this is theirs. It is how
121
- * the knocker tells the person behind the door from anyone the invite reached.
122
- */
123
- export const knockAnswer = define({
124
- name: 'std.knock-answer',
125
- title: 'Knock answer',
126
- description: 'Proof that the account which joined is the one behind the door knocked on.',
127
- schema: {
128
- type: 'object',
129
- properties: {
130
- sig: {
131
- type: 'string',
132
- maxLength: 200,
133
- description: 'The door signing key over "minca/knock-answer/v1|<space>|<account>"',
134
- },
135
- },
136
- required: ['sig'],
137
- },
138
- });
139
95
  //# sourceMappingURL=contacts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/schemas/contacts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,gFAAgF;AAChF,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC;IAC5B,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,2DAA2D;IACxE,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,WAAW,EAAE,eAAe,EAAE;YACrE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,WAAW,EAAE,oBAAoB,EAAE;YAC3E,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,WAAW,EAAE,8BAA8B,EAAE;YACtF,IAAI,EAAE,EAAE,I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AE,kDAAkD;aAChE;SACF;QACD,QAAQ,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;KAC5B;CACF,CAAC,CAAC;AAGH;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC;IAC1B,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,WAAW,EAAE,sCAAsC,EAAE;YAC9F,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,gCAAgC,EAAE;YACtF,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,0CAA0C,EAAE;SACtG;QACD,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;KACtC;IACD,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE;CAC7B,CAAC,CAAC"}
@@ -63,8 +63,8 @@ export declare function positionBetween(before?: string | null, after?: string |
63
63
  * A space you cannot write in is skipped.
64
64
  */
65
65
  export declare function useSchemas(node: P2PNode, spaceId: string, schemas: ReadonlyArray<DefineCollection>): Promise<void>;
66
- export { contact, contactRequest, door, knock, knockAnswer } from './contacts.js';
67
- export type { Contact, ContactRequestRecord, Door, Knock, KnockAnswer } from './contacts.js';
66
+ export { contact, contactRequest, inbox, knock } from './contacts.js';
67
+ export type { Contact, ContactRequestRecord, Inbox, Knock } from './contacts.js';
68
68
  export * from './library/collections.js';
69
69
  export { checkBlueprint, reviewBlueprint, standardCollections, supersededBlueprints, proposeCollections, applyBlueprint, copyBlueprint, } from './blueprints.js';
70
70
  export { guidesOf, writeGuide } from './guides.js';
@@ -1 +1 @@
1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,QAAQ,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACvE,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC"}
@@ -55,7 +55,7 @@ export async function useSchemas(node, spaceId, schemas) {
55
55
  await node.collections.define(spaceId, schema);
56
56
  }
57
57
  }
58
- export { contact, contactRequest, door, knock, knockAnswer } from './contacts.js';
58
+ export { contact, contactRequest, inbox, knock } from './contacts.js';
59
59
  export * from './library/collections.js';
60
60
  export { checkBlueprint, reviewBlueprint, standardCollections, supersededBlueprints, proposeCollections, applyBlueprint, copyBlueprint, } from './blueprints.js';
61
61
  export { guidesOf, writeGuide } from './guides.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAsCA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACL,eAAe,EACf,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,OAAO,EACP,WAAW,EACX,UAAU,GAEX,MAAM,UAAU,CAAC;AAClB,+GAA+G;AAC/G,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAG5C,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,GACnB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,GAAG,sCAAsC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,MAAsB,EAAE,KAAqB;IAC3E,MAAM,CAAC,GAAG,MAAM,IAAI,EAAE,CAAC;IACvB,IAAI,CAAC,GAAG,KAAK,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,C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EACtB,SAAS,EACT,WAAW,EACX,EAAE,EACF,EAAE,EACF,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAkB1B,OAAO,EACL,OAAO,EACP,SAAS,EACT,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,aAAa,GACd,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE9D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAsCA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACL,eAAe,EACf,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,OAAO,EACP,WAAW,EACX,UAAU,GAEX,MAAM,UAAU,CAAC;AAClB,+GAA+G;AAC/G,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAG5C,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,GACnB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,GAAG,sCAAsC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,MAAsB,EAAE,KAAqB;IAC3E,MAAM,CAAC,GAAG,MAAM,IAAI,EAAE,CAAC;IACvB,IAAI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AACnD,OAAO,EACL,UAAU,EACV,aAAa,EACb,QAAQ,EACR,eAAe,EACf,sBAAsB,EACtB,SAAS,EACT,WAAW,EACX,EAAE,EACF,EAAE,EACF,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAkB1B,OAAO,EACL,OAAO,EACP,SAAS,EACT,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,aAAa,GACd,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE9D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC"}
@@ -42,7 +42,7 @@ export type Reaction = BodyOf<typeof reaction>;
42
42
  export declare const comment: {
43
43
  readonly name: "std.comment";
44
44
  readonly title: "Comment";
45
- readonly description: "A comment on any record, optionally replying to another comment.";
45
+ readonly description: "A comment on any record, optionally replying to another comment. To chat, use std.message.";
46
46
  readonly schema: {
47
47
  readonly type: "object";
48
48
  readonly properties: {
@@ -93,7 +93,7 @@ export type Comment = BodyOf<typeof comment>;
93
93
  export declare const tag: {
94
94
  readonly name: "std.tag";
95
95
  readonly title: "Tag";
96
- readonly description: "A label on one or more records.";
96
+ readonly description: "A loose label on one record, like #urgent: many per record, and anyone may add one. For a named group that exists while empty, use std.list; for a moderator’s label that apps act on, use std.label.";
97
97
  readonly schema: {
98
98
  readonly type: "object";
99
99
  readonly properties: {
@@ -105,158 +105,16 @@ export declare const tag: {
105
105
  };
106
106
  readonly required: readonly ["label"];
107
107
  };
108
- readonly links: {
109
- readonly about: {
110
- readonly to: "*";
111
- readonly cardinality: "many";
112
- readonly description: "The records tagged";
113
- };
114
- };
115
- } & import("../../index.js").Typed<{
116
- readonly label: string;
117
- }>;
118
- export type Tag = BodyOf<typeof tag>;
119
- /**
120
- * A file attached to a record. `blob` names its bytes by hash; `url` is where
121
- * they are when they live outside the space.
122
- */
123
- export declare const attachment: {
124
- readonly name: "std.attachment";
125
- readonly title: "Attachment";
126
- readonly description: "A file attached to a record: its bytes by hash, or where they are.";
127
- readonly schema: {
128
- readonly type: "object";
129
- readonly properties: {
130
- readonly name: {
131
- readonly type: "string";
132
- readonly minLength: 1;
133
- };
134
- readonly mime: {
135
- readonly type: "string";
136
- readonly minLength: 1;
137
- };
138
- readonly size: {
139
- readonly type: "integer";
140
- readonly minimum: 0;
141
- };
142
- readonly url: {
143
- readonly type: "string";
144
- };
145
- readonly blob: {
146
- type: 'object';
147
- properties: {
148
- hash: {
149
- type: 'string';
150
- minLength: number;
151
- maxLength: number;
152
- };
153
- size: {
154
- type: 'integer';
155
- minimum: number;
156
- };
157
- mime: {
158
- type: 'string';
159
- minLength?: number | undefined;
160
- maxLength: number;
161
- };
162
- name: {
163
- type: 'string';
164
- minLength?: number | undefined;
165
- maxLength: number;
166
- };
167
- key: {
168
- type: 'string';
169
- minLength: number;
170
- maxLength: number;
171
- };
172
- salt: {
173
- type: 'string';
174
- minLength: number;
175
- maxLength: number;
176
- };
177
- };
178
- required: readonly ["hash", "size", "mime"];
179
- };
180
- };
181
- readonly required: readonly ["name", "mime"];
182
- };
183
- readonly links: {
184
- about: import("../../records/links.js").LinkDeclaration;
185
- };
186
- } & import("../../index.js").Typed<{
187
- readonly name: string;
188
- readonly mime: string;
189
- readonly size?: number | undefined;
190
- readonly url?: string | undefined;
191
- readonly blob?: {
192
- readonly hash: string;
193
- readonly size: number;
194
- readonly mime: string;
195
- readonly name?: string | undefined;
196
- readonly key?: string | undefined;
197
- readonly salt?: string | undefined;
198
- } | undefined;
199
- }>;
200
- export type Attachment = BodyOf<typeof attachment>;
201
- /** A note that one record refers to another. */
202
- export declare const reference: {
203
- readonly name: "std.reference";
204
- readonly title: "Reference";
205
- readonly description: "A note that one record refers to another.";
206
- readonly schema: {
207
- readonly type: "object";
208
- readonly properties: {
209
- readonly note: {
210
- readonly type: "string";
211
- };
212
- };
213
- };
214
108
  readonly links: {
215
109
  about: import("../../records/links.js").LinkDeclaration;
216
- to: import("../../records/links.js").LinkDeclaration;
217
- };
218
- } & import("../../index.js").Typed<{
219
- readonly note?: string | undefined;
220
- }>;
221
- export type Reference = BodyOf<typeof reference>;
222
- /**
223
- * Something saved to come back to: a record (`about`) or a web page (`url`).
224
- * Not one per record, since a web page has no record to key it by; an app
225
- * looks for an existing bookmark before adding another.
226
- */
227
- export declare const bookmark: {
228
- readonly name: "std.bookmark";
229
- readonly title: "Bookmark";
230
- readonly description: "A record or a web page saved to come back to.";
231
- readonly schema: {
232
- readonly type: "object";
233
- readonly properties: {
234
- title: {
235
- type: 'string';
236
- minLength?: number | undefined;
237
- maxLength: number;
238
- };
239
- url: {
240
- type: 'string';
241
- minLength?: number | undefined;
242
- maxLength: number;
243
- };
244
- note: {
245
- type: 'string';
246
- minLength?: number | undefined;
247
- maxLength: number;
248
- };
249
- };
250
110
  };
251
- readonly links: {
252
- about: import("../../records/links.js").LinkDeclaration;
111
+ readonly rules: {
112
+ readonly onePer: readonly ["@author", "link:about", "label"];
253
113
  };
254
114
  } & import("../../index.js").Typed<{
255
- readonly title?: string | undefined;
256
- readonly url?: string | undefined;
257
- readonly note?: string | undefined;
115
+ readonly label: string;
258
116
  }>;
259
- export type Bookmark = BodyOf<typeof bookmark>;
117
+ export type Tag = BodyOf<typeof tag>;
260
118
  /** One person's score for something, from 1 to 5, and what they thought. */
261
119
  export declare const rating: {
262
120
  readonly name: "std.rating";
@@ -337,7 +195,7 @@ export type Highlight = BodyOf<typeof highlight>;
337
195
  export declare const pin: {
338
196
  readonly name: "std.pin";
339
197
  readonly title: "Pin";
340
- readonly description: "A record pinned for everyone, by a moderator.";
198
+ readonly description: "A record pinned for everyone by a moderator. To keep something for yourself, put it on a std.list.";
341
199
  readonly schema: {
342
200
  readonly type: "object";
343
201
  readonly properties: {
@@ -395,7 +253,7 @@ export type Report = BodyOf<typeof report>;
395
253
  export declare const label: {
396
254
  readonly name: "std.label";
397
255
  readonly title: "Label";
398
- readonly description: "A moderator’s label on a record, like nsfw or spoiler.";
256
+ readonly description: "A moderator’s label that apps act on, like nsfw (blurred) or spoiler (hidden). Members label things with std.tag.";
399
257
  readonly schema: {
400
258
  readonly type: "object";
401
259
  readonly properties: {
@@ -424,7 +282,7 @@ export type Label = BodyOf<typeof label>;
424
282
  export declare const claim: {
425
283
  readonly name: "std.claim";
426
284
  readonly title: "Claim";
427
- readonly description: "Someone taking something on: one claimer per thing, first come.";
285
+ readonly description: "Someone taking something on, one per thing, first come: a task, an item to bring, a std.slot to book.";
428
286
  readonly schema: {
429
287
  readonly type: "object";
430
288
  readonly properties: {
@@ -487,7 +345,7 @@ export declare const annotationGroups: {
487
345
  }>) | ({
488
346
  readonly name: "std.comment";
489
347
  readonly title: "Comment";
490
- readonly description: "A comment on any record, optionally replying to another comment.";
348
+ readonly description: "A comment on any record, optionally replying to another comment. To chat, use std.message.";
491
349
  readonly schema: {
492
350
  readonly type: "object";
493
351
  readonly properties: {
@@ -535,7 +393,7 @@ export declare const annotationGroups: {
535
393
  }>) | ({
536
394
  readonly name: "std.tag";
537
395
  readonly title: "Tag";
538
- readonly description: "A label on one or more records.";
396
+ readonly description: "A loose label on one record, like #urgent: many per record, and anyone may add one. For a named group that exists while empty, use std.list; for a moderator’s label that apps act on, use std.label.";
539
397
  readonly schema: {
540
398
  readonly type: "object";
541
399
  readonly properties: {
@@ -547,140 +405,14 @@ export declare const annotationGroups: {
547
405
  };
548
406
  readonly required: readonly ["label"];
549
407
  };
550
- readonly links: {
551
- readonly about: {
552
- readonly to: "*";
553
- readonly cardinality: "many";
554
- readonly description: "The records tagged";
555
- };
556
- };
557
- } & import("../../index.js").Typed<{
558
- readonly label: string;
559
- }>) | ({
560
- readonly name: "std.attachment";
561
- readonly title: "Attachment";
562
- readonly description: "A file attached to a record: its bytes by hash, or where they are.";
563
- readonly schema: {
564
- readonly type: "object";
565
- readonly properties: {
566
- readonly name: {
567
- readonly type: "string";
568
- readonly minLength: 1;
569
- };
570
- readonly mime: {
571
- readonly type: "string";
572
- readonly minLength: 1;
573
- };
574
- readonly size: {
575
- readonly type: "integer";
576
- readonly minimum: 0;
577
- };
578
- readonly url: {
579
- readonly type: "string";
580
- };
581
- readonly blob: {
582
- type: 'object';
583
- properties: {
584
- hash: {
585
- type: 'string';
586
- minLength: number;
587
- maxLength: number;
588
- };
589
- size: {
590
- type: 'integer';
591
- minimum: number;
592
- };
593
- mime: {
594
- type: 'string';
595
- minLength?: number | undefined;
596
- maxLength: number;
597
- };
598
- name: {
599
- type: 'string';
600
- minLength?: number | undefined;
601
- maxLength: number;
602
- };
603
- key: {
604
- type: 'string';
605
- minLength: number;
606
- maxLength: number;
607
- };
608
- salt: {
609
- type: 'string';
610
- minLength: number;
611
- maxLength: number;
612
- };
613
- };
614
- required: readonly ["hash", "size", "mime"];
615
- };
616
- };
617
- readonly required: readonly ["name", "mime"];
618
- };
619
- readonly links: {
620
- about: import("../../records/links.js").LinkDeclaration;
621
- };
622
- } & import("../../index.js").Typed<{
623
- readonly name: string;
624
- readonly mime: string;
625
- readonly size?: number | undefined;
626
- readonly url?: string | undefined;
627
- readonly blob?: {
628
- readonly hash: string;
629
- readonly size: number;
630
- readonly mime: string;
631
- readonly name?: string | undefined;
632
- readonly key?: string | undefined;
633
- readonly salt?: string | undefined;
634
- } | undefined;
635
- }>) | ({
636
- readonly name: "std.reference";
637
- readonly title: "Reference";
638
- readonly description: "A note that one record refers to another.";
639
- readonly schema: {
640
- readonly type: "object";
641
- readonly properties: {
642
- readonly note: {
643
- readonly type: "string";
644
- };
645
- };
646
- };
647
408
  readonly links: {
648
409
  about: import("../../records/links.js").LinkDeclaration;
649
- to: import("../../records/links.js").LinkDeclaration;
650
- };
651
- } & import("../../index.js").Typed<{
652
- readonly note?: string | undefined;
653
- }>) | ({
654
- readonly name: "std.bookmark";
655
- readonly title: "Bookmark";
656
- readonly description: "A record or a web page saved to come back to.";
657
- readonly schema: {
658
- readonly type: "object";
659
- readonly properties: {
660
- title: {
661
- type: 'string';
662
- minLength?: number | undefined;
663
- maxLength: number;
664
- };
665
- url: {
666
- type: 'string';
667
- minLength?: number | undefined;
668
- maxLength: number;
669
- };
670
- note: {
671
- type: 'string';
672
- minLength?: number | undefined;
673
- maxLength: number;
674
- };
675
- };
676
410
  };
677
- readonly links: {
678
- about: import("../../records/links.js").LinkDeclaration;
411
+ readonly rules: {
412
+ readonly onePer: readonly ["@author", "link:about", "label"];
679
413
  };
680
414
  } & import("../../index.js").Typed<{
681
- readonly title?: string | undefined;
682
- readonly url?: string | undefined;
683
- readonly note?: string | undefined;
415
+ readonly label: string;
684
416
  }>) | ({
685
417
  readonly name: "std.rating";
686
418
  readonly title: "Rating";
@@ -751,7 +483,7 @@ export declare const annotationGroups: {
751
483
  }>) | ({
752
484
  readonly name: "std.pin";
753
485
  readonly title: "Pin";
754
- readonly description: "A record pinned for everyone, by a moderator.";
486
+ readonly description: "A record pinned for everyone by a moderator. To keep something for yourself, put it on a std.list.";
755
487
  readonly schema: {
756
488
  readonly type: "object";
757
489
  readonly properties: {
@@ -800,7 +532,7 @@ export declare const annotationGroups: {
800
532
  }>) | ({
801
533
  readonly name: "std.label";
802
534
  readonly title: "Label";
803
- readonly description: "A moderator’s label on a record, like nsfw or spoiler.";
535
+ readonly description: "A moderator’s label that apps act on, like nsfw (blurred) or spoiler (hidden). Members label things with std.tag.";
804
536
  readonly schema: {
805
537
  readonly type: "object";
806
538
  readonly properties: {
@@ -823,7 +555,7 @@ export declare const annotationGroups: {
823
555
  }>) | ({
824
556
  readonly name: "std.claim";
825
557
  readonly title: "Claim";
826
- readonly description: "Someone taking something on: one claimer per thing, first come.";
558
+ readonly description: "Someone taking something on, one per thing, first come: a task, an item to bring, a std.slot to book.";
827
559
  readonly schema: {
828
560
  readonly type: "object";
829
561
  readonly properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/annotations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,+EAA+E;AAC/E,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;QAYV,KAAK;;;;;;;;;EAId,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBlB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,OAAO,CAAC,CAAC;AAE7C,sCAAsC;AACtC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;EAUd,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAeZ,KAAK;;;;;;;;;;;;;;;EACd,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC;AAEnD,gDAAgD;AAChD,eAAO,MAAM,SAAS;;;;;;;;;;;;;QAKX,KAAK;QAA2C,EAAE;;;;EAC3D,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;YAMH,KAAK;;;;;YAAa,GAAG;;;;;YAAkD,IAAI;;;;;;;;QAElF,KAAK;;;;;;EACd,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,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