@domino-sdk/relay 1.0.0-next.4 → 1.0.0-next.6

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 CHANGED
@@ -515,7 +515,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
515
515
  seed: string;
516
516
  } | {
517
517
  source: "account";
518
- provider: "discord" | "google" | "x";
518
+ provider: "x" | "discord" | "google";
519
519
  url: string;
520
520
  seed: string;
521
521
  } | {
@@ -539,7 +539,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
539
539
  seed: string;
540
540
  } | {
541
541
  source: "account";
542
- provider: "discord" | "google" | "x";
542
+ provider: "x" | "discord" | "google";
543
543
  url: string;
544
544
  seed: string;
545
545
  } | {
@@ -563,7 +563,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
563
563
  seed: string;
564
564
  } | {
565
565
  source: "account";
566
- provider: "discord" | "google" | "x";
566
+ provider: "x" | "discord" | "google";
567
567
  url: string;
568
568
  seed: string;
569
569
  } | {
@@ -595,7 +595,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
595
595
  seed: string;
596
596
  } | {
597
597
  source: "account";
598
- provider: "discord" | "google" | "x";
598
+ provider: "x" | "discord" | "google";
599
599
  url: string;
600
600
  seed: string;
601
601
  } | {
@@ -603,13 +603,13 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
603
603
  seed: string;
604
604
  };
605
605
  displayName: string | null;
606
- avatarChoice: "default" | "account" | "generated" | "upload";
607
- avatarProvider: "discord" | "google" | "x" | null;
606
+ avatarChoice: "default" | "account" | "upload" | "generated";
607
+ avatarProvider: "x" | "discord" | "google" | null;
608
608
  hidden: boolean;
609
609
  locked: boolean;
610
- visibility: "participants" | "public" | "private";
610
+ visibility: "private" | "participants" | "public";
611
611
  options: {
612
- provider: "discord" | "google" | "x";
612
+ provider: "x" | "discord" | "google";
613
613
  name: string | null;
614
614
  imageUrl: string | null;
615
615
  }[];
@@ -625,7 +625,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
625
625
  seed: string;
626
626
  } | {
627
627
  source: "account";
628
- provider: "discord" | "google" | "x";
628
+ provider: "x" | "discord" | "google";
629
629
  url: string;
630
630
  seed: string;
631
631
  } | {
@@ -633,13 +633,13 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
633
633
  seed: string;
634
634
  };
635
635
  displayName: string | null;
636
- avatarChoice: "default" | "account" | "generated" | "upload";
637
- avatarProvider: "discord" | "google" | "x" | null;
636
+ avatarChoice: "default" | "account" | "upload" | "generated";
637
+ avatarProvider: "x" | "discord" | "google" | null;
638
638
  hidden: boolean;
639
639
  locked: boolean;
640
- visibility: "participants" | "public" | "private";
640
+ visibility: "private" | "participants" | "public";
641
641
  options: {
642
- provider: "discord" | "google" | "x";
642
+ provider: "x" | "discord" | "google";
643
643
  name: string | null;
644
644
  imageUrl: string | null;
645
645
  }[];
@@ -656,7 +656,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
656
656
  seed: string;
657
657
  } | {
658
658
  source: "account";
659
- provider: "discord" | "google" | "x";
659
+ provider: "x" | "discord" | "google";
660
660
  url: string;
661
661
  seed: string;
662
662
  } | {
@@ -664,13 +664,13 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
664
664
  seed: string;
665
665
  };
666
666
  displayName: string | null;
667
- avatarChoice: "default" | "account" | "generated" | "upload";
668
- avatarProvider: "discord" | "google" | "x" | null;
667
+ avatarChoice: "default" | "account" | "upload" | "generated";
668
+ avatarProvider: "x" | "discord" | "google" | null;
669
669
  hidden: boolean;
670
670
  locked: boolean;
671
- visibility: "participants" | "public" | "private";
671
+ visibility: "private" | "participants" | "public";
672
672
  options: {
673
- provider: "discord" | "google" | "x";
673
+ provider: "x" | "discord" | "google";
674
674
  name: string | null;
675
675
  imageUrl: string | null;
676
676
  }[];
@@ -684,7 +684,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
684
684
  seed: string;
685
685
  } | {
686
686
  source: "account";
687
- provider: "discord" | "google" | "x";
687
+ provider: "x" | "discord" | "google";
688
688
  url: string;
689
689
  seed: string;
690
690
  } | {
@@ -739,7 +739,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
739
739
  } | undefined;
740
740
  } | undefined;
741
741
  };
742
- connections: ("discord" | "google" | "apple" | "x")[];
742
+ connections: ("x" | "discord" | "google" | "apple")[];
743
743
  trigger: {
744
744
  kind: "automatic";
745
745
  observation?: {
@@ -752,7 +752,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
752
752
  start: number;
753
753
  end?: number | undefined;
754
754
  };
755
- enrollment: "required" | "none";
755
+ enrollment: "none" | "required";
756
756
  posts: "after-enrollment" | "since-start";
757
757
  historical: "staff" | "automatic" | "claim";
758
758
  } | undefined;
