@domino-sdk/relay 0.25.0 → 0.26.0
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/browser.d.ts +182 -182
- package/dist/index.d.ts +391 -391
- package/package.json +1 -1
package/dist/browser.d.ts
CHANGED
|
@@ -390,7 +390,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
390
390
|
seed: string;
|
|
391
391
|
} | {
|
|
392
392
|
source: "account";
|
|
393
|
-
provider: "
|
|
393
|
+
provider: "x" | "discord" | "google";
|
|
394
394
|
url: string;
|
|
395
395
|
seed: string;
|
|
396
396
|
} | {
|
|
@@ -414,7 +414,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
414
414
|
seed: string;
|
|
415
415
|
} | {
|
|
416
416
|
source: "account";
|
|
417
|
-
provider: "
|
|
417
|
+
provider: "x" | "discord" | "google";
|
|
418
418
|
url: string;
|
|
419
419
|
seed: string;
|
|
420
420
|
} | {
|
|
@@ -438,7 +438,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
438
438
|
seed: string;
|
|
439
439
|
} | {
|
|
440
440
|
source: "account";
|
|
441
|
-
provider: "
|
|
441
|
+
provider: "x" | "discord" | "google";
|
|
442
442
|
url: string;
|
|
443
443
|
seed: string;
|
|
444
444
|
} | {
|
|
@@ -461,7 +461,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
461
461
|
seed: string;
|
|
462
462
|
} | {
|
|
463
463
|
source: "account";
|
|
464
|
-
provider: "
|
|
464
|
+
provider: "x" | "discord" | "google";
|
|
465
465
|
url: string;
|
|
466
466
|
seed: string;
|
|
467
467
|
} | {
|
|
@@ -470,12 +470,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
470
470
|
};
|
|
471
471
|
displayName: string | null;
|
|
472
472
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
473
|
-
avatarProvider: "
|
|
473
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
474
474
|
hidden: boolean;
|
|
475
475
|
locked: boolean;
|
|
476
|
-
visibility: "
|
|
476
|
+
visibility: "private" | "participants" | "public";
|
|
477
477
|
options: {
|
|
478
|
-
provider: "
|
|
478
|
+
provider: "x" | "discord" | "google";
|
|
479
479
|
name: string | null;
|
|
480
480
|
imageUrl: string | null;
|
|
481
481
|
}[];
|
|
@@ -491,7 +491,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
491
491
|
seed: string;
|
|
492
492
|
} | {
|
|
493
493
|
source: "account";
|
|
494
|
-
provider: "
|
|
494
|
+
provider: "x" | "discord" | "google";
|
|
495
495
|
url: string;
|
|
496
496
|
seed: string;
|
|
497
497
|
} | {
|
|
@@ -500,12 +500,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
500
500
|
};
|
|
501
501
|
displayName: string | null;
|
|
502
502
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
503
|
-
avatarProvider: "
|
|
503
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
504
504
|
hidden: boolean;
|
|
505
505
|
locked: boolean;
|
|
506
|
-
visibility: "
|
|
506
|
+
visibility: "private" | "participants" | "public";
|
|
507
507
|
options: {
|
|
508
|
-
provider: "
|
|
508
|
+
provider: "x" | "discord" | "google";
|
|
509
509
|
name: string | null;
|
|
510
510
|
imageUrl: string | null;
|
|
511
511
|
}[];
|
|
@@ -522,7 +522,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
522
522
|
seed: string;
|
|
523
523
|
} | {
|
|
524
524
|
source: "account";
|
|
525
|
-
provider: "
|
|
525
|
+
provider: "x" | "discord" | "google";
|
|
526
526
|
url: string;
|
|
527
527
|
seed: string;
|
|
528
528
|
} | {
|
|
@@ -531,12 +531,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
531
531
|
};
|
|
532
532
|
displayName: string | null;
|
|
533
533
|
avatarChoice: "default" | "account" | "generated" | "upload";
|
|
534
|
-
avatarProvider: "
|
|
534
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
535
535
|
hidden: boolean;
|
|
536
536
|
locked: boolean;
|
|
537
|
-
visibility: "
|
|
537
|
+
visibility: "private" | "participants" | "public";
|
|
538
538
|
options: {
|
|
539
|
-
provider: "
|
|
539
|
+
provider: "x" | "discord" | "google";
|
|
540
540
|
name: string | null;
|
|
541
541
|
imageUrl: string | null;
|
|
542
542
|
}[];
|
|
@@ -550,7 +550,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
550
550
|
seed: string;
|
|
551
551
|
} | {
|
|
552
552
|
source: "account";
|
|
553
|
-
provider: "
|
|
553
|
+
provider: "x" | "discord" | "google";
|
|
554
554
|
url: string;
|
|
555
555
|
seed: string;
|
|
556
556
|
} | {
|
|
@@ -613,7 +613,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
613
613
|
} | undefined;
|
|
614
614
|
} | undefined;
|
|
615
615
|
};
|
|
616
|
-
connections: ("
|
|
616
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
617
617
|
trigger: {
|
|
618
618
|
kind: "automatic";
|
|
619
619
|
observation?: {
|
|
@@ -626,7 +626,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
626
626
|
start: number;
|
|
627
627
|
end?: number | undefined;
|
|
628
628
|
};
|
|
629
|
-
enrollment: "
|
|
629
|
+
enrollment: "none" | "required";
|
|
630
630
|
posts: "after-enrollment" | "since-start";
|
|
631
631
|
historical: "staff" | "automatic" | "claim";
|
|
632
632
|
} | undefined;
|
|
@@ -654,12 +654,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
654
654
|
actor?: "member" | "staff" | undefined;
|
|
655
655
|
} | {
|
|
656
656
|
kind: "manual";
|
|
657
|
-
input: "
|
|
657
|
+
input: "none" | "quiz" | "photo";
|
|
658
658
|
actor?: "member" | "staff" | undefined;
|
|
659
659
|
};
|
|
660
660
|
availability: {
|
|
661
661
|
kind: "available";
|
|
662
|
-
input: "
|
|
662
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
663
663
|
} | {
|
|
664
664
|
kind: "completed";
|
|
665
665
|
} | {
|
|
@@ -708,7 +708,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
708
708
|
quest: string;
|
|
709
709
|
member: string;
|
|
710
710
|
evidence: string | null;
|
|
711
|
-
status: "
|
|
711
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
712
712
|
reason: string | null;
|
|
713
713
|
retries: number;
|
|
714
714
|
generation: number;
|
|
@@ -742,22 +742,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
742
742
|
})[] | null;
|
|
743
743
|
createdAt: number;
|
|
744
744
|
input?: {
|
|
745
|
-
kind: "quiz";
|
|
746
|
-
answers: {
|
|
747
|
-
[k: string]: string;
|
|
748
|
-
};
|
|
749
|
-
release?: string | undefined;
|
|
750
|
-
} | {
|
|
751
745
|
kind: "text";
|
|
752
746
|
value: string;
|
|
753
747
|
} | {
|
|
754
748
|
kind: "url";
|
|
755
749
|
value: string;
|
|
750
|
+
} | {
|
|
751
|
+
kind: "quiz";
|
|
752
|
+
answers: {
|
|
753
|
+
[k: string]: string;
|
|
754
|
+
};
|
|
755
|
+
release?: string | undefined;
|
|
756
756
|
} | undefined;
|
|
757
757
|
} | null;
|
|
758
758
|
release: string;
|
|
759
|
-
interaction: "staff" | "
|
|
760
|
-
lifecycle: "
|
|
759
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
760
|
+
lifecycle: "paused" | "active" | "archived";
|
|
761
761
|
rewards: ({
|
|
762
762
|
kind: "points";
|
|
763
763
|
label: string;
|
|
@@ -818,7 +818,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
818
818
|
quest: string;
|
|
819
819
|
member: string;
|
|
820
820
|
evidence: string | null;
|
|
821
|
-
status: "
|
|
821
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
822
822
|
reason: string | null;
|
|
823
823
|
retries: number;
|
|
824
824
|
generation: number;
|
|
@@ -852,17 +852,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
852
852
|
})[] | null;
|
|
853
853
|
createdAt: number;
|
|
854
854
|
input?: {
|
|
855
|
-
kind: "quiz";
|
|
856
|
-
answers: {
|
|
857
|
-
[k: string]: string;
|
|
858
|
-
};
|
|
859
|
-
release?: string | undefined;
|
|
860
|
-
} | {
|
|
861
855
|
kind: "text";
|
|
862
856
|
value: string;
|
|
863
857
|
} | {
|
|
864
858
|
kind: "url";
|
|
865
859
|
value: string;
|
|
860
|
+
} | {
|
|
861
|
+
kind: "quiz";
|
|
862
|
+
answers: {
|
|
863
|
+
[k: string]: string;
|
|
864
|
+
};
|
|
865
|
+
release?: string | undefined;
|
|
866
866
|
} | undefined;
|
|
867
867
|
}>;
|
|
868
868
|
experience: () => Promise<{
|
|
@@ -890,7 +890,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
890
890
|
} | undefined;
|
|
891
891
|
} | undefined;
|
|
892
892
|
};
|
|
893
|
-
connections: ("
|
|
893
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
894
894
|
trigger: {
|
|
895
895
|
kind: "automatic";
|
|
896
896
|
observation?: {
|
|
@@ -903,7 +903,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
903
903
|
start: number;
|
|
904
904
|
end?: number | undefined;
|
|
905
905
|
};
|
|
906
|
-
enrollment: "
|
|
906
|
+
enrollment: "none" | "required";
|
|
907
907
|
posts: "after-enrollment" | "since-start";
|
|
908
908
|
historical: "staff" | "automatic" | "claim";
|
|
909
909
|
} | undefined;
|
|
@@ -931,12 +931,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
931
931
|
actor?: "member" | "staff" | undefined;
|
|
932
932
|
} | {
|
|
933
933
|
kind: "manual";
|
|
934
|
-
input: "
|
|
934
|
+
input: "none" | "quiz" | "photo";
|
|
935
935
|
actor?: "member" | "staff" | undefined;
|
|
936
936
|
};
|
|
937
937
|
availability: {
|
|
938
938
|
kind: "available";
|
|
939
|
-
input: "
|
|
939
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
940
940
|
} | {
|
|
941
941
|
kind: "completed";
|
|
942
942
|
} | {
|
|
@@ -985,7 +985,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
985
985
|
quest: string;
|
|
986
986
|
member: string;
|
|
987
987
|
evidence: string | null;
|
|
988
|
-
status: "
|
|
988
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
989
989
|
reason: string | null;
|
|
990
990
|
retries: number;
|
|
991
991
|
generation: number;
|
|
@@ -1019,22 +1019,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1019
1019
|
})[] | null;
|
|
1020
1020
|
createdAt: number;
|
|
1021
1021
|
input?: {
|
|
1022
|
-
kind: "quiz";
|
|
1023
|
-
answers: {
|
|
1024
|
-
[k: string]: string;
|
|
1025
|
-
};
|
|
1026
|
-
release?: string | undefined;
|
|
1027
|
-
} | {
|
|
1028
1022
|
kind: "text";
|
|
1029
1023
|
value: string;
|
|
1030
1024
|
} | {
|
|
1031
1025
|
kind: "url";
|
|
1032
1026
|
value: string;
|
|
1027
|
+
} | {
|
|
1028
|
+
kind: "quiz";
|
|
1029
|
+
answers: {
|
|
1030
|
+
[k: string]: string;
|
|
1031
|
+
};
|
|
1032
|
+
release?: string | undefined;
|
|
1033
1033
|
} | undefined;
|
|
1034
1034
|
} | null;
|
|
1035
1035
|
release: string;
|
|
1036
|
-
interaction: "staff" | "
|
|
1037
|
-
lifecycle: "
|
|
1036
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
1037
|
+
lifecycle: "paused" | "active" | "archived";
|
|
1038
1038
|
rewards: ({
|
|
1039
1039
|
kind: "points";
|
|
1040
1040
|
label: string;
|
|
@@ -1115,7 +1115,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1115
1115
|
} | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
};
|
|
1118
|
-
connections: ("
|
|
1118
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
1119
1119
|
trigger: {
|
|
1120
1120
|
kind: "automatic";
|
|
1121
1121
|
observation?: {
|
|
@@ -1128,7 +1128,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1128
1128
|
start: number;
|
|
1129
1129
|
end?: number | undefined;
|
|
1130
1130
|
};
|
|
1131
|
-
enrollment: "
|
|
1131
|
+
enrollment: "none" | "required";
|
|
1132
1132
|
posts: "after-enrollment" | "since-start";
|
|
1133
1133
|
historical: "staff" | "automatic" | "claim";
|
|
1134
1134
|
} | undefined;
|
|
@@ -1156,12 +1156,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1156
1156
|
actor?: "member" | "staff" | undefined;
|
|
1157
1157
|
} | {
|
|
1158
1158
|
kind: "manual";
|
|
1159
|
-
input: "
|
|
1159
|
+
input: "none" | "quiz" | "photo";
|
|
1160
1160
|
actor?: "member" | "staff" | undefined;
|
|
1161
1161
|
};
|
|
1162
1162
|
availability: {
|
|
1163
1163
|
kind: "available";
|
|
1164
|
-
input: "
|
|
1164
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
1165
1165
|
} | {
|
|
1166
1166
|
kind: "completed";
|
|
1167
1167
|
} | {
|
|
@@ -1210,7 +1210,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1210
1210
|
quest: string;
|
|
1211
1211
|
member: string;
|
|
1212
1212
|
evidence: string | null;
|
|
1213
|
-
status: "
|
|
1213
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
1214
1214
|
reason: string | null;
|
|
1215
1215
|
retries: number;
|
|
1216
1216
|
generation: number;
|
|
@@ -1244,22 +1244,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1244
1244
|
})[] | null;
|
|
1245
1245
|
createdAt: number;
|
|
1246
1246
|
input?: {
|
|
1247
|
-
kind: "quiz";
|
|
1248
|
-
answers: {
|
|
1249
|
-
[k: string]: string;
|
|
1250
|
-
};
|
|
1251
|
-
release?: string | undefined;
|
|
1252
|
-
} | {
|
|
1253
1247
|
kind: "text";
|
|
1254
1248
|
value: string;
|
|
1255
1249
|
} | {
|
|
1256
1250
|
kind: "url";
|
|
1257
1251
|
value: string;
|
|
1252
|
+
} | {
|
|
1253
|
+
kind: "quiz";
|
|
1254
|
+
answers: {
|
|
1255
|
+
[k: string]: string;
|
|
1256
|
+
};
|
|
1257
|
+
release?: string | undefined;
|
|
1258
1258
|
} | undefined;
|
|
1259
1259
|
} | null;
|
|
1260
1260
|
release: string;
|
|
1261
|
-
interaction: "staff" | "
|
|
1262
|
-
lifecycle: "
|
|
1261
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
1262
|
+
lifecycle: "paused" | "active" | "archived";
|
|
1263
1263
|
rewards: ({
|
|
1264
1264
|
kind: "points";
|
|
1265
1265
|
label: string;
|
|
@@ -1343,7 +1343,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1343
1343
|
} | undefined;
|
|
1344
1344
|
} | undefined;
|
|
1345
1345
|
};
|
|
1346
|
-
connections: ("
|
|
1346
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
1347
1347
|
trigger: {
|
|
1348
1348
|
kind: "automatic";
|
|
1349
1349
|
observation?: {
|
|
@@ -1356,7 +1356,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1356
1356
|
start: number;
|
|
1357
1357
|
end?: number | undefined;
|
|
1358
1358
|
};
|
|
1359
|
-
enrollment: "
|
|
1359
|
+
enrollment: "none" | "required";
|
|
1360
1360
|
posts: "after-enrollment" | "since-start";
|
|
1361
1361
|
historical: "staff" | "automatic" | "claim";
|
|
1362
1362
|
} | undefined;
|
|
@@ -1384,12 +1384,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1384
1384
|
actor?: "member" | "staff" | undefined;
|
|
1385
1385
|
} | {
|
|
1386
1386
|
kind: "manual";
|
|
1387
|
-
input: "
|
|
1387
|
+
input: "none" | "quiz" | "photo";
|
|
1388
1388
|
actor?: "member" | "staff" | undefined;
|
|
1389
1389
|
};
|
|
1390
1390
|
availability: {
|
|
1391
1391
|
kind: "available";
|
|
1392
|
-
input: "
|
|
1392
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
1393
1393
|
} | {
|
|
1394
1394
|
kind: "completed";
|
|
1395
1395
|
} | {
|
|
@@ -1438,7 +1438,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1438
1438
|
quest: string;
|
|
1439
1439
|
member: string;
|
|
1440
1440
|
evidence: string | null;
|
|
1441
|
-
status: "
|
|
1441
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
1442
1442
|
reason: string | null;
|
|
1443
1443
|
retries: number;
|
|
1444
1444
|
generation: number;
|
|
@@ -1472,22 +1472,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1472
1472
|
})[] | null;
|
|
1473
1473
|
createdAt: number;
|
|
1474
1474
|
input?: {
|
|
1475
|
-
kind: "quiz";
|
|
1476
|
-
answers: {
|
|
1477
|
-
[k: string]: string;
|
|
1478
|
-
};
|
|
1479
|
-
release?: string | undefined;
|
|
1480
|
-
} | {
|
|
1481
1475
|
kind: "text";
|
|
1482
1476
|
value: string;
|
|
1483
1477
|
} | {
|
|
1484
1478
|
kind: "url";
|
|
1485
1479
|
value: string;
|
|
1480
|
+
} | {
|
|
1481
|
+
kind: "quiz";
|
|
1482
|
+
answers: {
|
|
1483
|
+
[k: string]: string;
|
|
1484
|
+
};
|
|
1485
|
+
release?: string | undefined;
|
|
1486
1486
|
} | undefined;
|
|
1487
1487
|
} | null;
|
|
1488
1488
|
release: string;
|
|
1489
|
-
interaction: "staff" | "
|
|
1490
|
-
lifecycle: "
|
|
1489
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
1490
|
+
lifecycle: "paused" | "active" | "archived";
|
|
1491
1491
|
rewards: ({
|
|
1492
1492
|
kind: "points";
|
|
1493
1493
|
label: string;
|
|
@@ -1612,7 +1612,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1612
1612
|
auth: {
|
|
1613
1613
|
providers: () => Promise<{
|
|
1614
1614
|
providers: {
|
|
1615
|
-
provider: "
|
|
1615
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
1616
1616
|
configured: boolean;
|
|
1617
1617
|
}[];
|
|
1618
1618
|
email: boolean;
|
|
@@ -1688,7 +1688,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1688
1688
|
}>;
|
|
1689
1689
|
};
|
|
1690
1690
|
accounts: () => Promise<{
|
|
1691
|
-
provider: "
|
|
1691
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
1692
1692
|
configured: boolean;
|
|
1693
1693
|
status: "disconnected" | "connected" | "reconnect";
|
|
1694
1694
|
subject: string | null;
|
|
@@ -1789,7 +1789,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1789
1789
|
quest: string;
|
|
1790
1790
|
member: string;
|
|
1791
1791
|
evidence: string | null;
|
|
1792
|
-
status: "
|
|
1792
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
1793
1793
|
reason: string | null;
|
|
1794
1794
|
retries: number;
|
|
1795
1795
|
generation: number;
|
|
@@ -1823,17 +1823,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1823
1823
|
})[] | null;
|
|
1824
1824
|
createdAt: number;
|
|
1825
1825
|
input?: {
|
|
1826
|
-
kind: "quiz";
|
|
1827
|
-
answers: {
|
|
1828
|
-
[k: string]: string;
|
|
1829
|
-
};
|
|
1830
|
-
release?: string | undefined;
|
|
1831
|
-
} | {
|
|
1832
1826
|
kind: "text";
|
|
1833
1827
|
value: string;
|
|
1834
1828
|
} | {
|
|
1835
1829
|
kind: "url";
|
|
1836
1830
|
value: string;
|
|
1831
|
+
} | {
|
|
1832
|
+
kind: "quiz";
|
|
1833
|
+
answers: {
|
|
1834
|
+
[k: string]: string;
|
|
1835
|
+
};
|
|
1836
|
+
release?: string | undefined;
|
|
1837
1837
|
} | undefined;
|
|
1838
1838
|
}>;
|
|
1839
1839
|
progress: () => Promise<{
|
|
@@ -1861,7 +1861,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1861
1861
|
} | undefined;
|
|
1862
1862
|
} | undefined;
|
|
1863
1863
|
};
|
|
1864
|
-
connections: ("
|
|
1864
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
1865
1865
|
trigger: {
|
|
1866
1866
|
kind: "automatic";
|
|
1867
1867
|
observation?: {
|
|
@@ -1874,7 +1874,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1874
1874
|
start: number;
|
|
1875
1875
|
end?: number | undefined;
|
|
1876
1876
|
};
|
|
1877
|
-
enrollment: "
|
|
1877
|
+
enrollment: "none" | "required";
|
|
1878
1878
|
posts: "after-enrollment" | "since-start";
|
|
1879
1879
|
historical: "staff" | "automatic" | "claim";
|
|
1880
1880
|
} | undefined;
|
|
@@ -1902,12 +1902,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1902
1902
|
actor?: "member" | "staff" | undefined;
|
|
1903
1903
|
} | {
|
|
1904
1904
|
kind: "manual";
|
|
1905
|
-
input: "
|
|
1905
|
+
input: "none" | "quiz" | "photo";
|
|
1906
1906
|
actor?: "member" | "staff" | undefined;
|
|
1907
1907
|
};
|
|
1908
1908
|
availability: {
|
|
1909
1909
|
kind: "available";
|
|
1910
|
-
input: "
|
|
1910
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
1911
1911
|
} | {
|
|
1912
1912
|
kind: "completed";
|
|
1913
1913
|
} | {
|
|
@@ -1956,7 +1956,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1956
1956
|
quest: string;
|
|
1957
1957
|
member: string;
|
|
1958
1958
|
evidence: string | null;
|
|
1959
|
-
status: "
|
|
1959
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
1960
1960
|
reason: string | null;
|
|
1961
1961
|
retries: number;
|
|
1962
1962
|
generation: number;
|
|
@@ -1990,17 +1990,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1990
1990
|
})[] | null;
|
|
1991
1991
|
createdAt: number;
|
|
1992
1992
|
input?: {
|
|
1993
|
-
kind: "quiz";
|
|
1994
|
-
answers: {
|
|
1995
|
-
[k: string]: string;
|
|
1996
|
-
};
|
|
1997
|
-
release?: string | undefined;
|
|
1998
|
-
} | {
|
|
1999
1993
|
kind: "text";
|
|
2000
1994
|
value: string;
|
|
2001
1995
|
} | {
|
|
2002
1996
|
kind: "url";
|
|
2003
1997
|
value: string;
|
|
1998
|
+
} | {
|
|
1999
|
+
kind: "quiz";
|
|
2000
|
+
answers: {
|
|
2001
|
+
[k: string]: string;
|
|
2002
|
+
};
|
|
2003
|
+
release?: string | undefined;
|
|
2004
2004
|
} | undefined;
|
|
2005
2005
|
} | null;
|
|
2006
2006
|
key?: string | undefined;
|
|
@@ -2123,7 +2123,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2123
2123
|
provider: "discord";
|
|
2124
2124
|
action: "grant-role";
|
|
2125
2125
|
roleId: string;
|
|
2126
|
-
status: "
|
|
2126
|
+
status: "pending" | "failed" | "delivered";
|
|
2127
2127
|
attempts: number;
|
|
2128
2128
|
nextAt: number;
|
|
2129
2129
|
lastError: string | null;
|
|
@@ -2139,7 +2139,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2139
2139
|
quest: string;
|
|
2140
2140
|
member: string;
|
|
2141
2141
|
evidence: string | null;
|
|
2142
|
-
status: "
|
|
2142
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
2143
2143
|
reason: string | null;
|
|
2144
2144
|
retries: number;
|
|
2145
2145
|
generation: number;
|
|
@@ -2173,17 +2173,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2173
2173
|
})[] | null;
|
|
2174
2174
|
createdAt: number;
|
|
2175
2175
|
input?: {
|
|
2176
|
-
kind: "quiz";
|
|
2177
|
-
answers: {
|
|
2178
|
-
[k: string]: string;
|
|
2179
|
-
};
|
|
2180
|
-
release?: string | undefined;
|
|
2181
|
-
} | {
|
|
2182
2176
|
kind: "text";
|
|
2183
2177
|
value: string;
|
|
2184
2178
|
} | {
|
|
2185
2179
|
kind: "url";
|
|
2186
2180
|
value: string;
|
|
2181
|
+
} | {
|
|
2182
|
+
kind: "quiz";
|
|
2183
|
+
answers: {
|
|
2184
|
+
[k: string]: string;
|
|
2185
|
+
};
|
|
2186
|
+
release?: string | undefined;
|
|
2187
2187
|
} | undefined;
|
|
2188
2188
|
}>;
|
|
2189
2189
|
upload: (file: File) => Promise<{
|
|
@@ -2242,12 +2242,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2242
2242
|
kind: "resource";
|
|
2243
2243
|
default: string;
|
|
2244
2244
|
source: {
|
|
2245
|
-
provider: "domino";
|
|
2246
|
-
resource: "point-ledger";
|
|
2247
|
-
} | {
|
|
2248
2245
|
provider: "discord";
|
|
2249
2246
|
resource: "channel";
|
|
2250
2247
|
types: ("text" | "announcement")[];
|
|
2248
|
+
} | {
|
|
2249
|
+
provider: "domino";
|
|
2250
|
+
resource: "point-ledger";
|
|
2251
2251
|
} | {
|
|
2252
2252
|
provider: "discord";
|
|
2253
2253
|
resource: "role";
|
|
@@ -2344,7 +2344,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2344
2344
|
start: number;
|
|
2345
2345
|
end?: number | undefined;
|
|
2346
2346
|
};
|
|
2347
|
-
enrollment: "
|
|
2347
|
+
enrollment: "none" | "required";
|
|
2348
2348
|
posts: "after-enrollment" | "since-start";
|
|
2349
2349
|
historical: "staff" | "automatic" | "claim";
|
|
2350
2350
|
} | undefined;
|
|
@@ -2372,7 +2372,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2372
2372
|
actor?: "member" | "staff" | undefined;
|
|
2373
2373
|
} | {
|
|
2374
2374
|
kind: "manual";
|
|
2375
|
-
input: "
|
|
2375
|
+
input: "none" | "quiz" | "photo";
|
|
2376
2376
|
actor?: "member" | "staff" | undefined;
|
|
2377
2377
|
};
|
|
2378
2378
|
requires: {
|
|
@@ -2392,7 +2392,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2392
2392
|
budgets: {
|
|
2393
2393
|
id: string;
|
|
2394
2394
|
scope: "project" | "member";
|
|
2395
|
-
period: "day" | "
|
|
2395
|
+
period: "day" | "lifetime" | "week";
|
|
2396
2396
|
limit: number;
|
|
2397
2397
|
cost: number | {
|
|
2398
2398
|
balance: string;
|
|
@@ -2445,12 +2445,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2445
2445
|
kind: "resource";
|
|
2446
2446
|
default: string;
|
|
2447
2447
|
source: {
|
|
2448
|
-
provider: "domino";
|
|
2449
|
-
resource: "point-ledger";
|
|
2450
|
-
} | {
|
|
2451
2448
|
provider: "discord";
|
|
2452
2449
|
resource: "channel";
|
|
2453
2450
|
types: ("text" | "announcement")[];
|
|
2451
|
+
} | {
|
|
2452
|
+
provider: "domino";
|
|
2453
|
+
resource: "point-ledger";
|
|
2454
2454
|
} | {
|
|
2455
2455
|
provider: "discord";
|
|
2456
2456
|
resource: "role";
|
|
@@ -2547,7 +2547,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2547
2547
|
start: number;
|
|
2548
2548
|
end?: number | undefined;
|
|
2549
2549
|
};
|
|
2550
|
-
enrollment: "
|
|
2550
|
+
enrollment: "none" | "required";
|
|
2551
2551
|
posts: "after-enrollment" | "since-start";
|
|
2552
2552
|
historical: "staff" | "automatic" | "claim";
|
|
2553
2553
|
} | undefined;
|
|
@@ -2575,7 +2575,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2575
2575
|
actor?: "member" | "staff" | undefined;
|
|
2576
2576
|
} | {
|
|
2577
2577
|
kind: "manual";
|
|
2578
|
-
input: "
|
|
2578
|
+
input: "none" | "quiz" | "photo";
|
|
2579
2579
|
actor?: "member" | "staff" | undefined;
|
|
2580
2580
|
};
|
|
2581
2581
|
requires: {
|
|
@@ -2595,7 +2595,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2595
2595
|
budgets: {
|
|
2596
2596
|
id: string;
|
|
2597
2597
|
scope: "project" | "member";
|
|
2598
|
-
period: "day" | "
|
|
2598
|
+
period: "day" | "lifetime" | "week";
|
|
2599
2599
|
limit: number;
|
|
2600
2600
|
cost: number | {
|
|
2601
2601
|
balance: string;
|
|
@@ -2647,12 +2647,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2647
2647
|
kind: "resource";
|
|
2648
2648
|
default: string;
|
|
2649
2649
|
source: {
|
|
2650
|
-
provider: "domino";
|
|
2651
|
-
resource: "point-ledger";
|
|
2652
|
-
} | {
|
|
2653
2650
|
provider: "discord";
|
|
2654
2651
|
resource: "channel";
|
|
2655
2652
|
types: ("text" | "announcement")[];
|
|
2653
|
+
} | {
|
|
2654
|
+
provider: "domino";
|
|
2655
|
+
resource: "point-ledger";
|
|
2656
2656
|
} | {
|
|
2657
2657
|
provider: "discord";
|
|
2658
2658
|
resource: "role";
|
|
@@ -2749,7 +2749,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2749
2749
|
start: number;
|
|
2750
2750
|
end?: number | undefined;
|
|
2751
2751
|
};
|
|
2752
|
-
enrollment: "
|
|
2752
|
+
enrollment: "none" | "required";
|
|
2753
2753
|
posts: "after-enrollment" | "since-start";
|
|
2754
2754
|
historical: "staff" | "automatic" | "claim";
|
|
2755
2755
|
} | undefined;
|
|
@@ -2777,7 +2777,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2777
2777
|
actor?: "member" | "staff" | undefined;
|
|
2778
2778
|
} | {
|
|
2779
2779
|
kind: "manual";
|
|
2780
|
-
input: "
|
|
2780
|
+
input: "none" | "quiz" | "photo";
|
|
2781
2781
|
actor?: "member" | "staff" | undefined;
|
|
2782
2782
|
};
|
|
2783
2783
|
requires: {
|
|
@@ -2797,7 +2797,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2797
2797
|
budgets: {
|
|
2798
2798
|
id: string;
|
|
2799
2799
|
scope: "project" | "member";
|
|
2800
|
-
period: "day" | "
|
|
2800
|
+
period: "day" | "lifetime" | "week";
|
|
2801
2801
|
limit: number;
|
|
2802
2802
|
cost: number | {
|
|
2803
2803
|
balance: string;
|
|
@@ -2808,7 +2808,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2808
2808
|
id: string;
|
|
2809
2809
|
createdAt: number;
|
|
2810
2810
|
legacy: boolean;
|
|
2811
|
-
lifecycle: "
|
|
2811
|
+
lifecycle: "paused" | "active" | "archived";
|
|
2812
2812
|
performance?: {
|
|
2813
2813
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
2814
2814
|
maxAgeMs: number;
|
|
@@ -2928,7 +2928,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2928
2928
|
quest: string;
|
|
2929
2929
|
member: string;
|
|
2930
2930
|
evidence: string | null;
|
|
2931
|
-
status: "
|
|
2931
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
2932
2932
|
reason: string | null;
|
|
2933
2933
|
retries: number;
|
|
2934
2934
|
generation: number;
|
|
@@ -2962,17 +2962,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2962
2962
|
})[] | null;
|
|
2963
2963
|
createdAt: number;
|
|
2964
2964
|
input?: {
|
|
2965
|
-
kind: "quiz";
|
|
2966
|
-
answers: {
|
|
2967
|
-
[k: string]: string;
|
|
2968
|
-
};
|
|
2969
|
-
release?: string | undefined;
|
|
2970
|
-
} | {
|
|
2971
2965
|
kind: "text";
|
|
2972
2966
|
value: string;
|
|
2973
2967
|
} | {
|
|
2974
2968
|
kind: "url";
|
|
2975
2969
|
value: string;
|
|
2970
|
+
} | {
|
|
2971
|
+
kind: "quiz";
|
|
2972
|
+
answers: {
|
|
2973
|
+
[k: string]: string;
|
|
2974
|
+
};
|
|
2975
|
+
release?: string | undefined;
|
|
2976
2976
|
} | undefined;
|
|
2977
2977
|
}[];
|
|
2978
2978
|
balances: {
|
|
@@ -3030,12 +3030,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3030
3030
|
kind: "resource";
|
|
3031
3031
|
default: string;
|
|
3032
3032
|
source: {
|
|
3033
|
-
provider: "domino";
|
|
3034
|
-
resource: "point-ledger";
|
|
3035
|
-
} | {
|
|
3036
3033
|
provider: "discord";
|
|
3037
3034
|
resource: "channel";
|
|
3038
3035
|
types: ("text" | "announcement")[];
|
|
3036
|
+
} | {
|
|
3037
|
+
provider: "domino";
|
|
3038
|
+
resource: "point-ledger";
|
|
3039
3039
|
} | {
|
|
3040
3040
|
provider: "discord";
|
|
3041
3041
|
resource: "role";
|
|
@@ -3132,7 +3132,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3132
3132
|
start: number;
|
|
3133
3133
|
end?: number | undefined;
|
|
3134
3134
|
};
|
|
3135
|
-
enrollment: "
|
|
3135
|
+
enrollment: "none" | "required";
|
|
3136
3136
|
posts: "after-enrollment" | "since-start";
|
|
3137
3137
|
historical: "staff" | "automatic" | "claim";
|
|
3138
3138
|
} | undefined;
|
|
@@ -3160,7 +3160,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3160
3160
|
actor?: "member" | "staff" | undefined;
|
|
3161
3161
|
} | {
|
|
3162
3162
|
kind: "manual";
|
|
3163
|
-
input: "
|
|
3163
|
+
input: "none" | "quiz" | "photo";
|
|
3164
3164
|
actor?: "member" | "staff" | undefined;
|
|
3165
3165
|
};
|
|
3166
3166
|
requires: {
|
|
@@ -3180,7 +3180,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3180
3180
|
budgets: {
|
|
3181
3181
|
id: string;
|
|
3182
3182
|
scope: "project" | "member";
|
|
3183
|
-
period: "day" | "
|
|
3183
|
+
period: "day" | "lifetime" | "week";
|
|
3184
3184
|
limit: number;
|
|
3185
3185
|
cost: number | {
|
|
3186
3186
|
balance: string;
|
|
@@ -3191,7 +3191,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3191
3191
|
id: string;
|
|
3192
3192
|
createdAt: number;
|
|
3193
3193
|
legacy: boolean;
|
|
3194
|
-
lifecycle: "
|
|
3194
|
+
lifecycle: "paused" | "active" | "archived";
|
|
3195
3195
|
performance?: {
|
|
3196
3196
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3197
3197
|
maxAgeMs: number;
|
|
@@ -3261,12 +3261,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3261
3261
|
kind: "resource";
|
|
3262
3262
|
default: string;
|
|
3263
3263
|
source: {
|
|
3264
|
-
provider: "domino";
|
|
3265
|
-
resource: "point-ledger";
|
|
3266
|
-
} | {
|
|
3267
3264
|
provider: "discord";
|
|
3268
3265
|
resource: "channel";
|
|
3269
3266
|
types: ("text" | "announcement")[];
|
|
3267
|
+
} | {
|
|
3268
|
+
provider: "domino";
|
|
3269
|
+
resource: "point-ledger";
|
|
3270
3270
|
} | {
|
|
3271
3271
|
provider: "discord";
|
|
3272
3272
|
resource: "role";
|
|
@@ -3363,7 +3363,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3363
3363
|
start: number;
|
|
3364
3364
|
end?: number | undefined;
|
|
3365
3365
|
};
|
|
3366
|
-
enrollment: "
|
|
3366
|
+
enrollment: "none" | "required";
|
|
3367
3367
|
posts: "after-enrollment" | "since-start";
|
|
3368
3368
|
historical: "staff" | "automatic" | "claim";
|
|
3369
3369
|
} | undefined;
|
|
@@ -3391,7 +3391,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3391
3391
|
actor?: "member" | "staff" | undefined;
|
|
3392
3392
|
} | {
|
|
3393
3393
|
kind: "manual";
|
|
3394
|
-
input: "
|
|
3394
|
+
input: "none" | "quiz" | "photo";
|
|
3395
3395
|
actor?: "member" | "staff" | undefined;
|
|
3396
3396
|
};
|
|
3397
3397
|
requires: {
|
|
@@ -3411,7 +3411,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3411
3411
|
budgets: {
|
|
3412
3412
|
id: string;
|
|
3413
3413
|
scope: "project" | "member";
|
|
3414
|
-
period: "day" | "
|
|
3414
|
+
period: "day" | "lifetime" | "week";
|
|
3415
3415
|
limit: number;
|
|
3416
3416
|
cost: number | {
|
|
3417
3417
|
balance: string;
|
|
@@ -3422,7 +3422,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3422
3422
|
id: string;
|
|
3423
3423
|
createdAt: number;
|
|
3424
3424
|
legacy: boolean;
|
|
3425
|
-
lifecycle: "
|
|
3425
|
+
lifecycle: "paused" | "active" | "archived";
|
|
3426
3426
|
performance?: {
|
|
3427
3427
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3428
3428
|
maxAgeMs: number;
|
|
@@ -3478,7 +3478,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3478
3478
|
} | undefined;
|
|
3479
3479
|
} | undefined;
|
|
3480
3480
|
};
|
|
3481
|
-
connections: ("
|
|
3481
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
3482
3482
|
trigger: {
|
|
3483
3483
|
kind: "automatic";
|
|
3484
3484
|
observation?: {
|
|
@@ -3491,7 +3491,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3491
3491
|
start: number;
|
|
3492
3492
|
end?: number | undefined;
|
|
3493
3493
|
};
|
|
3494
|
-
enrollment: "
|
|
3494
|
+
enrollment: "none" | "required";
|
|
3495
3495
|
posts: "after-enrollment" | "since-start";
|
|
3496
3496
|
historical: "staff" | "automatic" | "claim";
|
|
3497
3497
|
} | undefined;
|
|
@@ -3519,12 +3519,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3519
3519
|
actor?: "member" | "staff" | undefined;
|
|
3520
3520
|
} | {
|
|
3521
3521
|
kind: "manual";
|
|
3522
|
-
input: "
|
|
3522
|
+
input: "none" | "quiz" | "photo";
|
|
3523
3523
|
actor?: "member" | "staff" | undefined;
|
|
3524
3524
|
};
|
|
3525
3525
|
availability: {
|
|
3526
3526
|
kind: "available";
|
|
3527
|
-
input: "
|
|
3527
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
3528
3528
|
} | {
|
|
3529
3529
|
kind: "completed";
|
|
3530
3530
|
} | {
|
|
@@ -3573,7 +3573,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3573
3573
|
quest: string;
|
|
3574
3574
|
member: string;
|
|
3575
3575
|
evidence: string | null;
|
|
3576
|
-
status: "
|
|
3576
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
3577
3577
|
reason: string | null;
|
|
3578
3578
|
retries: number;
|
|
3579
3579
|
generation: number;
|
|
@@ -3607,17 +3607,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3607
3607
|
})[] | null;
|
|
3608
3608
|
createdAt: number;
|
|
3609
3609
|
input?: {
|
|
3610
|
-
kind: "quiz";
|
|
3611
|
-
answers: {
|
|
3612
|
-
[k: string]: string;
|
|
3613
|
-
};
|
|
3614
|
-
release?: string | undefined;
|
|
3615
|
-
} | {
|
|
3616
3610
|
kind: "text";
|
|
3617
3611
|
value: string;
|
|
3618
3612
|
} | {
|
|
3619
3613
|
kind: "url";
|
|
3620
3614
|
value: string;
|
|
3615
|
+
} | {
|
|
3616
|
+
kind: "quiz";
|
|
3617
|
+
answers: {
|
|
3618
|
+
[k: string]: string;
|
|
3619
|
+
};
|
|
3620
|
+
release?: string | undefined;
|
|
3621
3621
|
} | undefined;
|
|
3622
3622
|
} | null;
|
|
3623
3623
|
key?: string | undefined;
|
|
@@ -3999,14 +3999,14 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3999
3999
|
content: {
|
|
4000
4000
|
performance: (input: zod.infer<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
4001
4001
|
current: {
|
|
4002
|
-
state: "
|
|
4002
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
|
|
4003
4003
|
reason: string | null;
|
|
4004
4004
|
contentAttempt: string;
|
|
4005
4005
|
attempt: string | null;
|
|
4006
4006
|
reward: {
|
|
4007
4007
|
attempt: string | null;
|
|
4008
4008
|
completion: string | null;
|
|
4009
|
-
state: "
|
|
4009
|
+
state: "excluded" | "unresolved" | "awarded";
|
|
4010
4010
|
};
|
|
4011
4011
|
};
|
|
4012
4012
|
items: {
|
|
@@ -4015,7 +4015,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4015
4015
|
observation: string;
|
|
4016
4016
|
observedAt: number;
|
|
4017
4017
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
4018
|
-
state: "
|
|
4018
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
|
|
4019
4019
|
reason: string | null;
|
|
4020
4020
|
}[];
|
|
4021
4021
|
next: number | null;
|
|
@@ -4030,12 +4030,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4030
4030
|
revision: string;
|
|
4031
4031
|
observation: string;
|
|
4032
4032
|
current: boolean;
|
|
4033
|
-
state: "
|
|
4033
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
|
|
4034
4034
|
reason: string | null;
|
|
4035
4035
|
reward: {
|
|
4036
4036
|
attempt: string | null;
|
|
4037
4037
|
completion: string | null;
|
|
4038
|
-
state: "
|
|
4038
|
+
state: "excluded" | "unresolved" | "awarded";
|
|
4039
4039
|
};
|
|
4040
4040
|
}[];
|
|
4041
4041
|
next: number | null;
|
|
@@ -4045,7 +4045,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4045
4045
|
quest: string;
|
|
4046
4046
|
content: string;
|
|
4047
4047
|
release: string;
|
|
4048
|
-
state: "
|
|
4048
|
+
state: "admitted" | "pending" | "excluded";
|
|
4049
4049
|
reason: string | null;
|
|
4050
4050
|
attempt: string | null;
|
|
4051
4051
|
}[];
|
|
@@ -4060,7 +4060,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4060
4060
|
quest: string;
|
|
4061
4061
|
content: string;
|
|
4062
4062
|
release: string;
|
|
4063
|
-
state: "
|
|
4063
|
+
state: "admitted" | "pending" | "excluded";
|
|
4064
4064
|
reason: string | null;
|
|
4065
4065
|
attempt: string | null;
|
|
4066
4066
|
}>;
|
|
@@ -4071,7 +4071,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4071
4071
|
quest: string;
|
|
4072
4072
|
member: string;
|
|
4073
4073
|
evidence: string | null;
|
|
4074
|
-
status: "
|
|
4074
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
4075
4075
|
reason: string | null;
|
|
4076
4076
|
retries: number;
|
|
4077
4077
|
generation: number;
|
|
@@ -4105,17 +4105,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4105
4105
|
})[] | null;
|
|
4106
4106
|
createdAt: number;
|
|
4107
4107
|
input?: {
|
|
4108
|
-
kind: "quiz";
|
|
4109
|
-
answers: {
|
|
4110
|
-
[k: string]: string;
|
|
4111
|
-
};
|
|
4112
|
-
release?: string | undefined;
|
|
4113
|
-
} | {
|
|
4114
4108
|
kind: "text";
|
|
4115
4109
|
value: string;
|
|
4116
4110
|
} | {
|
|
4117
4111
|
kind: "url";
|
|
4118
4112
|
value: string;
|
|
4113
|
+
} | {
|
|
4114
|
+
kind: "quiz";
|
|
4115
|
+
answers: {
|
|
4116
|
+
[k: string]: string;
|
|
4117
|
+
};
|
|
4118
|
+
release?: string | undefined;
|
|
4119
4119
|
} | undefined;
|
|
4120
4120
|
}>;
|
|
4121
4121
|
retry: (id: string) => Promise<{
|
|
@@ -4124,7 +4124,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4124
4124
|
quest: string;
|
|
4125
4125
|
member: string;
|
|
4126
4126
|
evidence: string | null;
|
|
4127
|
-
status: "
|
|
4127
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
4128
4128
|
reason: string | null;
|
|
4129
4129
|
retries: number;
|
|
4130
4130
|
generation: number;
|
|
@@ -4158,17 +4158,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4158
4158
|
})[] | null;
|
|
4159
4159
|
createdAt: number;
|
|
4160
4160
|
input?: {
|
|
4161
|
-
kind: "quiz";
|
|
4162
|
-
answers: {
|
|
4163
|
-
[k: string]: string;
|
|
4164
|
-
};
|
|
4165
|
-
release?: string | undefined;
|
|
4166
|
-
} | {
|
|
4167
4161
|
kind: "text";
|
|
4168
4162
|
value: string;
|
|
4169
4163
|
} | {
|
|
4170
4164
|
kind: "url";
|
|
4171
4165
|
value: string;
|
|
4166
|
+
} | {
|
|
4167
|
+
kind: "quiz";
|
|
4168
|
+
answers: {
|
|
4169
|
+
[k: string]: string;
|
|
4170
|
+
};
|
|
4171
|
+
release?: string | undefined;
|
|
4172
4172
|
} | undefined;
|
|
4173
4173
|
}>;
|
|
4174
4174
|
decide: (id: string, input: {
|
|
@@ -4182,7 +4182,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4182
4182
|
quest: string;
|
|
4183
4183
|
member: string;
|
|
4184
4184
|
evidence: string | null;
|
|
4185
|
-
status: "
|
|
4185
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
4186
4186
|
reason: string | null;
|
|
4187
4187
|
retries: number;
|
|
4188
4188
|
generation: number;
|
|
@@ -4216,17 +4216,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
4216
4216
|
})[] | null;
|
|
4217
4217
|
createdAt: number;
|
|
4218
4218
|
input?: {
|
|
4219
|
-
kind: "quiz";
|
|
4220
|
-
answers: {
|
|
4221
|
-
[k: string]: string;
|
|
4222
|
-
};
|
|
4223
|
-
release?: string | undefined;
|
|
4224
|
-
} | {
|
|
4225
4219
|
kind: "text";
|
|
4226
4220
|
value: string;
|
|
4227
4221
|
} | {
|
|
4228
4222
|
kind: "url";
|
|
4229
4223
|
value: string;
|
|
4224
|
+
} | {
|
|
4225
|
+
kind: "quiz";
|
|
4226
|
+
answers: {
|
|
4227
|
+
[k: string]: string;
|
|
4228
|
+
};
|
|
4229
|
+
release?: string | undefined;
|
|
4230
4230
|
} | undefined;
|
|
4231
4231
|
}>;
|
|
4232
4232
|
};
|