@domino-sdk/relay 0.31.0 → 1.0.0-next.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 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,9 +752,9 @@ 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
- historical: "staff" | "automatic" | "claim";
757
+ historical: "automatic" | "claim" | "staff";
758
758
  } | undefined;
759
759
  tracker?: {
760
760
  tracker: string;
@@ -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;
@@ -887,22 +887,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
887
887
  })[] | null;
888
888
  createdAt: number;
889
889
  input?: {
890
- kind: "quiz";
891
- answers: {
892
- [k: string]: string;
893
- };
894
- release?: string | undefined;
895
- } | {
896
890
  kind: "text";
897
891
  value: string;
898
892
  } | {
899
893
  kind: "url";
900
894
  value: string;
895
+ } | {
896
+ kind: "quiz";
897
+ answers: {
898
+ [k: string]: string;
899
+ };
900
+ release?: string | undefined;
901
901
  } | undefined;
902
902
  } | null;
903
903
  release: string;
904
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
905
- lifecycle: "active" | "paused" | "archived";
904
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
905
+ lifecycle: "paused" | "active" | "archived";
906
906
  rewards: ({
907
907
  kind: "points";
908
908
  label: string;
@@ -963,7 +963,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
963
963
  quest: string;
964
964
  member: string;
965
965
  evidence: string | null;
966
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
966
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
967
967
  reason: string | null;
968
968
  retries: number;
969
969
  generation: number;
@@ -997,17 +997,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
997
997
  })[] | null;
998
998
  createdAt: number;
999
999
  input?: {
1000
- kind: "quiz";
1001
- answers: {
1002
- [k: string]: string;
1003
- };
1004
- release?: string | undefined;
1005
- } | {
1006
1000
  kind: "text";
1007
1001
  value: string;
1008
1002
  } | {
1009
1003
  kind: "url";
1010
1004
  value: string;
1005
+ } | {
1006
+ kind: "quiz";
1007
+ answers: {
1008
+ [k: string]: string;
1009
+ };
1010
+ release?: string | undefined;
1011
1011
  } | undefined;
1012
1012
  }>;
1013
1013
  experience: () => Promise<{
@@ -1035,7 +1035,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1035
1035
  } | undefined;
1036
1036
  } | undefined;
1037
1037
  };
1038
- connections: ("discord" | "google" | "apple" | "x")[];
1038
+ connections: ("x" | "discord" | "google" | "apple")[];
1039
1039
  trigger: {
1040
1040
  kind: "automatic";
1041
1041
  observation?: {
@@ -1048,9 +1048,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1048
1048
  start: number;
1049
1049
  end?: number | undefined;
1050
1050
  };
1051
- enrollment: "required" | "none";
1051
+ enrollment: "none" | "required";
1052
1052
  posts: "after-enrollment" | "since-start";
1053
- historical: "staff" | "automatic" | "claim";
1053
+ historical: "automatic" | "claim" | "staff";
1054
1054
  } | undefined;
1055
1055
  tracker?: {
1056
1056
  tracker: string;
@@ -1095,12 +1095,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1095
1095
  actor?: "member" | "staff" | undefined;
1096
1096
  } | {
1097
1097
  kind: "manual";
1098
- input: "quiz" | "photo" | "none";
1098
+ input: "none" | "quiz" | "photo";
1099
1099
  actor?: "member" | "staff" | undefined;
1100
1100
  };
1101
1101
  availability: {
1102
1102
  kind: "available";
1103
- input: "quiz" | "text" | "url" | "photo" | "none";
1103
+ input: "text" | "url" | "none" | "quiz" | "photo";
1104
1104
  } | {
1105
1105
  kind: "completed";
1106
1106
  } | {
@@ -1149,7 +1149,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1149
1149
  quest: string;
1150
1150
  member: string;
1151
1151
  evidence: string | null;
1152
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1152
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1153
1153
  reason: string | null;
1154
1154
  retries: number;
1155
1155
  generation: number;
@@ -1183,22 +1183,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1183
1183
  })[] | null;
1184
1184
  createdAt: number;
1185
1185
  input?: {
1186
- kind: "quiz";
1187
- answers: {
1188
- [k: string]: string;
1189
- };
1190
- release?: string | undefined;
1191
- } | {
1192
1186
  kind: "text";
1193
1187
  value: string;
1194
1188
  } | {
1195
1189
  kind: "url";
1196
1190
  value: string;
1191
+ } | {
1192
+ kind: "quiz";
1193
+ answers: {
1194
+ [k: string]: string;
1195
+ };
1196
+ release?: string | undefined;
1197
1197
  } | undefined;
1198
1198
  } | null;
