@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.
Files changed (148) hide show
  1. package/README.md +2 -2
  2. package/dist/files/space-files.d.ts +15 -3
  3. package/dist/files/space-files.d.ts.map +1 -1
  4. package/dist/files/space-files.js +225 -37
  5. package/dist/files/space-files.js.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/network/introductions.d.ts +20 -7
  11. package/dist/network/introductions.d.ts.map +1 -1
  12. package/dist/network/introductions.js +9 -6
  13. package/dist/network/introductions.js.map +1 -1
  14. package/dist/network/mesh.d.ts.map +1 -1
  15. package/dist/network/mesh.js +88 -20
  16. package/dist/network/mesh.js.map +1 -1
  17. package/dist/network/relay-minca.d.ts +12 -1
  18. package/dist/network/relay-minca.d.ts.map +1 -1
  19. package/dist/network/relay-minca.js +14 -6
  20. package/dist/network/relay-minca.js.map +1 -1
  21. package/dist/network/relay-nostr.d.ts +14 -3
  22. package/dist/network/relay-nostr.d.ts.map +1 -1
  23. package/dist/network/relay-nostr.js +11 -9
  24. package/dist/network/relay-nostr.js.map +1 -1
  25. package/dist/network/relays.d.ts +26 -17
  26. package/dist/network/relays.d.ts.map +1 -1
  27. package/dist/network/relays.js +21 -28
  28. package/dist/network/relays.js.map +1 -1
  29. package/dist/network/rendezvous.d.ts +1 -1
  30. package/dist/network/rendezvous.d.ts.map +1 -1
  31. package/dist/network/rendezvous.js +2 -2
  32. package/dist/network/rendezvous.js.map +1 -1
  33. package/dist/node/actions.d.ts.map +1 -1
  34. package/dist/node/actions.js +54 -2
  35. package/dist/node/actions.js.map +1 -1
  36. package/dist/node/node.d.ts.map +1 -1
  37. package/dist/node/node.js +7 -7
  38. package/dist/node/node.js.map +1 -1
  39. package/dist/node/space-runtime.d.ts +1 -1
  40. package/dist/node/space-runtime.d.ts.map +1 -1
  41. package/dist/node/space-runtime.js +17 -5
  42. package/dist/node/space-runtime.js.map +1 -1
  43. package/dist/node/types.d.ts +4 -3
  44. package/dist/node/types.d.ts.map +1 -1
  45. package/dist/schema/collection-def.d.ts.map +1 -1
  46. package/dist/schema/collection-def.js +16 -5
  47. package/dist/schema/collection-def.js.map +1 -1
  48. package/dist/schemas/automations.d.ts +8 -0
  49. package/dist/schemas/automations.d.ts.map +1 -1
  50. package/dist/schemas/blueprints.d.ts +33 -0
  51. package/dist/schemas/blueprints.d.ts.map +1 -1
  52. package/dist/schemas/blueprints.js +63 -0
  53. package/dist/schemas/blueprints.js.map +1 -1
  54. package/dist/schemas/connectors.d.ts +12 -0
  55. package/dist/schemas/connectors.d.ts.map +1 -1
  56. package/dist/schemas/fragments.d.ts +22 -2
  57. package/dist/schemas/fragments.d.ts.map +1 -1
  58. package/dist/schemas/fragments.js +20 -12
  59. package/dist/schemas/fragments.js.map +1 -1
  60. package/dist/schemas/library/annotations.d.ts +30 -0
  61. package/dist/schemas/library/annotations.d.ts.map +1 -1
  62. package/dist/schemas/library/annotations.js +1 -0
  63. package/dist/schemas/library/annotations.js.map +1 -1
  64. package/dist/schemas/library/community.d.ts +28 -0
  65. package/dist/schemas/library/community.d.ts.map +1 -1
  66. package/dist/schemas/library/life.d.ts +62 -2
  67. package/dist/schemas/library/life.d.ts.map +1 -1
  68. package/dist/schemas/library/media.d.ts +36 -0
  69. package/dist/schemas/library/media.d.ts.map +1 -1
  70. package/dist/schemas/library/money.d.ts +74 -2
  71. package/dist/schemas/library/money.d.ts.map +1 -1
  72. package/dist/schemas/library/planning.d.ts +56 -0
  73. package/dist/schemas/library/planning.d.ts.map +1 -1
  74. package/dist/schemas/library/publishing.d.ts +80 -4
  75. package/dist/schemas/library/publishing.d.ts.map +1 -1
  76. package/dist/schemas/library/social.d.ts +44 -0
  77. package/dist/schemas/library/social.d.ts.map +1 -1
  78. package/docs/README.md +2 -2
  79. package/docs/actions.md +83 -56
  80. package/docs/blueprints-and-guides.md +41 -13
  81. package/docs/building-an-app.md +4 -4
  82. package/docs/collections.md +31 -3
  83. package/docs/node.md +15 -13
  84. package/docs/proposing-collections.md +42 -0
  85. package/docs/standard-library.md +26 -25
  86. package/docs/storage.md +33 -10
  87. package/package.json +2 -21
  88. package/dist/calls/calls.d.ts +0 -140
  89. package/dist/calls/calls.d.ts.map +0 -1
  90. package/dist/calls/calls.js +0 -861
  91. package/dist/calls/calls.js.map +0 -1
  92. package/dist/calls/index.d.ts +0 -4
  93. package/dist/calls/index.d.ts.map +0 -1
  94. package/dist/calls/index.js +0 -3
  95. package/dist/calls/index.js.map +0 -1
  96. package/dist/react/context.d.ts +0 -81
  97. package/dist/react/context.d.ts.map +0 -1
  98. package/dist/react/context.js +0 -97
  99. package/dist/react/context.js.map +0 -1
  100. package/dist/react/follow.d.ts +0 -11
  101. package/dist/react/follow.d.ts.map +0 -1
  102. package/dist/react/follow.js +0 -7
  103. package/dist/react/follow.js.map +0 -1
  104. package/dist/react/index.d.ts +0 -44
  105. package/dist/react/index.d.ts.map +0 -1
  106. package/dist/react/index.js +0 -40
  107. package/dist/react/index.js.map +0 -1
  108. package/dist/react/minca-auth.d.ts +0 -19
  109. package/dist/react/minca-auth.d.ts.map +0 -1
  110. package/dist/react/minca-auth.js +0 -36
  111. package/dist/react/minca-auth.js.map +0 -1
  112. package/dist/react/use-calls.d.ts +0 -21
  113. package/dist/react/use-calls.d.ts.map +0 -1
  114. package/dist/react/use-calls.js +0 -39
  115. package/dist/react/use-calls.js.map +0 -1
  116. package/dist/react/use-invite-link.d.ts +0 -24
  117. package/dist/react/use-invite-link.d.ts.map +0 -1
  118. package/dist/react/use-invite-link.js +0 -62
  119. package/dist/react/use-invite-link.js.map +0 -1
  120. package/dist/react/use-live.d.ts +0 -16
  121. package/dist/react/use-live.d.ts.map +0 -1
  122. package/dist/react/use-live.js +0 -56
  123. package/dist/react/use-live.js.map +0 -1
  124. package/dist/react/use-my-name.d.ts +0 -12
  125. package/dist/react/use-my-name.d.ts.map +0 -1
  126. package/dist/react/use-my-name.js +0 -38
  127. package/dist/react/use-my-name.js.map +0 -1
  128. package/dist/react/use-names.d.ts +0 -7
  129. package/dist/react/use-names.d.ts.map +0 -1
  130. package/dist/react/use-names.js +0 -13
  131. package/dist/react/use-names.js.map +0 -1
  132. package/dist/react/use-network.d.ts +0 -9
  133. package/dist/react/use-network.d.ts.map +0 -1
  134. package/dist/react/use-network.js +0 -33
  135. package/dist/react/use-network.js.map +0 -1
  136. package/dist/react/use-query.d.ts +0 -14
  137. package/dist/react/use-query.d.ts.map +0 -1
  138. package/dist/react/use-query.js +0 -26
  139. package/dist/react/use-query.js.map +0 -1
  140. package/dist/react/use-space.d.ts +0 -29
  141. package/dist/react/use-space.d.ts.map +0 -1
  142. package/dist/react/use-space.js +0 -57
  143. package/dist/react/use-space.js.map +0 -1
  144. package/dist/react/use-spaces.d.ts +0 -29
  145. package/dist/react/use-spaces.d.ts.map +0 -1
  146. package/dist/react/use-spaces.js +0 -78
  147. package/dist/react/use-spaces.js.map +0 -1
  148. package/docs/calls.md +0 -189