@@ -799,12 +799,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
799
799
  actor?: "member" | "staff" | undefined;
800
800
  } | {
801
801
  kind: "manual";
802
- input: "quiz" | "photo" | "none";
802
+ input: "none" | "quiz" | "photo";
803
803
  actor?: "member" | "staff" | undefined;
804
804
  };
805
805
  availability: {
806
806
  kind: "available";
807
- input: "quiz" | "text" | "url" | "photo" | "none";
807
+ input: "text" | "url" | "none" | "quiz" | "photo";
808
808
  } | {
809
809
  kind: "completed";
810
810
  } | {
@@ -853,7 +853,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
853
853
  quest: string;
854
854
  member: string;
855
855
  evidence: string | null;
856
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
856
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
857
857
  reason: string | null;
858
858
  retries: number;
859
859
  generation: number;
@@ -885,24 +885,25 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
885
885
  action: "grant-role";
886
886
  roleId: string;
887
887
  })[] | null;
888
+ requestedReview: boolean;
888
889
  createdAt: number;
889
890
  input?: {
890
- kind: "quiz";
891
- answers: {
892
- [k: string]: string;
893
- };
894
- release?: string | undefined;
895
- } | {
896
891
  kind: "text";
897
892
  value: string;
898
893
  } | {
899
894
  kind: "url";
900
895
  value: string;
896
+ } | {
897
+ kind: "quiz";
898
+ answers: {
899
+ [k: string]: string;
900
+ };
901
+ release?: string | undefined;
901
902
  } | undefined;
902
903
  } | null;
903
904
  release: string;
904
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
905
- lifecycle: "active" | "paused" | "archived";
905
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
906
+ lifecycle: "paused" | "active" | "archived";
906
907
  rewards: ({
907
908
  kind: "points";
908
909
  label: string;
@@ -963,7 +964,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
963
964
  quest: string;
964
965
  member: string;
965
966
  evidence: string | null;
966
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
967
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
967
968
  reason: string | null;
968
969
  retries: number;
969
970
  generation: number;
@@ -995,19 +996,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
995
996
  action: "grant-role";
996
997
  roleId: string;
997
998
  })[] | null;
999
+ requestedReview: boolean;
998
1000
  createdAt: number;
999
1001
  input?: {
1000
- kind: "quiz";
1001
- answers: {
1002
- [k: string]: string;
1003
- };
1004
- release?: string | undefined;
1005
- } | {
1006
1002
  kind: "text";
1007
1003
  value: string;
1008
1004
  } | {
1009
1005
  kind: "url";
1010
1006
  value: string;
1007
+ } | {
1008
+ kind: "quiz";
1009
+ answers: {
1010
+ [k: string]: string;
1011
+ };
1012
+ release?: string | undefined;
1011
1013
  } | undefined;
1012
1014
  }>;
1013
1015
  experience: () => Promise<{
@@ -1035,7 +1037,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1035
1037
  } | undefined;
1036
1038
  } | undefined;
1037
1039
  };
1038
- connections: ("discord" | "google" | "apple" | "x")[];
1040
+ connections: ("x" | "discord" | "google" | "apple")[];
1039
1041
  trigger: {
1040
1042
  kind: "automatic";
1041
1043
  observation?: {
@@ -1048,7 +1050,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1048
1050
  start: number;
1049
1051
  end?: number | undefined;
1050
1052
  };
1051
- enrollment: "required" | "none";
1053
+ enrollment: "none" | "required";
1052
1054
  posts: "after-enrollment" | "since-start";
1053
1055
  historical: "staff" | "automatic" | "claim";
1054
1056
  } | undefined;
@@ -1095,12 +1097,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1095
1097
  actor?: "member" | "staff" | undefined;
1096
1098
  } | {
1097
1099
  kind: "manual";
1098
- input: "quiz" | "photo" | "none";
1100
+ input: "none" | "quiz" | "photo";
1099
1101
  actor?: "member" | "staff" | undefined;
1100
1102
  };
1101
1103
  availability: {
1102
1104
  kind: "available";
1103
- input: "quiz" | "text" | "url" | "photo" | "none";
1105
+ input: "text" | "url" | "none" | "quiz" | "photo";
1104
1106
  } | {
1105
1107
  kind: "completed";
1106
1108
  } | {
@@ -1149,7 +1151,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1149
1151
  quest: string;
1150
1152
  member: string;
1151
1153
  evidence: string | null;
1152
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1154
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1153
1155
  reason: string | null;
1154
1156
  retries: number;
1155
1157
  generation: number;
@@ -1181,24 +1183,25 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1181
1183
  action: "grant-role";
1182
1184
  roleId: string;
1183
1185
  })[] | null;
1186
+ requestedReview: boolean;
1184
1187
  createdAt: number;
1185
1188
  input?: {
1186
- kind: "quiz";
1187
- answers: {
1188
- [k: string]: string;
1189
- };
1190
- release?: string | undefined;
1191
- } | {
1192
1189
  kind: "text";
1193
1190
  value: string;
1194
1191
  } | {
1195
1192
  kind: "url";
1196
1193
  value: string;
1194
+ } | {
1195
+ kind: "quiz";
1196
+ answers: {
1197
+ [k: string]: string;
1198
+ };
1199
+ release?: string | undefined;
1197
1200
  } | undefined;