1199
1199
  release: string;
1200
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
1201
- lifecycle: "active" | "paused" | "archived";
1200
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
1201
+ lifecycle: "paused" | "active" | "archived";
1202
1202
  rewards: ({
1203
1203
  kind: "points";
1204
1204
  label: string;
@@ -1279,7 +1279,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1279
1279
  } | undefined;
1280
1280
  } | undefined;
1281
1281
  };
1282
- connections: ("discord" | "google" | "apple" | "x")[];
1282
+ connections: ("x" | "discord" | "google" | "apple")[];
1283
1283
  trigger: {
1284
1284
  kind: "automatic";
1285
1285
  observation?: {
@@ -1292,9 +1292,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1292
1292
  start: number;
1293
1293
  end?: number | undefined;
1294
1294
  };
1295
- enrollment: "required" | "none";
1295
+ enrollment: "none" | "required";
1296
1296
  posts: "after-enrollment" | "since-start";
1297
- historical: "staff" | "automatic" | "claim";
1297
+ historical: "automatic" | "claim" | "staff";
1298
1298
  } | undefined;
1299
1299
  tracker?: {
1300
1300
  tracker: string;
@@ -1339,12 +1339,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1339
1339
  actor?: "member" | "staff" | undefined;
1340
1340
  } | {
1341
1341
  kind: "manual";
1342
- input: "quiz" | "photo" | "none";
1342
+ input: "none" | "quiz" | "photo";
1343
1343
  actor?: "member" | "staff" | undefined;
1344
1344
  };
1345
1345
  availability: {
1346
1346
  kind: "available";
1347
- input: "quiz" | "text" | "url" | "photo" | "none";
1347
+ input: "text" | "url" | "none" | "quiz" | "photo";
1348
1348
  } | {
1349
1349
  kind: "completed";
1350
1350
  } | {
@@ -1393,7 +1393,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1393
1393
  quest: string;
1394
1394
  member: string;
1395
1395
  evidence: string | null;
1396
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1396
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1397
1397
  reason: string | null;
1398
1398
  retries: number;
1399
1399
  generation: number;
@@ -1427,22 +1427,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1427
1427
  })[] | null;
1428
1428
  createdAt: number;
1429
1429
  input?: {
1430
- kind: "quiz";
1431
- answers: {
1432
- [k: string]: string;
1433
- };
1434
- release?: string | undefined;
1435
- } | {
1436
1430
  kind: "text";
1437
1431
  value: string;
1438
1432
  } | {
1439
1433
  kind: "url";
1440
1434
  value: string;
1435
+ } | {
1436
+ kind: "quiz";
1437
+ answers: {
1438
+ [k: string]: string;
1439
+ };
1440
+ release?: string | undefined;
1441
1441
  } | undefined;
1442
1442
  } | null;
1443
1443
  release: string;
1444
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
1445
- lifecycle: "active" | "paused" | "archived";
1444
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
1445
+ lifecycle: "paused" | "active" | "archived";
1446
1446
  rewards: ({
1447
1447
  kind: "points";
1448
1448
  label: string;
@@ -1526,7 +1526,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1526
1526
  } | undefined;
1527
1527
  } | undefined;
1528
1528
  };
1529
- connections: ("discord" | "google" | "apple" | "x")[];
1529
+ connections: ("x" | "discord" | "google" | "apple")[];
1530
1530
  trigger: {
1531
1531
  kind: "automatic";
1532
1532
  observation?: {
@@ -1539,9 +1539,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1539
1539
  start: number;
1540
1540
  end?: number | undefined;
1541
1541
  };
1542
- enrollment: "required" | "none";
1542
+ enrollment: "none" | "required";
1543
1543
  posts: "after-enrollment" | "since-start";
1544
- historical: "staff" | "automatic" | "claim";
1544
+ historical: "automatic" | "claim" | "staff";
1545
1545
  } | undefined;
1546
1546
  tracker?: {
1547
1547
  tracker: string;
@@ -1586,12 +1586,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1586
1586
  actor?: "member" | "staff" | undefined;
1587
1587
  } | {
1588
1588
  kind: "manual";
1589
- input: "quiz" | "photo" | "none";
1589
+ input: "none" | "quiz" | "photo";
1590
1590
  actor?: "member" | "staff" | undefined;
1591
1591
  };
1592
1592
  availability: {
1593
1593
  kind: "available";
1594
- input: "quiz" | "text" | "url" | "photo" | "none";
1594
+ input: "text" | "url" | "none" | "quiz" | "photo";
1595
1595
  } | {
1596
1596
  kind: "completed";
1597
1597
  } | {
@@ -1640,7 +1640,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1640
1640
  quest: string;
1641
1641
  member: string;
1642
1642
  evidence: string | null;
1643
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1643
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1644
1644
  reason: string | null;
1645
1645
  retries: number;
1646
1646
  generation: number;
@@ -1674,22 +1674,22 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1674
1674
  })[] | null;