@@ -71,6 +71,8 @@ export declare const place: {
71
71
  type: 'string';
72
72
  minLength?: number | undefined;
73
73
  maxLength: number;
74
+ } & {
75
+ readonly 'x-kind': "url";
74
76
  };
75
77
  };
76
78
  readonly required: readonly ["name"];
@@ -104,6 +106,8 @@ export declare const visit: {
104
106
  type: 'string';
105
107
  minLength?: number | undefined;
106
108
  maxLength: number;
109
+ } & {
110
+ readonly 'x-kind': "when";
107
111
  };
108
112
  note: {
109
113
  type: 'string';
@@ -138,11 +142,15 @@ export declare const trip: {
138
142
  type: 'string';
139
143
  minLength: number;
140
144
  maxLength: number;
145
+ } & {
146
+ readonly 'x-kind': "day";
141
147
  };
142
148
  end: {
143
149
  type: 'string';
144
150
  minLength: number;
145
151
  maxLength: number;
152
+ } & {
153
+ readonly 'x-kind': "day";
146
154
  };
147
155
  note: {
148
156
  type: 'string';
@@ -186,6 +194,8 @@ export declare const location: {
186
194
  type: 'string';
187
195
  minLength?: number | undefined;
188
196
  maxLength: number;
197
+ } & {
198
+ readonly 'x-kind': "when";
189
199
  };
190
200
  };
191
201
  readonly required: readonly ["lat", "lon", "at"];
@@ -303,6 +313,8 @@ export declare const recipe: {
303
313
  };
304
314
  };