1198
1201
  } | null;
1199
1202
  release: string;
1200
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
1201
- lifecycle: "active" | "paused" | "archived";
1203
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
1204
+ lifecycle: "paused" | "active" | "archived";
1202
1205
  rewards: ({
1203
1206
  kind: "points";
1204
1207
  label: string;
@@ -1279,7 +1282,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1279
1282
  } | undefined;
1280
1283
  } | undefined;
1281
1284
  };
1282
- connections: ("discord" | "google" | "apple" | "x")[];
1285
+ connections: ("x" | "discord" | "google" | "apple")[];
1283
1286
  trigger: {
1284
1287
  kind: "automatic";
1285
1288
  observation?: {
@@ -1292,7 +1295,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1292
1295
  start: number;
1293
1296
  end?: number | undefined;
1294
1297
  };
1295
- enrollment: "required" | "none";
1298
+ enrollment: "none" | "required";
1296
1299
  posts: "after-enrollment" | "since-start";
1297
1300
  historical: "staff" | "automatic" | "claim";
1298
1301
  } | undefined;
@@ -1339,12 +1342,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1339
1342
  actor?: "member" | "staff" | undefined;
1340
1343
  } | {
1341
1344
  kind: "manual";
1342
- input: "quiz" | "photo" | "none";
1345
+ input: "none" | "quiz" | "photo";
1343
1346
  actor?: "member" | "staff" | undefined;
1344
1347
  };
1345
1348
  availability: {
1346
1349
  kind: "available";
1347
- input: "quiz" | "text" | "url" | "photo" | "none";
1350
+ input: "text" | "url" | "none" | "quiz" | "photo";
1348
1351
  } | {
1349
1352
  kind: "completed";
1350
1353
  } | {
@@ -1393,7 +1396,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1393
1396
  quest: string;
1394
1397
  member: string;
1395
1398
  evidence: string | null;
1396
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1399
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1397
1400
  reason: string | null;
1398
1401
  retries: number;
1399
1402
  generation: number;
@@ -1425,24 +1428,25 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1425
1428
  action: "grant-role";
1426
1429
  roleId: string;
1427
1430
  })[] | null;
1431
+ requestedReview: boolean;
1428
1432
  createdAt: number;
1429
1433
  input?: {
1430
- kind: "quiz";
1431
- answers: {
1432
- [k: string]: string;
1433
- };
1434
- release?: string | undefined;
1435
- } | {
1436
1434
  kind: "text";
1437
1435
  value: string;
1438
1436
  } | {
1439
1437
  kind: "url";
1440
1438
  value: string;
1439
+ } | {
1440
+ kind: "quiz";
1441
+ answers: {
1442
+ [k: string]: string;
1443
+ };
1444
+ release?: string | undefined;
1441
1445
  } | undefined;
1442
1446
  } | null;
1443
1447
  release: string;
1444
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
1445
- lifecycle: "active" | "paused" | "archived";
1448
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
1449
+ lifecycle: "paused" | "active" | "archived";
1446
1450
  rewards: ({
1447
1451
  kind: "points";
1448
1452
  label: string;
@@ -1526,7 +1530,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1526
1530
  } | undefined;
1527
1531
  } | undefined;
1528
1532
  };
1529
- connections: ("discord" | "google" | "apple" | "x")[];
1533
+ connections: ("x" | "discord" | "google" | "apple")[];
1530
1534
  trigger: {
1531
1535
  kind: "automatic";
1532
1536
  observation?: {
@@ -1539,7 +1543,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1539
1543
  start: number;
1540
1544
  end?: number | undefined;
1541
1545
  };
1542
- enrollment: "required" | "none";
1546
+ enrollment: "none" | "required";
1543
1547
  posts: "after-enrollment" | "since-start";
1544
1548
  historical: "staff" | "automatic" | "claim";
1545
1549
  } | undefined;
@@ -1586,12 +1590,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1586
1590
  actor?: "member" | "staff" | undefined;
1587
1591
  } | {
1588
1592
  kind: "manual";
1589
- input: "quiz" | "photo" | "none";
1593
+ input: "none" | "quiz" | "photo";
1590
1594
  actor?: "member" | "staff" | undefined;
1591
1595
  };
1592
1596
  availability: {
1593
1597
  kind: "available";
1594
- input: "quiz" | "text" | "url" | "photo" | "none";
1598
+ input: "text" | "url" | "none" | "quiz" | "photo";
1595
1599
  } | {
1596
1600
  kind: "completed";
1597
1601
  } | {
@@ -1640,7 +1644,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1640
1644
  quest: string;
1641
1645
  member: string;
1642
1646
  evidence: string | null;
1643
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1647
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1644
1648
  reason: string | null;
1645
1649
  retries: number;
1646
1650
  generation: number;
@@ -1672,24 +1676,25 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1672
1676
  action: "grant-role";
1673
1677
  roleId: string;
1674
1678
  })[] | null;
