@minca/core 0.1.7 → 0.1.9
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/dist/elements/auth-styles.d.ts +1 -1
- package/dist/elements/auth-styles.d.ts.map +1 -1
- package/dist/elements/auth-styles.js +16 -8
- package/dist/elements/auth-styles.js.map +1 -1
- package/dist/elements/minca-auth.d.ts +7 -0
- package/dist/elements/minca-auth.d.ts.map +1 -1
- package/dist/elements/minca-auth.js +107 -49
- package/dist/elements/minca-auth.js.map +1 -1
- package/dist/files/file-id.d.ts +51 -0
- package/dist/files/file-id.d.ts.map +1 -0
- package/dist/files/file-id.js +97 -0
- package/dist/files/file-id.js.map +1 -0
- package/dist/files/seal.d.ts +20 -0
- package/dist/files/seal.d.ts.map +1 -0
- package/dist/files/seal.js +77 -0
- package/dist/files/seal.js.map +1 -0
- package/dist/files/space-files.d.ts +51 -0
- package/dist/files/space-files.d.ts.map +1 -0
- package/dist/files/space-files.js +476 -0
- package/dist/files/space-files.js.map +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/node/api.d.ts +6 -1
- package/dist/node/api.d.ts.map +1 -1
- package/dist/node/api.js +17 -3
- package/dist/node/api.js.map +1 -1
- package/dist/node/carrier.d.ts +17 -2
- package/dist/node/carrier.d.ts.map +1 -1
- package/dist/node/carrier.js +26 -4
- package/dist/node/carrier.js.map +1 -1
- package/dist/node/copy.d.ts +0 -4
- package/dist/node/copy.d.ts.map +1 -1
- package/dist/node/copy.js +26 -0
- package/dist/node/copy.js.map +1 -1
- package/dist/node/host.d.ts +66 -1
- package/dist/node/host.d.ts.map +1 -1
- package/dist/node/host.js +571 -5
- package/dist/node/host.js.map +1 -1
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/node/node.d.ts.map +1 -1
- package/dist/node/node.js +235 -75
- package/dist/node/node.js.map +1 -1
- package/dist/node/space-runtime.d.ts +9 -0
- package/dist/node/space-runtime.d.ts.map +1 -1
- package/dist/node/space-runtime.js +125 -16
- package/dist/node/space-runtime.js.map +1 -1
- package/dist/node/stores.d.ts +44 -8
- package/dist/node/stores.d.ts.map +1 -1
- package/dist/node/stores.js +44 -7
- package/dist/node/stores.js.map +1 -1
- package/dist/node/types.d.ts +73 -6
- package/dist/node/types.d.ts.map +1 -1
- package/dist/node/usage.d.ts +54 -0
- package/dist/node/usage.d.ts.map +1 -0
- package/dist/node/usage.js +201 -0
- package/dist/node/usage.js.map +1 -0
- package/dist/node/writer-keys.d.ts +4 -1
- package/dist/node/writer-keys.d.ts.map +1 -1
- package/dist/node/writer-keys.js +25 -6
- package/dist/node/writer-keys.js.map +1 -1
- package/dist/node/writers.d.ts.map +1 -1
- package/dist/node/writers.js +10 -3
- package/dist/node/writers.js.map +1 -1
- package/dist/react/minca-auth.d.ts +3 -1
- package/dist/react/minca-auth.d.ts.map +1 -1
- package/dist/react/minca-auth.js +5 -3
- package/dist/react/minca-auth.js.map +1 -1
- package/dist/schema/version.d.ts +5 -0
- package/dist/schema/version.d.ts.map +1 -1
- package/dist/schema/version.js +1 -0
- package/dist/schema/version.js.map +1 -1
- package/dist/schemas/fragments.d.ts +23 -2
- package/dist/schemas/fragments.d.ts.map +1 -1
- package/dist/schemas/fragments.js +5 -2
- package/dist/schemas/fragments.js.map +1 -1
- package/dist/schemas/library/annotations.d.ts +24 -0
- package/dist/schemas/library/annotations.d.ts.map +1 -1
- package/dist/schemas/library/community.d.ts +24 -0
- package/dist/schemas/library/community.d.ts.map +1 -1
- package/dist/schemas/library/life.d.ts +72 -0
- package/dist/schemas/library/life.d.ts.map +1 -1
- package/dist/schemas/library/media.d.ts +144 -0
- package/dist/schemas/library/media.d.ts.map +1 -1
- package/dist/schemas/library/money.d.ts +24 -0
- package/dist/schemas/library/money.d.ts.map +1 -1
- package/dist/schemas/library/publishing.d.ts +96 -0
- package/dist/schemas/library/publishing.d.ts.map +1 -1
- package/dist/schemas/library/social.d.ts +72 -0
- package/dist/schemas/library/social.d.ts.map +1 -1
- package/dist/session/account-hint.d.ts +13 -0
- package/dist/session/account-hint.d.ts.map +1 -0
- package/dist/session/account-hint.js +51 -0
- package/dist/session/account-hint.js.map +1 -0
- package/dist/session/auth.d.ts +51 -3
- package/dist/session/auth.d.ts.map +1 -1
- package/dist/session/auth.js +262 -36
- package/dist/session/auth.js.map +1 -1
- package/dist/session/connect.d.ts.map +1 -1
- package/dist/session/connect.js +6 -2
- package/dist/session/connect.js.map +1 -1
- package/dist/session/hosting.d.ts +73 -28
- package/dist/session/hosting.d.ts.map +1 -1
- package/dist/session/hosting.js +85 -5
- package/dist/session/hosting.js.map +1 -1
- package/dist/session/index.d.ts +1 -0
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +1 -0
- package/dist/session/index.js.map +1 -1
- package/dist/session/pairing.d.ts +2 -0
- package/dist/session/pairing.d.ts.map +1 -1
- package/dist/session/pairing.js +8 -0
- package/dist/session/pairing.js.map +1 -1
- package/dist/session/places.d.ts +7 -0
- package/dist/session/places.d.ts.map +1 -1
- package/dist/session/places.js +20 -2
- package/dist/session/places.js.map +1 -1
- package/dist/space/account-registry.d.ts +13 -0
- package/dist/space/account-registry.d.ts.map +1 -1
- package/dist/space/account-registry.js +13 -0
- package/dist/space/account-registry.js.map +1 -1
- package/dist/storage/blob/directory.d.ts +14 -0
- package/dist/storage/blob/directory.d.ts.map +1 -0
- package/dist/storage/blob/directory.js +80 -0
- package/dist/storage/blob/directory.js.map +1 -0
- package/dist/storage/folder-adapter.d.ts +22 -0
- package/dist/storage/folder-adapter.d.ts.map +1 -1
- package/dist/storage/folder-adapter.js +5 -5
- package/dist/storage/folder-adapter.js.map +1 -1
- package/dist/storage/mirror.d.ts +9 -2
- package/dist/storage/mirror.d.ts.map +1 -1
- package/dist/storage/mirror.js +60 -35
- package/dist/storage/mirror.js.map +1 -1
- package/dist/storage/segment.d.ts +7 -2
- package/dist/storage/segment.d.ts.map +1 -1
- package/dist/storage/segment.js +25 -3
- package/dist/storage/segment.js.map +1 -1
- package/dist/sync/sync-engine.d.ts +2 -0
- package/dist/sync/sync-engine.d.ts.map +1 -1
- package/dist/sync/sync-engine.js +5 -0
- package/dist/sync/sync-engine.js.map +1 -1
- package/dist/sync/sync-messages.d.ts +24 -0
- package/dist/sync/sync-messages.d.ts.map +1 -1
- package/dist/sync/sync-messages.js.map +1 -1
- package/docs/node.md +63 -24
- package/docs/sign-in.md +123 -24
- package/docs/spaces.md +18 -10
- package/docs/standard-library.md +16 -20
- package/docs/storage.md +120 -15
- package/package.json +1 -1
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAkBR,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,OA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;;;;;;;;;;;YA2CC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA6CW,KAAK;;;;;4BAAc,QAAQ;;;;;4BAAY,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YASzD,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;gBAaV,YAAY;;;;;gBACZ,MAAM;;;gBACN,IAAI;;;;;;;;;YAIC,KAAK;;;;;;;;CAQf,CAAC"}
|
|
@@ -248,6 +248,16 @@ export declare const post: {
|
|
|
248
248
|
minLength?: number | undefined;
|
|
249
249
|
maxLength: number;
|
|
250
250
|
};
|
|
251
|
+
key: {
|
|
252
|
+
type: 'string';
|
|
253
|
+
minLength: number;
|
|
254
|
+
maxLength: number;
|
|
255
|
+
};
|
|
256
|
+
salt: {
|
|
257
|
+
type: 'string';
|
|
258
|
+
minLength: number;
|
|
259
|
+
maxLength: number;
|
|
260
|
+
};
|
|
251
261
|
};
|
|
252
262
|
required: readonly ["hash", "size", "mime"];
|
|
253
263
|
};
|
|
@@ -299,6 +309,8 @@ export declare const post: {
|
|
|
299
309
|
readonly size: number;
|
|
300
310
|
readonly mime: string;
|
|
301
311
|
readonly name?: string | undefined;
|
|
312
|
+
readonly key?: string | undefined;
|
|
313
|
+
readonly salt?: string | undefined;
|
|
302
314
|
};
|
|
303
315
|
readonly alt?: string | undefined;
|
|
304
316
|
}[] | undefined;
|
|
@@ -387,6 +399,16 @@ export declare const article: {
|
|
|
387
399
|
minLength?: number | undefined;
|
|
388
400
|
maxLength: number;
|
|
389
401
|
};
|
|
402
|
+
key: {
|
|
403
|
+
type: 'string';
|
|
404
|
+
minLength: number;
|
|
405
|
+
maxLength: number;
|
|
406
|
+
};
|
|
407
|
+
salt: {
|
|
408
|
+
type: 'string';
|
|
409
|
+
minLength: number;
|
|
410
|
+
maxLength: number;
|
|
411
|
+
};
|
|
390
412
|
};
|
|
391
413
|
required: readonly ["hash", "size", "mime"];
|
|
392
414
|
};
|
|
@@ -420,6 +442,8 @@ export declare const article: {
|
|
|
420
442
|
readonly size: number;
|
|
421
443
|
readonly mime: string;
|
|
422
444
|
readonly name?: string | undefined;
|
|
445
|
+
readonly key?: string | undefined;
|
|
446
|
+
readonly salt?: string | undefined;
|
|
423
447
|
} | undefined;
|
|
424
448
|
readonly slug?: string | undefined;
|
|
425
449
|
readonly publishedAt?: string | undefined;
|
|
@@ -466,6 +490,16 @@ export declare const publication: {
|
|
|
466
490
|
minLength?: number | undefined;
|
|
467
491
|
maxLength: number;
|
|
468
492
|
};
|
|
493
|
+
key: {
|
|
494
|
+
type: 'string';
|
|
495
|
+
minLength: number;
|
|
496
|
+
maxLength: number;
|
|
497
|
+
};
|
|
498
|
+
salt: {
|
|
499
|
+
type: 'string';
|
|
500
|
+
minLength: number;
|
|
501
|
+
maxLength: number;
|
|
502
|
+
};
|
|
469
503
|
};
|
|
470
504
|
required: readonly ["hash", "size", "mime"];
|
|
471
505
|
};
|
|
@@ -480,6 +514,8 @@ export declare const publication: {
|
|
|
480
514
|
readonly size: number;
|
|
481
515
|
readonly mime: string;
|
|
482
516
|
readonly name?: string | undefined;
|
|
517
|
+
readonly key?: string | undefined;
|
|
518
|
+
readonly salt?: string | undefined;
|
|
483
519
|
} | undefined;
|
|
484
520
|
}>;
|
|
485
521
|
export type Publication = BodyOf<typeof publication>;
|
|
@@ -565,6 +601,16 @@ export declare const docBlock: {
|
|
|
565
601
|
minLength?: number | undefined;
|
|
566
602
|
maxLength: number;
|
|
567
603
|
};
|
|
604
|
+
key: {
|
|
605
|
+
type: 'string';
|
|
606
|
+
minLength: number;
|
|
607
|
+
maxLength: number;
|
|
608
|
+
};
|
|
609
|
+
salt: {
|
|
610
|
+
type: 'string';
|
|
611
|
+
minLength: number;
|
|
612
|
+
maxLength: number;
|
|
613
|
+
};
|
|
568
614
|
};
|
|
569
615
|
required: readonly ["hash", "size", "mime"];
|
|
570
616
|
};
|
|
@@ -601,6 +647,8 @@ export declare const docBlock: {
|
|
|
601
647
|
readonly size: number;
|
|
602
648
|
readonly mime: string;
|
|
603
649
|
readonly name?: string | undefined;
|
|
650
|
+
readonly key?: string | undefined;
|
|
651
|
+
readonly salt?: string | undefined;
|
|
604
652
|
};
|
|
605
653
|
readonly alt?: string | undefined;
|
|
606
654
|
} | undefined;
|
|
@@ -907,6 +955,16 @@ export declare const publishingGroups: {
|
|
|
907
955
|
minLength?: number | undefined;
|
|
908
956
|
maxLength: number;
|
|
909
957
|
};
|
|
958
|
+
key: {
|
|
959
|
+
type: 'string';
|
|
960
|
+
minLength: number;
|
|
961
|
+
maxLength: number;
|
|
962
|
+
};
|
|
963
|
+
salt: {
|
|
964
|
+
type: 'string';
|
|
965
|
+
minLength: number;
|
|
966
|
+
maxLength: number;
|
|
967
|
+
};
|
|
910
968
|
};
|
|
911
969
|
required: readonly ["hash", "size", "mime"];
|
|
912
970
|
};
|
|
@@ -958,6 +1016,8 @@ export declare const publishingGroups: {
|
|
|
958
1016
|
readonly size: number;
|
|
959
1017
|
readonly mime: string;
|
|
960
1018
|
readonly name?: string | undefined;
|
|
1019
|
+
readonly key?: string | undefined;
|
|
1020
|
+
readonly salt?: string | undefined;
|
|
961
1021
|
};
|
|
962
1022
|
readonly alt?: string | undefined;
|
|
963
1023
|
}[] | undefined;
|
|
@@ -1040,6 +1100,16 @@ export declare const publishingGroups: {
|
|
|
1040
1100
|
minLength?: number | undefined;
|
|
1041
1101
|
maxLength: number;
|
|
1042
1102
|
};
|
|
1103
|
+
key: {
|
|
1104
|
+
type: 'string';
|
|
1105
|
+
minLength: number;
|
|
1106
|
+
maxLength: number;
|
|
1107
|
+
};
|
|
1108
|
+
salt: {
|
|
1109
|
+
type: 'string';
|
|
1110
|
+
minLength: number;
|
|
1111
|
+
maxLength: number;
|
|
1112
|
+
};
|
|
1043
1113
|
};
|
|
1044
1114
|
required: readonly ["hash", "size", "mime"];
|
|
1045
1115
|
};
|
|
@@ -1073,6 +1143,8 @@ export declare const publishingGroups: {
|
|
|
1073
1143
|
readonly size: number;
|
|
1074
1144
|
readonly mime: string;
|
|
1075
1145
|
readonly name?: string | undefined;
|
|
1146
|
+
readonly key?: string | undefined;
|
|
1147
|
+
readonly salt?: string | undefined;
|
|
1076
1148
|
} | undefined;
|
|
1077
1149
|
readonly slug?: string | undefined;
|
|
1078
1150
|
readonly publishedAt?: string | undefined;
|
|
@@ -1116,6 +1188,16 @@ export declare const publishingGroups: {
|
|
|
1116
1188
|
minLength?: number | undefined;
|
|
1117
1189
|
maxLength: number;
|
|
1118
1190
|
};
|
|
1191
|
+
key: {
|
|
1192
|
+
type: 'string';
|
|
1193
|
+
minLength: number;
|
|
1194
|
+
maxLength: number;
|
|
1195
|
+
};
|
|
1196
|
+
salt: {
|
|
1197
|
+
type: 'string';
|
|
1198
|
+
minLength: number;
|
|
1199
|
+
maxLength: number;
|
|
1200
|
+
};
|
|
1119
1201
|
};
|
|
1120
1202
|
required: readonly ["hash", "size", "mime"];
|
|
1121
1203
|
};
|
|
@@ -1130,6 +1212,8 @@ export declare const publishingGroups: {
|
|
|
1130
1212
|
readonly size: number;
|
|
1131
1213
|
readonly mime: string;
|
|
1132
1214
|
readonly name?: string | undefined;
|
|
1215
|
+
readonly key?: string | undefined;
|
|
1216
|
+
readonly salt?: string | undefined;
|
|
1133
1217
|
} | undefined;
|
|
1134
1218
|
}>) | ({
|
|
1135
1219
|
readonly name: "std.doc";
|
|
@@ -1206,6 +1290,16 @@ export declare const publishingGroups: {
|
|
|
1206
1290
|
minLength?: number | undefined;
|
|
1207
1291
|
maxLength: number;
|
|
1208
1292
|
};
|
|
1293
|
+
key: {
|
|
1294
|
+
type: 'string';
|
|
1295
|
+
minLength: number;
|
|
1296
|
+
maxLength: number;
|
|
1297
|
+
};
|
|
1298
|
+
salt: {
|
|
1299
|
+
type: 'string';
|
|
1300
|
+
minLength: number;
|
|
1301
|
+
maxLength: number;
|
|
1302
|
+
};
|
|
1209
1303
|
};
|
|
1210
1304
|
required: readonly ["hash", "size", "mime"];
|
|
1211
1305
|
};
|
|
@@ -1242,6 +1336,8 @@ export declare const publishingGroups: {
|
|
|
1242
1336
|
readonly size: number;
|
|
1243
1337
|
readonly mime: string;
|
|
1244
1338
|
readonly name?: string | undefined;
|
|
1339
|
+
readonly key?: string | undefined;
|
|
1340
|
+
readonly salt?: string | undefined;
|
|
1245
1341
|
};
|
|
1246
1342
|
readonly alt?: string | undefined;
|
|
1247
1343
|
} | undefined;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBlB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,OAAO,CAAC,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,iGAAiG;AACjG,eAAO,MAAM,OAAO;;;;;;;YAMF,IAAI;;;;;YAAc,KAAK;;;;;YAAa,QAAQ;;;;;;;;;;;;EAG5D,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,OAAO,CAAC,CAAC;AAE7C;;;;;;GAMG;AACH,eA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAwC3C,EAAE;YACF,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiBJ,IAAI;;;;;gBACJ,KAAK;;;;;gBACL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CZ,CAAC"}
|
|
@@ -46,6 +46,16 @@ export declare const profile: {
|
|
|
46
46
|
minLength?: number | undefined;
|
|
47
47
|
maxLength: number;
|
|
48
48
|
};
|
|
49
|
+
key: {
|
|
50
|
+
type: 'string';
|
|
51
|
+
minLength: number;
|
|
52
|
+
maxLength: number;
|
|
53
|
+
};
|
|
54
|
+
salt: {
|
|
55
|
+
type: 'string';
|
|
56
|
+
minLength: number;
|
|
57
|
+
maxLength: number;
|
|
58
|
+
};
|
|
49
59
|
};
|
|
50
60
|
required: readonly ["hash", "size", "mime"];
|
|
51
61
|
};
|
|
@@ -71,6 +81,16 @@ export declare const profile: {
|
|
|
71
81
|
minLength?: number | undefined;
|
|
72
82
|
maxLength: number;
|
|
73
83
|
};
|
|
84
|
+
key: {
|
|
85
|
+
type: 'string';
|
|
86
|
+
minLength: number;
|
|
87
|
+
maxLength: number;
|
|
88
|
+
};
|
|
89
|
+
salt: {
|
|
90
|
+
type: 'string';
|
|
91
|
+
minLength: number;
|
|
92
|
+
maxLength: number;
|
|
93
|
+
};
|
|
74
94
|
};
|
|
75
95
|
required: readonly ["hash", "size", "mime"];
|
|
76
96
|
};
|
|
@@ -116,12 +136,16 @@ export declare const profile: {
|
|
|
116
136
|
readonly size: number;
|
|
117
137
|
readonly mime: string;
|
|
118
138
|
readonly name?: string | undefined;
|
|
139
|
+
readonly key?: string | undefined;
|
|
140
|
+
readonly salt?: string | undefined;
|
|
119
141
|
} | undefined;
|
|
120
142
|
readonly banner?: {
|
|
121
143
|
readonly hash: string;
|
|
122
144
|
readonly size: number;
|
|
123
145
|
readonly mime: string;
|
|
124
146
|
readonly name?: string | undefined;
|
|
147
|
+
readonly key?: string | undefined;
|
|
148
|
+
readonly salt?: string | undefined;
|
|
125
149
|
} | undefined;
|
|
126
150
|
readonly pronouns?: string | undefined;
|
|
127
151
|
readonly links?: readonly {
|
|
@@ -287,6 +311,16 @@ export declare const card: {
|
|
|
287
311
|
minLength?: number | undefined;
|
|
288
312
|
maxLength: number;
|
|
289
313
|
};
|
|
314
|
+
key: {
|
|
315
|
+
type: 'string';
|
|
316
|
+
minLength: number;
|
|
317
|
+
maxLength: number;
|
|
318
|
+
};
|
|
319
|
+
salt: {
|
|
320
|
+
type: 'string';
|
|
321
|
+
minLength: number;
|
|
322
|
+
maxLength: number;
|
|
323
|
+
};
|
|
290
324
|
};
|
|
291
325
|
required: readonly ["hash", "size", "mime"];
|
|
292
326
|
};
|
|
@@ -338,6 +372,8 @@ export declare const card: {
|
|
|
338
372
|
readonly size: number;
|
|
339
373
|
readonly mime: string;
|
|
340
374
|
readonly name?: string | undefined;
|
|
375
|
+
readonly key?: string | undefined;
|
|
376
|
+
readonly salt?: string | undefined;
|
|
341
377
|
} | undefined;
|
|
342
378
|
readonly urls?: readonly string[] | undefined;
|
|
343
379
|
readonly note?: string | undefined;
|
|
@@ -505,6 +541,16 @@ export declare const socialGroups: {
|
|
|
505
541
|
minLength?: number | undefined;
|
|
506
542
|
maxLength: number;
|
|
507
543
|
};
|
|
544
|
+
key: {
|
|
545
|
+
type: 'string';
|
|
546
|
+
minLength: number;
|
|
547
|
+
maxLength: number;
|
|
548
|
+
};
|
|
549
|
+
salt: {
|
|
550
|
+
type: 'string';
|
|
551
|
+
minLength: number;
|
|
552
|
+
maxLength: number;
|
|
553
|
+
};
|
|
508
554
|
};
|
|
509
555
|
required: readonly ["hash", "size", "mime"];
|
|
510
556
|
};
|
|
@@ -530,6 +576,16 @@ export declare const socialGroups: {
|
|
|
530
576
|
minLength?: number | undefined;
|
|
531
577
|
maxLength: number;
|
|
532
578
|
};
|
|
579
|
+
key: {
|
|
580
|
+
type: 'string';
|
|
581
|
+
minLength: number;
|
|
582
|
+
maxLength: number;
|
|
583
|
+
};
|
|
584
|
+
salt: {
|
|
585
|
+
type: 'string';
|
|
586
|
+
minLength: number;
|
|
587
|
+
maxLength: number;
|
|
588
|
+
};
|
|
533
589
|
};
|
|
534
590
|
required: readonly ["hash", "size", "mime"];
|
|
535
591
|
};
|
|
@@ -575,12 +631,16 @@ export declare const socialGroups: {
|
|
|
575
631
|
readonly size: number;
|
|
576
632
|
readonly mime: string;
|
|
577
633
|
readonly name?: string | undefined;
|
|
634
|
+
readonly key?: string | undefined;
|
|
635
|
+
readonly salt?: string | undefined;
|
|
578
636
|
} | undefined;
|
|
579
637
|
readonly banner?: {
|
|
580
638
|
readonly hash: string;
|
|
581
639
|
readonly size: number;
|
|
582
640
|
readonly mime: string;
|
|
583
641
|
readonly name?: string | undefined;
|
|
642
|
+
readonly key?: string | undefined;
|
|
643
|
+
readonly salt?: string | undefined;
|
|
584
644
|
} | undefined;
|
|
585
645
|
readonly pronouns?: string | undefined;
|
|
586
646
|
readonly links?: readonly {
|
|
@@ -740,6 +800,16 @@ export declare const socialGroups: {
|
|
|
740
800
|
minLength?: number | undefined;
|
|
741
801
|
maxLength: number;
|
|
742
802
|
};
|
|
803
|
+
key: {
|
|
804
|
+
type: 'string';
|
|
805
|
+
minLength: number;
|
|
806
|
+
maxLength: number;
|
|
807
|
+
};
|
|
808
|
+
salt: {
|
|
809
|
+
type: 'string';
|
|
810
|
+
minLength: number;
|
|
811
|
+
maxLength: number;
|
|
812
|
+
};
|
|
743
813
|
};
|
|
744
814
|
required: readonly ["hash", "size", "mime"];
|
|
745
815
|
};
|
|
@@ -791,6 +861,8 @@ export declare const socialGroups: {
|
|
|
791
861
|
readonly size: number;
|
|
792
862
|
readonly mime: string;
|
|
793
863
|
readonly name?: string | undefined;
|
|
864
|
+
readonly key?: string | undefined;
|
|
865
|
+
readonly salt?: string | undefined;
|
|
794
866
|
} | undefined;
|
|
795
867
|
readonly urls?: readonly string[] | undefined;
|
|
796
868
|
readonly note?: string | undefined;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAiBI,KAAK;;;;;wBAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ3C,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,OAAO,CAAC,CAAC;AAY7C;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;oBASK,IAAI;;;;;oBAAa,KAAK;;;;;oBAAa,MAAM;;;;;;;;sBAtBvD,OAAO;;;0BAGL,QAAQ;;;;;;;;;;;;;;;;;;sBAHV,OAAO;;;0BAGL,QAAQ;;;;;;;;;;;;;;;;;;sBAHV,OAAO;;;0BAGL,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgChB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,4EAA4E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;;;;;;;;;;;;;;;;;;;;;;;;gBA0CA,GAAG;;;;;gBAA6B,KAAK;;;;;;;;;;;;;;;;;;;;;;gBAenC,GAAG;;;;;gBAAY,KAAK;;;;;;;;;;;;;;;;;;;;;gBAuBtB,IAAI;;;;;gBAAa,KAAK;;;;;gBAAY,KAAK;;;;;;;;;;;;;;;CASxD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The address of the account page beside the home's connect page, saying
|
|
3
|
+
* which account the app acts for.
|
|
4
|
+
* @param home The home's address, as the connection remembers it
|
|
5
|
+
* @param did The account the app acts for
|
|
6
|
+
* @param section A part of the page to open at, such as `notifications`
|
|
7
|
+
*/
|
|
8
|
+
export declare function accountHomeLink(home: string, did: string, section?: string): string;
|
|
9
|
+
/** The account this page was opened for, if the link said and it is a DID at all */
|
|
10
|
+
export declare function readAccountHint(): string | null;
|
|
11
|
+
/** Takes the hint out of the address, leaving any section, so a refresh or a shared link does not carry it */
|
|
12
|
+
export declare function clearAccountHint(): void;
|
|
13
|
+
//# sourceMappingURL=account-hint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-hint.d.ts","sourceRoot":"","sources":["../../src/session/account-hint.ts"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAKnF;AAED,oFAAoF;AACpF,wBAAgB,eAAe,IAAI,MAAM,GAAG,IAAI,CAc/C;AAED,8GAA8G;AAC9G,wBAAgB,gBAAgB,IAAI,IAAI,CAKvC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module session/account-hint
|
|
3
|
+
* Which account an app acts for, when it opens the person's account home:
|
|
4
|
+
* `#account=<did>` on the home's address. In the fragment, so the server that
|
|
5
|
+
* serves the home never sees it.
|
|
6
|
+
*
|
|
7
|
+
* Only a hint. Any page can open the home with any DID, so the home shows
|
|
8
|
+
* which account was asked for and lets the person choose; it never signs out
|
|
9
|
+
* or switches on a hint alone.
|
|
10
|
+
*/
|
|
11
|
+
import { P256_MULTICODEC, didToPublicKey } from '../identity/did.js';
|
|
12
|
+
const HINT = /[#&]account=([^&]+)/;
|
|
13
|
+
/**
|
|
14
|
+
* The address of the account page beside the home's connect page, saying
|
|
15
|
+
* which account the app acts for.
|
|
16
|
+
* @param home The home's address, as the connection remembers it
|
|
17
|
+
* @param did The account the app acts for
|
|
18
|
+
* @param section A part of the page to open at, such as `notifications`
|
|
19
|
+
*/
|
|
20
|
+
export function accountHomeLink(home, did, section) {
|
|
21
|
+
const url = new URL('.', home);
|
|
22
|
+
const hint = `account=${encodeURIComponent(did)}`;
|
|
23
|
+
url.hash = section ? `${section}&${hint}` : hint;
|
|
24
|
+
return url.href;
|
|
25
|
+
}
|
|
26
|
+
/** The account this page was opened for, if the link said and it is a DID at all */
|
|
27
|
+
export function readAccountHint() {
|
|
28
|
+
const match = HINT.exec(globalThis.location?.hash ?? '');
|
|
29
|
+
if (!match?.[1])
|
|
30
|
+
return null;
|
|
31
|
+
try {
|
|
32
|
+
const did = decodeURIComponent(match[1]);
|
|
33
|
+
// An account is a compressed P-256 key; `didToPublicKey` alone does not check which kind.
|
|
34
|
+
const { publicKeyBytes, multicodecPrefix } = didToPublicKey(did);
|
|
35
|
+
const p256 = multicodecPrefix.length === P256_MULTICODEC.length &&
|
|
36
|
+
multicodecPrefix.every((byte, at) => byte === P256_MULTICODEC[at]);
|
|
37
|
+
return p256 && publicKeyBytes.length === 33 ? did : null;
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Takes the hint out of the address, leaving any section, so a refresh or a shared link does not carry it */
|
|
44
|
+
export function clearAccountHint() {
|
|
45
|
+
const { location, history } = globalThis;
|
|
46
|
+
if (!location || !history || !HINT.test(location.hash))
|
|
47
|
+
return;
|
|
48
|
+
const rest = location.hash.replace(HINT, '').replace(/^#?&?/, '');
|
|
49
|
+
history.replaceState(null, '', location.pathname + location.search + (rest ? `#${rest}` : ''));
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=account-hint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-hint.js","sourceRoot":"","sources":["../../src/session/account-hint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAErE,MAAM,IAAI,GAAG,qBAAqB,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY,EAAE,GAAW,EAAE,OAAgB;IACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IAC/B,MAAM,IAAI,GAAG,WAAW,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC;IAClD,GAAG,CAAC,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,OAAO,GAAG,CAAC,IAAI,CAAC;AAClB,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,eAAe;IAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzD,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IAC7B,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACzC,0FAA0F;QAC1F,MAAM,EAAE,cAAc,EAAE,gBAAgB,EAAE,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;QACjE,MAAM,IAAI,GACR,gBAAgB,CAAC,MAAM,KAAK,eAAe,CAAC,MAAM;YAClD,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC;QACrE,OAAO,IAAI,IAAI,cAAc,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,8GAA8G;AAC9G,MAAM,UAAU,gBAAgB;IAC9B,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC;IACzC,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO;IAC/D,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IAClE,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACjG,CAAC"}
|
package/dist/session/auth.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { type ProtocolErrorCode } from '../utils/errors.js';
|
|
|
8
8
|
import { type Place, type PodContents } from './places.js';
|
|
9
9
|
import { type KeyValueStore, type StaySignedIn } from './stay-signed-in.js';
|
|
10
10
|
import { type CarryGrant, type ConnectRequest, type Grant, type ProposeRequest, type Proposed } from './connect.js';
|
|
11
|
+
import type { PeerTransport } from '../network/transport.js';
|
|
11
12
|
import { type PairingOffer, type PairingStage } from './pairing.js';
|
|
12
13
|
export interface MincaAuthConfig {
|
|
13
14
|
/** What passkey prompts call this app. Default "Minca". */
|
|
@@ -22,6 +23,8 @@ export interface MincaAuthConfig {
|
|
|
22
23
|
readonly storageKey?: string;
|
|
23
24
|
/** The page a phone-pairing QR opens. Default: this page. */
|
|
24
25
|
readonly pairingLink?: string;
|
|
26
|
+
/** How the two sides of a pairing reach each other, given a throwaway DID. Default: the relay. For tests, or a host with its own. */
|
|
27
|
+
readonly pairingTransport?: (did: string) => PeerTransport;
|
|
25
28
|
/** How long signing out waits, at most, for a peer to take its revokes in. Default 5 s. */
|
|
26
29
|
readonly signOutGraceMs?: number;
|
|
27
30
|
/**
|
|
@@ -172,6 +175,14 @@ export interface AuthState {
|
|
|
172
175
|
/** The phone-pairing link this page was opened with */
|
|
173
176
|
readonly pairing: PairingTicket | null;
|
|
174
177
|
readonly pairingStage: PairingStage | null;
|
|
178
|
+
/**
|
|
179
|
+
* The account a pairing brought to a device signed in to another, waiting
|
|
180
|
+
* for the person: `account` is set when this place already keeps it.
|
|
181
|
+
*/
|
|
182
|
+
readonly pairingArrival: {
|
|
183
|
+
readonly did: string;
|
|
184
|
+
readonly account: AccountSummary | null;
|
|
185
|
+
} | null;
|
|
175
186
|
/** A pod picked while signed in, waiting on what should happen to the data */
|
|
176
187
|
readonly podChoice: {
|
|
177
188
|
readonly pod: Place;
|
|
@@ -179,6 +190,13 @@ export interface AuthState {
|
|
|
179
190
|
readonly from: Place;
|
|
180
191
|
} | null;
|
|
181
192
|
readonly moved: MovedToPod | null;
|
|
193
|
+
/** Signing out now: `starting` is this, not a look for accounts */
|
|
194
|
+
readonly signingOut: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* The pod this site used last, by name, when the browser wants a click
|
|
197
|
+
* before opening it again: `reopenPod` from that click.
|
|
198
|
+
*/
|
|
199
|
+
readonly podToReopen: string | null;
|
|
182
200
|
}
|
|
183
201
|
export interface MincaAuth {
|
|
184
202
|
getState(): AuthState;
|
|
@@ -186,6 +204,8 @@ export interface MincaAuth {
|
|
|
186
204
|
subscribe(listener: (state: AuthState) => void): () => void;
|
|
187
205
|
/** Looks for accounts and resumes a kept sign-in. Safe to call more than once. */
|
|
188
206
|
start(): Promise<void>;
|
|
207
|
+
/** Opens again the pod named in `podToReopen`, signed in if it was kept so. Needs a click. */
|
|
208
|
+
reopenPod(): Promise<void>;
|
|
189
209
|
/** Opens a pod. Needs a click. Signed in, it asks what should happen to the data first (`podChoice`). */
|
|
190
210
|
choosePod(): Promise<void>;
|
|
191
211
|
/** Keeps accounts in this browser, and stops using a pod if one was open */
|
|
@@ -209,13 +229,20 @@ export interface MincaAuth {
|
|
|
209
229
|
codeSaved(): void;
|
|
210
230
|
/** Leaves the optional `pod` step with the data in this browser */
|
|
211
231
|
finishSetup(): void;
|
|
232
|
+
/**
|
|
233
|
+
* Meets the computer the pairing link names. Signed in to another account,
|
|
234
|
+
* it stops once the account arrives and sets `pairingArrival`: answer with
|
|
235
|
+
* `answerPairing`.
|
|
236
|
+
*/
|
|
212
237
|
acceptPairing(): Promise<void>;
|
|
238
|
+
/** Takes the account a pairing brought (added, or switched to if already here), or lets it go */
|
|
239
|
+
answerPairing(take: boolean): Promise<void>;
|
|
213
240
|
dismissPairing(): void;
|
|
214
241
|
clearError(): void;
|
|
215
242
|
rename(name: string): Promise<boolean>;
|
|
216
|
-
/** Adds a passkey for this site. During setup, moves the flow on. */
|
|
243
|
+
/** Adds a passkey for this site. During setup, moves the flow on; otherwise needs `confirm` first. */
|
|
217
244
|
addPasskey(): Promise<boolean>;
|
|
218
|
-
/** Sets or replaces the account's password. During setup, moves the flow on. */
|
|
245
|
+
/** Sets or replaces the account's password. During setup, moves the flow on; otherwise needs `confirm` first. */
|
|
219
246
|
setPassword(password: string): Promise<boolean>;
|
|
220
247
|
removeShortcut(kind: 'passkey' | 'passphrase'): Promise<boolean>;
|
|
221
248
|
confirmPod(how: 'combine' | 'switch'): Promise<void>;
|
|
@@ -223,7 +250,28 @@ export interface MincaAuth {
|
|
|
223
250
|
/** Removes the copy this browser kept after a move into a pod */
|
|
224
251
|
forgetBrowserCopy(): Promise<void>;
|
|
225
252
|
dismissMoved(): void;
|
|
226
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* Asks the person to prove it is them, with the account's password, a
|
|
255
|
+
* passkey on this device or the recovery code, even though they are signed
|
|
256
|
+
* in: a page left open, or a sign-in kept for days, is no proof anyone is
|
|
257
|
+
* there. For a few minutes after, the recovery code can be read and the
|
|
258
|
+
* account offered to a phone. A wrong answer sets `error`.
|
|
259
|
+
*/
|
|
260
|
+
confirm(proof: {
|
|
261
|
+
readonly password: string;
|
|
262
|
+
} | {
|
|
263
|
+
readonly passkey: true;
|
|
264
|
+
} | {
|
|
265
|
+
readonly code: string;
|
|
266
|
+
}): Promise<boolean>;
|
|
267
|
+
/** Whether `confirm` succeeded in the last few minutes */
|
|
268
|
+
isConfirmed(): boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Whether `grant` and `grantCarry` may run now: `isConfirmed`, or a sign-in
|
|
271
|
+
* with a password, passkey or the recovery code in the last few minutes.
|
|
272
|
+
*/
|
|
273
|
+
mayGrant(): boolean;
|
|
274
|
+
/** The recovery code of the open account, for a few minutes after `confirm`. Null otherwise. */
|
|
227
275
|
recoveryCode(): string | null;
|
|
228
276
|
/** Starts offering this account to a phone */
|
|
229
277
|
offerToPhone(onStage: (stage: PairingStage) => void): Promise<PairingOffer>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/session/auth.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,EAUL,KAAK,YAAY,EACjB,KAAK,UAAU,EAEhB,MAAM,8BAA8B,CAAC;AAetC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAiB,KAAK,UAAU,EAAE,MA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