305
315
  required: readonly ["hash", "size", "mime"];
316
+ } & {
317
+ readonly 'x-kind': "file";
306
318
  };
307
319
  alt: {
308
320
  type: 'string';
@@ -310,12 +322,16 @@ export declare const recipe: {
310
322
  maxLength: number;
311
323
  };
312
324
  };
313
- required: readonly ['blob'];
325
+ required: readonly ["blob"];
326
+ } & {
327
+ readonly 'x-kind': "image";
314
328
  };
315
329
  readonly source: {
316
330
  type: 'string';
317
331
  minLength?: number | undefined;
318
332
  maxLength: number;
333
+ } & {
334
+ readonly 'x-kind': "url";
319
335
  };
320
336
  };
321
337
  readonly required: readonly ["title"];
@@ -358,6 +374,8 @@ export declare const meal: {
358
374
  type: 'string';
359
375
  minLength: number;
360
376
  maxLength: number;
377
+ } & {
378
+ readonly 'x-kind': "day";
361
379
  };
362
380
  meal: {
363
381
  enum: ("breakfast" | "dinner" | "lunch" | "snack")[];
@@ -394,6 +412,8 @@ export declare const journalEntry: {
394
412
  type: 'string';
395
413
  minLength: number;
396
414
  maxLength: number;
415
+ } & {
416
+ readonly 'x-kind': "day";
397
417
  };
398
418
  content: {
399
419
  type: 'string';
@@ -442,6 +462,8 @@ export declare const measurement: {
442
462
  type: 'string';
443
463
  minLength?: number | undefined;
444
464
  maxLength: number;
465
+ } & {
466
+ readonly 'x-kind': "when";
445
467
  };
446
468
  readonly note: {
447
469
  type: 'string';
@@ -476,6 +498,8 @@ export declare const workout: {
476
498
  type: 'string';
477
499
  minLength?: number | undefined;
478
500
  maxLength: number;
501
+ } & {
502
+ readonly 'x-kind': "when";
479
503
  };
480
504
  readonly duration: {
481
505
  readonly type: "number";
@@ -521,6 +545,8 @@ export declare const workout: {
521
545
  };
522
546
  };
523
547
  required: readonly ["hash", "size", "mime"];
548
+ } & {
549
+ readonly 'x-kind': "file";
524
550
  };
525
551
  readonly note: {
526
552
  type: 'string';
@@ -635,6 +661,8 @@ export declare const work: {
635
661
  };
636
662
  };
637
663
  required: readonly ["hash", "size", "mime"];
664
+ } & {
665
+ readonly 'x-kind': "file";
638
666
  };
639
667
  };