1679
+ requestedReview: boolean;
1675
1680
  createdAt: number;
1676
1681
  input?: {
1677
- kind: "quiz";
1678
- answers: {
1679
- [k: string]: string;
1680
- };
1681
- release?: string | undefined;
1682
- } | {
1683
1682
  kind: "text";
1684
1683
  value: string;
1685
1684
  } | {
1686
1685
  kind: "url";
1687
1686
  value: string;
1687
+ } | {
1688
+ kind: "quiz";
1689
+ answers: {
1690
+ [k: string]: string;
1691
+ };
1692
+ release?: string | undefined;
1688
1693
  } | undefined;
1689
1694
  } | null;
1690
1695
  release: string;
1691
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
1692
- lifecycle: "active" | "paused" | "archived";
1696
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
1697
+ lifecycle: "paused" | "active" | "archived";
1693
1698
  rewards: ({
1694
1699
  kind: "points";
1695
1700
  label: string;
@@ -1814,7 +1819,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1814
1819
  auth: {
1815
1820
  providers: () => Promise<{
1816
1821
  providers: {
1817
- provider: "discord" | "google" | "apple" | "x";
1822
+ provider: "x" | "discord" | "google" | "apple";
1818
1823
  configured: boolean;
1819
1824
  }[];
1820
1825
  email: boolean;
@@ -1890,7 +1895,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1890
1895
  }>;
1891
1896
  };
1892
1897
  accounts: () => Promise<{
1893
- provider: "discord" | "google" | "apple" | "x";
1898
+ provider: "x" | "discord" | "google" | "apple";
1894
1899
  configured: boolean;
1895
1900
  status: "disconnected" | "connected" | "reconnect";
1896
1901
  subject: string | null;
@@ -1991,7 +1996,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1991
1996
  quest: string;
1992
1997
  member: string;
1993
1998
  evidence: string | null;
1994
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1999
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1995
2000
  reason: string | null;
1996
2001
  retries: number;
1997
2002
  generation: number;
@@ -2023,19 +2028,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2023
2028
  action: "grant-role";
2024
2029
  roleId: string;
2025
2030
  })[] | null;
2031
+ requestedReview: boolean;
2026
2032
  createdAt: number;
2027
2033
  input?: {
2028
- kind: "quiz";
2029
- answers: {
2030
- [k: string]: string;
2031
- };
2032
- release?: string | undefined;
2033
- } | {
2034
2034
  kind: "text";
2035
2035
  value: string;
2036
2036
  } | {
2037
2037
  kind: "url";
2038
2038
  value: string;
2039
+ } | {
2040
+ kind: "quiz";
2041
+ answers: {
2042
+ [k: string]: string;
2043
+ };
2044
+ release?: string | undefined;
2039
2045
  } | undefined;
2040
2046
  }>;
2041
2047
  progress: () => Promise<{
@@ -2063,7 +2069,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2063
2069
  } | undefined;
2064
2070
  } | undefined;
2065
2071
  };
2066
- connections: ("discord" | "google" | "apple" | "x")[];
2072
+ connections: ("x" | "discord" | "google" | "apple")[];
2067
2073
  trigger: {
2068
2074
  kind: "automatic";
2069
2075
  observation?: {
@@ -2076,7 +2082,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2076
2082
  start: number;
2077
2083
  end?: number | undefined;
2078
2084
  };
2079
- enrollment: "required" | "none";
2085
+ enrollment: "none" | "required";
2080
2086
  posts: "after-enrollment" | "since-start";
2081
2087
  historical: "staff" | "automatic" | "claim";
2082
2088
  } | undefined;
@@ -2123,12 +2129,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2123
2129
  actor?: "member" | "staff" | undefined;
2124
2130
  } | {
2125
2131
  kind: "manual";
2126
- input: "quiz" | "photo" | "none";
2132
+ input: "none" | "quiz" | "photo";
2127
2133
  actor?: "member" | "staff" | undefined;
2128
2134
  };
2129
2135
  availability: {
2130
2136
  kind: "available";
2131
- input: "quiz" | "text" | "url" | "photo" | "none";
2137
+ input: "text" | "url" | "none" | "quiz" | "photo";
2132
2138
  } | {
2133
2139
  kind: "completed";
2134
2140
  } | {
@@ -2177,7 +2183,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2177
2183
  quest: string;
2178
2184
  member: string;
2179
2185
  evidence: string | null;
2180
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
2186
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
2181
2187
  reason: string | null;
2182
2188
  retries: number;
2183
2189
  generation: number;
@@ -2209,19 +2215,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2209
2215
  action: "grant-role";
2210
2216
  roleId: string;
2211
2217
  })[] | null;
2218
+ requestedReview: boolean;
2212
2219
  createdAt: number;
2213
2220
  input?: {
2214
- kind: "quiz";
2215
- answers: {
2216
- [k: string]: string;
2217
- };
2218
- release?: string | undefined;
2219
- } | {
2220
2221
  kind: "text";
2221
2222
  value: string;
2222
2223
  } | {
2223
2224
  kind: "url";
2224
2225
  value: string;
2226
+ } | {
2227
+ kind: "quiz";
2228
+ answers: {
2229
+ [k: string]: string;
2230
+ };
2231
+ release?: string | undefined;
2225
2232
  } | undefined;
