@minca/core 0.1.13 → 0.1.15
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.
- package/README.md +2 -2
- package/dist/files/space-files.d.ts +15 -3
- package/dist/files/space-files.d.ts.map +1 -1
- package/dist/files/space-files.js +225 -37
- package/dist/files/space-files.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/network/introductions.d.ts +20 -7
- package/dist/network/introductions.d.ts.map +1 -1
- package/dist/network/introductions.js +9 -6
- package/dist/network/introductions.js.map +1 -1
- package/dist/network/mesh.d.ts.map +1 -1
- package/dist/network/mesh.js +88 -20
- package/dist/network/mesh.js.map +1 -1
- package/dist/network/relay-minca.d.ts +12 -1
- package/dist/network/relay-minca.d.ts.map +1 -1
- package/dist/network/relay-minca.js +14 -6
- package/dist/network/relay-minca.js.map +1 -1
- package/dist/network/relay-nostr.d.ts +14 -3
- package/dist/network/relay-nostr.d.ts.map +1 -1
- package/dist/network/relay-nostr.js +11 -9
- package/dist/network/relay-nostr.js.map +1 -1
- package/dist/network/relays.d.ts +26 -17
- package/dist/network/relays.d.ts.map +1 -1
- package/dist/network/relays.js +21 -28
- package/dist/network/relays.js.map +1 -1
- package/dist/network/rendezvous.d.ts +1 -1
- package/dist/network/rendezvous.d.ts.map +1 -1
- package/dist/network/rendezvous.js +2 -2
- package/dist/network/rendezvous.js.map +1 -1
- package/dist/node/actions.d.ts.map +1 -1
- package/dist/node/actions.js +54 -2
- package/dist/node/actions.js.map +1 -1
- package/dist/node/node.d.ts.map +1 -1
- package/dist/node/node.js +7 -7
- package/dist/node/node.js.map +1 -1
- package/dist/node/space-runtime.d.ts +1 -1
- package/dist/node/space-runtime.d.ts.map +1 -1
- package/dist/node/space-runtime.js +17 -5
- package/dist/node/space-runtime.js.map +1 -1
- package/dist/node/types.d.ts +4 -3
- package/dist/node/types.d.ts.map +1 -1
- package/dist/schema/collection-def.d.ts.map +1 -1
- package/dist/schema/collection-def.js +16 -5
- package/dist/schema/collection-def.js.map +1 -1
- package/dist/schemas/automations.d.ts +8 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/blueprints.d.ts +33 -0
- package/dist/schemas/blueprints.d.ts.map +1 -1
- package/dist/schemas/blueprints.js +63 -0
- package/dist/schemas/blueprints.js.map +1 -1
- package/dist/schemas/connectors.d.ts +12 -0
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/fragments.d.ts +22 -2
- package/dist/schemas/fragments.d.ts.map +1 -1
- package/dist/schemas/fragments.js +20 -12
- package/dist/schemas/fragments.js.map +1 -1
- package/dist/schemas/library/annotations.d.ts +30 -0
- package/dist/schemas/library/annotations.d.ts.map +1 -1
- package/dist/schemas/library/annotations.js +1 -0
- package/dist/schemas/library/annotations.js.map +1 -1
- package/dist/schemas/library/community.d.ts +28 -0
- package/dist/schemas/library/community.d.ts.map +1 -1
- package/dist/schemas/library/life.d.ts +62 -2
- package/dist/schemas/library/life.d.ts.map +1 -1
- package/dist/schemas/library/media.d.ts +36 -0
- package/dist/schemas/library/media.d.ts.map +1 -1
- package/dist/schemas/library/money.d.ts +74 -2
- package/dist/schemas/library/money.d.ts.map +1 -1
- package/dist/schemas/library/planning.d.ts +56 -0
- package/dist/schemas/library/planning.d.ts.map +1 -1
- package/dist/schemas/library/publishing.d.ts +80 -4
- package/dist/schemas/library/publishing.d.ts.map +1 -1
- package/dist/schemas/library/social.d.ts +44 -0
- package/dist/schemas/library/social.d.ts.map +1 -1
- package/docs/README.md +2 -2
- package/docs/actions.md +83 -56
- package/docs/blueprints-and-guides.md +41 -13
- package/docs/building-an-app.md +4 -4
- package/docs/collections.md +31 -3
- package/docs/node.md +15 -13
- package/docs/proposing-collections.md +42 -0
- package/docs/standard-library.md +26 -25
- package/docs/storage.md +33 -10
- package/package.json +2 -21
- package/dist/calls/calls.d.ts +0 -140
- package/dist/calls/calls.d.ts.map +0 -1
- package/dist/calls/calls.js +0 -861
- package/dist/calls/calls.js.map +0 -1
- package/dist/calls/index.d.ts +0 -4
- package/dist/calls/index.d.ts.map +0 -1
- package/dist/calls/index.js +0 -3
- package/dist/calls/index.js.map +0 -1
- package/dist/react/context.d.ts +0 -81
- package/dist/react/context.d.ts.map +0 -1
- package/dist/react/context.js +0 -97
- package/dist/react/context.js.map +0 -1
- package/dist/react/follow.d.ts +0 -11
- package/dist/react/follow.d.ts.map +0 -1
- package/dist/react/follow.js +0 -7
- package/dist/react/follow.js.map +0 -1
- package/dist/react/index.d.ts +0 -44
- package/dist/react/index.d.ts.map +0 -1
- package/dist/react/index.js +0 -40
- package/dist/react/index.js.map +0 -1
- package/dist/react/minca-auth.d.ts +0 -19
- package/dist/react/minca-auth.d.ts.map +0 -1
- package/dist/react/minca-auth.js +0 -36
- package/dist/react/minca-auth.js.map +0 -1
- package/dist/react/use-calls.d.ts +0 -21
- package/dist/react/use-calls.d.ts.map +0 -1
- package/dist/react/use-calls.js +0 -39
- package/dist/react/use-calls.js.map +0 -1
- package/dist/react/use-invite-link.d.ts +0 -24
- package/dist/react/use-invite-link.d.ts.map +0 -1
- package/dist/react/use-invite-link.js +0 -62
- package/dist/react/use-invite-link.js.map +0 -1
- package/dist/react/use-live.d.ts +0 -16
- package/dist/react/use-live.d.ts.map +0 -1
- package/dist/react/use-live.js +0 -56
- package/dist/react/use-live.js.map +0 -1
- package/dist/react/use-my-name.d.ts +0 -12
- package/dist/react/use-my-name.d.ts.map +0 -1
- package/dist/react/use-my-name.js +0 -38
- package/dist/react/use-my-name.js.map +0 -1
- package/dist/react/use-names.d.ts +0 -7
- package/dist/react/use-names.d.ts.map +0 -1
- package/dist/react/use-names.js +0 -13
- package/dist/react/use-names.js.map +0 -1
- package/dist/react/use-network.d.ts +0 -9
- package/dist/react/use-network.d.ts.map +0 -1
- package/dist/react/use-network.js +0 -33
- package/dist/react/use-network.js.map +0 -1
- package/dist/react/use-query.d.ts +0 -14
- package/dist/react/use-query.d.ts.map +0 -1
- package/dist/react/use-query.js +0 -26
- package/dist/react/use-query.js.map +0 -1
- package/dist/react/use-space.d.ts +0 -29
- package/dist/react/use-space.d.ts.map +0 -1
- package/dist/react/use-space.js +0 -57
- package/dist/react/use-space.js.map +0 -1
- package/dist/react/use-spaces.d.ts +0 -29
- package/dist/react/use-spaces.d.ts.map +0 -1
- package/dist/react/use-spaces.js +0 -78
- package/dist/react/use-spaces.js.map +0 -1
- package/docs/calls.md +0 -189
|
@@ -27,6 +27,8 @@ export declare const message: {
|
|
|
27
27
|
type: 'string';
|
|
28
28
|
minLength?: number | undefined;
|
|
29
29
|
maxLength: number;
|
|
30
|
+
} & {
|
|
31
|
+
readonly 'x-kind': "did";
|
|
30
32
|
};
|
|
31
33
|
maxItems: number;
|
|
32
34
|
};
|
|
@@ -34,6 +36,8 @@ export declare const message: {
|
|
|
34
36
|
type: 'string';
|
|
35
37
|
minLength?: number | undefined;
|
|
36
38
|
maxLength: number;
|
|
39
|
+
} & {
|
|
40
|
+
readonly 'x-kind': "did";
|
|
37
41
|
};
|
|
38
42
|
};
|
|
39
43
|
readonly required: readonly ["text"];
|
|
@@ -129,6 +133,8 @@ export declare const channel: {
|
|
|
129
133
|
type: 'string';
|
|
130
134
|
minLength?: number | undefined;
|
|
131
135
|
maxLength: number;
|
|
136
|
+
} & {
|
|
137
|
+
readonly 'x-kind': "position";
|
|
132
138
|
};
|
|
133
139
|
};
|
|
134
140
|
readonly required: readonly ["name"];
|
|
@@ -159,6 +165,8 @@ export declare const direct: {
|
|
|
159
165
|
type: 'string';
|
|
160
166
|
minLength?: number | undefined;
|
|
161
167
|
maxLength: number;
|
|
168
|
+
} & {
|
|
169
|
+
readonly 'x-kind': "did";
|
|
162
170
|
};
|
|
163
171
|
readonly minItems: 1;
|
|
164
172
|
readonly maxItems: 16;
|
|
@@ -180,6 +188,8 @@ export declare const direct: {
|
|
|
180
188
|
type: 'string';
|
|
181
189
|
minLength?: number | undefined;
|
|
182
190
|
maxLength: number;
|
|
191
|
+
} & {
|
|
192
|
+
readonly 'x-kind': "did";
|
|
183
193
|
};
|
|
184
194
|
sealed: {
|
|
185
195
|
type: 'string';
|
|
@@ -260,6 +270,8 @@ export declare const post: {
|
|
|
260
270
|
};
|
|
261
271
|
};
|
|
262
272
|
required: readonly ["hash", "size", "mime"];
|
|
273
|
+
} & {
|
|
274
|
+
readonly 'x-kind': "file";
|
|
263
275
|
};
|
|
264
276
|
alt: {
|
|
265
277
|
type: 'string';
|
|
@@ -267,7 +279,9 @@ export declare const post: {
|
|
|
267
279
|
maxLength: number;
|
|
268
280
|
};
|
|
269
281
|
};
|
|
270
|
-
required: readonly [
|
|
282
|
+
required: readonly ["blob"];
|
|
283
|
+
} & {
|
|
284
|
+
readonly 'x-kind': "image";
|
|
271
285
|
};
|
|
272
286
|
};
|
|
273
287
|
readonly langs: {
|
|
@@ -285,6 +299,8 @@ export declare const post: {
|
|
|
285
299
|
type: 'string';
|
|
286
300
|
minLength?: number | undefined;
|
|
287
301
|
maxLength: number;
|
|
302
|
+
} & {
|
|
303
|
+
readonly 'x-kind': "did";
|
|
288
304
|
};
|
|
289
305
|
maxItems: number;
|
|
290
306
|
};
|
|
@@ -292,6 +308,8 @@ export declare const post: {
|
|
|
292
308
|
type: 'string';
|
|
293
309
|
minLength?: number | undefined;
|
|
294
310
|
maxLength: number;
|
|
311
|
+
} & {
|
|
312
|
+
readonly 'x-kind': "did";
|
|
295
313
|
};
|
|
296
314
|
};
|
|
297
315
|
};
|
|
@@ -331,6 +349,8 @@ export declare const repost: {
|
|
|
331
349
|
type: 'string';
|
|
332
350
|
minLength?: number | undefined;
|
|
333
351
|
maxLength: number;
|
|
352
|
+
} & {
|
|
353
|
+
readonly 'x-kind': "did";
|
|
334
354
|
};
|
|
335
355
|
};
|
|
336
356
|
};
|
|
@@ -359,6 +379,8 @@ export declare const article: {
|
|
|
359
379
|
type: 'string';
|
|
360
380
|
minLength?: number | undefined;
|
|
361
381
|
maxLength: number;
|
|
382
|
+
} & {
|
|
383
|
+
readonly 'x-kind': "did";
|
|
362
384
|
};
|
|
363
385
|
maxItems: number;
|
|
364
386
|
};
|
|
@@ -411,6 +433,8 @@ export declare const article: {
|
|
|
411
433
|
};
|
|
412
434
|
};
|
|
413
435
|
required: readonly ["hash", "size", "mime"];
|
|
436
|
+
} & {
|
|
437
|
+
readonly 'x-kind': "file";
|
|
414
438
|
};
|
|
415
439
|
readonly slug: {
|
|
416
440
|
type: 'string';
|
|
@@ -421,6 +445,8 @@ export declare const article: {
|
|
|
421
445
|
type: 'string';
|
|
422
446
|
minLength?: number | undefined;
|
|
423
447
|
maxLength: number;
|
|
448
|
+
} & {
|
|
449
|
+
readonly 'x-kind': "when";
|
|
424
450
|
};
|
|
425
451
|
readonly draft: {
|
|
426
452
|
readonly type: "boolean";
|
|
@@ -502,6 +528,8 @@ export declare const publication: {
|
|
|
502
528
|
};
|
|
503
529
|
};
|
|
504
530
|
required: readonly ["hash", "size", "mime"];
|
|
531
|
+
} & {
|
|
532
|
+
readonly 'x-kind': "file";
|
|
505
533
|
};
|
|
506
534
|
};
|
|
507
535
|
readonly required: readonly ["title"];
|
|
@@ -556,6 +584,8 @@ export declare const docBlock: {
|
|
|
556
584
|
type: 'string';
|
|
557
585
|
minLength?: number | undefined;
|
|
558
586
|
maxLength: number;
|
|
587
|
+
} & {
|
|
588
|
+
readonly 'x-kind': "did";
|
|
559
589
|
};
|
|
560
590
|
maxItems: number;
|
|
561
591
|
};
|
|
@@ -613,6 +643,8 @@ export declare const docBlock: {
|
|
|
613
643
|
};
|
|
614
644
|
};
|
|
615
645
|
required: readonly ["hash", "size", "mime"];
|
|
646
|
+
} & {
|
|
647
|
+
readonly 'x-kind': "file";
|
|
616
648
|
};
|
|
617
649
|
alt: {
|
|
618
650
|
type: 'string';
|
|
@@ -620,12 +652,16 @@ export declare const docBlock: {
|
|
|
620
652
|
maxLength: number;
|
|
621
653
|
};
|
|
622
654
|
};
|
|
623
|
-
required: readonly [
|
|
655
|
+
required: readonly ["blob"];
|
|
656
|
+
} & {
|
|
657
|
+
readonly 'x-kind': "image";
|
|
624
658
|
};
|
|
625
659
|
readonly position: {
|
|
626
660
|
type: 'string';
|
|
627
661
|
minLength?: number | undefined;
|
|
628
662
|
maxLength: number;
|
|
663
|
+
} & {
|
|
664
|
+
readonly 'x-kind': "position";
|
|
629
665
|
};
|
|
630
666
|
};
|
|
631
667
|
readonly required: readonly ["type"];
|
|
@@ -708,6 +744,8 @@ export declare const note: {
|
|
|
708
744
|
type: 'string';
|
|
709
745
|
minLength?: number | undefined;
|
|
710
746
|
maxLength: number;
|
|
747
|
+
} & {
|
|
748
|
+
readonly 'x-kind': "did";
|
|
711
749
|
};
|
|
712
750
|
maxItems: number;
|
|
713
751
|
};
|
|
@@ -760,6 +798,8 @@ export declare const publishingGroups: {
|
|
|
760
798
|
type: 'string';
|
|
761
799
|
minLength?: number | undefined;
|
|
762
800
|
maxLength: number;
|
|
801
|
+
} & {
|
|
802
|
+
readonly 'x-kind': "did";
|
|
763
803
|
};
|
|
764
804
|
maxItems: number;
|
|
765
805
|
};
|
|
@@ -767,6 +807,8 @@ export declare const publishingGroups: {
|
|
|
767
807
|
type: 'string';
|
|
768
808
|
minLength?: number | undefined;
|
|
769
809
|
maxLength: number;
|
|
810
|
+
} & {
|
|
811
|
+
readonly 'x-kind': "did";
|
|
770
812
|
};
|
|
771
813
|
};
|
|
772
814
|
readonly required: readonly ["text"];
|
|
@@ -852,6 +894,8 @@ export declare const publishingGroups: {
|
|
|
852
894
|
type: 'string';
|
|
853
895
|
minLength?: number | undefined;
|
|
854
896
|
maxLength: number;
|
|
897
|
+
} & {
|
|
898
|
+
readonly 'x-kind': "position";
|
|
855
899
|
};
|
|
856
900
|
};
|
|
857
901
|
readonly required: readonly ["name"];
|
|
@@ -873,6 +917,8 @@ export declare const publishingGroups: {
|
|
|
873
917
|
type: 'string';
|
|
874
918
|
minLength?: number | undefined;
|
|
875
919
|
maxLength: number;
|
|
920
|
+
} & {
|
|
921
|
+
readonly 'x-kind': "did";
|
|
876
922
|
};
|
|
877
923
|
readonly minItems: 1;
|
|
878
924
|
readonly maxItems: 16;
|
|
@@ -894,6 +940,8 @@ export declare const publishingGroups: {
|
|
|
894
940
|
type: 'string';
|
|
895
941
|
minLength?: number | undefined;
|
|
896
942
|
maxLength: number;
|
|
943
|
+
} & {
|
|
944
|
+
readonly 'x-kind': "did";
|
|
897
945
|
};
|
|
898
946
|
sealed: {
|
|
899
947
|
type: 'string';
|
|
@@ -967,6 +1015,8 @@ export declare const publishingGroups: {
|
|
|
967
1015
|
};
|
|
968
1016
|
};
|
|
969
1017
|
required: readonly ["hash", "size", "mime"];
|
|
1018
|
+
} & {
|
|
1019
|
+
readonly 'x-kind': "file";
|
|
970
1020
|
};
|
|
971
1021
|
alt: {
|
|
972
1022
|
type: 'string';
|
|
@@ -974,7 +1024,9 @@ export declare const publishingGroups: {
|
|
|
974
1024
|
maxLength: number;
|
|
975
1025
|
};
|
|
976
1026
|
};
|
|
977
|
-
required: readonly [
|
|
1027
|
+
required: readonly ["blob"];
|
|
1028
|
+
} & {
|
|
1029
|
+
readonly 'x-kind': "image";
|
|
978
1030
|
};
|
|
979
1031
|
};
|
|
980
1032
|
readonly langs: {
|
|
@@ -992,6 +1044,8 @@ export declare const publishingGroups: {
|
|
|
992
1044
|
type: 'string';
|
|
993
1045
|
minLength?: number | undefined;
|
|
994
1046
|
maxLength: number;
|
|
1047
|
+
} & {
|
|
1048
|
+
readonly 'x-kind': "did";
|
|
995
1049
|
};
|
|
996
1050
|
maxItems: number;
|
|
997
1051
|
};
|
|
@@ -999,6 +1053,8 @@ export declare const publishingGroups: {
|
|
|
999
1053
|
type: 'string';
|
|
1000
1054
|
minLength?: number | undefined;
|
|
1001
1055
|
maxLength: number;
|
|
1056
|
+
} & {
|
|
1057
|
+
readonly 'x-kind': "did";
|
|
1002
1058
|
};
|
|
1003
1059
|
};
|
|
1004
1060
|
};
|
|
@@ -1035,6 +1091,8 @@ export declare const publishingGroups: {
|
|
|
1035
1091
|
type: 'string';
|
|
1036
1092
|
minLength?: number | undefined;
|
|
1037
1093
|
maxLength: number;
|
|
1094
|
+
} & {
|
|
1095
|
+
readonly 'x-kind': "did";
|
|
1038
1096
|
};
|
|
1039
1097
|
};
|
|
1040
1098
|
};
|
|
@@ -1060,6 +1118,8 @@ export declare const publishingGroups: {
|
|
|
1060
1118
|
type: 'string';
|
|
1061
1119
|
minLength?: number | undefined;
|
|
1062
1120
|
maxLength: number;
|
|
1121
|
+
} & {
|
|
1122
|
+
readonly 'x-kind': "did";
|
|
1063
1123
|
};
|
|
1064
1124
|
maxItems: number;
|
|
1065
1125
|
};
|
|
@@ -1112,6 +1172,8 @@ export declare const publishingGroups: {
|
|
|
1112
1172
|
};
|
|
1113
1173
|
};
|
|
1114
1174
|
required: readonly ["hash", "size", "mime"];
|
|
1175
|
+
} & {
|
|
1176
|
+
readonly 'x-kind': "file";
|
|
1115
1177
|
};
|
|
1116
1178
|
readonly slug: {
|
|
1117
1179
|
type: 'string';
|
|
@@ -1122,6 +1184,8 @@ export declare const publishingGroups: {
|
|
|
1122
1184
|
type: 'string';
|
|
1123
1185
|
minLength?: number | undefined;
|
|
1124
1186
|
maxLength: number;
|
|
1187
|
+
} & {
|
|
1188
|
+
readonly 'x-kind': "when";
|
|
1125
1189
|
};
|
|
1126
1190
|
readonly draft: {
|
|
1127
1191
|
readonly type: "boolean";
|
|
@@ -1200,6 +1264,8 @@ export declare const publishingGroups: {
|
|
|
1200
1264
|
};
|
|
1201
1265
|
};
|
|
1202
1266
|
required: readonly ["hash", "size", "mime"];
|
|
1267
|
+
} & {
|
|
1268
|
+
readonly 'x-kind': "file";
|
|
1203
1269
|
};
|
|
1204
1270
|
};
|
|
1205
1271
|
readonly required: readonly ["title"];
|
|
@@ -1245,6 +1311,8 @@ export declare const publishingGroups: {
|
|
|
1245
1311
|
type: 'string';
|
|
1246
1312
|
minLength?: number | undefined;
|
|
1247
1313
|
maxLength: number;
|
|
1314
|
+
} & {
|
|
1315
|
+
readonly 'x-kind': "did";
|
|
1248
1316
|
};
|
|
1249
1317
|
maxItems: number;
|
|
1250
1318
|
};
|
|
@@ -1302,6 +1370,8 @@ export declare const publishingGroups: {
|
|
|
1302
1370
|
};
|
|
1303
1371
|
};
|
|
1304
1372
|
required: readonly ["hash", "size", "mime"];
|
|
1373
|
+
} & {
|
|
1374
|
+
readonly 'x-kind': "file";
|
|
1305
1375
|
};
|
|
1306
1376
|
alt: {
|
|
1307
1377
|
type: 'string';
|
|
@@ -1309,12 +1379,16 @@ export declare const publishingGroups: {
|
|
|
1309
1379
|
maxLength: number;
|
|
1310
1380
|
};
|
|
1311
1381
|
};
|
|
1312
|
-
required: readonly [
|
|
1382
|
+
required: readonly ["blob"];
|
|
1383
|
+
} & {
|
|
1384
|
+
readonly 'x-kind': "image";
|
|
1313
1385
|
};
|
|
1314
1386
|
readonly position: {
|
|
1315
1387
|
type: 'string';
|
|
1316
1388
|
minLength?: number | undefined;
|
|
1317
1389
|
maxLength: number;
|
|
1390
|
+
} & {
|
|
1391
|
+
readonly 'x-kind': "position";
|
|
1318
1392
|
};
|
|
1319
1393
|
};
|
|
1320
1394
|
readonly required: readonly ["type"];
|
|
@@ -1388,6 +1462,8 @@ export declare const publishingGroups: {
|
|
|
1388
1462
|
type: 'string';
|
|
1389
1463
|
minLength?: number | undefined;
|
|
1390
1464
|
maxLength: number;
|
|
1465
|
+
} & {
|
|
1466
|
+
readonly 'x-kind': "did";
|
|
1391
1467
|
};
|
|
1392
1468
|
maxItems: number;
|
|
1393
1469
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publishing.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/publishing.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO
|
|
1
|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,KAAK;;;;;gBACL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CZ,CAAC"}
|
|
@@ -58,6 +58,8 @@ export declare const profile: {
|
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
required: readonly ["hash", "size", "mime"];
|
|
61
|
+
} & {
|
|
62
|
+
readonly 'x-kind': "file";
|
|
61
63
|
};
|
|
62
64
|
readonly banner: {
|
|
63
65
|
type: 'object';
|
|
@@ -93,6 +95,8 @@ export declare const profile: {
|
|
|
93
95
|
};
|
|
94
96
|
};
|
|
95
97
|
required: readonly ["hash", "size", "mime"];
|
|
98
|
+
} & {
|
|
99
|
+
readonly 'x-kind': "file";
|
|
96
100
|
};
|
|
97
101
|
readonly pronouns: {
|
|
98
102
|
type: 'string';
|
|
@@ -114,6 +118,8 @@ export declare const profile: {
|
|
|
114
118
|
type: 'string';
|
|
115
119
|
minLength?: number | undefined;
|
|
116
120
|
maxLength: number;
|
|
121
|
+
} & {
|
|
122
|
+
readonly 'x-kind': "url";
|
|
117
123
|
};
|
|
118
124
|
};
|
|
119
125
|
readonly required: readonly ["url"];
|
|
@@ -288,6 +294,8 @@ export declare const card: {
|
|
|
288
294
|
type: 'string';
|
|
289
295
|
minLength: number;
|
|
290
296
|
maxLength: number;
|
|
297
|
+
} & {
|
|
298
|
+
readonly 'x-kind': "day";
|
|
291
299
|
};
|
|
292
300
|
readonly photo: {
|
|
293
301
|
type: 'object';
|
|
@@ -323,6 +331,8 @@ export declare const card: {
|
|
|
323
331
|
};
|
|
324
332
|
};
|
|
325
333
|
required: readonly ["hash", "size", "mime"];
|
|
334
|
+
} & {
|
|
335
|
+
readonly 'x-kind': "file";
|
|
326
336
|
};
|
|
327
337
|
readonly urls: {
|
|
328
338
|
readonly type: "array";
|
|
@@ -331,6 +341,8 @@ export declare const card: {
|
|
|
331
341
|
type: 'string';
|
|
332
342
|
minLength?: number | undefined;
|
|
333
343
|
maxLength: number;
|
|
344
|
+
} & {
|
|
345
|
+
readonly 'x-kind': "url";
|
|
334
346
|
};
|
|
335
347
|
};
|
|
336
348
|
readonly note: {
|
|
@@ -391,6 +403,8 @@ export declare const follow: {
|
|
|
391
403
|
type: 'string';
|
|
392
404
|
minLength?: number | undefined;
|
|
393
405
|
maxLength: number;
|
|
406
|
+
} & {
|
|
407
|
+
readonly 'x-kind': "did";
|
|
394
408
|
};
|
|
395
409
|
space: {
|
|
396
410
|
type: 'string';
|
|
@@ -422,11 +436,15 @@ export declare const block: {
|
|
|
422
436
|
type: 'string';
|
|
423
437
|
minLength?: number | undefined;
|
|
424
438
|
maxLength: number;
|
|
439
|
+
} & {
|
|
440
|
+
readonly 'x-kind': "did";
|
|
425
441
|
};
|
|
426
442
|
until: {
|
|
427
443
|
type: 'string';
|
|
428
444
|
minLength?: number | undefined;
|
|
429
445
|
maxLength: number;
|
|
446
|
+
} & {
|
|
447
|
+
readonly 'x-kind': "when";
|
|
430
448
|
};
|
|
431
449
|
};
|
|
432
450
|
readonly required: readonly ["did"];
|
|
@@ -450,11 +468,15 @@ export declare const mute: {
|
|
|
450
468
|
type: 'string';
|
|
451
469
|
minLength?: number | undefined;
|
|
452
470
|
maxLength: number;
|
|
471
|
+
} & {
|
|
472
|
+
readonly 'x-kind': "did";
|
|
453
473
|
};
|
|
454
474
|
until: {
|
|
455
475
|
type: 'string';
|
|
456
476
|
minLength?: number | undefined;
|
|
457
477
|
maxLength: number;
|
|
478
|
+
} & {
|
|
479
|
+
readonly 'x-kind': "when";
|
|
458
480
|
};
|
|
459
481
|
};
|
|
460
482
|
readonly required: readonly ["did"];
|
|
@@ -488,6 +510,8 @@ export declare const status: {
|
|
|
488
510
|
type: 'string';
|
|
489
511
|
minLength?: number | undefined;
|
|
490
512
|
maxLength: number;
|
|
513
|
+
} & {
|
|
514
|
+
readonly 'x-kind': "when";
|
|
491
515
|
};
|
|
492
516
|
};
|
|
493
517
|
};
|
|
@@ -553,6 +577,8 @@ export declare const socialGroups: {
|
|
|
553
577
|
};
|
|
554
578
|
};
|
|
555
579
|
required: readonly ["hash", "size", "mime"];
|
|
580
|
+
} & {
|
|
581
|
+
readonly 'x-kind': "file";
|
|
556
582
|
};
|
|
557
583
|
readonly banner: {
|
|
558
584
|
type: 'object';
|
|
@@ -588,6 +614,8 @@ export declare const socialGroups: {
|
|
|
588
614
|
};
|
|
589
615
|
};
|
|
590
616
|
required: readonly ["hash", "size", "mime"];
|
|
617
|
+
} & {
|
|
618
|
+
readonly 'x-kind': "file";
|
|
591
619
|
};
|
|
592
620
|
readonly pronouns: {
|
|
593
621
|
type: 'string';
|
|
@@ -609,6 +637,8 @@ export declare const socialGroups: {
|
|
|
609
637
|
type: 'string';
|
|
610
638
|
minLength?: number | undefined;
|
|
611
639
|
maxLength: number;
|
|
640
|
+
} & {
|
|
641
|
+
readonly 'x-kind': "url";
|
|
612
642
|
};
|
|
613
643
|
};
|
|
614
644
|
readonly required: readonly ["url"];
|
|
@@ -777,6 +807,8 @@ export declare const socialGroups: {
|
|
|
777
807
|
type: 'string';
|
|
778
808
|
minLength: number;
|
|
779
809
|
maxLength: number;
|
|
810
|
+
} & {
|
|
811
|
+
readonly 'x-kind': "day";
|
|
780
812
|
};
|
|
781
813
|
readonly photo: {
|
|
782
814
|
type: 'object';
|
|
@@ -812,6 +844,8 @@ export declare const socialGroups: {
|
|
|
812
844
|
};
|
|
813
845
|
};
|
|
814
846
|
required: readonly ["hash", "size", "mime"];
|
|
847
|
+
} & {
|
|
848
|
+
readonly 'x-kind': "file";
|
|
815
849
|
};
|
|
816
850
|
readonly urls: {
|
|
817
851
|
readonly type: "array";
|
|
@@ -820,6 +854,8 @@ export declare const socialGroups: {
|
|
|
820
854
|
type: 'string';
|
|
821
855
|
minLength?: number | undefined;
|
|
822
856
|
maxLength: number;
|
|
857
|
+
} & {
|
|
858
|
+
readonly 'x-kind': "url";
|
|
823
859
|
};
|
|
824
860
|
};
|
|
825
861
|
readonly note: {
|
|
@@ -877,6 +913,8 @@ export declare const socialGroups: {
|
|
|
877
913
|
type: 'string';
|
|
878
914
|
minLength?: number | undefined;
|
|
879
915
|
maxLength: number;
|
|
916
|
+
} & {
|
|
917
|
+
readonly 'x-kind': "did";
|
|
880
918
|
};
|
|
881
919
|
space: {
|
|
882
920
|
type: 'string';
|
|
@@ -904,11 +942,15 @@ export declare const socialGroups: {
|
|
|
904
942
|
type: 'string';
|
|
905
943
|
minLength?: number | undefined;
|
|
906
944
|
maxLength: number;
|
|
945
|
+
} & {
|
|
946
|
+
readonly 'x-kind': "did";
|
|
907
947
|
};
|
|
908
948
|
until: {
|
|
909
949
|
type: 'string';
|
|
910
950
|
minLength?: number | undefined;
|
|
911
951
|
maxLength: number;
|
|
952
|
+
} & {
|
|
953
|
+
readonly 'x-kind': "when";
|
|
912
954
|
};
|
|
913
955
|
};
|
|
914
956
|
readonly required: readonly ["did"];
|
|
@@ -940,6 +982,8 @@ export declare const socialGroups: {
|
|
|
940
982
|
type: 'string';
|
|
941
983
|
minLength?: number | undefined;
|
|
942
984
|
maxLength: number;
|
|
985
|
+
} & {
|
|
986
|
+
readonly 'x-kind': "when";
|
|
943
987
|
};
|
|
944
988
|
};
|
|
945
989
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/social.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/social.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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K;;;;;YAAY,KAAK;;;;;;;;;;;;;;;;EAGvD,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3C,2CAA2C;AAC3C,eAAO,MAAM,YAAY;IACvB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAxGgB,KAAK;;;;;4BAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAmCvB,IAAI;;;;;wBAAa,KAAK;;;;;wBAAa,MAAM;;;;;;;;0BAvBvD,OAAO;;;8BAGL,QAAQ;;;;;;;;;;;;;;;;;;0BAHV,OAAO;;;8BAGL,QAAQ;;;;;;;;;;;;;;;;;;0BAHV,OAAO;;;8BAGL,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA2CA,GAAG;;;;;;;gBAA6B,KAAK;;;;;;;;;;;;;;;;;;;;;;gBAenC,GAAG;;;;;;;gBAAY,KAAK;;;;;;;;;;;;;;;;;;;;;;;gBAuBtB,IAAI;;;;;gBAAa,KAAK;;;;;gBAAY,KAAK;;;;;;;;;;;;;;;;;CASxD,CAAC"}
|
package/docs/README.md
CHANGED
|
@@ -67,7 +67,7 @@ the others wrote.
|
|
|
67
67
|
| [contracts.md](contracts.md) | `contract` (`check` and `line`): how the library runs contracts (spec 09), counts only versions that pass, and refuses its own failing ones |
|
|
68
68
|
| [automations.md](automations.md) | `std.automation`: when a query finds records, or at set times, do something: in an app, an agent or a bot; and the account's own, which notify it |
|
|
69
69
|
| [bots.md](bots.md) | Who may configure a bot, its instructions, connecting one to a service a host offers, writing a connector, and GitHub |
|
|
70
|
-
| [calls
|
|
70
|
+
| [calls](../../calls/README.md) | Voice and video calls in a space: the `call.*` messages, ringing, joining, leaving |
|
|
71
71
|
| [contacts.md](contacts.md) | `std.contact`: the list, asking in a shared space, `node.contacts` |
|
|
72
72
|
| [inbox.md](inbox.md) | The inbox kept as a record, and how a knock becomes a contact: `std.inbox`, `std.knock` |
|
|
73
73
|
| [spaces.md](spaces.md) | Constitution templates, invite defaults, key upkeep, profiles, the space manager |
|
|
@@ -77,7 +77,7 @@ the others wrote.
|
|
|
77
77
|
## Rules of thumb
|
|
78
78
|
|
|
79
79
|
- Import only from the package's entry points: `@minca/core`, and
|
|
80
|
-
`/react`, `/session`, `/schemas`, `/elements
|
|
80
|
+
`/react`, `/session`, `/schemas`, `/elements` for those parts.
|
|
81
81
|
- Name your collections reverse-DNS style, `app.<yours>.<thing>`. `sys.*` is
|
|
82
82
|
the protocol's own, and `std.*` is the shared library in `/schemas`.
|
|
83
83
|
- Check the standard library (`@minca/core/schemas`) before defining a
|