@domino-sdk/relay 1.0.0-next.1 → 1.0.0-next.3

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
@@ -1,4 +1,4 @@
1
- import { a8 as CosmosChain, a9 as CosmosNetwork, R as WalletSigner, a5 as WalletSignInNetwork, Z as AuthProvider, M as referralAcceptSchema, N as LeaderboardQuery, P as WalletAddressInput, Q as walletSignatureSchema, L as LinkedWallet, V as walletChallengeInputSchema, Y as walletProofSchema, _ as WalletSignature, $ as engagementPageQuerySchema, a0 as contentQualificationQuerySchema, a1 as contentAdmissionQuerySchema, a2 as contentEnrollmentInputSchema, a3 as contentReleaseInputSchema } from './submission-input-JDwq3EVK.js';
1
+ import { a8 as CosmosChain, a9 as CosmosNetwork, R as WalletSigner, a5 as WalletSignInNetwork, Z as AuthProvider, M as referralAcceptSchema, N as LeaderboardQuery, P as WalletAddressInput, Q as walletSignatureSchema, L as LinkedWallet, V as walletChallengeInputSchema, Y as walletProofSchema, _ as WalletSignature, $ as engagementPageQuerySchema, a0 as contentQualificationQuerySchema, a1 as contentAdmissionQuerySchema, a2 as contentEnrollmentInputSchema, a3 as contentReleaseInputSchema } from './submission-input-jVvTh4Ed.js';
2
2
  import { SubmitInput, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
3
3
  import { createRelayClient, SubmissionStore, ProfileUpdate, ProfileCompletionQuery, QuestView, QuestController, ProgressObservation, questExperienceSchema, ProgressObserver, ExchangeInput, PhotoSubmission, QuizSubmission, ClaimSubmission, ValueSubmission } from './index.js';
4
4
  import * as zod from 'zod';
@@ -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;
@@ -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: "staff" | "text" | "url" | "automatic" | "claim" | "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,7 +1048,7 @@ 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
1053
  historical: "staff" | "automatic" | "claim";
1054
1054
  } | undefined;
@@ -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: "staff" | "text" | "url" | "automatic" | "claim" | "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,7 +1292,7 @@ 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
1297
  historical: "staff" | "automatic" | "claim";
1298
1298
  } | undefined;
@@ -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: "staff" | "text" | "url" | "automatic" | "claim" | "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,7 +1539,7 @@ 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
1544
  historical: "staff" | "automatic" | "claim";
1545
1545
  } | undefined;
@@ -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: "staff" | "text" | "url" | "automatic" | "claim" | "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,7 +2076,7 @@ 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
2081
  historical: "staff" | "automatic" | "claim";
2082
2082
  } | undefined;
@@ -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<{
@@ -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,7 +2565,7 @@ 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
2570
  historical: "staff" | "automatic" | "claim";
2571
2571
  } | undefined;
@@ -2612,12 +2612,11 @@ 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: {
2619
2619
  quest: string;
2620
- scope: "ever";
2621
2620
  }[];