2226
2233
  } | null;
2227
2234
  key?: string | undefined;
@@ -2344,7 +2351,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2344
2351
  provider: "discord";
2345
2352
  action: "grant-role";
2346
2353
  roleId: string;
2347
- status: "failed" | "pending" | "delivered";
2354
+ status: "pending" | "failed" | "delivered";
2348
2355
  attempts: number;
2349
2356
  nextAt: number;
2350
2357
  lastError: string | null;
@@ -2360,7 +2367,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2360
2367
  quest: string;
2361
2368
  member: string;
2362
2369
  evidence: string | null;
2363
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
2370
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
2364
2371
  reason: string | null;
2365
2372
  retries: number;
2366
2373
  generation: number;
@@ -2392,19 +2399,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2392
2399
  action: "grant-role";
2393
2400
  roleId: string;
2394
2401
  })[] | null;
2402
+ requestedReview: boolean;
2395
2403
  createdAt: number;
2396
2404
  input?: {
2397
- kind: "quiz";
2398
- answers: {
2399
- [k: string]: string;
2400
- };
2401
- release?: string | undefined;
2402
- } | {
2403
2405
  kind: "text";
2404
2406
  value: string;
2405
2407
  } | {
2406
2408
  kind: "url";
2407
2409
  value: string;
2410
+ } | {
2411
+ kind: "quiz";
2412
+ answers: {
2413
+ [k: string]: string;
2414
+ };
2415
+ release?: string | undefined;
2408
2416
  } | undefined;
2409
2417
  }>;
2410
2418
  upload: (file: File) => Promise<{
@@ -2463,12 +2471,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2463
2471
  kind: "resource";
2464
2472
  default: string;
2465
2473
  source: {
2466
- provider: "domino";
2467
- resource: "point-ledger";
2468
- } | {
2469
2474
  provider: "discord";
2470
2475
  resource: "channel";
2471
2476
  types: ("text" | "announcement")[];
2477
+ } | {
2478
+ provider: "domino";
2479
+ resource: "point-ledger";
2472
2480
  } | {
2473
2481
  provider: "discord";
2474
2482
  resource: "role";
@@ -2565,7 +2573,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2565
2573
  start: number;
2566
2574
  end?: number | undefined;
2567
2575
  };
2568
- enrollment: "required" | "none";
2576
+ enrollment: "none" | "required";
2569
2577
  posts: "after-enrollment" | "since-start";
2570
2578
  historical: "staff" | "automatic" | "claim";
2571
2579
  } | undefined;
@@ -2612,7 +2620,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2612
2620
  actor?: "member" | "staff" | undefined;
2613
2621
  } | {
2614
2622
  kind: "manual";
2615
- input: "quiz" | "photo" | "none";
2623
+ input: "none" | "quiz" | "photo";
2616
2624
  actor?: "member" | "staff" | undefined;
2617
2625
  };