640
668
  readonly required: readonly ["kind", "title"];
@@ -680,6 +708,8 @@ export declare const progress: {
680
708
  type: 'string';
681
709
  minLength?: number | undefined;
682
710
  maxLength: number;
711
+ } & {
712
+ readonly 'x-kind': "when";
683
713
  };
684
714
  readonly note: {
685
715
  type: 'string';
@@ -775,6 +805,8 @@ export declare const lifeGroups: {
775
805
  type: 'string';
776
806
  minLength?: number | undefined;
777
807
  maxLength: number;
808
+ } & {
809
+ readonly 'x-kind': "url";
778
810
  };
779
811
  };
780
812
  readonly required: readonly ["name"];
@@ -805,6 +837,8 @@ export declare const lifeGroups: {
805
837
  type: 'string';
806
838
  minLength?: number | undefined;
807
839
  maxLength: number;
840
+ } & {
841
+ readonly 'x-kind': "when";
808
842
  };
809
843
  note: {
810
844
  type: 'string';
@@ -836,11 +870,15 @@ export declare const lifeGroups: {
836
870
  type: 'string';
837
871
  minLength: number;
838
872
  maxLength: number;
873
+ } & {
874
+ readonly 'x-kind': "day";
839
875
  };
840
876
  end: {
841
877
  type: 'string';
842
878
  minLength: number;
843
879
  maxLength: number;
880
+ } & {
881
+ readonly 'x-kind': "day";
844
882
  };
845
883
  note: {
846
884
  type: 'string';
@@ -881,6 +919,8 @@ export declare const lifeGroups: {
881
919
  type: 'string';
882
920
  minLength?: number | undefined;
883
921
  maxLength: number;
922
+ } & {
923
+ readonly 'x-kind': "when";
884
924
  };
885
925
  };
886
926
  readonly required: readonly ["lat", "lon", "at"];
@@ -996,6 +1036,8 @@ export declare const lifeGroups: {
996
1036
  };
997
1037
  };
998
1038
  required: readonly ["hash", "size", "mime"];
1039
+ } & {
1040
+ readonly 'x-kind': "file";
999
1041
  };
1000
1042
  alt: {
1001
1043
  type: 'string';
@@ -1003,12 +1045,16 @@ export declare const lifeGroups: {
1003
1045
  maxLength: number;
1004
1046
  };
1005
1047
  };
1006
- required: readonly ['blob'];
1048
+ required: readonly ["blob"];
1049
+ } & {
1050
+ readonly 'x-kind': "image";
1007
1051
  };
1008
1052
  readonly source: {
1009
1053
  type: 'string';
1010
1054
  minLength?: number | undefined;
1011
1055
  maxLength: number;
1056
+ } & {
1057
+ readonly 'x-kind': "url";
1012
1058
  };
1013
1059
  };
1014
1060
  readonly required: readonly ["title"];
@@ -1048,6 +1094,8 @@ export declare const lifeGroups: {
1048
1094
  type: 'string';
1049
1095
  minLength: number;
1050
1096
  maxLength: number;
1097
+ } & {
1098
+ readonly 'x-kind': "day";
1051
1099
  };