2622
2621
  completion: {
2623
2622
  kind: "streak";
@@ -2632,7 +2631,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2632
2631
  budgets: {
2633
2632
  id: string;
2634
2633
  scope: "project" | "member";
2635
- period: "day" | "week" | "lifetime";
2634
+ period: "day" | "lifetime" | "week";
2636
2635
  limit: number;
2637
2636
  cost: number | {
2638
2637
  balance: string;
@@ -2688,12 +2687,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2688
2687
  kind: "resource";
2689
2688
  default: string;
2690
2689
  source: {
2691
- provider: "domino";
2692
- resource: "point-ledger";
2693
- } | {
2694
2690
  provider: "discord";
2695
2691
  resource: "channel";
2696
2692
  types: ("text" | "announcement")[];
2693
+ } | {
2694
+ provider: "domino";
2695
+ resource: "point-ledger";
2697
2696
  } | {
2698
2697
  provider: "discord";
2699
2698
  resource: "role";
@@ -2790,7 +2789,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2790
2789
  start: number;
2791
2790
  end?: number | undefined;
2792
2791
  };
2793
- enrollment: "required" | "none";
2792
+ enrollment: "none" | "required";
2794
2793
  posts: "after-enrollment" | "since-start";
2795
2794
  historical: "staff" | "automatic" | "claim";
2796
2795
  } | undefined;
@@ -2837,12 +2836,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2837
2836
  actor?: "member" | "staff" | undefined;
2838
2837
  } | {
2839
2838
  kind: "manual";
2840
- input: "quiz" | "photo" | "none";
2839
+ input: "none" | "quiz" | "photo";
2841
2840
  actor?: "member" | "staff" | undefined;
2842
2841
  };
2843
2842
  requires: {
2844
2843
  quest: string;
2845
- scope: "ever";
2846
2844
  }[];
2847
2845
  completion: {
2848
2846
  kind: "streak";
@@ -2857,7 +2855,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2857
2855
  budgets: {
2858
2856
  id: string;
2859
2857
  scope: "project" | "member";
2860
- period: "day" | "week" | "lifetime";
2858
+ period: "day" | "lifetime" | "week";
2861
2859
  limit: number;
2862
2860
  cost: number | {
2863
2861
  balance: string;
@@ -2912,12 +2910,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2912
2910
  kind: "resource";
2913
2911
  default: string;
2914
2912
  source: {
2915
- provider: "domino";
2916
- resource: "point-ledger";
2917
- } | {
2918
2913
  provider: "discord";
2919
2914
  resource: "channel";
2920
2915
  types: ("text" | "announcement")[];
2916
+ } | {
2917
+ provider: "domino";
2918
+ resource: "point-ledger";
2921
2919
  } | {
2922
2920
  provider: "discord";
2923
2921
  resource: "role";
@@ -3014,7 +3012,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3014
3012
  start: number;
3015
3013
  end?: number | undefined;
3016
3014
  };
3017
- enrollment: "required" | "none";
3015
+ enrollment: "none" | "required";
3018
3016
  posts: "after-enrollment" | "since-start";
3019
3017
  historical: "staff" | "automatic" | "claim";
3020
3018
  } | undefined;
@@ -3061,12 +3059,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3061
3059
  actor?: "member" | "staff" | undefined;
3062
3060
  } | {
3063
3061
  kind: "manual";
3064
- input: "quiz" | "photo" | "none";
3062
+ input: "none" | "quiz" | "photo";
3065
3063
  actor?: "member" | "staff" | undefined;
3066
3064
  };
3067
3065
  requires: {
3068
3066
  quest: string;
3069
- scope: "ever";
3070
3067
  }[];
3071
3068
  completion: {
3072
3069
  kind: "streak";
@@ -3081,7 +3078,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3081
3078
  budgets: {
3082
3079
  id: string;
3083
3080
  scope: "project" | "member";
3084
- period: "day" | "week" | "lifetime";
3081
+ period: "day" | "lifetime" | "week";
3085
3082
  limit: number;
3086
3083
  cost: number | {
3087
3084
  balance: string;
@@ -3092,7 +3089,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3092
3089
  id: string;
3093
3090
  createdAt: number;
3094
3091
  legacy: boolean;
3095
- lifecycle: "active" | "paused" | "archived";
3092
+ lifecycle: "paused" | "active" | "archived";
3096
3093
  performance?: {
3097
3094
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3098
3095
  maxAgeMs: number;
@@ -3215,7 +3212,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3215
3212
  quest: string;
3216
3213
  member: string;
3217
3214
  evidence: string | null;
3218
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3215
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
3219
3216
  reason: string | null;
3220
3217
  retries: number;
3221
3218
  generation: number;
@@ -3249,17 +3246,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3249
3246
  })[] | null;
3250
3247
  createdAt: number;
3251
3248
  input?: {
3252
- kind: "quiz";
3253
- answers: {
3254
- [k: string]: string;
3255
- };
3256
- release?: string | undefined;
3257
- } | {
3258
3249
  kind: "text";
3259
3250
  value: string;
3260
3251
  } | {
3261
3252
  kind: "url";
3262
3253
  value: string;
3254
+ } | {
3255
+ kind: "quiz";
3256
+ answers: {
3257
+ [k: string]: string;
3258
+ };
3259
+ release?: string | undefined;
3263
3260
  } | undefined;
3264
3261
  }[];
3265
3262
  balances: {
@@ -3317,12 +3314,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3317
3314
  kind: "resource";
3318
3315
  default: string;
3319
3316
  source: {
3320
- provider: "domino";
3321
- resource: "point-ledger";
3322
- } | {
3323
3317
  provider: "discord";
3324
3318
  resource: "channel";
3325
3319
  types: ("text" | "announcement")[];
3320
+ } | {
3321
+ provider: "domino";
3322
+ resource: "point-ledger";
3326
3323
  } | {
3327
3324
  provider: "discord";
3328
3325
  resource: "role";
@@ -3419,7 +3416,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3419
3416
  start: number;
3420
3417
  end?: number | undefined;
3421
3418
  };
3422
- enrollment: "required" | "none";
3419
+ enrollment: "none" | "required";
3423
3420
  posts: "after-enrollment" | "since-start";
3424
3421
  historical: "staff" | "automatic" | "claim";
3425
3422
  } | undefined;
@@ -3466,12 +3463,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3466
3463
  actor?: "member" | "staff" | undefined;
3467
3464
  } | {
3468
3465
  kind: "manual";
3469
- input: "quiz" | "photo" | "none";
3466
+ input: "none" | "quiz" | "photo";
3470
3467
  actor?: "member" | "staff" | undefined;
3471
3468
  };
3472
3469
  requires: {
3473
3470
  quest: string;
3474
- scope: "ever";
3475
3471
  }[];
3476
3472
  completion: {
3477
3473
  kind: "streak";
@@ -3486,7 +3482,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3486
3482
  budgets: {
3487
3483
  id: string;
3488
3484
  scope: "project" | "member";
3489
- period: "day" | "week" | "lifetime";
3485
+ period: "day" | "lifetime" | "week";
3490
3486
  limit: number;
3491
3487
  cost: number | {
3492
3488
  balance: string;
@@ -3497,7 +3493,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3497
3493
  id: string;
3498
3494
  createdAt: number;
3499
3495
  legacy: boolean;
3500
- lifecycle: "active" | "paused" | "archived";
3496
+ lifecycle: "paused" | "active" | "archived";
3501
3497
  performance?: {
3502
3498
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3503
3499
  maxAgeMs: number;
@@ -3570,12 +3566,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3570
3566
  kind: "resource";
3571
3567
  default: string;
3572
3568
  source: {
3573
- provider: "domino";
3574
- resource: "point-ledger";
3575
- } | {
3576
3569
  provider: "discord";
3577
3570
  resource: "channel";
3578
3571
  types: ("text" | "announcement")[];
3572
+ } | {
3573
+ provider: "domino";
3574
+ resource: "point-ledger";
3579
3575
  } | {
3580
3576
  provider: "discord";
3581
3577
  resource: "role";
@@ -3672,7 +3668,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3672
3668
  start: number;
3673
3669
  end?: number | undefined;
3674
3670
  };
3675
- enrollment: "required" | "none";
3671
+ enrollment: "none" | "required";
3676
3672
  posts: "after-enrollment" | "since-start";
3677
3673
  historical: "staff" | "automatic" | "claim";
3678
3674
  } | undefined;
@@ -3719,12 +3715,11 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3719
3715
  actor?: "member" | "staff" | undefined;
3720
3716
  } | {
3721
3717
  kind: "manual";
3722
- input: "quiz" | "photo" | "none";
3718
+ input: "none" | "quiz" | "photo";
3723
3719
  actor?: "member" | "staff" | undefined;
3724
3720
  };
3725
3721
  requires: {
3726
3722
  quest: string;
3727
- scope: "ever";
3728
3723
  }[];
3729
3724
  completion: {
3730
3725
  kind: "streak";
@@ -3739,7 +3734,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3739
3734
  budgets: {
3740
3735
  id: string;
3741
3736
  scope: "project" | "member";
3742
- period: "day" | "week" | "lifetime";
3737
+ period: "day" | "lifetime" | "week";
3743
3738
  limit: number;
3744
3739
  cost: number | {
3745
3740
  balance: string;
@@ -3750,7 +3745,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3750
3745
  id: string;
3751
3746
  createdAt: number;
3752
3747
  legacy: boolean;
3753
- lifecycle: "active" | "paused" | "archived";
3748
+ lifecycle: "paused" | "active" | "archived";
3754
3749
  performance?: {
3755
3750
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3756
3751
  maxAgeMs: number;
@@ -3809,7 +3804,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3809
3804
  } | undefined;
3810
3805
  } | undefined;
3811
3806
  };
3812
- connections: ("discord" | "google" | "apple" | "x")[];
3807
+ connections: ("x" | "discord" | "google" | "apple")[];
3813
3808
  trigger: {
3814
3809
  kind: "automatic";
3815
3810
  observation?: {
@@ -3822,7 +3817,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3822
3817
  start: number;
3823
3818
  end?: number | undefined;
3824
3819
  };
3825
- enrollment: "required" | "none";
3820
+ enrollment: "none" | "required";
3826
3821
  posts: "after-enrollment" | "since-start";
3827
3822
  historical: "staff" | "automatic" | "claim";
3828
3823
  } | undefined;
@@ -3869,12 +3864,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3869
3864
  actor?: "member" | "staff" | undefined;
3870
3865
  } | {
3871
3866
  kind: "manual";
3872
- input: "quiz" | "photo" | "none";
3867
+ input: "none" | "quiz" | "photo";
3873
3868
  actor?: "member" | "staff" | undefined;
3874
3869
  };
3875
3870
  availability: {
3876
3871
  kind: "available";
3877
- input: "quiz" | "text" | "url" | "photo" | "none";
3872
+ input: "text" | "url" | "none" | "quiz" | "photo";
3878
3873
  } | {
3879
3874
  kind: "completed";
3880
3875
  } | {
@@ -3923,7 +3918,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3923
3918
  quest: string;
3924
3919
  member: string;
3925
3920
  evidence: string | null;
3926
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3921
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
3927
3922
  reason: string | null;
3928
3923
  retries: number;
3929
3924
  generation: number;
@@ -3957,17 +3952,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3957
3952
  })[] | null;
3958
3953
  createdAt: number;
3959
3954
  input?: {
3960
- kind: "quiz";
3961
- answers: {
3962
- [k: string]: string;
3963
- };
3964
- release?: string | undefined;
3965
- } | {
3966
3955
  kind: "text";
3967
3956
  value: string;
3968
3957
  } | {
3969
3958
  kind: "url";
3970
3959
  value: string;
3960
+ } | {
3961
+ kind: "quiz";
3962
+ answers: {
3963
+ [k: string]: string;
3964
+ };
3965
+ release?: string | undefined;
3971
3966
  } | undefined;
3972
3967
  } | null;
3973
3968
  key?: string | undefined;
@@ -4349,14 +4344,14 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4349
4344
  content: {
4350
4345
  performance: (input: zod.infer<typeof contentPerformanceQuerySchema>) => Promise<{
4351
4346
  current: {
4352
- state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
4347
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
4353
4348
  reason: string | null;
4354
4349
  contentAttempt: string;
4355
4350
  attempt: string | null;
4356
4351
  reward: {
4357
4352
  attempt: string | null;
4358
4353
  completion: string | null;
4359
- state: "awarded" | "excluded" | "unresolved";
4354
+ state: "excluded" | "unresolved" | "awarded";
4360
4355
  };
4361
4356
  };
4362
4357
  items: {
@@ -4365,7 +4360,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4365
4360
  observation: string;
4366
4361
  observedAt: number;
4367
4362
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
4368
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
4363
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
4369
4364
  reason: string | null;
4370
4365
  }[];
4371
4366
  next: number | null;
@@ -4380,12 +4375,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4380
4375
  revision: string;
4381
4376
  observation: string;
4382
4377
  current: boolean;
4383
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
4378
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
4384
4379
  reason: string | null;
4385
4380
  reward: {
4386
4381
  attempt: string | null;
4387
4382
  completion: string | null;
4388
- state: "awarded" | "excluded" | "unresolved";
4383
+ state: "excluded" | "unresolved" | "awarded";
4389
4384
  };
4390
4385
  }[];
4391
4386
  next: number | null;
@@ -4395,7 +4390,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4395
4390
  quest: string;
4396
4391
  content: string;
4397
4392
  release: string;
4398
- state: "pending" | "excluded" | "admitted";
4393
+ state: "admitted" | "pending" | "excluded";
4399
4394
  reason: string | null;
4400
4395
  attempt: string | null;
4401
4396
  }[];
@@ -4410,7 +4405,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4410
4405
  quest: string;
4411
4406
  content: string;
4412
4407
  release: string;
4413
- state: "pending" | "excluded" | "admitted";
4408
+ state: "admitted" | "pending" | "excluded";
4414
4409
  reason: string | null;
4415
4410
  attempt: string | null;
4416
4411
  }>;
@@ -4421,7 +4416,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4421
4416
  quest: string;
4422
4417
  member: string;
4423
4418
  evidence: string | null;
4424
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4419
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4425
4420
  reason: string | null;
4426
4421
  retries: number;
4427
4422
  generation: number;
@@ -4455,17 +4450,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4455
4450
  })[] | null;