1675
1675
  createdAt: number;
1676
1676
  input?: {
1677
- kind: "quiz";
1678
- answers: {
1679
- [k: string]: string;
1680
- };
1681
- release?: string | undefined;
1682
- } | {
1683
1677
  kind: "text";
1684
1678
  value: string;
1685
1679
  } | {
1686
1680
  kind: "url";
1687
1681
  value: string;
1682
+ } | {
1683
+ kind: "quiz";
1684
+ answers: {
1685
+ [k: string]: string;
1686
+ };
1687
+ release?: string | undefined;
1688
1688
  } | undefined;
1689
1689
  } | null;
1690
1690
  release: string;
1691
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
1692
- lifecycle: "active" | "paused" | "archived";
1691
+ interaction: "text" | "url" | "automatic" | "claim" | "staff" | "quiz" | "photo";
1692
+ lifecycle: "paused" | "active" | "archived";
1693
1693
  rewards: ({
1694
1694
  kind: "points";
1695
1695
  label: string;
@@ -1814,7 +1814,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1814
1814
  auth: {
1815
1815
  providers: () => Promise<{
1816
1816
  providers: {
1817
- provider: "discord" | "google" | "apple" | "x";
1817
+ provider: "x" | "discord" | "google" | "apple";
1818
1818
  configured: boolean;
1819
1819
  }[];
1820
1820
  email: boolean;
@@ -1890,7 +1890,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1890
1890
  }>;
1891
1891
  };
1892
1892
  accounts: () => Promise<{
1893
- provider: "discord" | "google" | "apple" | "x";
1893
+ provider: "x" | "discord" | "google" | "apple";
1894
1894
  configured: boolean;
1895
1895
  status: "disconnected" | "connected" | "reconnect";
1896
1896
  subject: string | null;
@@ -1991,7 +1991,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1991
1991
  quest: string;
1992
1992
  member: string;
1993
1993
  evidence: string | null;
1994
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1994
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
1995
1995
  reason: string | null;
1996
1996
  retries: number;
1997
1997
  generation: number;
@@ -2025,17 +2025,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2025
2025
  })[] | null;
2026
2026
  createdAt: number;
2027
2027
  input?: {
2028
- kind: "quiz";
2029
- answers: {
2030
- [k: string]: string;
2031
- };
2032
- release?: string | undefined;
2033
- } | {
2034
2028
  kind: "text";
2035
2029
  value: string;
2036
2030
  } | {
2037
2031
  kind: "url";
2038
2032
  value: string;
2033
+ } | {
2034
+ kind: "quiz";
2035
+ answers: {
2036
+ [k: string]: string;
2037
+ };
2038
+ release?: string | undefined;
2039
2039
  } | undefined;
2040
2040
  }>;
2041
2041
  progress: () => Promise<{
@@ -2063,7 +2063,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2063
2063
  } | undefined;
2064
2064
  } | undefined;
2065
2065
  };
2066
- connections: ("discord" | "google" | "apple" | "x")[];
2066
+ connections: ("x" | "discord" | "google" | "apple")[];
2067
2067
  trigger: {
2068
2068
  kind: "automatic";
2069
2069
  observation?: {
@@ -2076,9 +2076,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2076
2076
  start: number;
2077
2077
  end?: number | undefined;
2078
2078
  };
2079
- enrollment: "required" | "none";
2079
+ enrollment: "none" | "required";
2080
2080
  posts: "after-enrollment" | "since-start";
2081
- historical: "staff" | "automatic" | "claim";
2081
+ historical: "automatic" | "claim" | "staff";
2082
2082
  } | undefined;
2083
2083
  tracker?: {
2084
2084
  tracker: string;
@@ -2123,12 +2123,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2123
2123
  actor?: "member" | "staff" | undefined;
2124
2124
  } | {
2125
2125
  kind: "manual";
2126
- input: "quiz" | "photo" | "none";
2126
+ input: "none" | "quiz" | "photo";
2127
2127
  actor?: "member" | "staff" | undefined;
2128
2128
  };
2129
2129
  availability: {
2130
2130
  kind: "available";
2131
- input: "quiz" | "text" | "url" | "photo" | "none";
2131
+ input: "text" | "url" | "none" | "quiz" | "photo";
2132
2132
  } | {
2133
2133
  kind: "completed";
2134
2134
  } | {
@@ -2177,7 +2177,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2177
2177
  quest: string;
2178
2178
  member: string;
2179
2179
  evidence: string | null;
2180
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
2180
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
2181
2181
  reason: string | null;
2182
2182
  retries: number;
2183
2183
  generation: number;
@@ -2211,17 +2211,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2211
2211
  })[] | null;
