@minca/core 0.1.10 → 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 (157) hide show
  1. package/README.md +1 -1
  2. package/dist/identity/abilities.js +1 -1
  3. package/dist/identity/contact-key.d.ts +15 -15
  4. package/dist/identity/contact-key.d.ts.map +1 -1
  5. package/dist/identity/contact-key.js +21 -28
  6. package/dist/identity/contact-key.js.map +1 -1
  7. package/dist/inbox/inbox.d.ts +140 -0
  8. package/dist/inbox/inbox.d.ts.map +1 -0
  9. package/dist/inbox/inbox.js +212 -0
  10. package/dist/inbox/inbox.js.map +1 -0
  11. package/dist/inbox/index.d.ts +9 -0
  12. package/dist/inbox/index.d.ts.map +1 -0
  13. package/dist/inbox/index.js +7 -0
  14. package/dist/inbox/index.js.map +1 -0
  15. package/dist/index.d.ts +2 -2
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/network/mailbox.d.ts +4 -4
  20. package/dist/network/mailbox.d.ts.map +1 -1
  21. package/dist/network/mailbox.js +5 -5
  22. package/dist/network/mailbox.js.map +1 -1
  23. package/dist/node/actions.d.ts.map +1 -1
  24. package/dist/node/actions.js +28 -18
  25. package/dist/node/actions.js.map +1 -1
  26. package/dist/node/api.d.ts +11 -10
  27. package/dist/node/api.d.ts.map +1 -1
  28. package/dist/node/api.js +11 -10
  29. package/dist/node/api.js.map +1 -1
  30. package/dist/node/carrier.d.ts +11 -5
  31. package/dist/node/carrier.d.ts.map +1 -1
  32. package/dist/node/carrier.js +42 -1
  33. package/dist/node/carrier.js.map +1 -1
  34. package/dist/node/copy.d.ts +1 -1
  35. package/dist/node/copy.d.ts.map +1 -1
  36. package/dist/node/copy.js +10 -4
  37. package/dist/node/copy.js.map +1 -1
  38. package/dist/node/host.d.ts +2 -0
  39. package/dist/node/host.d.ts.map +1 -1
  40. package/dist/node/host.js +2 -0
  41. package/dist/node/host.js.map +1 -1
  42. package/dist/node/index.d.ts +1 -1
  43. package/dist/node/index.d.ts.map +1 -1
  44. package/dist/node/node.d.ts.map +1 -1
  45. package/dist/node/node.js +496 -295
  46. package/dist/node/node.js.map +1 -1
  47. package/dist/node/remote.d.ts.map +1 -1
  48. package/dist/node/remote.js +0 -2
  49. package/dist/node/remote.js.map +1 -1
  50. package/dist/node/space-runtime.d.ts +2 -1
  51. package/dist/node/space-runtime.d.ts.map +1 -1
  52. package/dist/node/space-runtime.js +2 -2
  53. package/dist/node/space-runtime.js.map +1 -1
  54. package/dist/node/types.d.ts +72 -43
  55. package/dist/node/types.d.ts.map +1 -1
  56. package/dist/react/use-invite-link.d.ts +1 -1
  57. package/dist/react/use-invite-link.d.ts.map +1 -1
  58. package/dist/react/use-invite-link.js +18 -11
  59. package/dist/react/use-invite-link.js.map +1 -1
  60. package/dist/records/loose.d.ts +52 -0
  61. package/dist/records/loose.d.ts.map +1 -0
  62. package/dist/records/loose.js +86 -0
  63. package/dist/records/loose.js.map +1 -0
  64. package/dist/schema/version.d.ts +2 -0
  65. package/dist/schema/version.d.ts.map +1 -1
  66. package/dist/schema/version.js +2 -1
  67. package/dist/schema/version.js.map +1 -1
  68. package/dist/schemas/choosing.d.ts +19 -0
  69. package/dist/schemas/choosing.d.ts.map +1 -0
  70. package/dist/schemas/choosing.js +69 -0
  71. package/dist/schemas/choosing.js.map +1 -0
  72. package/dist/schemas/contacts.d.ts +34 -87
  73. package/dist/schemas/contacts.d.ts.map +1 -1
  74. package/dist/schemas/contacts.js +32 -76
  75. package/dist/schemas/contacts.js.map +1 -1
  76. package/dist/schemas/index.d.ts +2 -2
  77. package/dist/schemas/index.d.ts.map +1 -1
  78. package/dist/schemas/index.js +1 -1
  79. package/dist/schemas/index.js.map +1 -1
  80. package/dist/schemas/library/annotations.d.ts +17 -285
  81. package/dist/schemas/library/annotations.d.ts.map +1 -1
  82. package/dist/schemas/library/annotations.js +9 -65
  83. package/dist/schemas/library/annotations.js.map +1 -1
  84. package/dist/schemas/library/community.d.ts +9 -17
  85. package/dist/schemas/library/community.d.ts.map +1 -1
  86. package/dist/schemas/library/community.js +5 -5
  87. package/dist/schemas/library/community.js.map +1 -1
  88. package/dist/schemas/library/life.d.ts +3 -3
  89. package/dist/schemas/library/life.d.ts.map +1 -1
  90. package/dist/schemas/library/life.js +2 -2
  91. package/dist/schemas/library/life.js.map +1 -1
  92. package/dist/schemas/library/media.d.ts +148 -541
  93. package/dist/schemas/library/media.d.ts.map +1 -1
  94. package/dist/schemas/library/media.js +28 -64
  95. package/dist/schemas/library/media.js.map +1 -1
  96. package/dist/schemas/library/money.d.ts +8 -8
  97. package/dist/schemas/library/money.d.ts.map +1 -1
  98. package/dist/schemas/library/money.js +4 -4
  99. package/dist/schemas/library/money.js.map +1 -1
  100. package/dist/schemas/library/planning.d.ts +23 -87
  101. package/dist/schemas/library/planning.d.ts.map +1 -1
  102. package/dist/schemas/library/planning.js +10 -26
  103. package/dist/schemas/library/planning.js.map +1 -1
  104. package/dist/schemas/library/publishing.d.ts +14 -14
  105. package/dist/schemas/library/publishing.d.ts.map +1 -1
  106. package/dist/schemas/library/publishing.js +7 -7
  107. package/dist/schemas/library/publishing.js.map +1 -1
  108. package/dist/schemas/library/social.d.ts +2 -2
  109. package/dist/schemas/library/social.d.ts.map +1 -1
  110. package/dist/schemas/library/social.js +1 -1
  111. package/dist/schemas/library/social.js.map +1 -1
  112. package/dist/schemas/standard.d.ts +1 -1
  113. package/dist/schemas/standard.d.ts.map +1 -1
  114. package/dist/schemas/standard.js +3 -3
  115. package/dist/schemas/standard.js.map +1 -1
  116. package/dist/session/auth.js +1 -1
  117. package/dist/session/auth.js.map +1 -1
  118. package/dist/space/account-registry.d.ts +22 -0
  119. package/dist/space/account-registry.d.ts.map +1 -1
  120. package/dist/space/account-registry.js +18 -0
  121. package/dist/space/account-registry.js.map +1 -1
  122. package/dist/space/invitation.d.ts +61 -0
  123. package/dist/space/invitation.d.ts.map +1 -0
  124. package/dist/space/invitation.js +84 -0
  125. package/dist/space/invitation.js.map +1 -0
  126. package/dist/space/invite-link.d.ts +64 -0
  127. package/dist/space/invite-link.d.ts.map +1 -0
  128. package/dist/space/invite-link.js +212 -0
  129. package/dist/space/invite-link.js.map +1 -0
  130. package/dist/space/space-manager.d.ts +21 -6
  131. package/dist/space/space-manager.d.ts.map +1 -1
  132. package/dist/space/space-manager.js +40 -23
  133. package/dist/space/space-manager.js.map +1 -1
  134. package/dist/types.d.ts +2 -0
  135. package/dist/types.d.ts.map +1 -1
  136. package/dist/types.js.map +1 -1
  137. package/docs/README.md +2 -2
  138. package/docs/actions.md +37 -37
  139. package/docs/automations.md +2 -2
  140. package/docs/blueprints-and-guides.md +44 -3
  141. package/docs/building-an-app.md +2 -2
  142. package/docs/contacts.md +48 -69
  143. package/docs/inbox.md +145 -0
  144. package/docs/node.md +36 -23
  145. package/docs/query-format.md +1 -1
  146. package/docs/spaces.md +33 -5
  147. package/docs/standard-library.md +111 -86
  148. package/package.json +5 -5
  149. package/dist/doors/doors.d.ts +0 -140
  150. package/dist/doors/doors.d.ts.map +0 -1
  151. package/dist/doors/doors.js +0 -226
  152. package/dist/doors/doors.js.map +0 -1
  153. package/dist/doors/index.d.ts +0 -9
  154. package/dist/doors/index.d.ts.map +0 -1
  155. package/dist/doors/index.js +0 -7
  156. package/dist/doors/index.js.map +0 -1
  157. package/docs/doors.md +0 -151
