@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
|
@@ -16,6 +16,8 @@ export declare const expense: {
|
|
|
16
16
|
type: 'string';
|
|
17
17
|
minLength?: number | undefined;
|
|
18
18
|
maxLength: number;
|
|
19
|
+
} & {
|
|
20
|
+
readonly 'x-kind': "did";
|
|
19
21
|
};
|
|
20
22
|
maxItems: number;
|
|
21
23
|
};
|
|
@@ -39,11 +41,15 @@ export declare const expense: {
|
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
required: readonly ["amount", "currency"];
|
|
44
|
+
} & {
|
|
45
|
+
readonly 'x-kind': "money";
|
|
42
46
|
};
|
|
43
47
|
readonly paidBy: {
|
|
44
48
|
type: 'string';
|
|
45
49
|
minLength?: number | undefined;
|
|
46
50
|
maxLength: number;
|
|
51
|
+
} & {
|
|
52
|
+
readonly 'x-kind': "did";
|
|
47
53
|
};
|
|
48
54
|
readonly split: {
|
|
49
55
|
readonly type: "array";
|
|
@@ -56,6 +62,8 @@ export declare const expense: {
|
|
|
56
62
|
type: 'string';
|
|
57
63
|
minLength?: number | undefined;
|
|
58
64
|
maxLength: number;
|
|
65
|
+
} & {
|
|
66
|
+
readonly 'x-kind': "did";
|
|
59
67
|
};
|
|
60
68
|
share: {
|
|
61
69
|
type: 'string';
|
|
@@ -70,6 +78,8 @@ export declare const expense: {
|
|
|
70
78
|
type: 'string';
|
|
71
79
|
minLength: number;
|
|
72
80
|
maxLength: number;
|
|
81
|
+
} & {
|
|
82
|
+
readonly 'x-kind': "day";
|
|
73
83
|
};
|
|
74
84
|
readonly note: {
|
|
75
85
|
type: 'string';
|
|
@@ -109,11 +119,15 @@ export declare const settlement: {
|
|
|
109
119
|
type: 'string';
|
|
110
120
|
minLength?: number | undefined;
|
|
111
121
|
maxLength: number;
|
|
122
|
+
} & {
|
|
123
|
+
readonly 'x-kind': "did";
|
|
112
124
|
};
|
|
113
125
|
to: {
|
|
114
126
|
type: 'string';
|
|
115
127
|
minLength?: number | undefined;
|
|
116
128
|
maxLength: number;
|
|
129
|
+
} & {
|
|
130
|
+
readonly 'x-kind': "did";
|
|
117
131
|
};
|
|
118
132
|
amount: {
|
|
119
133
|
type: 'object';
|
|
@@ -130,11 +144,15 @@ export declare const settlement: {
|
|
|
130
144
|
};
|
|
131
145
|
};
|
|
132
146
|
required: readonly ["amount", "currency"];
|
|
147
|
+
} & {
|
|
148
|
+
readonly 'x-kind': "money";
|
|
133
149
|
};
|
|
134
150
|
date: {
|
|
135
151
|
type: 'string';
|
|
136
152
|
minLength: number;
|
|
137
153
|
maxLength: number;
|
|
154
|
+
} & {
|
|
155
|
+
readonly 'x-kind': "day";
|
|
138
156
|
};
|
|
139
157
|
note: {
|
|
140
158
|
type: 'string';
|
|
@@ -215,11 +233,15 @@ export declare const transaction: {
|
|
|
215
233
|
};
|
|
216
234
|
};
|
|
217
235
|
required: readonly ["amount", "currency"];
|
|
236
|
+
} & {
|
|
237
|
+
readonly 'x-kind': "money";
|
|
218
238
|
};
|
|
219
239
|
readonly date: {
|
|
220
240
|
type: 'string';
|
|
221
241
|
minLength: number;
|
|
222
242
|
maxLength: number;
|
|
243
|
+
} & {
|
|
244
|
+
readonly 'x-kind': "day";
|
|
223
245
|
};
|
|
224
246
|
readonly payee: {
|
|
225
247
|
type: 'string';
|
|
@@ -290,6 +312,8 @@ export declare const listing: {
|
|
|
290
312
|
};
|
|
291
313
|
};
|
|
292
314
|
required: readonly ["amount", "currency"];
|
|
315
|
+
} & {
|
|
316
|
+
readonly 'x-kind': "money";
|
|
293
317
|
};
|
|
294
318
|
readonly category: {
|
|
295
319
|
type: 'string';
|
|
@@ -339,6 +363,8 @@ export declare const listing: {
|
|
|
339
363
|
};
|
|
340
364
|
};
|
|
341
365
|
required: readonly ["hash", "size", "mime"];
|
|
366
|
+
} & {
|
|
367
|
+
readonly 'x-kind': "file";
|
|
342
368
|
};
|
|
343
369
|
alt: {
|
|
344
370
|
type: 'string';
|
|
@@ -346,7 +372,9 @@ export declare const listing: {
|
|
|
346
372
|
maxLength: number;
|
|
347
373
|
};
|
|
348
374
|
};
|
|
349
|
-
required: readonly [
|
|
375
|
+
required: readonly ["blob"];
|
|
376
|
+
} & {
|
|
377
|
+
readonly 'x-kind': "image";
|
|
350
378
|
};
|
|
351
379
|
};
|
|
352
380
|
readonly status: {
|
|
@@ -467,6 +495,8 @@ export declare const order: {
|
|
|
467
495
|
type: 'string';
|
|
468
496
|
minLength?: number | undefined;
|
|
469
497
|
maxLength: number;
|
|
498
|
+
} & {
|
|
499
|
+
readonly 'x-kind': "did";
|
|
470
500
|
};
|
|
471
501
|
readonly items: {
|
|
472
502
|
readonly type: "array";
|
|
@@ -500,6 +530,8 @@ export declare const order: {
|
|
|
500
530
|
};
|
|
501
531
|
};
|
|
502
532
|
required: readonly ["amount", "currency"];
|
|
533
|
+
} & {
|
|
534
|
+
readonly 'x-kind': "money";
|
|
503
535
|
};
|
|
504
536
|
};
|
|
505
537
|
readonly required: readonly ["title", "quantity"];
|
|
@@ -520,6 +552,8 @@ export declare const order: {
|
|
|
520
552
|
};
|
|
521
553
|
};
|
|
522
554
|
required: readonly ["amount", "currency"];
|
|
555
|
+
} & {
|
|
556
|
+
readonly 'x-kind': "money";
|
|
523
557
|
};
|
|
524
558
|
readonly note: {
|
|
525
559
|
type: 'string';
|
|
@@ -562,6 +596,8 @@ export declare const orderUpdate: {
|
|
|
562
596
|
type: 'string';
|
|
563
597
|
minLength?: number | undefined;
|
|
564
598
|
maxLength: number;
|
|
599
|
+
} & {
|
|
600
|
+
readonly 'x-kind': "did";
|
|
565
601
|
};
|
|
566
602
|
status: {
|
|
567
603
|
enum: ("accepted" | "cancelled" | "delivered" | "paid" | "refunded" | "shipped")[];
|
|
@@ -599,6 +635,8 @@ export declare const moneyGroups: {
|
|
|
599
635
|
type: 'string';
|
|
600
636
|
minLength?: number | undefined;
|
|
601
637
|
maxLength: number;
|
|
638
|
+
} & {
|
|
639
|
+
readonly 'x-kind': "did";
|
|
602
640
|
};
|
|
603
641
|
maxItems: number;
|
|
604
642
|
};
|
|
@@ -622,11 +660,15 @@ export declare const moneyGroups: {
|
|
|
622
660
|
};
|
|
623
661
|
};
|
|
624
662
|
required: readonly ["amount", "currency"];
|
|
663
|
+
} & {
|
|
664
|
+
readonly 'x-kind': "money";
|
|
625
665
|
};
|
|
626
666
|
readonly paidBy: {
|
|
627
667
|
type: 'string';
|
|
628
668
|
minLength?: number | undefined;
|
|
629
669
|
maxLength: number;
|
|
670
|
+
} & {
|
|
671
|
+
readonly 'x-kind': "did";
|
|
630
672
|
};
|
|
631
673
|
readonly split: {
|
|
632
674
|
readonly type: "array";
|
|
@@ -639,6 +681,8 @@ export declare const moneyGroups: {
|
|
|
639
681
|
type: 'string';
|
|
640
682
|
minLength?: number | undefined;
|
|
641
683
|
maxLength: number;
|
|
684
|
+
} & {
|
|
685
|
+
readonly 'x-kind': "did";
|
|
642
686
|
};
|
|
643
687
|
share: {
|
|
644
688
|
type: 'string';
|
|
@@ -653,6 +697,8 @@ export declare const moneyGroups: {
|
|
|
653
697
|
type: 'string';
|
|
654
698
|
minLength: number;
|
|
655
699
|
maxLength: number;
|
|
700
|
+
} & {
|
|
701
|
+
readonly 'x-kind': "day";
|
|
656
702
|
};
|
|
657
703
|
readonly note: {
|
|
658
704
|
type: 'string';
|
|
@@ -689,11 +735,15 @@ export declare const moneyGroups: {
|
|
|
689
735
|
type: 'string';
|
|
690
736
|
minLength?: number | undefined;
|
|
691
737
|
maxLength: number;
|
|
738
|
+
} & {
|
|
739
|
+
readonly 'x-kind': "did";
|
|
692
740
|
};
|
|
693
741
|
to: {
|
|
694
742
|
type: 'string';
|
|
695
743
|
minLength?: number | undefined;
|
|
696
744
|
maxLength: number;
|
|
745
|
+
} & {
|
|
746
|
+
readonly 'x-kind': "did";
|
|
697
747
|
};
|
|
698
748
|
amount: {
|
|
699
749
|
type: 'object';
|
|
@@ -710,11 +760,15 @@ export declare const moneyGroups: {
|
|
|
710
760
|
};
|
|
711
761
|
};
|
|
712
762
|
required: readonly ["amount", "currency"];
|
|
763
|
+
} & {
|
|
764
|
+
readonly 'x-kind': "money";
|
|
713
765
|
};
|
|
714
766
|
date: {
|
|
715
767
|
type: 'string';
|
|
716
768
|
minLength: number;
|
|
717
769
|
maxLength: number;
|
|
770
|
+
} & {
|
|
771
|
+
readonly 'x-kind': "day";
|
|
718
772
|
};
|
|
719
773
|
note: {
|
|
720
774
|
type: 'string';
|
|
@@ -789,11 +843,15 @@ export declare const moneyGroups: {
|
|
|
789
843
|
};
|
|
790
844
|
};
|
|
791
845
|
required: readonly ["amount", "currency"];
|
|
846
|
+
} & {
|
|
847
|
+
readonly 'x-kind': "money";
|
|
792
848
|
};
|
|
793
849
|
readonly date: {
|
|
794
850
|
type: 'string';
|
|
795
851
|
minLength: number;
|
|
796
852
|
maxLength: number;
|
|
853
|
+
} & {
|
|
854
|
+
readonly 'x-kind': "day";
|
|
797
855
|
};
|
|
798
856
|
readonly payee: {
|
|
799
857
|
type: 'string';
|
|
@@ -861,6 +919,8 @@ export declare const moneyGroups: {
|
|
|
861
919
|
};
|
|
862
920
|
};
|
|
863
921
|
required: readonly ["amount", "currency"];
|
|
922
|
+
} & {
|
|
923
|
+
readonly 'x-kind': "money";
|
|
864
924
|
};
|
|
865
925
|
readonly category: {
|
|
866
926
|
type: 'string';
|
|
@@ -910,6 +970,8 @@ export declare const moneyGroups: {
|
|
|
910
970
|
};
|
|
911
971
|
};
|
|
912
972
|
required: readonly ["hash", "size", "mime"];
|
|
973
|
+
} & {
|
|
974
|
+
readonly 'x-kind': "file";
|
|
913
975
|
};
|
|
914
976
|
alt: {
|
|
915
977
|
type: 'string';
|
|
@@ -917,7 +979,9 @@ export declare const moneyGroups: {
|
|
|
917
979
|
maxLength: number;
|
|
918
980
|
};
|
|
919
981
|
};
|
|
920
|
-
required: readonly [
|
|
982
|
+
required: readonly ["blob"];
|
|
983
|
+
} & {
|
|
984
|
+
readonly 'x-kind': "image";
|
|
921
985
|
};
|
|
922
986
|
};
|
|
923
987
|
readonly status: {
|
|
@@ -1032,6 +1096,8 @@ export declare const moneyGroups: {
|
|
|
1032
1096
|
type: 'string';
|
|
1033
1097
|
minLength?: number | undefined;
|
|
1034
1098
|
maxLength: number;
|
|
1099
|
+
} & {
|
|
1100
|
+
readonly 'x-kind': "did";
|
|
1035
1101
|
};
|
|
1036
1102
|
readonly items: {
|
|
1037
1103
|
readonly type: "array";
|
|
@@ -1065,6 +1131,8 @@ export declare const moneyGroups: {
|
|
|
1065
1131
|
};
|
|
1066
1132
|
};
|
|
1067
1133
|
required: readonly ["amount", "currency"];
|
|
1134
|
+
} & {
|
|
1135
|
+
readonly 'x-kind': "money";
|
|
1068
1136
|
};
|
|
1069
1137
|
};
|
|
1070
1138
|
readonly required: readonly ["title", "quantity"];
|
|
@@ -1085,6 +1153,8 @@ export declare const moneyGroups: {
|
|
|
1085
1153
|
};
|
|
1086
1154
|
};
|
|
1087
1155
|
required: readonly ["amount", "currency"];
|
|
1156
|
+
} & {
|
|
1157
|
+
readonly 'x-kind': "money";
|
|
1088
1158
|
};
|
|
1089
1159
|
readonly note: {
|
|
1090
1160
|
type: 'string';
|
|
@@ -1124,6 +1194,8 @@ export declare const moneyGroups: {
|
|
|
1124
1194
|
type: 'string';
|
|
1125
1195
|
minLength?: number | undefined;
|
|
1126
1196
|
maxLength: number;
|
|
1197
|
+
} & {
|
|
1198
|
+
readonly 'x-kind': "did";
|
|
1127
1199
|
};
|
|
1128
1200
|
status: {
|
|
1129
1201
|
enum: ("accepted" | "cancelled" | "delivered" | "paid" | "refunded" | "shipped")[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"money.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/money.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"money.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/money.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAmBR,GAAG;;;;;;;wBACH,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYf,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,OAAO,CAAC,CAAC;AAE7C,2FAA2F;AAC3F,eAAO,MAAM,UAAU;;;;;;;YAOjB,IAAI;;;;;;;YACJ,EAAE;;;;;;;YACF,MAAM;;;;;;;;;;;;;;;;;;YACN,IAAI;;;;;;;YACJ,IAAI;;;;;;;;;;;;;;;;;;;;;EAMR,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC;AAEnD,oEAAoE;AACpE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAavB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvD,+DAA+D;AAC/D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgBb,EAAE;;;;;;;;;;;;EACX,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA2CC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA6CW,KAAK;;;;;4BAAc,QAAQ;;;;;4BAAY,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YASzD,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;gBAaV,YAAY;;;;;;;gBACZ,MAAM;;;gBACN,IAAI;;;;;;;;;YAIC,KAAK;;;;;;;;CAQf,CAAC"}
|
|
@@ -56,11 +56,15 @@ export declare const event: {
|
|
|
56
56
|
type: 'string';
|
|
57
57
|
minLength?: number | undefined;
|
|
58
58
|
maxLength: number;
|
|
59
|
+
} & {
|
|
60
|
+
readonly 'x-kind': "when";
|
|
59
61
|
};
|
|
60
62
|
readonly end: {
|
|
61
63
|
type: 'string';
|
|
62
64
|
minLength?: number | undefined;
|
|
63
65
|
maxLength: number;
|
|
66
|
+
} & {
|
|
67
|
+
readonly 'x-kind': "when";
|
|
64
68
|
};
|
|
65
69
|
readonly tz: {
|
|
66
70
|
type: 'string';
|
|
@@ -134,6 +138,8 @@ export declare const event: {
|
|
|
134
138
|
type: 'string';
|
|
135
139
|
minLength?: number | undefined;
|
|
136
140
|
maxLength: number;
|
|
141
|
+
} & {
|
|
142
|
+
readonly 'x-kind': "url";
|
|
137
143
|
};
|
|
138
144
|
readonly rrule: {
|
|
139
145
|
type: 'string';
|
|
@@ -188,6 +194,8 @@ export declare const rsvp: {
|
|
|
188
194
|
type: 'string';
|
|
189
195
|
minLength?: number | undefined;
|
|
190
196
|
maxLength: number;
|
|
197
|
+
} & {
|
|
198
|
+
readonly 'x-kind': "did";
|
|
191
199
|
};
|
|
192
200
|
status: {
|
|
193
201
|
enum: ("going" | "maybe" | "no")[];
|
|
@@ -231,11 +239,15 @@ export declare const slot: {
|
|
|
231
239
|
type: 'string';
|
|
232
240
|
minLength?: number | undefined;
|
|
233
241
|
maxLength: number;
|
|
242
|
+
} & {
|
|
243
|
+
readonly 'x-kind': "when";
|
|
234
244
|
};
|
|
235
245
|
end: {
|
|
236
246
|
type: 'string';
|
|
237
247
|
minLength?: number | undefined;
|
|
238
248
|
maxLength: number;
|
|
249
|
+
} & {
|
|
250
|
+
readonly 'x-kind': "when";
|
|
239
251
|
};
|
|
240
252
|
tz: {
|
|
241
253
|
type: 'string';
|
|
@@ -323,6 +335,8 @@ export declare const task: {
|
|
|
323
335
|
type: 'string';
|
|
324
336
|
minLength?: number | undefined;
|
|
325
337
|
maxLength: number;
|
|
338
|
+
} & {
|
|
339
|
+
readonly 'x-kind': "when";
|
|
326
340
|
};
|
|
327
341
|
readonly status: {
|
|
328
342
|
enum: ("cancelled" | "doing" | "done" | "todo")[];
|
|
@@ -333,6 +347,8 @@ export declare const task: {
|
|
|
333
347
|
type: 'string';
|
|
334
348
|
minLength?: number | undefined;
|
|
335
349
|
maxLength: number;
|
|
350
|
+
} & {
|
|
351
|
+
readonly 'x-kind': "did";
|
|
336
352
|
};
|
|
337
353
|
maxItems: number;
|
|
338
354
|
};
|
|
@@ -384,6 +400,8 @@ export declare const project: {
|
|
|
384
400
|
type: 'string';
|
|
385
401
|
minLength?: number | undefined;
|
|
386
402
|
maxLength: number;
|
|
403
|
+
} & {
|
|
404
|
+
readonly 'x-kind': "when";
|
|
387
405
|
};
|
|
388
406
|
};
|
|
389
407
|
readonly required: readonly ["name"];
|
|
@@ -407,11 +425,15 @@ export declare const timeEntry: {
|
|
|
407
425
|
type: 'string';
|
|
408
426
|
minLength?: number | undefined;
|
|
409
427
|
maxLength: number;
|
|
428
|
+
} & {
|
|
429
|
+
readonly 'x-kind': "when";
|
|
410
430
|
};
|
|
411
431
|
end: {
|
|
412
432
|
type: 'string';
|
|
413
433
|
minLength?: number | undefined;
|
|
414
434
|
maxLength: number;
|
|
435
|
+
} & {
|
|
436
|
+
readonly 'x-kind': "when";
|
|
415
437
|
};
|
|
416
438
|
note: {
|
|
417
439
|
type: 'string';
|
|
@@ -442,6 +464,8 @@ export declare const reminder: {
|
|
|
442
464
|
type: 'string';
|
|
443
465
|
minLength?: number | undefined;
|
|
444
466
|
maxLength: number;
|
|
467
|
+
} & {
|
|
468
|
+
readonly 'x-kind': "when";
|
|
445
469
|
};
|
|
446
470
|
readonly note: {
|
|
447
471
|
type: 'string';
|
|
@@ -495,6 +519,8 @@ export declare const habit: {
|
|
|
495
519
|
type: 'string';
|
|
496
520
|
minLength?: number | undefined;
|
|
497
521
|
maxLength: number;
|
|
522
|
+
} & {
|
|
523
|
+
readonly 'x-kind': "position";
|
|
498
524
|
};
|
|
499
525
|
};
|
|
500
526
|
readonly required: readonly ["name"];
|
|
@@ -519,6 +545,8 @@ export declare const checkin: {
|
|
|
519
545
|
type: 'string';
|
|
520
546
|
minLength: number;
|
|
521
547
|
maxLength: number;
|
|
548
|
+
} & {
|
|
549
|
+
readonly 'x-kind': "day";
|
|
522
550
|
};
|
|
523
551
|
readonly value: {
|
|
524
552
|
readonly type: "number";
|
|
@@ -594,11 +622,15 @@ export declare const planningGroups: {
|
|
|
594
622
|
type: 'string';
|
|
595
623
|
minLength?: number | undefined;
|
|
596
624
|
maxLength: number;
|
|
625
|
+
} & {
|
|
626
|
+
readonly 'x-kind': "when";
|
|
597
627
|
};
|
|
598
628
|
readonly end: {
|
|
599
629
|
type: 'string';
|
|
600
630
|
minLength?: number | undefined;
|
|
601
631
|
maxLength: number;
|
|
632
|
+
} & {
|
|
633
|
+
readonly 'x-kind': "when";
|
|
602
634
|
};
|
|
603
635
|
readonly tz: {
|
|
604
636
|
type: 'string';
|
|
@@ -672,6 +704,8 @@ export declare const planningGroups: {
|
|
|
672
704
|
type: 'string';
|
|
673
705
|
minLength?: number | undefined;
|
|
674
706
|
maxLength: number;
|
|
707
|
+
} & {
|
|
708
|
+
readonly 'x-kind': "url";
|
|
675
709
|
};
|
|
676
710
|
readonly rrule: {
|
|
677
711
|
type: 'string';
|
|
@@ -723,6 +757,8 @@ export declare const planningGroups: {
|
|
|
723
757
|
type: 'string';
|
|
724
758
|
minLength?: number | undefined;
|
|
725
759
|
maxLength: number;
|
|
760
|
+
} & {
|
|
761
|
+
readonly 'x-kind': "did";
|
|
726
762
|
};
|
|
727
763
|
status: {
|
|
728
764
|
enum: ("going" | "maybe" | "no")[];
|
|
@@ -763,11 +799,15 @@ export declare const planningGroups: {
|
|
|
763
799
|
type: 'string';
|
|
764
800
|
minLength?: number | undefined;
|
|
765
801
|
maxLength: number;
|
|
802
|
+
} & {
|
|
803
|
+
readonly 'x-kind': "when";
|
|
766
804
|
};
|
|
767
805
|
end: {
|
|
768
806
|
type: 'string';
|
|
769
807
|
minLength?: number | undefined;
|
|
770
808
|
maxLength: number;
|
|
809
|
+
} & {
|
|
810
|
+
readonly 'x-kind': "when";
|
|
771
811
|
};
|
|
772
812
|
tz: {
|
|
773
813
|
type: 'string';
|
|
@@ -843,6 +883,8 @@ export declare const planningGroups: {
|
|
|
843
883
|
type: 'string';
|
|
844
884
|
minLength?: number | undefined;
|
|
845
885
|
maxLength: number;
|
|
886
|
+
} & {
|
|
887
|
+
readonly 'x-kind': "when";
|
|
846
888
|
};
|
|
847
889
|
readonly status: {
|
|
848
890
|
enum: ("cancelled" | "doing" | "done" | "todo")[];
|
|
@@ -853,6 +895,8 @@ export declare const planningGroups: {
|
|
|
853
895
|
type: 'string';
|
|
854
896
|
minLength?: number | undefined;
|
|
855
897
|
maxLength: number;
|
|
898
|
+
} & {
|
|
899
|
+
readonly 'x-kind': "did";
|
|
856
900
|
};
|
|
857
901
|
maxItems: number;
|
|
858
902
|
};
|
|
@@ -901,6 +945,8 @@ export declare const planningGroups: {
|
|
|
901
945
|
type: 'string';
|
|
902
946
|
minLength?: number | undefined;
|
|
903
947
|
maxLength: number;
|
|
948
|
+
} & {
|
|
949
|
+
readonly 'x-kind': "when";
|
|
904
950
|
};
|
|
905
951
|
};
|
|
906
952
|
readonly required: readonly ["name"];
|
|
@@ -921,11 +967,15 @@ export declare const planningGroups: {
|
|
|
921
967
|
type: 'string';
|
|
922
968
|
minLength?: number | undefined;
|
|
923
969
|
maxLength: number;
|
|
970
|
+
} & {
|
|
971
|
+
readonly 'x-kind': "when";
|
|
924
972
|
};
|
|
925
973
|
end: {
|
|
926
974
|
type: 'string';
|
|
927
975
|
minLength?: number | undefined;
|
|
928
976
|
maxLength: number;
|
|
977
|
+
} & {
|
|
978
|
+
readonly 'x-kind': "when";
|
|
929
979
|
};
|
|
930
980
|
note: {
|
|
931
981
|
type: 'string';
|
|
@@ -953,6 +1003,8 @@ export declare const planningGroups: {
|
|
|
953
1003
|
type: 'string';
|
|
954
1004
|
minLength?: number | undefined;
|
|
955
1005
|
maxLength: number;
|
|
1006
|
+
} & {
|
|
1007
|
+
readonly 'x-kind': "when";
|
|
956
1008
|
};
|
|
957
1009
|
readonly note: {
|
|
958
1010
|
type: 'string';
|
|
@@ -1003,6 +1055,8 @@ export declare const planningGroups: {
|
|
|
1003
1055
|
type: 'string';
|
|
1004
1056
|
minLength?: number | undefined;
|
|
1005
1057
|
maxLength: number;
|
|
1058
|
+
} & {
|
|
1059
|
+
readonly 'x-kind': "position";
|
|
1006
1060
|
};
|
|
1007
1061
|
};
|
|
1008
1062
|
readonly required: readonly ["name"];
|
|
@@ -1024,6 +1078,8 @@ export declare const planningGroups: {
|
|
|
1024
1078
|
type: 'string';
|
|
1025
1079
|
minLength: number;
|
|
1026
1080
|
maxLength: number;
|
|
1081
|
+
} & {
|
|
1082
|
+
readonly 'x-kind': "day";
|
|
1027
1083
|
};
|
|
1028
1084
|
readonly value: {
|
|
1029
1085
|
readonly type: "number";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/planning.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,uCAAuC;AACvC,eAAO,MAAM,QAAQ;;;;;;;YAMH,IAAI;;;;;YAAc,KAAK;;;;;;;;;;;EAGvC,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/planning.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,uCAAuC;AACvC,eAAO,MAAM,QAAQ;;;;;;;YAMH,IAAI;;;;;YAAc,KAAK;;;;;;;;;;;EAGvC,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqBP,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEX,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC;AAEjD,uFAAuF;AACvF,eAAO,MAAM,IAAI;;;;;;;YAOX,YAAY;;;;;;;YACZ,MAAM;;;YACN,MAAM;;;;;YACN,IAAI;;;;;;;;;QAIC,KAAK;;;;;;;;;;;EAGd,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,oEAAoE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