2212
2212
  createdAt: number;
2213
2213
  input?: {
2214
- kind: "quiz";
2215
- answers: {
2216
- [k: string]: string;
2217
- };
2218
- release?: string | undefined;
2219
- } | {
2220
2214
  kind: "text";
2221
2215
  value: string;
2222
2216
  } | {
2223
2217
  kind: "url";
2224
2218
  value: string;
2219
+ } | {
2220
+ kind: "quiz";
2221
+ answers: {
2222
+ [k: string]: string;
2223
+ };
2224
+ release?: string | undefined;
2225
2225
  } | undefined;
2226
2226
  } | null;
2227
2227
  key?: string | undefined;
@@ -2344,7 +2344,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2344
2344
  provider: "discord";
2345
2345
  action: "grant-role";
2346
2346
  roleId: string;
2347
- status: "failed" | "pending" | "delivered";
2347
+ status: "pending" | "failed" | "delivered";
2348
2348
  attempts: number;
2349
2349
  nextAt: number;
2350
2350
  lastError: string | null;
@@ -2360,7 +2360,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2360
2360
  quest: string;
2361
2361
  member: string;
2362
2362
  evidence: string | null;
2363
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
2363
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
2364
2364
  reason: string | null;
2365
2365
  retries: number;
2366
2366
  generation: number;
@@ -2394,17 +2394,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2394
2394
  })[] | null;
2395
2395
  createdAt: number;
2396
2396
  input?: {
2397
- kind: "quiz";
2398
- answers: {
2399
- [k: string]: string;
2400
- };
2401
- release?: string | undefined;
2402
- } | {
2403
2397
  kind: "text";
2404
2398
  value: string;
2405
2399
  } | {
2406
2400
  kind: "url";
2407
2401
  value: string;
2402
+ } | {
2403
+ kind: "quiz";
2404
+ answers: {
2405
+ [k: string]: string;
2406
+ };
2407
+ release?: string | undefined;
2408
2408
  } | undefined;
2409
2409
  }>;
