@domino-sdk/relay 0.10.0 → 0.12.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/authoring.d.ts +8 -4
- package/dist/authoring.js +7 -3
- package/dist/browser.d.ts +241 -17
- package/dist/browser.js +4 -4
- package/dist/chunk-3UOTI4IU.js +904 -0
- package/dist/{chunk-Q5VDZVVO.js → chunk-CE5XVIJQ.js} +1 -1
- package/dist/{chunk-ATLYA27Y.js → chunk-NLMEK77N.js} +11 -4
- package/dist/{chunk-MVDE7WKB.js → chunk-VDWQL6HV.js} +1 -1
- package/dist/index.d.ts +436 -18
- package/dist/index.js +12 -4
- package/dist/portal-proxy.js +2 -2
- package/dist/schema.d.ts +71 -8
- package/dist/schema.js +1 -1
- package/dist/{settings-BA8XjT4m.d.ts → settings-B61jIDDA.d.ts} +49 -4
- package/package.json +1 -1
- package/dist/chunk-XTFCKK2Y.js +0 -863
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema } from './schema.js';
|
|
3
3
|
export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
4
|
-
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema,
|
|
5
|
-
export {
|
|
4
|
+
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, g as walletProofSchema, h as AuthProvider } from './settings-B61jIDDA.js';
|
|
5
|
+
export { i as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, j as LeaderboardDefinition, k as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, l as ResourceOption, m as ResourceSource, n as SettingField, q as SettingsValues, S as SolanaBalance, b as StreakPolicy, t as StreakProgress, W as WalletConnection, u as accountConnectionSchema, v as authProviderSchema, x as budgetSchema, y as communityTimeZoneSchema, z as compatibleSettingKinds, C as completionKeySchema, E as completionPolicySchema, d as defineLeaderboard, c as defineReferral, e as discord, F as discordMemberInputSchema, G as discordMemberSchema, H as discordMessageInputSchema, J as discordMessageSchema, K as discordReactionSchema, M as discordServerSchema, N as integrationProviderSchema, T as leaderboardArtifactSchema, U as leaderboardAuthoringSchema, V as leaderboardDefinitionSchema, X as leaderboardExclusionSchema, Y as leaderboardGroupSchema, Z as leaderboardPageSchema, _ as leaderboardPreviewSchema, $ as leaderboardQuerySchema, a0 as leaderboardRowSchema, a1 as leaderboardWindowSchema, a2 as missingResourceSettings, a3 as observationInputSchema, a4 as observationReceiptSchema, a5 as observationSchema, o as observationTriggerSchema, a6 as parseSettings, p as pointLedgers, a7 as pointsAccountSchema, a8 as pointsEntrySchema, a9 as pointsMutationSchema, aa as pointsResultSchema, ab as projectIntegrationSchema, ac as publishedLeaderboardSchema, ad as publishedReferralSchema, ae as quizChoiceSchema, af as quizContentSchema, ag as quizQuestionSchema, ah as quizQuestionsSchema, ai as referralAccountSchema, aj as referralArtifactSchema, ak as referralAuthoringSchema, al as referralControlSchema, am as referralDefinitionSchema, an as referralHistorySchema, ao as referralManagementSchema, ap as referralRelationshipSchema, aq as referralSummarySchema, ar as resourceOptionsSchema, as as resourceRequestSchema, at as resourceSourceSchema, au as settingFieldSchema, s as settings, av as settingsFieldsSchema, aw as settingsValuesSchema, ax as solanaAddressSchema, ay as solanaBalanceSchema, f as streak, az as streakPolicySchema, aA as streakProgressSchema, aB as walletChallengeSchema, aC as walletConnectionSchema } from './settings-B61jIDDA.js';
|
|
6
6
|
|
|
7
7
|
declare class RelayError extends Error {
|
|
8
8
|
readonly status: number;
|
|
@@ -360,6 +360,10 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
360
360
|
scope: z.ZodLiteral<"ever">;
|
|
361
361
|
}, z.core.$strict>>>;
|
|
362
362
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
363
|
+
kind: z.ZodLiteral<"streak">;
|
|
364
|
+
days: z.ZodNumber;
|
|
365
|
+
timeZone: z.ZodString;
|
|
366
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
363
367
|
kind: z.ZodLiteral<"once">;
|
|
364
368
|
}, z.core.$strict>, z.ZodObject<{
|
|
365
369
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -702,6 +706,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
702
706
|
scope: z.ZodLiteral<"ever">;
|
|
703
707
|
}, z.core.$strict>>>;
|
|
704
708
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
709
|
+
kind: z.ZodLiteral<"streak">;
|
|
710
|
+
days: z.ZodNumber;
|
|
711
|
+
timeZone: z.ZodString;
|
|
712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
705
713
|
kind: z.ZodLiteral<"once">;
|
|
706
714
|
}, z.core.$strict>, z.ZodObject<{
|
|
707
715
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -988,6 +996,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
988
996
|
scope: z.ZodLiteral<"ever">;
|
|
989
997
|
}, z.core.$strict>>>;
|
|
990
998
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
999
|
+
kind: z.ZodLiteral<"streak">;
|
|
1000
|
+
days: z.ZodNumber;
|
|
1001
|
+
timeZone: z.ZodString;
|
|
1002
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
991
1003
|
kind: z.ZodLiteral<"once">;
|
|
992
1004
|
}, z.core.$strict>, z.ZodObject<{
|
|
993
1005
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -1239,6 +1251,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1239
1251
|
scope: "ever";
|
|
1240
1252
|
}[];
|
|
1241
1253
|
completion: {
|
|
1254
|
+
kind: "streak";
|
|
1255
|
+
days: number;
|
|
1256
|
+
timeZone: string;
|
|
1257
|
+
} | {
|
|
1242
1258
|
kind: "once";
|
|
1243
1259
|
} | {
|
|
1244
1260
|
kind: "keyed";
|
|
@@ -1524,6 +1540,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1524
1540
|
scope: z.ZodLiteral<"ever">;
|
|
1525
1541
|
}, z.core.$strict>>>;
|
|
1526
1542
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1543
|
+
kind: z.ZodLiteral<"streak">;
|
|
1544
|
+
days: z.ZodNumber;
|
|
1545
|
+
timeZone: z.ZodString;
|
|
1546
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1527
1547
|
kind: z.ZodLiteral<"once">;
|
|
1528
1548
|
}, z.core.$strict>, z.ZodObject<{
|
|
1529
1549
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -1692,10 +1712,44 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1692
1712
|
}, z.core.$strict>], "kind">;
|
|
1693
1713
|
completed: z.ZodBoolean;
|
|
1694
1714
|
completion: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1715
|
+
kind: z.ZodLiteral<"streak">;
|
|
1716
|
+
days: z.ZodNumber;
|
|
1717
|
+
timeZone: z.ZodString;
|
|
1718
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1695
1719
|
kind: z.ZodLiteral<"once">;
|
|
1696
1720
|
}, z.core.$strict>, z.ZodObject<{
|
|
1697
1721
|
kind: z.ZodLiteral<"keyed">;
|
|
1698
1722
|
}, z.core.$strict>], "kind">>;
|
|
1723
|
+
streak: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1724
|
+
goal: z.ZodNumber;
|
|
1725
|
+
current: z.ZodNumber;
|
|
1726
|
+
best: z.ZodNumber;
|
|
1727
|
+
today: z.ZodString;
|
|
1728
|
+
todayQualified: z.ZodBoolean;
|
|
1729
|
+
timeZone: z.ZodString;
|
|
1730
|
+
nextBoundary: z.ZodNumber;
|
|
1731
|
+
pendingTimeZone: z.ZodNullable<z.ZodObject<{
|
|
1732
|
+
timeZone: z.ZodString;
|
|
1733
|
+
effectiveAt: z.ZodNumber;
|
|
1734
|
+
}, z.core.$strip>>;
|
|
1735
|
+
days: z.ZodArray<z.ZodObject<{
|
|
1736
|
+
day: z.ZodNumber;
|
|
1737
|
+
date: z.ZodString;
|
|
1738
|
+
timeZone: z.ZodString;
|
|
1739
|
+
occurredAt: z.ZodNumber;
|
|
1740
|
+
}, z.core.$strip>>;
|
|
1741
|
+
milestone: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1742
|
+
status: z.ZodLiteral<"pending">;
|
|
1743
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1744
|
+
status: z.ZodLiteral<"awarded">;
|
|
1745
|
+
completion: z.ZodString;
|
|
1746
|
+
achievedAt: z.ZodNumber;
|
|
1747
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1748
|
+
status: z.ZodLiteral<"budget-exhausted">;
|
|
1749
|
+
budget: z.ZodString;
|
|
1750
|
+
achievedAt: z.ZodNumber;
|
|
1751
|
+
}, z.core.$strip>], "status">;
|
|
1752
|
+
}, z.core.$strip>>>;
|
|
1699
1753
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
1700
1754
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1701
1755
|
visible: "visible";
|
|
@@ -1722,6 +1776,7 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1722
1776
|
queued: "queued";
|
|
1723
1777
|
evaluating: "evaluating";
|
|
1724
1778
|
accepted: "accepted";
|
|
1779
|
+
progressed: "progressed";
|
|
1725
1780
|
rejected: "rejected";
|
|
1726
1781
|
"needs-review": "needs-review";
|
|
1727
1782
|
failed: "failed";
|
|
@@ -1863,10 +1918,44 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1863
1918
|
}, z.core.$strict>], "kind">;
|
|
1864
1919
|
completed: z.ZodBoolean;
|
|
1865
1920
|
completion: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1921
|
+
kind: z.ZodLiteral<"streak">;
|
|
1922
|
+
days: z.ZodNumber;
|
|
1923
|
+
timeZone: z.ZodString;
|
|
1924
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1866
1925
|
kind: z.ZodLiteral<"once">;
|
|
1867
1926
|
}, z.core.$strict>, z.ZodObject<{
|
|
1868
1927
|
kind: z.ZodLiteral<"keyed">;
|
|
1869
1928
|
}, z.core.$strict>], "kind">>;
|
|
1929
|
+
streak: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1930
|
+
goal: z.ZodNumber;
|
|
1931
|
+
current: z.ZodNumber;
|
|
1932
|
+
best: z.ZodNumber;
|
|
1933
|
+
today: z.ZodString;
|
|
1934
|
+
todayQualified: z.ZodBoolean;
|
|
1935
|
+
timeZone: z.ZodString;
|
|
1936
|
+
nextBoundary: z.ZodNumber;
|
|
1937
|
+
pendingTimeZone: z.ZodNullable<z.ZodObject<{
|
|
1938
|
+
timeZone: z.ZodString;
|
|
1939
|
+
effectiveAt: z.ZodNumber;
|
|
1940
|
+
}, z.core.$strip>>;
|
|
1941
|
+
days: z.ZodArray<z.ZodObject<{
|
|
1942
|
+
day: z.ZodNumber;
|
|
1943
|
+
date: z.ZodString;
|
|
1944
|
+
timeZone: z.ZodString;
|
|
1945
|
+
occurredAt: z.ZodNumber;
|
|
1946
|
+
}, z.core.$strip>>;
|
|
1947
|
+
milestone: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1948
|
+
status: z.ZodLiteral<"pending">;
|
|
1949
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1950
|
+
status: z.ZodLiteral<"awarded">;
|
|
1951
|
+
completion: z.ZodString;
|
|
1952
|
+
achievedAt: z.ZodNumber;
|
|
1953
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1954
|
+
status: z.ZodLiteral<"budget-exhausted">;
|
|
1955
|
+
budget: z.ZodString;
|
|
1956
|
+
achievedAt: z.ZodNumber;
|
|
1957
|
+
}, z.core.$strip>], "status">;
|
|
1958
|
+
}, z.core.$strip>>>;
|
|
1870
1959
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
1871
1960
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
1872
1961
|
visible: "visible";
|
|
@@ -1893,6 +1982,7 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1893
1982
|
queued: "queued";
|
|
1894
1983
|
evaluating: "evaluating";
|
|
1895
1984
|
accepted: "accepted";
|
|
1985
|
+
progressed: "progressed";
|
|
1896
1986
|
rejected: "rejected";
|
|
1897
1987
|
"needs-review": "needs-review";
|
|
1898
1988
|
failed: "failed";
|
|
@@ -2033,10 +2123,44 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2033
2123
|
}, z.core.$strict>], "kind">;
|
|
2034
2124
|
completed: z.ZodBoolean;
|
|
2035
2125
|
completion: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2126
|
+
kind: z.ZodLiteral<"streak">;
|
|
2127
|
+
days: z.ZodNumber;
|
|
2128
|
+
timeZone: z.ZodString;
|
|
2129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2036
2130
|
kind: z.ZodLiteral<"once">;
|
|
2037
2131
|
}, z.core.$strict>, z.ZodObject<{
|
|
2038
2132
|
kind: z.ZodLiteral<"keyed">;
|
|
2039
2133
|
}, z.core.$strict>], "kind">>;
|
|
2134
|
+
streak: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2135
|
+
goal: z.ZodNumber;
|
|
2136
|
+
current: z.ZodNumber;
|
|
2137
|
+
best: z.ZodNumber;
|
|
2138
|
+
today: z.ZodString;
|
|
2139
|
+
todayQualified: z.ZodBoolean;
|
|
2140
|
+
timeZone: z.ZodString;
|
|
2141
|
+
nextBoundary: z.ZodNumber;
|
|
2142
|
+
pendingTimeZone: z.ZodNullable<z.ZodObject<{
|
|
2143
|
+
timeZone: z.ZodString;
|
|
2144
|
+
effectiveAt: z.ZodNumber;
|
|
2145
|
+
}, z.core.$strip>>;
|
|
2146
|
+
days: z.ZodArray<z.ZodObject<{
|
|
2147
|
+
day: z.ZodNumber;
|
|
2148
|
+
date: z.ZodString;
|
|
2149
|
+
timeZone: z.ZodString;
|
|
2150
|
+
occurredAt: z.ZodNumber;
|
|
2151
|
+
}, z.core.$strip>>;
|
|
2152
|
+
milestone: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2153
|
+
status: z.ZodLiteral<"pending">;
|
|
2154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2155
|
+
status: z.ZodLiteral<"awarded">;
|
|
2156
|
+
completion: z.ZodString;
|
|
2157
|
+
achievedAt: z.ZodNumber;
|
|
2158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2159
|
+
status: z.ZodLiteral<"budget-exhausted">;
|
|
2160
|
+
budget: z.ZodString;
|
|
2161
|
+
achievedAt: z.ZodNumber;
|
|
2162
|
+
}, z.core.$strip>], "status">;
|
|
2163
|
+
}, z.core.$strip>>>;
|
|
2040
2164
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2041
2165
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2042
2166
|
visible: "visible";
|
|
@@ -2063,6 +2187,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2063
2187
|
queued: "queued";
|
|
2064
2188
|
evaluating: "evaluating";
|
|
2065
2189
|
accepted: "accepted";
|
|
2190
|
+
progressed: "progressed";
|
|
2066
2191
|
rejected: "rejected";
|
|
2067
2192
|
"needs-review": "needs-review";
|
|
2068
2193
|
failed: "failed";
|
|
@@ -2204,10 +2329,44 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2204
2329
|
}, z.core.$strict>], "kind">;
|
|
2205
2330
|
completed: z.ZodBoolean;
|
|
2206
2331
|
completion: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2332
|
+
kind: z.ZodLiteral<"streak">;
|
|
2333
|
+
days: z.ZodNumber;
|
|
2334
|
+
timeZone: z.ZodString;
|
|
2335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2207
2336
|
kind: z.ZodLiteral<"once">;
|
|
2208
2337
|
}, z.core.$strict>, z.ZodObject<{
|
|
2209
2338
|
kind: z.ZodLiteral<"keyed">;
|
|
2210
2339
|
}, z.core.$strict>], "kind">>;
|
|
2340
|
+
streak: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2341
|
+
goal: z.ZodNumber;
|
|
2342
|
+
current: z.ZodNumber;
|
|
2343
|
+
best: z.ZodNumber;
|
|
2344
|
+
today: z.ZodString;
|
|
2345
|
+
todayQualified: z.ZodBoolean;
|
|
2346
|
+
timeZone: z.ZodString;
|
|
2347
|
+
nextBoundary: z.ZodNumber;
|
|
2348
|
+
pendingTimeZone: z.ZodNullable<z.ZodObject<{
|
|
2349
|
+
timeZone: z.ZodString;
|
|
2350
|
+
effectiveAt: z.ZodNumber;
|
|
2351
|
+
}, z.core.$strip>>;
|
|
2352
|
+
days: z.ZodArray<z.ZodObject<{
|
|
2353
|
+
day: z.ZodNumber;
|
|
2354
|
+
date: z.ZodString;
|
|
2355
|
+
timeZone: z.ZodString;
|
|
2356
|
+
occurredAt: z.ZodNumber;
|
|
2357
|
+
}, z.core.$strip>>;
|
|
2358
|
+
milestone: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2359
|
+
status: z.ZodLiteral<"pending">;
|
|
2360
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2361
|
+
status: z.ZodLiteral<"awarded">;
|
|
2362
|
+
completion: z.ZodString;
|
|
2363
|
+
achievedAt: z.ZodNumber;
|
|
2364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2365
|
+
status: z.ZodLiteral<"budget-exhausted">;
|
|
2366
|
+
budget: z.ZodString;
|
|
2367
|
+
achievedAt: z.ZodNumber;
|
|
2368
|
+
}, z.core.$strip>], "status">;
|
|
2369
|
+
}, z.core.$strip>>>;
|
|
2211
2370
|
completionCount: z.ZodDefault<z.ZodNumber>;
|
|
2212
2371
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2213
2372
|
visible: "visible";
|
|
@@ -2234,6 +2393,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2234
2393
|
queued: "queued";
|
|
2235
2394
|
evaluating: "evaluating";
|
|
2236
2395
|
accepted: "accepted";
|
|
2396
|
+
progressed: "progressed";
|
|
2237
2397
|
rejected: "rejected";
|
|
2238
2398
|
"needs-review": "needs-review";
|
|
2239
2399
|
failed: "failed";
|
|
@@ -2522,6 +2682,10 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2522
2682
|
scope: z.ZodLiteral<"ever">;
|
|
2523
2683
|
}, z.core.$strict>>>;
|
|
2524
2684
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2685
|
+
kind: z.ZodLiteral<"streak">;
|
|
2686
|
+
days: z.ZodNumber;
|
|
2687
|
+
timeZone: z.ZodString;
|
|
2688
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2525
2689
|
kind: z.ZodLiteral<"once">;
|
|
2526
2690
|
}, z.core.$strict>, z.ZodObject<{
|
|
2527
2691
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -2773,6 +2937,10 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2773
2937
|
scope: "ever";
|
|
2774
2938
|
}[];
|
|
2775
2939
|
completion: {
|
|
2940
|
+
kind: "streak";
|
|
2941
|
+
days: number;
|
|
2942
|
+
timeZone: string;
|
|
2943
|
+
} | {
|
|
2776
2944
|
kind: "once";
|
|
2777
2945
|
} | {
|
|
2778
2946
|
kind: "keyed";
|
|
@@ -2931,6 +3099,7 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
2931
3099
|
action: z.ZodLiteral<"grant-role">;
|
|
2932
3100
|
roleId: z.ZodString;
|
|
2933
3101
|
status: z.ZodEnum<{
|
|
3102
|
+
failed: "failed";
|
|
2934
3103
|
pending: "pending";
|
|
2935
3104
|
delivered: "delivered";
|
|
2936
3105
|
}>;
|
|
@@ -2950,6 +3119,7 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
2950
3119
|
action: z.ZodLiteral<"grant-role">;
|
|
2951
3120
|
roleId: z.ZodString;
|
|
2952
3121
|
status: z.ZodEnum<{
|
|
3122
|
+
failed: "failed";
|
|
2953
3123
|
pending: "pending";
|
|
2954
3124
|
delivered: "delivered";
|
|
2955
3125
|
}>;
|
|
@@ -4219,6 +4389,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4219
4389
|
scope: z.ZodLiteral<"ever">;
|
|
4220
4390
|
}, z.core.$strict>>>;
|
|
4221
4391
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4392
|
+
kind: z.ZodLiteral<"streak">;
|
|
4393
|
+
days: z.ZodNumber;
|
|
4394
|
+
timeZone: z.ZodString;
|
|
4395
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4222
4396
|
kind: z.ZodLiteral<"once">;
|
|
4223
4397
|
}, z.core.$strict>, z.ZodObject<{
|
|
4224
4398
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -4470,6 +4644,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4470
4644
|
scope: "ever";
|
|
4471
4645
|
}[];
|
|
4472
4646
|
completion: {
|
|
4647
|
+
kind: "streak";
|
|
4648
|
+
days: number;
|
|
4649
|
+
timeZone: string;
|
|
4650
|
+
} | {
|
|
4473
4651
|
kind: "once";
|
|
4474
4652
|
} | {
|
|
4475
4653
|
kind: "keyed";
|
|
@@ -4714,6 +4892,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4714
4892
|
scope: z.ZodLiteral<"ever">;
|
|
4715
4893
|
}, z.core.$strict>>>;
|
|
4716
4894
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4895
|
+
kind: z.ZodLiteral<"streak">;
|
|
4896
|
+
days: z.ZodNumber;
|
|
4897
|
+
timeZone: z.ZodString;
|
|
4898
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4717
4899
|
kind: z.ZodLiteral<"once">;
|
|
4718
4900
|
}, z.core.$strict>, z.ZodObject<{
|
|
4719
4901
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -5170,6 +5352,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5170
5352
|
scope: z.ZodLiteral<"ever">;
|
|
5171
5353
|
}, z.core.$strict>>>;
|
|
5172
5354
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5355
|
+
kind: z.ZodLiteral<"streak">;
|
|
5356
|
+
days: z.ZodNumber;
|
|
5357
|
+
timeZone: z.ZodString;
|
|
5358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5173
5359
|
kind: z.ZodLiteral<"once">;
|
|
5174
5360
|
}, z.core.$strict>, z.ZodObject<{
|
|
5175
5361
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -5421,6 +5607,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5421
5607
|
scope: "ever";
|
|
5422
5608
|
}[];
|
|
5423
5609
|
completion: {
|
|
5610
|
+
kind: "streak";
|
|
5611
|
+
days: number;
|
|
5612
|
+
timeZone: string;
|
|
5613
|
+
} | {
|
|
5424
5614
|
kind: "once";
|
|
5425
5615
|
} | {
|
|
5426
5616
|
kind: "keyed";
|
|
@@ -5665,6 +5855,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5665
5855
|
scope: z.ZodLiteral<"ever">;
|
|
5666
5856
|
}, z.core.$strict>>>;
|
|
5667
5857
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5858
|
+
kind: z.ZodLiteral<"streak">;
|
|
5859
|
+
days: z.ZodNumber;
|
|
5860
|
+
timeZone: z.ZodString;
|
|
5861
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5668
5862
|
kind: z.ZodLiteral<"once">;
|
|
5669
5863
|
}, z.core.$strict>, z.ZodObject<{
|
|
5670
5864
|
kind: z.ZodLiteral<"keyed">;
|
|
@@ -6205,7 +6399,7 @@ declare function createRelayClient(options: {
|
|
|
6205
6399
|
accounts: {
|
|
6206
6400
|
id: string;
|
|
6207
6401
|
program: string;
|
|
6208
|
-
kind: "fixed" | "
|
|
6402
|
+
kind: "fixed" | "milestone" | "bonus";
|
|
6209
6403
|
balance: string;
|
|
6210
6404
|
earned: number;
|
|
6211
6405
|
settled: number;
|
|
@@ -6375,6 +6569,10 @@ declare function createRelayClient(options: {
|
|
|
6375
6569
|
};
|
|
6376
6570
|
completed: boolean;
|
|
6377
6571
|
completion: {
|
|
6572
|
+
kind: "streak";
|
|
6573
|
+
days: number;
|
|
6574
|
+
timeZone: string;
|
|
6575
|
+
} | {
|
|
6378
6576
|
kind: "once";
|
|
6379
6577
|
} | {
|
|
6380
6578
|
kind: "keyed";
|
|
@@ -6391,7 +6589,7 @@ declare function createRelayClient(options: {
|
|
|
6391
6589
|
quest: string;
|
|
6392
6590
|
member: string;
|
|
6393
6591
|
evidence: string | null;
|
|
6394
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6592
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6395
6593
|
reason: string | null;
|
|
6396
6594
|
retries: number;
|
|
6397
6595
|
generation: number;
|
|
@@ -6439,6 +6637,36 @@ declare function createRelayClient(options: {
|
|
|
6439
6637
|
label: string;
|
|
6440
6638
|
}[];
|
|
6441
6639
|
key?: string | undefined;
|
|
6640
|
+
streak?: {
|
|
6641
|
+
goal: number;
|
|
6642
|
+
current: number;
|
|
6643
|
+
best: number;
|
|
6644
|
+
today: string;
|
|
6645
|
+
todayQualified: boolean;
|
|
6646
|
+
timeZone: string;
|
|
6647
|
+
nextBoundary: number;
|
|
6648
|
+
pendingTimeZone: {
|
|
6649
|
+
timeZone: string;
|
|
6650
|
+
effectiveAt: number;
|
|
6651
|
+
} | null;
|
|
6652
|
+
days: {
|
|
6653
|
+
day: number;
|
|
6654
|
+
date: string;
|
|
6655
|
+
timeZone: string;
|
|
6656
|
+
occurredAt: number;
|
|
6657
|
+
}[];
|
|
6658
|
+
milestone: {
|
|
6659
|
+
status: "pending";
|
|
6660
|
+
} | {
|
|
6661
|
+
status: "awarded";
|
|
6662
|
+
completion: string;
|
|
6663
|
+
achievedAt: number;
|
|
6664
|
+
} | {
|
|
6665
|
+
status: "budget-exhausted";
|
|
6666
|
+
budget: string;
|
|
6667
|
+
achievedAt: number;
|
|
6668
|
+
};
|
|
6669
|
+
} | null | undefined;
|
|
6442
6670
|
}>;
|
|
6443
6671
|
retry: (view: QuestView) => Promise<{
|
|
6444
6672
|
id: string;
|
|
@@ -6446,7 +6674,7 @@ declare function createRelayClient(options: {
|
|
|
6446
6674
|
quest: string;
|
|
6447
6675
|
member: string;
|
|
6448
6676
|
evidence: string | null;
|
|
6449
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6677
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6450
6678
|
reason: string | null;
|
|
6451
6679
|
retries: number;
|
|
6452
6680
|
generation: number;
|
|
@@ -6555,6 +6783,10 @@ declare function createRelayClient(options: {
|
|
|
6555
6783
|
};
|
|
6556
6784
|
completed: boolean;
|
|
6557
6785
|
completion: {
|
|
6786
|
+
kind: "streak";
|
|
6787
|
+
days: number;
|
|
6788
|
+
timeZone: string;
|
|
6789
|
+
} | {
|
|
6558
6790
|
kind: "once";
|
|
6559
6791
|
} | {
|
|
6560
6792
|
kind: "keyed";
|
|
@@ -6571,7 +6803,7 @@ declare function createRelayClient(options: {
|
|
|
6571
6803
|
quest: string;
|
|
6572
6804
|
member: string;
|
|
6573
6805
|
evidence: string | null;
|
|
6574
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6806
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6575
6807
|
reason: string | null;
|
|
6576
6808
|
retries: number;
|
|
6577
6809
|
generation: number;
|
|
@@ -6619,6 +6851,36 @@ declare function createRelayClient(options: {
|
|
|
6619
6851
|
label: string;
|
|
6620
6852
|
}[];
|
|
6621
6853
|
key?: string | undefined;
|
|
6854
|
+
streak?: {
|
|
6855
|
+
goal: number;
|
|
6856
|
+
current: number;
|
|
6857
|
+
best: number;
|
|
6858
|
+
today: string;
|
|
6859
|
+
todayQualified: boolean;
|
|
6860
|
+
timeZone: string;
|
|
6861
|
+
nextBoundary: number;
|
|
6862
|
+
pendingTimeZone: {
|
|
6863
|
+
timeZone: string;
|
|
6864
|
+
effectiveAt: number;
|
|
6865
|
+
} | null;
|
|
6866
|
+
days: {
|
|
6867
|
+
day: number;
|
|
6868
|
+
date: string;
|
|
6869
|
+
timeZone: string;
|
|
6870
|
+
occurredAt: number;
|
|
6871
|
+
}[];
|
|
6872
|
+
milestone: {
|
|
6873
|
+
status: "pending";
|
|
6874
|
+
} | {
|
|
6875
|
+
status: "awarded";
|
|
6876
|
+
completion: string;
|
|
6877
|
+
achievedAt: number;
|
|
6878
|
+
} | {
|
|
6879
|
+
status: "budget-exhausted";
|
|
6880
|
+
budget: string;
|
|
6881
|
+
achievedAt: number;
|
|
6882
|
+
};
|
|
6883
|
+
} | null | undefined;
|
|
6622
6884
|
}[];
|
|
6623
6885
|
collections: {
|
|
6624
6886
|
id: string;
|
|
@@ -6689,6 +6951,10 @@ declare function createRelayClient(options: {
|
|
|
6689
6951
|
};
|
|
6690
6952
|
completed: boolean;
|
|
6691
6953
|
completion: {
|
|
6954
|
+
kind: "streak";
|
|
6955
|
+
days: number;
|
|
6956
|
+
timeZone: string;
|
|
6957
|
+
} | {
|
|
6692
6958
|
kind: "once";
|
|
6693
6959
|
} | {
|
|
6694
6960
|
kind: "keyed";
|
|
@@ -6705,7 +6971,7 @@ declare function createRelayClient(options: {
|
|
|
6705
6971
|
quest: string;
|
|
6706
6972
|
member: string;
|
|
6707
6973
|
evidence: string | null;
|
|
6708
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6974
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6709
6975
|
reason: string | null;
|
|
6710
6976
|
retries: number;
|
|
6711
6977
|
generation: number;
|
|
@@ -6753,6 +7019,36 @@ declare function createRelayClient(options: {
|
|
|
6753
7019
|
label: string;
|
|
6754
7020
|
}[];
|
|
6755
7021
|
key?: string | undefined;
|
|
7022
|
+
streak?: {
|
|
7023
|
+
goal: number;
|
|
7024
|
+
current: number;
|
|
7025
|
+
best: number;
|
|
7026
|
+
today: string;
|
|
7027
|
+
todayQualified: boolean;
|
|
7028
|
+
timeZone: string;
|
|
7029
|
+
nextBoundary: number;
|
|
7030
|
+
pendingTimeZone: {
|
|
7031
|
+
timeZone: string;
|
|
7032
|
+
effectiveAt: number;
|
|
7033
|
+
} | null;
|
|
7034
|
+
days: {
|
|
7035
|
+
day: number;
|
|
7036
|
+
date: string;
|
|
7037
|
+
timeZone: string;
|
|
7038
|
+
occurredAt: number;
|
|
7039
|
+
}[];
|
|
7040
|
+
milestone: {
|
|
7041
|
+
status: "pending";
|
|
7042
|
+
} | {
|
|
7043
|
+
status: "awarded";
|
|
7044
|
+
completion: string;
|
|
7045
|
+
achievedAt: number;
|
|
7046
|
+
} | {
|
|
7047
|
+
status: "budget-exhausted";
|
|
7048
|
+
budget: string;
|
|
7049
|
+
achievedAt: number;
|
|
7050
|
+
};
|
|
7051
|
+
} | null | undefined;
|
|
6756
7052
|
}[];
|
|
6757
7053
|
key?: string | undefined;
|
|
6758
7054
|
}[];
|
|
@@ -6826,6 +7122,10 @@ declare function createRelayClient(options: {
|
|
|
6826
7122
|
};
|
|
6827
7123
|
completed: boolean;
|
|
6828
7124
|
completion: {
|
|
7125
|
+
kind: "streak";
|
|
7126
|
+
days: number;
|
|
7127
|
+
timeZone: string;
|
|
7128
|
+
} | {
|
|
6829
7129
|
kind: "once";
|
|
6830
7130
|
} | {
|
|
6831
7131
|
kind: "keyed";
|
|
@@ -6842,7 +7142,7 @@ declare function createRelayClient(options: {
|
|
|
6842
7142
|
quest: string;
|
|
6843
7143
|
member: string;
|
|
6844
7144
|
evidence: string | null;
|
|
6845
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7145
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
6846
7146
|
reason: string | null;
|
|
6847
7147
|
retries: number;
|
|
6848
7148
|
generation: number;
|
|
@@ -6890,6 +7190,36 @@ declare function createRelayClient(options: {
|
|
|
6890
7190
|
label: string;
|
|
6891
7191
|
}[];
|
|
6892
7192
|
key?: string | undefined;
|
|
7193
|
+
streak?: {
|
|
7194
|
+
goal: number;
|
|
7195
|
+
current: number;
|
|
7196
|
+
best: number;
|
|
7197
|
+
today: string;
|
|
7198
|
+
todayQualified: boolean;
|
|
7199
|
+
timeZone: string;
|
|
7200
|
+
nextBoundary: number;
|
|
7201
|
+
pendingTimeZone: {
|
|
7202
|
+
timeZone: string;
|
|
7203
|
+
effectiveAt: number;
|
|
7204
|
+
} | null;
|
|
7205
|
+
days: {
|
|
7206
|
+
day: number;
|
|
7207
|
+
date: string;
|
|
7208
|
+
timeZone: string;
|
|
7209
|
+
occurredAt: number;
|
|
7210
|
+
}[];
|
|
7211
|
+
milestone: {
|
|
7212
|
+
status: "pending";
|
|
7213
|
+
} | {
|
|
7214
|
+
status: "awarded";
|
|
7215
|
+
completion: string;
|
|
7216
|
+
achievedAt: number;
|
|
7217
|
+
} | {
|
|
7218
|
+
status: "budget-exhausted";
|
|
7219
|
+
budget: string;
|
|
7220
|
+
achievedAt: number;
|
|
7221
|
+
};
|
|
7222
|
+
} | null | undefined;
|
|
6893
7223
|
}[];
|
|
6894
7224
|
key?: string | undefined;
|
|
6895
7225
|
}>;
|
|
@@ -7046,7 +7376,7 @@ declare function createRelayClient(options: {
|
|
|
7046
7376
|
quest: string;
|
|
7047
7377
|
member: string;
|
|
7048
7378
|
evidence: string | null;
|
|
7049
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7379
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7050
7380
|
reason: string | null;
|
|
7051
7381
|
retries: number;
|
|
7052
7382
|
generation: number;
|
|
@@ -7155,6 +7485,10 @@ declare function createRelayClient(options: {
|
|
|
7155
7485
|
};
|
|
7156
7486
|
completed: boolean;
|
|
7157
7487
|
completion: {
|
|
7488
|
+
kind: "streak";
|
|
7489
|
+
days: number;
|
|
7490
|
+
timeZone: string;
|
|
7491
|
+
} | {
|
|
7158
7492
|
kind: "once";
|
|
7159
7493
|
} | {
|
|
7160
7494
|
kind: "keyed";
|
|
@@ -7171,7 +7505,7 @@ declare function createRelayClient(options: {
|
|
|
7171
7505
|
quest: string;
|
|
7172
7506
|
member: string;
|
|
7173
7507
|
evidence: string | null;
|
|
7174
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7508
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7175
7509
|
reason: string | null;
|
|
7176
7510
|
retries: number;
|
|
7177
7511
|
generation: number;
|
|
@@ -7214,6 +7548,36 @@ declare function createRelayClient(options: {
|
|
|
7214
7548
|
} | null;
|
|
7215
7549
|
key?: string | undefined;
|
|
7216
7550
|
release?: string | undefined;
|
|
7551
|
+
streak?: {
|
|
7552
|
+
goal: number;
|
|
7553
|
+
current: number;
|
|
7554
|
+
best: number;
|
|
7555
|
+
today: string;
|
|
7556
|
+
todayQualified: boolean;
|
|
7557
|
+
timeZone: string;
|
|
7558
|
+
nextBoundary: number;
|
|
7559
|
+
pendingTimeZone: {
|
|
7560
|
+
timeZone: string;
|
|
7561
|
+
effectiveAt: number;
|
|
7562
|
+
} | null;
|
|
7563
|
+
days: {
|
|
7564
|
+
day: number;
|
|
7565
|
+
date: string;
|
|
7566
|
+
timeZone: string;
|
|
7567
|
+
occurredAt: number;
|
|
7568
|
+
}[];
|
|
7569
|
+
milestone: {
|
|
7570
|
+
status: "pending";
|
|
7571
|
+
} | {
|
|
7572
|
+
status: "awarded";
|
|
7573
|
+
completion: string;
|
|
7574
|
+
achievedAt: number;
|
|
7575
|
+
} | {
|
|
7576
|
+
status: "budget-exhausted";
|
|
7577
|
+
budget: string;
|
|
7578
|
+
achievedAt: number;
|
|
7579
|
+
};
|
|
7580
|
+
} | null | undefined;
|
|
7217
7581
|
}[];
|
|
7218
7582
|
entitlements: ({
|
|
7219
7583
|
status: "available";
|
|
@@ -7302,7 +7666,7 @@ declare function createRelayClient(options: {
|
|
|
7302
7666
|
provider: "discord";
|
|
7303
7667
|
action: "grant-role";
|
|
7304
7668
|
roleId: string;
|
|
7305
|
-
status: "pending" | "delivered";
|
|
7669
|
+
status: "failed" | "pending" | "delivered";
|
|
7306
7670
|
attempts: number;
|
|
7307
7671
|
nextAt: number;
|
|
7308
7672
|
lastError: string | null;
|
|
@@ -7318,7 +7682,7 @@ declare function createRelayClient(options: {
|
|
|
7318
7682
|
quest: string;
|
|
7319
7683
|
member: string;
|
|
7320
7684
|
evidence: string | null;
|
|
7321
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7685
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7322
7686
|
reason: string | null;
|
|
7323
7687
|
retries: number;
|
|
7324
7688
|
generation: number;
|
|
@@ -7378,7 +7742,7 @@ declare function createRelayClient(options: {
|
|
|
7378
7742
|
quest: string;
|
|
7379
7743
|
member: string;
|
|
7380
7744
|
evidence: string | null;
|
|
7381
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7745
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
7382
7746
|
reason: string | null;
|
|
7383
7747
|
retries: number;
|
|
7384
7748
|
generation: number;
|
|
@@ -7599,6 +7963,10 @@ declare function createRelayClient(options: {
|
|
|
7599
7963
|
scope: "ever";
|
|
7600
7964
|
}[];
|
|
7601
7965
|
completion: {
|
|
7966
|
+
kind: "streak";
|
|
7967
|
+
days: number;
|
|
7968
|
+
timeZone: string;
|
|
7969
|
+
} | {
|
|
7602
7970
|
kind: "once";
|
|
7603
7971
|
} | {
|
|
7604
7972
|
kind: "keyed";
|
|
@@ -7763,6 +8131,10 @@ declare function createRelayClient(options: {
|
|
|
7763
8131
|
scope: "ever";
|
|
7764
8132
|
}[];
|
|
7765
8133
|
completion: {
|
|
8134
|
+
kind: "streak";
|
|
8135
|
+
days: number;
|
|
8136
|
+
timeZone: string;
|
|
8137
|
+
} | {
|
|
7766
8138
|
kind: "once";
|
|
7767
8139
|
} | {
|
|
7768
8140
|
kind: "keyed";
|
|
@@ -7926,6 +8298,10 @@ declare function createRelayClient(options: {
|
|
|
7926
8298
|
scope: "ever";
|
|
7927
8299
|
}[];
|
|
7928
8300
|
completion: {
|
|
8301
|
+
kind: "streak";
|
|
8302
|
+
days: number;
|
|
8303
|
+
timeZone: string;
|
|
8304
|
+
} | {
|
|
7929
8305
|
kind: "once";
|
|
7930
8306
|
} | {
|
|
7931
8307
|
kind: "keyed";
|
|
@@ -8061,7 +8437,7 @@ declare function createRelayClient(options: {
|
|
|
8061
8437
|
quest: string;
|
|
8062
8438
|
member: string;
|
|
8063
8439
|
evidence: string | null;
|
|
8064
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8440
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8065
8441
|
reason: string | null;
|
|
8066
8442
|
retries: number;
|
|
8067
8443
|
generation: number;
|
|
@@ -8264,6 +8640,10 @@ declare function createRelayClient(options: {
|
|
|
8264
8640
|
scope: "ever";
|
|
8265
8641
|
}[];
|
|
8266
8642
|
completion: {
|
|
8643
|
+
kind: "streak";
|
|
8644
|
+
days: number;
|
|
8645
|
+
timeZone: string;
|
|
8646
|
+
} | {
|
|
8267
8647
|
kind: "once";
|
|
8268
8648
|
} | {
|
|
8269
8649
|
kind: "keyed";
|
|
@@ -8456,6 +8836,10 @@ declare function createRelayClient(options: {
|
|
|
8456
8836
|
scope: "ever";
|
|
8457
8837
|
}[];
|
|
8458
8838
|
completion: {
|
|
8839
|
+
kind: "streak";
|
|
8840
|
+
days: number;
|
|
8841
|
+
timeZone: string;
|
|
8842
|
+
} | {
|
|
8459
8843
|
kind: "once";
|
|
8460
8844
|
} | {
|
|
8461
8845
|
kind: "keyed";
|
|
@@ -8570,6 +8954,10 @@ declare function createRelayClient(options: {
|
|
|
8570
8954
|
};
|
|
8571
8955
|
completed: boolean;
|
|
8572
8956
|
completion: {
|
|
8957
|
+
kind: "streak";
|
|
8958
|
+
days: number;
|
|
8959
|
+
timeZone: string;
|
|
8960
|
+
} | {
|
|
8573
8961
|
kind: "once";
|
|
8574
8962
|
} | {
|
|
8575
8963
|
kind: "keyed";
|
|
@@ -8586,7 +8974,7 @@ declare function createRelayClient(options: {
|
|
|
8586
8974
|
quest: string;
|
|
8587
8975
|
member: string;
|
|
8588
8976
|
evidence: string | null;
|
|
8589
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8977
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8590
8978
|
reason: string | null;
|
|
8591
8979
|
retries: number;
|
|
8592
8980
|
generation: number;
|
|
@@ -8629,6 +9017,36 @@ declare function createRelayClient(options: {
|
|
|
8629
9017
|
} | null;
|
|
8630
9018
|
key?: string | undefined;
|
|
8631
9019
|
release?: string | undefined;
|
|
9020
|
+
streak?: {
|
|
9021
|
+
goal: number;
|
|
9022
|
+
current: number;
|
|
9023
|
+
best: number;
|
|
9024
|
+
today: string;
|
|
9025
|
+
todayQualified: boolean;
|
|
9026
|
+
timeZone: string;
|
|
9027
|
+
nextBoundary: number;
|
|
9028
|
+
pendingTimeZone: {
|
|
9029
|
+
timeZone: string;
|
|
9030
|
+
effectiveAt: number;
|
|
9031
|
+
} | null;
|
|
9032
|
+
days: {
|
|
9033
|
+
day: number;
|
|
9034
|
+
date: string;
|
|
9035
|
+
timeZone: string;
|
|
9036
|
+
occurredAt: number;
|
|
9037
|
+
}[];
|
|
9038
|
+
milestone: {
|
|
9039
|
+
status: "pending";
|
|
9040
|
+
} | {
|
|
9041
|
+
status: "awarded";
|
|
9042
|
+
completion: string;
|
|
9043
|
+
achievedAt: number;
|
|
9044
|
+
} | {
|
|
9045
|
+
status: "budget-exhausted";
|
|
9046
|
+
budget: string;
|
|
9047
|
+
achievedAt: number;
|
|
9048
|
+
};
|
|
9049
|
+
} | null | undefined;
|
|
8632
9050
|
}[];
|
|
8633
9051
|
entitlements: ({
|
|
8634
9052
|
status: "available";
|
|
@@ -8879,7 +9297,7 @@ declare function createRelayClient(options: {
|
|
|
8879
9297
|
quest: string;
|
|
8880
9298
|
member: string;
|
|
8881
9299
|
evidence: string | null;
|
|
8882
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
9300
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8883
9301
|
reason: string | null;
|
|
8884
9302
|
retries: number;
|
|
8885
9303
|
generation: number;
|
|
@@ -8926,7 +9344,7 @@ declare function createRelayClient(options: {
|
|
|
8926
9344
|
quest: string;
|
|
8927
9345
|
member: string;
|
|
8928
9346
|
evidence: string | null;
|
|
8929
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
9347
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8930
9348
|
reason: string | null;
|
|
8931
9349
|
retries: number;
|
|
8932
9350
|
generation: number;
|
|
@@ -8979,7 +9397,7 @@ declare function createRelayClient(options: {
|
|
|
8979
9397
|
quest: string;
|
|
8980
9398
|
member: string;
|
|
8981
9399
|
evidence: string | null;
|
|
8982
|
-
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
9400
|
+
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
|
|
8983
9401
|
reason: string | null;
|
|
8984
9402
|
retries: number;
|
|
8985
9403
|
generation: number;
|