@@ -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;;;;;;;;;;;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KAAK;;;;;;;EAEd,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;;;YAOA,YAAY;;;;;YAA8D,IAAI;;;;;;;;QAErF,KAAK;;;;;;;;;EAGd,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB;IAC3B,WAAW;;;;;;;;;;;;;;;;;;;;;YA/JF,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA+CL,KAAK;;;;;;;;;;;;;;gBAYE,KAAK;;;;;gBAAe,MAAM;;;;;;;;;YAGjC,KAAK;;;;;;;;;;;;;;;gBAgBV,KAAK;;;;;gBACL,MAAM;;;;;gBACN,MAAM;;;;;gBACN,IAAI;;;;;;;;;YAIC,KAAK;;;;;;;;;;;;;;gBAU0B,IAAI;;;;;;;;YACnC,KAAK;;;;;;;;;;;;;;gBAaV,MAAM;;;gBACN,IAAI;;;;;;;;;YAIC,KAAK;;;;;;;;;;;;;;;gBAgBE,KAAK;;;;;;;;;YAGZ,KAAK;;;;;;;;;;;;;;gBAgBE,YAAY;;;;;gBAA8D,IAAI;;;;;;;;YAErF,KAAK;;;;;;;;;;CASf,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /** Annotations: records that attach to any other record with an `about` link. */
2
- import { about, blob, choice, count, people, person, text, define, url, words } from '../fragments.js';
2
+ import { about, choice, count, people, person, text, define, words } from '../fragments.js';
3
3
  /** An emoji reaction to any record. Link it: `{ rel: 'about', to: <key> }`. */