2410
2410
  upload: (file: File) => Promise<{
@@ -2426,7 +2426,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2426
2426
  code: string;
2427
2427
  definition: {
2428
2428
  quest: string;
2429
- runtimeVersion: 2 | 1;
2429
+ runtimeVersion: 1 | 2;
2430
2430
  title: string;
2431
2431
  presentation: {
2432
2432
  quiz?: {
@@ -2463,12 +2463,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2463
2463
  kind: "resource";
2464
2464
  default: string;
2465
2465
  source: {
2466
- provider: "domino";
2467
- resource: "point-ledger";
2468
- } | {
2469
2466
  provider: "discord";
2470
2467
  resource: "channel";
2471
2468
  types: ("text" | "announcement")[];
2469
+ } | {
2470
+ provider: "domino";
2471
+ resource: "point-ledger";
2472
2472
  } | {
2473
2473
  provider: "discord";
2474
2474
  resource: "role";
@@ -2565,9 +2565,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2565
2565
  start: number;
2566
2566
  end?: number | undefined;
2567
2567
  };
2568
- enrollment: "required" | "none";
2568
+ enrollment: "none" | "required";
2569
2569
  posts: "after-enrollment" | "since-start";
2570
- historical: "staff" | "automatic" | "claim";
2570
+ historical: "automatic" | "claim" | "staff";
2571
2571
  } | undefined;
2572
2572
  tracker?: {
2573
2573
  tracker: string;
@@ -2612,7 +2612,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2612
2612
  actor?: "member" | "staff" | undefined;
2613
2613
  } | {
2614
2614
  kind: "manual";
2615
- input: "quiz" | "photo" | "none";
2615
+ input: "none" | "quiz" | "photo";
2616
2616
  actor?: "member" | "staff" | undefined;
2617
2617
  };
2618
2618
  requires: {
@@ -2631,8 +2631,8 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2631
2631
  visibility: "visible" | "hidden";
2632
2632
  budgets: {
2633
2633
  id: string;
2634
- scope: "project" | "member";
2635
- period: "day" | "week" | "lifetime";
2634
+ scope: "member" | "project";
2635
+ period: "day" | "lifetime" | "week";
2636
2636
  limit: number;
2637
2637
  cost: number | {
2638
2638
  balance: string;
@@ -2651,7 +2651,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2651
2651
  code: string;
2652
2652
  definition: {
2653
2653
  quest: string;
2654
- runtimeVersion: 2 | 1;
2654
+ runtimeVersion: 1 | 2;
2655
2655
  title: string;
2656
2656
  presentation: {
2657
2657
  quiz?: {
@@ -2688,12 +2688,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2688
2688
  kind: "resource";
2689
2689
  default: string;
2690
2690
  source: {
2691
- provider: "domino";
2692
- resource: "point-ledger";
2693
- } | {
2694
2691
  provider: "discord";
2695
2692
  resource: "channel";
2696
2693
  types: ("text" | "announcement")[];
2694
+ } | {
2695
+ provider: "domino";
2696
+ resource: "point-ledger";
2697
2697
  } | {
2698
2698
  provider: "discord";
2699
2699
  resource: "role";
@@ -2790,9 +2790,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2790
2790
  start: number;
2791
2791
  end?: number | undefined;
2792
2792
  };
2793
- enrollment: "required" | "none";
2793
+ enrollment: "none" | "required";
2794
2794
  posts: "after-enrollment" | "since-start";
2795
- historical: "staff" | "automatic" | "claim";
2795
+ historical: "automatic" | "claim" | "staff";
2796
2796
  } | undefined;
2797
2797
  tracker?: {
2798
2798
  tracker: string;
@@ -2837,7 +2837,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2837
2837
  actor?: "member" | "staff" | undefined;
2838
2838
  } | {
2839
2839
  kind: "manual";
2840
- input: "quiz" | "photo" | "none";
2840
+ input: "none" | "quiz" | "photo";
2841
2841
  actor?: "member" | "staff" | undefined;
2842
2842
  };
2843
2843
  requires: {
@@ -2856,8 +2856,8 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2856
2856
  visibility: "visible" | "hidden";
2857
2857
  budgets: {
2858
2858
  id: string;
2859
- scope: "project" | "member";
2860
- period: "day" | "week" | "lifetime";
2859
+ scope: "member" | "project";
2860
+ period: "day" | "lifetime" | "week";
2861
2861
  limit: number;
2862
2862
  cost: number | {
2863
2863
  balance: string;
@@ -2875,7 +2875,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2875
2875
  snapshot: () => Promise<{
2876
2876
  releases: {
2877
2877
  quest: string;
2878
- runtimeVersion: 2 | 1;
2878
+ runtimeVersion: 1 | 2;
2879
2879
  title: string;
2880
2880
  presentation: {
2881
2881
  quiz?: {
@@ -2912,12 +2912,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2912
2912
  kind: "resource";
2913
2913
  default: string;
2914
2914
  source: {
2915
- provider: "domino";
2916
- resource: "point-ledger";
2917
- } | {
2918
2915
  provider: "discord";
2919
2916
  resource: "channel";
2920
2917
  types: ("text" | "announcement")[];
2918
+ } | {
2919
+ provider: "domino";
2920
+ resource: "point-ledger";
2921
2921
  } | {
2922
2922
  provider: "discord";
2923
2923
  resource: "role";
@@ -3014,9 +3014,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3014
3014
  start: number;
3015
3015
  end?: number | undefined;
3016
3016
  };
3017
- enrollment: "required" | "none";
3017
+ enrollment: "none" | "required";
3018
3018
  posts: "after-enrollment" | "since-start";
3019
- historical: "staff" | "automatic" | "claim";
3019
+ historical: "automatic" | "claim" | "staff";
3020
3020
  } | undefined;
3021
3021
  tracker?: {
3022
3022
  tracker: string;
@@ -3061,7 +3061,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3061
3061
  actor?: "member" | "staff" | undefined;
3062
3062
  } | {
3063
3063
  kind: "manual";
3064
- input: "quiz" | "photo" | "none";
3064
+ input: "none" | "quiz" | "photo";
3065
3065
  actor?: "member" | "staff" | undefined;
3066
3066
  };
3067
3067
  requires: {
@@ -3080,8 +3080,8 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3080
3080
  visibility: "visible" | "hidden";
3081
3081
  budgets: {
3082
3082
  id: string;
3083
- scope: "project" | "member";
3084
- period: "day" | "week" | "lifetime";
3083
+ scope: "member" | "project";
3084
+ period: "day" | "lifetime" | "week";
3085
3085
  limit: number;
3086
3086
  cost: number | {
3087
3087
  balance: string;
@@ -3092,7 +3092,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3092
3092
  id: string;
3093
3093
  createdAt: number;
3094
3094
  legacy: boolean;
3095
- lifecycle: "active" | "paused" | "archived";
3095
+ lifecycle: "paused" | "active" | "archived";
3096
3096
  performance?: {
3097
3097
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3098
3098
  maxAgeMs: number;
@@ -3215,7 +3215,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3215
3215
  quest: string;
3216
3216
  member: string;
3217
3217
  evidence: string | null;
3218
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3218
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
3219
3219
  reason: string | null;
3220
3220
  retries: number;
3221
3221
  generation: number;
@@ -3249,17 +3249,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3249
3249
  })[] | null;
3250
3250
  createdAt: number;
3251
3251
  input?: {
3252
- kind: "quiz";
3253
- answers: {
3254
- [k: string]: string;
3255
- };
3256
- release?: string | undefined;
3257
- } | {
3258
3252
  kind: "text";
3259
3253
  value: string;
3260
3254
  } | {
3261
3255
  kind: "url";
3262
3256
  value: string;
3257
+ } | {
3258
+ kind: "quiz";
3259
+ answers: {
3260
+ [k: string]: string;
3261
+ };
3262
+ release?: string | undefined;
3263
3263
  } | undefined;
3264
3264
  }[];
3265
3265
  balances: {
@@ -3280,7 +3280,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3280
3280
  }>;
3281
3281
  publish: (release: ReleaseInput) => Promise<{
3282
3282
  quest: string;
3283
- runtimeVersion: 2 | 1;
3283
+ runtimeVersion: 1 | 2;
3284
3284
  title: string;
3285
3285
  presentation: {
3286
3286
  quiz?: {
@@ -3317,12 +3317,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3317
3317
  kind: "resource";
3318
3318
  default: string;
3319
3319
  source: {
3320
- provider: "domino";
3321
- resource: "point-ledger";
3322
- } | {
3323
3320
  provider: "discord";
3324
3321
  resource: "channel";
3325
3322
  types: ("text" | "announcement")[];
3323
+ } | {
3324
+ provider: "domino";
3325
+ resource: "point-ledger";
3326
3326
  } | {
3327
3327
  provider: "discord";
3328
3328
  resource: "role";
@@ -3419,9 +3419,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3419
3419
  start: number;
3420
3420
  end?: number | undefined;
3421
3421
  };
3422
- enrollment: "required" | "none";
3422
+ enrollment: "none" | "required";
3423
3423
  posts: "after-enrollment" | "since-start";
3424
- historical: "staff" | "automatic" | "claim";
3424
+ historical: "automatic" | "claim" | "staff";
3425
3425
  } | undefined;
3426
3426
  tracker?: {
3427
3427
  tracker: string;
@@ -3466,7 +3466,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3466
3466
  actor?: "member" | "staff" | undefined;
3467
3467
  } | {
3468
3468
  kind: "manual";
3469
- input: "quiz" | "photo" | "none";
3469
+ input: "none" | "quiz" | "photo";
3470
3470
  actor?: "member" | "staff" | undefined;
3471
3471
  };
3472
3472
  requires: {
@@ -3485,8 +3485,8 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3485
3485
  visibility: "visible" | "hidden";
3486
3486
  budgets: {
3487
3487
  id: string;
3488
- scope: "project" | "member";
3489
- period: "day" | "week" | "lifetime";
3488
+ scope: "member" | "project";
3489
+ period: "day" | "lifetime" | "week";
3490
3490
  limit: number;
3491
3491
  cost: number | {
3492
3492
  balance: string;
@@ -3497,7 +3497,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3497
3497
  id: string;
3498
3498
  createdAt: number;
3499
3499
  legacy: boolean;
3500
- lifecycle: "active" | "paused" | "archived";
3500
+ lifecycle: "paused" | "active" | "archived";
3501
3501
  performance?: {
3502
3502
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3503
3503
  maxAgeMs: number;
@@ -3533,7 +3533,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3533
3533
  }>;
3534
3534
  publishBatch: (releases: ReleaseInput[]) => Promise<{
3535
3535
  quest: string;
3536
- runtimeVersion: 2 | 1;
3536
+ runtimeVersion: 1 | 2;
3537
3537
  title: string;
3538
3538
  presentation: {
3539
3539
  quiz?: {
@@ -3570,12 +3570,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3570
3570
  kind: "resource";
3571
3571
  default: string;
3572
3572
  source: {
3573
- provider: "domino";
3574
- resource: "point-ledger";
3575
- } | {
3576
3573
  provider: "discord";
3577
3574
  resource: "channel";
3578
3575
  types: ("text" | "announcement")[];
3576
+ } | {
3577
+ provider: "domino";
3578
+ resource: "point-ledger";
3579
3579
  } | {
3580
3580
  provider: "discord";
3581
3581
  resource: "role";
@@ -3672,9 +3672,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3672
3672
  start: number;
3673
3673
  end?: number | undefined;
3674
3674
  };
3675
- enrollment: "required" | "none";
3675
+ enrollment: "none" | "required";
3676
3676
  posts: "after-enrollment" | "since-start";
3677
- historical: "staff" | "automatic" | "claim";
3677
+ historical: "automatic" | "claim" | "staff";
3678
3678
  } | undefined;
3679
3679
  tracker?: {
3680
3680
  tracker: string;
@@ -3719,7 +3719,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3719
3719
  actor?: "member" | "staff" | undefined;
3720
3720
  } | {
3721
3721
  kind: "manual";
3722
- input: "quiz" | "photo" | "none";
3722
+ input: "none" | "quiz" | "photo";
3723
3723
  actor?: "member" | "staff" | undefined;
3724
3724
  };
3725
3725
  requires: {
@@ -3738,8 +3738,8 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3738
3738
  visibility: "visible" | "hidden";
3739
3739
  budgets: {
3740
3740
  id: string;
3741
- scope: "project" | "member";
3742
- period: "day" | "week" | "lifetime";
3741
+ scope: "member" | "project";
3742
+ period: "day" | "lifetime" | "week";
3743
3743
  limit: number;
3744
3744
  cost: number | {
3745
3745
  balance: string;
@@ -3750,7 +3750,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3750
3750
  id: string;
3751
3751
  createdAt: number;
3752
3752
  legacy: boolean;
3753
- lifecycle: "active" | "paused" | "archived";
3753
+ lifecycle: "paused" | "active" | "archived";
3754
3754
  performance?: {
3755
3755
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3756
3756
  maxAgeMs: number;
@@ -3809,7 +3809,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3809
3809
  } | undefined;
3810
3810
  } | undefined;
3811
3811
  };
3812
- connections: ("discord" | "google" | "apple" | "x")[];
3812
+ connections: ("x" | "discord" | "google" | "apple")[];
3813
3813
  trigger: {
3814
3814
  kind: "automatic";
3815
3815
  observation?: {
@@ -3822,9 +3822,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3822
3822
  start: number;
3823
3823
  end?: number | undefined;
3824
3824
  };
3825
- enrollment: "required" | "none";
3825
+ enrollment: "none" | "required";
3826
3826
  posts: "after-enrollment" | "since-start";
3827
- historical: "staff" | "automatic" | "claim";
3827
+ historical: "automatic" | "claim" | "staff";
3828
3828
  } | undefined;
3829
3829
  tracker?: {
3830
3830
  tracker: string;
@@ -3869,12 +3869,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3869
3869
  actor?: "member" | "staff" | undefined;
3870
3870
  } | {
3871
3871
  kind: "manual";
3872
- input: "quiz" | "photo" | "none";
3872
+ input: "none" | "quiz" | "photo";
3873
3873
  actor?: "member" | "staff" | undefined;
3874
3874
  };
3875
3875
  availability: {
3876
3876
  kind: "available";
3877
- input: "quiz" | "text" | "url" | "photo" | "none";
3877
+ input: "text" | "url" | "none" | "quiz" | "photo";
3878
3878
  } | {
3879
3879
  kind: "completed";
3880
3880
  } | {
@@ -3923,7 +3923,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3923
3923
  quest: string;
3924
3924
  member: string;
3925
3925
  evidence: string | null;
3926
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3926
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
3927
3927
  reason: string | null;
3928
3928
  retries: number;
3929
3929
  generation: number;
@@ -3957,17 +3957,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3957
3957
  })[] | null;
3958
3958
  createdAt: number;
3959
3959
  input?: {
3960
- kind: "quiz";
3961
- answers: {
3962
- [k: string]: string;
3963
- };
3964
- release?: string | undefined;
3965
- } | {
3966
3960
  kind: "text";
3967
3961
  value: string;
3968
3962
  } | {
3969
3963
  kind: "url";
3970
3964
  value: string;
3965
+ } | {
3966
+ kind: "quiz";
3967
+ answers: {
3968
+ [k: string]: string;
3969
+ };
3970
+ release?: string | undefined;
3971
3971
  } | undefined;
3972
3972
  } | null;
3973
3973
  key?: string | undefined;
@@ -4349,14 +4349,14 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4349
4349
  content: {
4350
4350
  performance: (input: zod.infer<typeof contentPerformanceQuerySchema>) => Promise<{
4351
4351
  current: {
4352
- state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
4352
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
4353
4353
  reason: string | null;
4354
4354
  contentAttempt: string;
4355
4355
  attempt: string | null;
4356
4356
  reward: {
4357
4357
  attempt: string | null;
4358
4358
  completion: string | null;
4359
- state: "awarded" | "excluded" | "unresolved";
4359
+ state: "excluded" | "unresolved" | "awarded";
4360
4360
  };
4361
4361
  };
4362
4362
  items: {
@@ -4365,7 +4365,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4365
4365
  observation: string;
4366
4366
  observedAt: number;
4367
4367
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
4368
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
4368
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
4369
4369
  reason: string | null;
4370
4370
  }[];
4371
4371
  next: number | null;
@@ -4380,12 +4380,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4380
4380
  revision: string;
4381
4381
  observation: string;
4382
4382
  current: boolean;
4383
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
4383
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
4384
4384
  reason: string | null;
4385
4385
  reward: {
4386
4386
  attempt: string | null;
4387
4387
  completion: string | null;
4388
- state: "awarded" | "excluded" | "unresolved";
4388
+ state: "excluded" | "unresolved" | "awarded";
4389
4389
  };
4390
4390
  }[];
4391
4391
  next: number | null;
@@ -4395,7 +4395,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4395
4395
  quest: string;
4396
4396
  content: string;
4397
4397
  release: string;
4398
- state: "pending" | "excluded" | "admitted";
4398
+ state: "admitted" | "pending" | "excluded";
4399
4399
  reason: string | null;
4400
4400
  attempt: string | null;
4401
4401
  }[];
@@ -4410,7 +4410,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4410
4410
  quest: string;
4411
4411
  content: string;
4412
4412
  release: string;
4413
- state: "pending" | "excluded" | "admitted";
4413
+ state: "admitted" | "pending" | "excluded";
4414
4414
  reason: string | null;
4415
4415
  attempt: string | null;
4416
4416
  }>;
@@ -4421,7 +4421,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4421
4421
  quest: string;
4422
4422
  member: string;
4423
4423
  evidence: string | null;
4424
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4424
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4425
4425
  reason: string | null;
4426
4426
  retries: number;
4427
4427
  generation: number;
@@ -4455,17 +4455,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4455
4455
  })[] | null;
4456
4456
  createdAt: number;
4457
4457
  input?: {
4458
- kind: "quiz";
4459
- answers: {
4460
- [k: string]: string;
4461
- };
4462
- release?: string | undefined;
4463
- } | {
4464
4458
  kind: "text";
4465
4459
  value: string;
4466
4460
  } | {
4467
4461
  kind: "url";
4468
4462
  value: string;
4463
+ } | {
4464
+ kind: "quiz";
4465
+ answers: {
4466
+ [k: string]: string;
4467
+ };
4468
+ release?: string | undefined;
4469
4469
  } | undefined;
4470
4470
  }>;
4471
4471
  retry: (id: string) => Promise<{
@@ -4474,7 +4474,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4474
4474
  quest: string;
4475
4475
  member: string;
4476
4476
  evidence: string | null;
4477
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4477
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4478
4478
  reason: string | null;
4479
4479
  retries: number;
4480
4480
  generation: number;
@@ -4508,17 +4508,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4508
4508
  })[] | null;
4509
4509
  createdAt: number;
4510
4510
  input?: {
4511
- kind: "quiz";
4512
- answers: {
4513
- [k: string]: string;
4514
- };
4515
- release?: string | undefined;
4516
- } | {
4517
4511
  kind: "text";
4518
4512
  value: string;
4519
4513
  } | {
4520
4514
  kind: "url";
4521
4515
  value: string;
4516
+ } | {
4517
+ kind: "quiz";
4518
+ answers: {
4519
+ [k: string]: string;
4520
+ };
4521
+ release?: string | undefined;
4522
4522
  } | undefined;
4523
4523
  }>;
4524
4524
  decide: (id: string, input: {
@@ -4532,7 +4532,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4532
4532
  quest: string;
4533
4533
  member: string;
4534
4534
  evidence: string | null;
4535
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4535
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4536
4536
  reason: string | null;
4537
4537
  retries: number;
4538
4538
  generation: number;
@@ -4566,17 +4566,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4566
4566
  })[] | null;
4567
4567
  createdAt: number;
4568
4568
  input?: {
4569
- kind: "quiz";
4570
- answers: {
4571
- [k: string]: string;
4572
- };
4573
- release?: string | undefined;
4574
- } | {
4575
4569
  kind: "text";
4576
4570
  value: string;
4577
4571
  } | {
4578
4572
  kind: "url";
4579
4573
  value: string;
4574
+ } | {
4575
+ kind: "quiz";
4576
+ answers: {
4577
+ [k: string]: string;
4578
+ };
4579
+ release?: string | undefined;
4580
4580
  } | undefined;
4581
4581
  }>;
4582
4582
  };