2618
2626
  requires: {
@@ -2631,7 +2639,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2631
2639
  budgets: {
2632
2640
  id: string;
2633
2641
  scope: "project" | "member";
2634
- period: "day" | "week" | "lifetime";
2642
+ period: "day" | "lifetime" | "week";
2635
2643
  limit: number;
2636
2644
  cost: number | {
2637
2645
  balance: string;
@@ -2687,12 +2695,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2687
2695
  kind: "resource";
2688
2696
  default: string;
2689
2697
  source: {
2690
- provider: "domino";
2691
- resource: "point-ledger";
2692
- } | {
2693
2698
  provider: "discord";
2694
2699
  resource: "channel";
2695
2700
  types: ("text" | "announcement")[];
2701
+ } | {
2702
+ provider: "domino";
2703
+ resource: "point-ledger";
2696
2704
  } | {
2697
2705
  provider: "discord";
2698
2706
  resource: "role";
@@ -2789,7 +2797,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2789
2797
  start: number;
2790
2798
  end?: number | undefined;
2791
2799
  };
2792
- enrollment: "required" | "none";
2800
+ enrollment: "none" | "required";
2793
2801
  posts: "after-enrollment" | "since-start";
2794
2802
  historical: "staff" | "automatic" | "claim";
2795
2803
  } | undefined;
@@ -2836,7 +2844,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2836
2844
  actor?: "member" | "staff" | undefined;
2837
2845
  } | {
2838
2846
  kind: "manual";
2839
- input: "quiz" | "photo" | "none";
2847
+ input: "none" | "quiz" | "photo";
2840
2848
  actor?: "member" | "staff" | undefined;
2841
2849
  };
2842
2850
  requires: {
@@ -2855,7 +2863,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2855
2863
  budgets: {
2856
2864
  id: string;
2857
2865
  scope: "project" | "member";
2858
- period: "day" | "week" | "lifetime";
2866
+ period: "day" | "lifetime" | "week";
2859
2867
  limit: number;
2860
2868
  cost: number | {
2861
2869
  balance: string;
@@ -2910,12 +2918,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2910
2918
  kind: "resource";
2911
2919
  default: string;
2912
2920
  source: {
2913
- provider: "domino";
2914
- resource: "point-ledger";
2915
- } | {
2916
2921
  provider: "discord";
2917
2922
  resource: "channel";
2918
2923
  types: ("text" | "announcement")[];
2924
+ } | {
2925
+ provider: "domino";
2926
+ resource: "point-ledger";
2919
2927
  } | {
2920
2928
  provider: "discord";
2921
2929
  resource: "role";
@@ -3012,7 +3020,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3012
3020
  start: number;
3013
3021
  end?: number | undefined;
3014
3022
  };
3015
- enrollment: "required" | "none";
3023
+ enrollment: "none" | "required";
3016
3024
  posts: "after-enrollment" | "since-start";
3017
3025
  historical: "staff" | "automatic" | "claim";
3018
3026
  } | undefined;
@@ -3059,7 +3067,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3059
3067
  actor?: "member" | "staff" | undefined;
3060
3068
  } | {
3061
3069
  kind: "manual";
3062
- input: "quiz" | "photo" | "none";
3070
+ input: "none" | "quiz" | "photo";
3063
3071
  actor?: "member" | "staff" | undefined;
3064
3072
  };
3065
3073
  requires: {
@@ -3078,7 +3086,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3078
3086
  budgets: {
3079
3087
  id: string;
3080
3088
  scope: "project" | "member";
3081
- period: "day" | "week" | "lifetime";
3089
+ period: "day" | "lifetime" | "week";
3082
3090
  limit: number;
3083
3091
  cost: number | {
3084
3092
  balance: string;
@@ -3089,7 +3097,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3089
3097
  id: string;
3090
3098
  createdAt: number;
3091
3099
  legacy: boolean;
3092
- lifecycle: "active" | "paused" | "archived";
3100
+ lifecycle: "paused" | "active" | "archived";
3093
3101
  performance?: {
3094
3102
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3095
3103
  maxAgeMs: number;
@@ -3212,7 +3220,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3212
3220
  quest: string;
3213
3221
  member: string;
3214
3222
  evidence: string | null;
3215
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3223
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
3216
3224
  reason: string | null;
3217
3225
  retries: number;
3218
3226
  generation: number;
@@ -3244,19 +3252,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3244
3252
  action: "grant-role";
3245
3253
  roleId: string;
3246
3254
  })[] | null;
3255
+ requestedReview: boolean;
3247
3256
  createdAt: number;
3248
3257
  input?: {
3249
- kind: "quiz";
3250
- answers: {
3251
- [k: string]: string;
3252
- };
3253
- release?: string | undefined;
3254
- } | {
3255
3258
  kind: "text";
3256
3259
  value: string;
3257
3260
  } | {
3258
3261
  kind: "url";
3259
3262
  value: string;
3263
+ } | {
3264
+ kind: "quiz";
3265
+ answers: {
3266
+ [k: string]: string;
3267
+ };
3268
+ release?: string | undefined;
3260
3269
  } | undefined;
3261
3270
  }[];
3262
3271
  balances: {
@@ -3314,12 +3323,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3314
3323
  kind: "resource";
3315
3324
  default: string;
3316
3325
  source: {
3317
- provider: "domino";
3318
- resource: "point-ledger";
3319
- } | {
3320
3326
  provider: "discord";
3321
3327
  resource: "channel";
3322
3328
  types: ("text" | "announcement")[];
3329
+ } | {
3330
+ provider: "domino";
3331
+ resource: "point-ledger";
3323
3332
  } | {
3324
3333
  provider: "discord";
3325
3334
  resource: "role";
@@ -3416,7 +3425,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3416
3425
  start: number;
3417
3426
  end?: number | undefined;
3418
3427
  };
3419
- enrollment: "required" | "none";
3428
+ enrollment: "none" | "required";
3420
3429
  posts: "after-enrollment" | "since-start";
3421
3430
  historical: "staff" | "automatic" | "claim";
3422
3431
  } | undefined;
@@ -3463,7 +3472,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3463
3472
  actor?: "member" | "staff" | undefined;
3464
3473
  } | {
3465
3474
  kind: "manual";
3466
- input: "quiz" | "photo" | "none";
3475
+ input: "none" | "quiz" | "photo";
3467
3476
  actor?: "member" | "staff" | undefined;
3468
3477
  };
3469
3478
  requires: {
@@ -3482,7 +3491,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3482
3491
  budgets: {
3483
3492
  id: string;
3484
3493
  scope: "project" | "member";
3485
- period: "day" | "week" | "lifetime";
3494
+ period: "day" | "lifetime" | "week";
3486
3495
  limit: number;
3487
3496
  cost: number | {
3488
3497
  balance: string;
@@ -3493,7 +3502,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3493
3502
  id: string;
3494
3503
  createdAt: number;
3495
3504
  legacy: boolean;
3496
- lifecycle: "active" | "paused" | "archived";
3505
+ lifecycle: "paused" | "active" | "archived";
3497
3506
  performance?: {
3498
3507
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3499
3508
  maxAgeMs: number;
@@ -3566,12 +3575,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3566
3575
  kind: "resource";
3567
3576
  default: string;
3568
3577
  source: {
3569
- provider: "domino";
3570
- resource: "point-ledger";
3571
- } | {
3572
3578
  provider: "discord";
3573
3579
  resource: "channel";
3574
3580
  types: ("text" | "announcement")[];
3581
+ } | {
3582
+ provider: "domino";
3583
+ resource: "point-ledger";
3575
3584
  } | {
3576
3585
  provider: "discord";
3577
3586
  resource: "role";
@@ -3668,7 +3677,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3668
3677
  start: number;
3669
3678
  end?: number | undefined;
3670
3679
  };
3671
- enrollment: "required" | "none";
3680
+ enrollment: "none" | "required";
3672
3681
  posts: "after-enrollment" | "since-start";
3673
3682
  historical: "staff" | "automatic" | "claim";
3674
3683
  } | undefined;
@@ -3715,7 +3724,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3715
3724
  actor?: "member" | "staff" | undefined;
3716
3725
  } | {
3717
3726
  kind: "manual";
3718
- input: "quiz" | "photo" | "none";
3727
+ input: "none" | "quiz" | "photo";
3719
3728
  actor?: "member" | "staff" | undefined;
3720
3729
  };
3721
3730
  requires: {
@@ -3734,7 +3743,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3734
3743
  budgets: {
3735
3744
  id: string;
3736
3745
  scope: "project" | "member";
3737
- period: "day" | "week" | "lifetime";
3746
+ period: "day" | "lifetime" | "week";
3738
3747
  limit: number;
3739
3748
  cost: number | {
3740
3749
  balance: string;
@@ -3745,7 +3754,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3745
3754
  id: string;
3746
3755
  createdAt: number;
3747
3756
  legacy: boolean;
3748
- lifecycle: "active" | "paused" | "archived";
3757
+ lifecycle: "paused" | "active" | "archived";
3749
3758
  performance?: {
3750
3759
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3751
3760
  maxAgeMs: number;
@@ -3804,7 +3813,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3804
3813
  } | undefined;
3805
3814
  } | undefined;
3806
3815
  };
3807
- connections: ("discord" | "google" | "apple" | "x")[];
3816
+ connections: ("x" | "discord" | "google" | "apple")[];
3808
3817
  trigger: {
3809
3818
  kind: "automatic";
3810
3819
  observation?: {
@@ -3817,7 +3826,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3817
3826
  start: number;
3818
3827
  end?: number | undefined;
3819
3828
  };
3820
- enrollment: "required" | "none";
3829
+ enrollment: "none" | "required";
3821
3830
  posts: "after-enrollment" | "since-start";
3822
3831
  historical: "staff" | "automatic" | "claim";
3823
3832
  } | undefined;
@@ -3864,12 +3873,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3864
3873
  actor?: "member" | "staff" | undefined;
3865
3874
  } | {
3866
3875
  kind: "manual";
3867
- input: "quiz" | "photo" | "none";
3876
+ input: "none" | "quiz" | "photo";
3868
3877
  actor?: "member" | "staff" | undefined;
3869
3878
  };
3870
3879
  availability: {
3871
3880
  kind: "available";
3872
- input: "quiz" | "text" | "url" | "photo" | "none";
3881
+ input: "text" | "url" | "none" | "quiz" | "photo";
3873
3882
  } | {
3874
3883
  kind: "completed";
3875
3884
  } | {
@@ -3918,7 +3927,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3918
3927
  quest: string;
3919
3928
  member: string;
3920
3929
  evidence: string | null;
3921
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3930
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
3922
3931
  reason: string | null;
3923
3932
  retries: number;
3924
3933
  generation: number;
@@ -3950,19 +3959,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3950
3959
  action: "grant-role";
3951
3960
  roleId: string;
3952
3961
  })[] | null;
3962
+ requestedReview: boolean;
3953
3963
  createdAt: number;
3954
3964
  input?: {
3955
- kind: "quiz";
3956
- answers: {
3957
- [k: string]: string;
3958
- };
3959
- release?: string | undefined;
3960
- } | {
3961
3965
  kind: "text";
3962
3966
  value: string;
3963
3967
  } | {
3964
3968
  kind: "url";
3965
3969
  value: string;
3970
+ } | {
3971
+ kind: "quiz";
3972
+ answers: {
3973
+ [k: string]: string;
3974
+ };
3975
+ release?: string | undefined;
3966
3976
  } | undefined;
3967
3977
  } | null;
3968
3978
  key?: string | undefined;
@@ -4344,14 +4354,14 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4344
4354
  content: {
4345
4355
  performance: (input: zod.infer<typeof contentPerformanceQuerySchema>) => Promise<{
4346
4356
  current: {
4347
- state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
4357
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
4348
4358
  reason: string | null;
4349
4359
  contentAttempt: string;
4350
4360
  attempt: string | null;
4351
4361
  reward: {
4352
4362
  attempt: string | null;
4353
4363
  completion: string | null;
4354
- state: "awarded" | "excluded" | "unresolved";
4364
+ state: "excluded" | "unresolved" | "awarded";
4355
4365
  };
4356
4366
  };
4357
4367
  items: {
@@ -4360,7 +4370,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4360
4370
  observation: string;
4361
4371
  observedAt: number;
4362
4372
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
4363
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
4373
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
4364
4374
  reason: string | null;
4365
4375
  }[];
4366
4376
  next: number | null;
@@ -4375,12 +4385,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4375
4385
  revision: string;
4376
4386
  observation: string;
4377
4387
  current: boolean;
4378
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
4388
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
4379
4389
  reason: string | null;
4380
4390
  reward: {
4381
4391
  attempt: string | null;
4382
4392
  completion: string | null;
4383
- state: "awarded" | "excluded" | "unresolved";
4393
+ state: "excluded" | "unresolved" | "awarded";
4384
4394
  };
4385
4395
  }[];
4386
4396
  next: number | null;
@@ -4390,7 +4400,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4390
4400
  quest: string;
4391
4401
  content: string;
4392
4402
  release: string;
4393
- state: "pending" | "excluded" | "admitted";
4403
+ state: "admitted" | "pending" | "excluded";
4394
4404
  reason: string | null;
4395
4405
  attempt: string | null;
4396
4406
  }[];
@@ -4405,7 +4415,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4405
4415
  quest: string;
4406
4416
  content: string;
4407
4417
  release: string;
4408
- state: "pending" | "excluded" | "admitted";
4418
+ state: "admitted" | "pending" | "excluded";
4409
4419
  reason: string | null;
4410
4420
  attempt: string | null;
4411
4421
  }>;
@@ -4416,7 +4426,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4416
4426
  quest: string;
4417
4427
  member: string;
4418
4428
  evidence: string | null;
4419
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4429
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4420
4430
  reason: string | null;
4421
4431
  retries: number;
4422
4432
  generation: number;
@@ -4448,19 +4458,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4448
4458
  action: "grant-role";
4449
4459
  roleId: string;
4450
4460
  })[] | null;