4456
4451
  createdAt: number;
4457
4452
  input?: {
4458
- kind: "quiz";
4459
- answers: {
4460
- [k: string]: string;
4461
- };
4462
- release?: string | undefined;
4463
- } | {
4464
4453
  kind: "text";
4465
4454
  value: string;
4466
4455
  } | {
4467
4456
  kind: "url";
4468
4457
  value: string;
4458
+ } | {
4459
+ kind: "quiz";
4460
+ answers: {
4461
+ [k: string]: string;
4462
+ };
4463
+ release?: string | undefined;
4469
4464
  } | undefined;
4470
4465
  }>;
4471
4466
  retry: (id: string) => Promise<{
@@ -4474,7 +4469,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4474
4469
  quest: string;
4475
4470
  member: string;
4476
4471
  evidence: string | null;
4477
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4472
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4478
4473
  reason: string | null;
4479
4474
  retries: number;
4480
4475
  generation: number;
@@ -4508,17 +4503,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4508
4503
  })[] | null;
4509
4504
  createdAt: number;
4510
4505
  input?: {
4511
- kind: "quiz";
4512
- answers: {
4513
- [k: string]: string;
4514
- };
4515
- release?: string | undefined;
4516
- } | {
4517
4506
  kind: "text";
4518
4507
  value: string;
4519
4508
  } | {
4520
4509
  kind: "url";
4521
4510
  value: string;
4511
+ } | {
4512
+ kind: "quiz";
4513
+ answers: {
4514
+ [k: string]: string;
4515
+ };
4516
+ release?: string | undefined;
4522
4517
  } | undefined;
4523
4518
  }>;
4524
4519
  decide: (id: string, input: {
@@ -4532,7 +4527,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4532
4527
  quest: string;
4533
4528
  member: string;
4534
4529
  evidence: string | null;
4535
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
4530
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
4536
4531
  reason: string | null;
4537
4532
  retries: number;
4538
4533
  generation: number;
@@ -4566,17 +4561,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
4566
4561
  })[] | null;
4567
4562
  createdAt: number;
4568
4563
  input?: {
4569
- kind: "quiz";
4570
- answers: {
4571
- [k: string]: string;
4572
- };
4573
- release?: string | undefined;
4574
- } | {
4575
4564
  kind: "text";
4576
4565
  value: string;
4577
4566
  } | {
4578
4567
  kind: "url";
4579
4568
  value: string;
4569
+ } | {
4570
+ kind: "quiz";
4571
+ answers: {
4572
+ [k: string]: string;
4573
+ };
4574
+ release?: string | undefined;
4580
4575
  } | undefined;
4581
4576
  }>;
4582
4577
  };