1052
1100
  meal: {
1053
1101
  enum: ("breakfast" | "dinner" | "lunch" | "snack")[];
@@ -1081,6 +1129,8 @@ export declare const lifeGroups: {
1081
1129
  type: 'string';
1082
1130
  minLength: number;
1083
1131
  maxLength: number;
1132
+ } & {
1133
+ readonly 'x-kind': "day";
1084
1134
  };
1085
1135
  content: {
1086
1136
  type: 'string';
@@ -1126,6 +1176,8 @@ export declare const lifeGroups: {
1126
1176
  type: 'string';
1127
1177
  minLength?: number | undefined;
1128
1178
  maxLength: number;
1179
+ } & {
1180
+ readonly 'x-kind': "when";
1129
1181
  };
1130
1182
  readonly note: {
1131
1183
  type: 'string';
@@ -1157,6 +1209,8 @@ export declare const lifeGroups: {
1157
1209
  type: 'string';
1158
1210
  minLength?: number | undefined;
1159
1211
  maxLength: number;
1212
+ } & {
1213
+ readonly 'x-kind': "when";
1160
1214
  };
1161
1215
  readonly duration: {
1162
1216
  readonly type: "number";
@@ -1202,6 +1256,8 @@ export declare const lifeGroups: {
1202
1256
  };
1203
1257
  };
1204
1258
  required: readonly ["hash", "size", "mime"];
1259
+ } & {
1260
+ readonly 'x-kind': "file";
1205
1261
  };
1206
1262
  readonly note: {
1207
1263
  type: 'string';
@@ -1313,6 +1369,8 @@ export declare const lifeGroups: {
1313
1369
  };
1314
1370
  };
1315
1371
  required: readonly ["hash", "size", "mime"];
1372
+ } & {
1373
+ readonly 'x-kind': "file";
1316
1374
  };
1317
1375
  };
1318
1376
  readonly required: readonly ["kind", "title"];
@@ -1355,6 +1413,8 @@ export declare const lifeGroups: {
1355
1413
  type: 'string';
1356
1414
  minLength?: number | undefined;
1357
1415
  maxLength: number;
1416
+ } & {
1417
+ readonly 'x-kind': "when";
1358
1418
  };
1359
1419
  readonly note: {
1360
1420
  type: 'string';
@@ -1 +1 @@
1
- {"version":3,"file":"life.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/life.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,uEAAuE;AACvE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC;AAE9C,6BAA6B;AAC7B,eAAO,MAAM,KAAK;;;;;;;YAMA,EAAE;;;;;YAAU,IAAI;;;;;;;;;QAGvB,KAAK;;;;;EACd,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,mGAAmG;AACnG,eAAO,MAAM,IAAI;;;;;;;YAOC,KAAK;;;;;YAAc,KAAK;;;;;YAAS,GAAG;;;;;YAAS,IAAI;;;;;;;;;;;;;EAGjE,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,mFAAmF;AACnF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM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AAI;;;;;wBACJ,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyBP,KAAK;;;;;;;;;;;CASf,CAAC"}
@@ -57,11 +57,15 @@ export declare const listItem: {
57
57
  type: 'string';
58
58
  minLength?: number | undefined;
59
59
  maxLength: number;
60
+ } & {
61
+ readonly 'x-kind': "url";
60
62
  };
61
63
  readonly did: {
62
64
  type: 'string';
63
65
  minLength?: number | undefined;
64
66
  maxLength: number;
67
+ } & {
68
+ readonly 'x-kind': "did";
65
69
  };
66
70
  readonly checked: {
67
71
  readonly type: "boolean";
@@ -74,6 +78,8 @@ export declare const listItem: {
74
78
  type: 'string';
75
79
  minLength?: number | undefined;
76
80
  maxLength: number;
81
+ } & {
82
+ readonly 'x-kind': "position";
77
83
  };
78
84
  };
79
85
  };
@@ -155,11 +161,15 @@ export declare const file: {
155
161
  };
156
162
  };
157
163
  required: readonly ["hash", "size", "mime"];
164
+ } & {
165
+ readonly 'x-kind': "file";
158
166
  };
159
167
  readonly url: {
160
168
  type: 'string';
161
169
  minLength?: number | undefined;
162
170
  maxLength: number;
171
+ } & {
172
+ readonly 'x-kind': "url";
163
173
  };