4461
+ requestedReview: boolean;
4451
4462
  createdAt: number;
4452
4463
  input?: {
4453
- kind: "quiz";
4454
- answers: {
4455
- [k: string]: string;
4456
- };
4457
- release?: string | undefined;
4458
- } | {
4459
4464
  kind: "text";
4460
4465
  value: string;
4461
4466
  } | {
4462
4467
  kind: "url";
4463
4468
  value: string;
4469
+ } | {
4470
+ kind: "quiz";
4471
+ answers: {
4472
+ [k: string]: string;
4473
+ };
4474
+ release?: string | undefined;
4464
4475
  } | undefined;
4465
4476
  }>;
4466
4477
  retry: (id: string) => Promise<{
@@ -4469,7 +4480,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4469
4480
  quest: string;
4470
4481
  member: string;
4471
4482
  evidence: string | null;
4472
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4483
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4473
4484
  reason: string | null;
4474
4485
  retries: number;
4475
4486
  generation: number;
@@ -4501,19 +4512,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4501
4512
  action: "grant-role";
4502
4513
  roleId: string;
4503
4514
  })[] | null;
4515
+ requestedReview: boolean;
4504
4516
  createdAt: number;
4505
4517
  input?: {
4506
- kind: "quiz";
4507
- answers: {
4508
- [k: string]: string;
4509
- };
4510
- release?: string | undefined;
4511
- } | {
4512
4518
  kind: "text";
4513
4519
  value: string;
4514
4520
  } | {
4515
4521
  kind: "url";
4516
4522
  value: string;
4523
+ } | {
4524
+ kind: "quiz";
4525
+ answers: {
4526
+ [k: string]: string;
4527
+ };
4528
+ release?: string | undefined;
4517
4529
  } | undefined;
4518
4530
  }>;
4519
4531
  decide: (id: string, input: {
@@ -4527,7 +4539,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4527
4539
  quest: string;
4528
4540
  member: string;
4529
4541
  evidence: string | null;
4530
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4542
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4531
4543
  reason: string | null;
4532
4544
  retries: number;
4533
4545
  generation: number;
@@ -4559,19 +4571,20 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4559
4571
  action: "grant-role";
4560
4572
  roleId: string;
4561
4573
  })[] | null;
4574
+ requestedReview: boolean;
4562
4575
  createdAt: number;
4563
4576
  input?: {
4564
- kind: "quiz";
4565
- answers: {
4566
- [k: string]: string;
4567
- };
4568
- release?: string | undefined;
4569
- } | {
4570
4577
  kind: "text";
4571
4578
  value: string;
4572
4579
  } | {
4573
4580
  kind: "url";
4574
4581
  value: string;
4582
+ } | {
4583
+ kind: "quiz";
4584
+ answers: {
4585
+ [k: string]: string;
4586
+ };
4587
+ release?: string | undefined;
4575
4588
  } | undefined;
4576
4589
  }>;
4577
4590
  };