4
4
  export const reaction = define({
5
5
  name: 'std.reaction',
@@ -28,7 +28,7 @@ export const reaction = define({
28
28
  export const comment = define({
29
29
  name: 'std.comment',
30
30
  title: 'Comment',
31
- description: 'A comment on any record, optionally replying to another comment.',
31
+ description: 'A comment on any record, optionally replying to another comment. To chat, use std.message.',
32
32
  schema: {
33
33
  type: 'object',
34
34
  properties: {
@@ -49,57 +49,14 @@ export const comment = define({
49
49
  export const tag = define({
50
50
  name: 'std.tag',
51
51
  title: 'Tag',
52
- description: 'A label on one or more records.',
52
+ 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.',
53
53
  schema: {
54
54
  type: 'object',
55
55
  properties: { label: { type: 'string', minLength: 1, maxLength: 100 } },
56
56
  required: ['label'],
57
57
  },
58
- links: { about: { to: '*', cardinality: 'many', description: 'The records tagged' } },
59
- });
60
- /**
61
- * A file attached to a record. `blob` names its bytes by hash; `url` is where
62
- * they are when they live outside the space.
63
- */
64
- export const attachment = define({
65
- name: 'std.attachment',
66
- title: 'Attachment',
67
- description: 'A file attached to a record: its bytes by hash, or where they are.',
68
- schema: {
69
- type: 'object',
70
- properties: {
71
- name: { type: 'string', minLength: 1 },
72
- mime: { type: 'string', minLength: 1 },
73
- size: { type: 'integer', minimum: 0 },
74
- url: { type: 'string' },
75
- blob: blob('Its bytes'),
76
- },
77
- required: ['name', 'mime'],
78
- },
79
- links: { about: about('The record the file is attached to') },
80
- });
81
- /** A note that one record refers to another. */
82
- export const reference = define({
83
- name: 'std.reference',
84
- title: 'Reference',
85
- description: 'A note that one record refers to another.',
86
- schema: { type: 'object', properties: { note: { type: 'string' } } },
87
- links: { about: about('The record doing the referring'), to: about('The record referred to') },
88
- });
89
- /**
90
- * Something saved to come back to: a record (`about`) or a web page (`url`).
91
- * Not one per record, since a web page has no record to key it by; an app
92
- * looks for an existing bookmark before adding another.
93
- */
94
- export const bookmark = define({
95
- name: 'std.bookmark',
96
- title: 'Bookmark',
97
- description: 'A record or a web page saved to come back to.',
98
- schema: {
99
- type: 'object',
100
- properties: { title: text(500), url: url('The page saved, when it is not a record'), note: text(2000) },
101
- },
102
- links: { about: about('The record saved') },
58
+ links: { about: about('The record tagged') },
59
+ rules: { onePer: ['@author', 'link:about', 'label'] },
103
60
  });
104
61
  /** One person's score for something, from 1 to 5, and what they thought. */
105
62
  export const rating = define({
@@ -138,7 +95,7 @@ export const highlight = define({
138
95
  export const pin = define({
139
96
  name: 'std.pin',
140
97
  title: 'Pin',
141
- description: 'A record pinned for everyone, by a moderator.',
98
+ description: 'A record pinned for everyone by a moderator. To keep something for yourself, put it on a std.list.',
142
99
  schema: { type: 'object', properties: { note: text(500) } },
143
100
  links: { about: about('The record pinned') },
144
101
  rules: { onePer: ['link:about'] },
@@ -166,7 +123,7 @@ export const report = define({
166
123
  export const label = define({
167
124
  name: 'std.label',
168
125
  title: 'Label',
169
- description: 'A moderator’s label on a record, like nsfw or spoiler.',
126
+ description: 'A moderator’s label that apps act on, like nsfw (blurred) or spoiler (hidden). Members label things with std.tag.',
170
127
  schema: {
171
128
  type: 'object',
172
129
  properties: { value: words(64, 'Like "nsfw", "spoiler", "outdated"') },
@@ -182,7 +139,7 @@ export const label = define({
182
139
  export const claim = define({
183
140
  name: 'std.claim',
184
141
  title: 'Claim',
185
- description: 'Someone taking something on: one claimer per thing, first come.',
142
+ description: 'Someone taking something on, one per thing, first come: a task, an item to bring, a std.slot to book.',
186
143
  schema: {
187
144
  type: 'object',
188
145
  properties: { respondingTo: person('Whose record it responds to, so they can be told'), note: text(500) },
@@ -193,19 +150,6 @@ export const claim = define({
193
150
  });
194
151
  /** This file's part of `standardGroups` */
195
152
  export const annotationGroups = {
196
- Annotations: [
197
- reaction,
198
- comment,
199
- tag,
200
- attachment,
201
- reference,
202
- bookmark,
203
- rating,
204
- highlight,
205
- pin,
206
- report,
207
- label,
208
- claim,
209
- ],
153
+ Annotations: [reaction, comment, tag, rating, highlight, pin, report, label, claim],
210
154
  };
211
155
  //# sourceMappingURL=annotations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.js","sourceRoot":"","sources":["../../../src/schemas/library/annotations.ts"],"names":[],"mappings":"AAAA,iFAAi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;IAC9C,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC,EAAE;CAC3C,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC;IAC1B,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,OAAO;IACd,WAAW,EACT,uGAAuG;IACzG,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE,YAAY,EAAE,MAAM,CAAC,kDAAkD,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE;KAC1G;IACD,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,EAAE;IAC1C,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,YAAY,CAAC,EAAE;IACjC,MAAM,EAAE,CAAC,cAAc,CAAC;CACzB,CAAC,CAAC;AAGH,2CAA2C;AAC3C,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC;CACpF,CAAC"}
@@ -57,7 +57,7 @@ export type Poll = BodyOf<typeof poll>;
57
57
  export declare const vote: {
58
58
  readonly name: "std.vote";
59
59
  readonly title: "Vote";
60
- readonly description: "A vote on a poll: one per person, changed by voting again.";
60
+ readonly description: "One person’s vote on a std.poll, changed by voting again. To vote on a std.proposal, use std.ballot: it is final and counts toward a decision.";
61
61
  readonly schema: {
62
62
  readonly type: "object";
63
63
  readonly properties: {
@@ -91,11 +91,7 @@ export declare const vote: {
91
91
  readonly required: readonly ["choice"];
92
92
  };
93
93
  readonly links: {
94
- readonly about: {
95
- readonly to: readonly ["std.poll", "std.proposal"];
96
- readonly cardinality: "one";
97
- readonly description: "The poll voted on";
98
- };
94
+ about: import("../../records/links.js").LinkDeclaration;
99
95
  };
100
96
  readonly rules: {
101
97
  readonly onePer: readonly ["@author", "link:about"];
@@ -107,11 +103,11 @@ export declare const vote: {
107
103
  readonly choices?: readonly number[] | undefined;
108
104
  }>;
109
105
  export type Vote = BodyOf<typeof vote>;
110
- /** Something put to the group to decide, voted on with `std.vote` over its options. */
106
+ /** Something put to the group to decide, by a `std.ballot` on one of its options each. */
111
107
  export declare const proposal: {
112
108
  readonly name: "std.proposal";
113
109
  readonly title: "Proposal";
114
- readonly description: "Something put to the group to decide by a vote.";
110
+ readonly description: "Something put to the group to decide: people cast a std.ballot on its options, and a std.decision proves the outcome. For a quick question, use std.poll.";
115
111
  readonly schema: {
116
112
  readonly type: "object";
117
113
  readonly properties: {
@@ -171,7 +167,7 @@ export type Proposal = BodyOf<typeof proposal>;
171
167
  export declare const ballot: {
172
168
  readonly name: "std.ballot";
173
169
  readonly title: "Ballot";
174
- readonly description: "A final vote on a proposal: one per person, not changed once cast.";
170
+ readonly description: "One person’s final vote on a std.proposal: it can’t be changed, so a std.decision can count it. For a poll, use std.vote.";
175
171
  readonly schema: {
176
172
  readonly type: "object";
177
173
  readonly properties: {
@@ -629,7 +625,7 @@ export declare const communityGroups: {
629
625
  }>) | ({
630
626
  readonly name: "std.vote";
631
627
  readonly title: "Vote";
632
- readonly description: "A vote on a poll: one per person, changed by voting again.";
628
+ readonly description: "One person’s vote on a std.poll, changed by voting again. To vote on a std.proposal, use std.ballot: it is final and counts toward a decision.";
633
629
  readonly schema: {
634
630
  readonly type: "object";
635
631
  readonly properties: {
@@ -663,11 +659,7 @@ export declare const communityGroups: {
663
659
  readonly required: readonly ["choice"];
664
660
  };
665
661
  readonly links: {
666
- readonly about: {
667
- readonly to: readonly ["std.poll", "std.proposal"];
668
- readonly cardinality: "one";
669
- readonly description: "The poll voted on";
670
- };
662
+ about: import("../../records/links.js").LinkDeclaration;
671
663
  };
672
664
  readonly rules: {
673
665
  readonly onePer: readonly ["@author", "link:about"];
@@ -680,7 +672,7 @@ export declare const communityGroups: {
680
672
  }>) | ({
681
673
  readonly name: "std.proposal";
682
674
  readonly title: "Proposal";
683
- readonly description: "Something put to the group to decide by a vote.";
675
+ readonly description: "Something put to the group to decide: people cast a std.ballot on its options, and a std.decision proves the outcome. For a quick question, use std.poll.";
684
676
  readonly schema: {
685
677
  readonly type: "object";
686
678
  readonly properties: {
@@ -733,7 +725,7 @@ export declare const communityGroups: {
733
725
  }>) | ({
734
726
  readonly name: "std.ballot";
735
727
  readonly title: "Ballot";
736
- readonly description: "A final vote on a proposal: one per person, not changed once cast.";
728
+ readonly description: "One person’s final vote on a std.proposal: it can’t be changed, so a std.decision can count it. For a poll, use std.vote.";
737
729
  readonly schema: {
738
730
  readonly type: "object";
739
731
  readonly properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/community.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,uFAAuF;AACvF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAgB/C;;;;GAIG;AACH,eAAO,MA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