164
174
  readonly alt: {
165
175
  type: 'string';
@@ -185,6 +195,8 @@ export declare const file: {
185
195
  type: 'string';
186
196
  minLength?: number | undefined;
187
197
  maxLength: number;
198
+ } & {
199
+ readonly 'x-kind': "when";
188
200
  };
189
201
  readonly place: {
190
202
  type: 'object';
@@ -280,6 +292,8 @@ export declare const file: {
280
292
  };
281
293
  };
282
294
  required: readonly ["hash", "size", "mime"];
295
+ } & {
296
+ readonly 'x-kind': "file";
283
297
  };
284
298
  readonly captions: {
285
299
  type: 'object';
@@ -315,6 +329,8 @@ export declare const file: {
315
329
  };
316
330
  };
317
331
  required: readonly ["hash", "size", "mime"];
332
+ } & {
333
+ readonly 'x-kind': "file";
318
334
  };
319
335
  };
320
336
  readonly required: readonly ["name", "mime"];
@@ -474,6 +490,8 @@ export declare const play: {
474
490
  type: 'string';
475
491
  minLength?: number | undefined;
476
492
  maxLength: number;
493
+ } & {
494
+ readonly 'x-kind': "when";
477
495
  };
478
496
  };
479
497
  readonly required: readonly ["title", "playedAt"];
@@ -544,11 +562,15 @@ export declare const mediaGroups: {
544
562
  type: 'string';
545
563
  minLength?: number | undefined;
546
564
  maxLength: number;
565
+ } & {
566
+ readonly 'x-kind': "url";
547
567
  };
548
568
  readonly did: {
549
569
  type: 'string';
550
570
  minLength?: number | undefined;
551
571
  maxLength: number;
572
+ } & {
573
+ readonly 'x-kind': "did";
552
574
  };
553
575
  readonly checked: {
554
576
  readonly type: "boolean";
@@ -561,6 +583,8 @@ export declare const mediaGroups: {
561
583
  type: 'string';
562
584
  minLength?: number | undefined;
563
585
  maxLength: number;
586
+ } & {
587
+ readonly 'x-kind': "position";
564
588
  };
565
589
  };
566
590
  };
@@ -633,11 +657,15 @@ export declare const mediaGroups: {
633
657
  };
634
658
  };
635
659
  required: readonly ["hash", "size", "mime"];
660
+ } & {
661
+ readonly 'x-kind': "file";
636
662
  };
637
663
  readonly url: {
638
664
  type: 'string';
639
665
  minLength?: number | undefined;
640
666
  maxLength: number;
667
+ } & {
668
+ readonly 'x-kind': "url";
641
669
  };
642
670
  readonly alt: {
643
671
  type: 'string';
@@ -663,6 +691,8 @@ export declare const mediaGroups: {
663
691
  type: 'string';
664
692
  minLength?: number | undefined;
665
693
  maxLength: number;
694
+ } & {
695
+ readonly 'x-kind': "when";
666
696
  };
667
697
  readonly place: {
668
698
  type: 'object';
@@ -758,6 +788,8 @@ export declare const mediaGroups: {
758
788
  };
759
789
  };
760
790
  required: readonly ["hash", "size", "mime"];
791
+ } & {
792
+ readonly 'x-kind': "file";
761
793
  };
762
794
  readonly captions: {
763
795
  type: 'object';
@@ -793,6 +825,8 @@ export declare const mediaGroups: {
793
825
  };
794
826
  };
795
827
  required: readonly ["hash", "size", "mime"];
828
+ } & {
829
+ readonly 'x-kind': "file";
796
830
  };
797
831
  };
798
832
  readonly required: readonly ["name", "mime"];
@@ -946,6 +980,8 @@ export declare const mediaGroups: {
946
980
  type: 'string';
947
981
  minLength?: number | undefined;
948
982
  maxLength: number;
983
+ } & {
984
+ readonly 'x-kind': "when";
949
985
  };
950
986
  };
951
987
  readonly required: readonly ["title", "playedAt"];
@@ -1 +1 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/schemas/library/media.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;;YAQX,KAAK;;;;;YACL,WAAW;;;;;YACX,IAAI;;;;;YACJ,IAAI;;;;;;;;;;;;;EAIR,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,uFAAuF;AACvF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAeV,EAAE;QAA0C,KAAK;;;;;;;;;;EAE1D,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwBN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACd,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,IA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