@domino-sdk/relay 0.18.1 → 0.18.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/authoring.d.ts +5 -5
- package/dist/browser.d.ts +65 -65
- package/dist/index.d.ts +141 -141
- package/dist/react/index.d.ts +1 -1
- package/dist/schema.d.ts +48 -48
- package/package.json +1 -1
- package/dist/{submission-input-DWlvrAQY.d.ts → submission-input-C67qt2Ph.d.ts} +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as ValueEvidence, r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, t as walletProofSchema, u as AuthProvider, v as engagementPageQuerySchema, y as contentQualificationQuerySchema, z as contentAdmissionQuerySchema, E as contentEnrollmentInputSchema, F as contentReleaseInputSchema } from './submission-input-
|
|
2
|
-
export { G as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, K as ContentPerformancePolicy, M as ContentPolicy, D as DiscordMember, a as DiscordMessage, N as EngagementDefinition, I as IntegrationProvider, P as LeaderboardDefinition, J as LeaderboardPage, O as Observation, Q as ProjectIntegration, R as QuizContent, Y as ReferralDefinition, Z as ResourceOption, _ as ResourceSource, $ as SettingField, a0 as SettingsValues, S as SolanaBalance, c as StreakPolicy, a1 as StreakProgress, d as TextEvidence, e as TextOptions, a2 as TrackerContent, a3 as TrackerContentQuery, a4 as TrackerDefinition, a5 as TrackerPreview, a6 as TrackerPreviewInput, a7 as TrackerQuery, T as TrackerReader, a8 as TrackerRecord, a9 as TrackerStatus, U as UrlEvidence, f as UrlOptions, W as WalletConnection, aa as XConnection, ab as XPost, ac as XProfile, X as XReader, ad as XTweet, ae as accountConnectionSchema, af as admittedContentSchema, ag as authProviderSchema, ah as budgetSchema, ai as communityTimeZoneSchema, aj as compatibleSettingKinds, ak as completionKeySchema, al as completionPolicySchema, g as content, am as contentAdmissionPageSchema, an as contentAdmissionSchema, ao as contentEnrollmentSchema, ap as contentMetricSchema, aq as contentMetricsSchema, ar as contentPerformancePolicySchema, as as contentPolicySchema, at as contentQualificationDecisionSchema, au as contentQualificationPageSchema, av as contentQualificationSchema, h as customSource, i as defineEngagementReward, j as defineLeaderboard, k as defineReferral, l as defineTracker, m as discord, aw as discordMemberInputSchema, ax as discordMemberSchema, ay as discordMessageInputSchema, az as discordMessageSchema, aA as discordReactionSchema, aB as discordServerSchema, aC as engagementArtifactSchema, aD as engagementBoundaryPageSchema, aE as engagementChangePreviewInputSchema, aF as engagementChangePreviewSchema, aG as engagementChangeSchema, aH as engagementDefinitionSchema, aI as engagementDeploymentEntrySchema, aJ as engagementPageSchema, aK as engagementPublishSchema, aL as engagementRuleSchema, aM as engagementScoreInputSchema, aN as engagementScoreSchema, aO as engagementSettlementSchema, aP as engagementVersionPageSchema, aQ as engagementVersionQuerySchema, aR as integrationProviderSchema, aS as isContentParticipantRoute, aT as leaderboardArtifactSchema, aU as leaderboardAuthoringSchema, aV as leaderboardDefinitionSchema, aW as leaderboardExclusionSchema, aX as leaderboardGroupSchema, aY as leaderboardPageSchema, aZ as leaderboardPreviewSchema, a_ as leaderboardQuerySchema, a$ as leaderboardRowSchema, b0 as leaderboardWindowSchema, b1 as missingResourceSettings, b2 as observationInputSchema, b3 as observationReceiptSchema, b4 as observationSchema, o as observationTriggerSchema, b5 as parseSettings, p as perContent, n as pointLedgers, b6 as pointsAccountSchema, b7 as pointsEntrySchema, b8 as pointsMutationSchema, b9 as pointsResultSchema, ba as projectIntegrationSchema, bb as publishedLeaderboardSchema, bc as publishedReferralSchema, bd as publishedTrackerSchema, be as quizChoiceSchema, bf as quizContentSchema, bg as quizQuestionSchema, bh as quizQuestionsSchema, bi as referralAccountSchema, bj as referralArtifactSchema, bk as referralAuthoringSchema, bl as referralControlSchema, bm as referralDefinitionSchema, bn as referralHistorySchema, bo as referralManagementSchema, bp as referralRelationshipSchema, H as referralSummarySchema, bq as resourceOptionsSchema, br as resourceRequestSchema, bs as resourceSourceSchema, bt as settingFieldSchema, s as settings, bu as settingsFieldsSchema, bv as settingsValuesSchema, bw as solanaAddressSchema, bx as solanaBalanceSchema, q as streak, by as streakPolicySchema, bz as streakProgressSchema, bA as textEvidenceSchema, bB as textOptionsSchema, bC as trackerArtifactSchema, bD as trackerContentQuerySchema, bE as trackerContentReadSchema, bF as trackerContentSchema, bG as trackerControlSchema, bH as trackerDefinitionSchema, bI as trackerIngestResultSchema, bJ as trackerIngestSchema, bK as trackerPageSchema, bL as trackerPreviewInputSchema, bM as trackerPreviewLimits, bN as trackerPreviewSchema, bO as trackerQuerySchema, bP as trackerRecordInputSchema, bQ as trackerRecordSchema, bR as trackerSourceSchema, bS as trackerStatusSchema, bT as trackerSummarySchema, bU as urlEvidenceSchema, bV as urlOptionsSchema, bW as validateSubmissionValue, bX as valueEvidenceSchema, bY as walletChallengeSchema, bZ as walletConnectionSchema, x, b_ as xConnectionSchema, b$ as xContentBodySchema, c0 as xIdSchema, c1 as xPostId, c2 as xPostSchema, c3 as xProfileSchema, c4 as xRequestSchema, c5 as xTweetSchema } from './submission-input-
|
|
1
|
+
import { V as ValueEvidence, r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, t as walletProofSchema, u as AuthProvider, v as engagementPageQuerySchema, y as contentQualificationQuerySchema, z as contentAdmissionQuerySchema, E as contentEnrollmentInputSchema, F as contentReleaseInputSchema } from './submission-input-C67qt2Ph.js';
|
|
2
|
+
export { G as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, K as ContentPerformancePolicy, M as ContentPolicy, D as DiscordMember, a as DiscordMessage, N as EngagementDefinition, I as IntegrationProvider, P as LeaderboardDefinition, J as LeaderboardPage, O as Observation, Q as ProjectIntegration, R as QuizContent, Y as ReferralDefinition, Z as ResourceOption, _ as ResourceSource, $ as SettingField, a0 as SettingsValues, S as SolanaBalance, c as StreakPolicy, a1 as StreakProgress, d as TextEvidence, e as TextOptions, a2 as TrackerContent, a3 as TrackerContentQuery, a4 as TrackerDefinition, a5 as TrackerPreview, a6 as TrackerPreviewInput, a7 as TrackerQuery, T as TrackerReader, a8 as TrackerRecord, a9 as TrackerStatus, U as UrlEvidence, f as UrlOptions, W as WalletConnection, aa as XConnection, ab as XPost, ac as XProfile, X as XReader, ad as XTweet, ae as accountConnectionSchema, af as admittedContentSchema, ag as authProviderSchema, ah as budgetSchema, ai as communityTimeZoneSchema, aj as compatibleSettingKinds, ak as completionKeySchema, al as completionPolicySchema, g as content, am as contentAdmissionPageSchema, an as contentAdmissionSchema, ao as contentEnrollmentSchema, ap as contentMetricSchema, aq as contentMetricsSchema, ar as contentPerformancePolicySchema, as as contentPolicySchema, at as contentQualificationDecisionSchema, au as contentQualificationPageSchema, av as contentQualificationSchema, h as customSource, i as defineEngagementReward, j as defineLeaderboard, k as defineReferral, l as defineTracker, m as discord, aw as discordMemberInputSchema, ax as discordMemberSchema, ay as discordMessageInputSchema, az as discordMessageSchema, aA as discordReactionSchema, aB as discordServerSchema, aC as engagementArtifactSchema, aD as engagementBoundaryPageSchema, aE as engagementChangePreviewInputSchema, aF as engagementChangePreviewSchema, aG as engagementChangeSchema, aH as engagementDefinitionSchema, aI as engagementDeploymentEntrySchema, aJ as engagementPageSchema, aK as engagementPublishSchema, aL as engagementRuleSchema, aM as engagementScoreInputSchema, aN as engagementScoreSchema, aO as engagementSettlementSchema, aP as engagementVersionPageSchema, aQ as engagementVersionQuerySchema, aR as integrationProviderSchema, aS as isContentParticipantRoute, aT as leaderboardArtifactSchema, aU as leaderboardAuthoringSchema, aV as leaderboardDefinitionSchema, aW as leaderboardExclusionSchema, aX as leaderboardGroupSchema, aY as leaderboardPageSchema, aZ as leaderboardPreviewSchema, a_ as leaderboardQuerySchema, a$ as leaderboardRowSchema, b0 as leaderboardWindowSchema, b1 as missingResourceSettings, b2 as observationInputSchema, b3 as observationReceiptSchema, b4 as observationSchema, o as observationTriggerSchema, b5 as parseSettings, p as perContent, n as pointLedgers, b6 as pointsAccountSchema, b7 as pointsEntrySchema, b8 as pointsMutationSchema, b9 as pointsResultSchema, ba as projectIntegrationSchema, bb as publishedLeaderboardSchema, bc as publishedReferralSchema, bd as publishedTrackerSchema, be as quizChoiceSchema, bf as quizContentSchema, bg as quizQuestionSchema, bh as quizQuestionsSchema, bi as referralAccountSchema, bj as referralArtifactSchema, bk as referralAuthoringSchema, bl as referralControlSchema, bm as referralDefinitionSchema, bn as referralHistorySchema, bo as referralManagementSchema, bp as referralRelationshipSchema, H as referralSummarySchema, bq as resourceOptionsSchema, br as resourceRequestSchema, bs as resourceSourceSchema, bt as settingFieldSchema, s as settings, bu as settingsFieldsSchema, bv as settingsValuesSchema, bw as solanaAddressSchema, bx as solanaBalanceSchema, q as streak, by as streakPolicySchema, bz as streakProgressSchema, bA as textEvidenceSchema, bB as textOptionsSchema, bC as trackerArtifactSchema, bD as trackerContentQuerySchema, bE as trackerContentReadSchema, bF as trackerContentSchema, bG as trackerControlSchema, bH as trackerDefinitionSchema, bI as trackerIngestResultSchema, bJ as trackerIngestSchema, bK as trackerPageSchema, bL as trackerPreviewInputSchema, bM as trackerPreviewLimits, bN as trackerPreviewSchema, bO as trackerQuerySchema, bP as trackerRecordInputSchema, bQ as trackerRecordSchema, bR as trackerSourceSchema, bS as trackerStatusSchema, bT as trackerSummarySchema, bU as urlEvidenceSchema, bV as urlOptionsSchema, bW as validateSubmissionValue, bX as valueEvidenceSchema, bY as walletChallengeSchema, bZ as walletConnectionSchema, x, b_ as xConnectionSchema, b$ as xContentBodySchema, c0 as xIdSchema, c1 as xPostId, c2 as xPostSchema, c3 as xProfileSchema, c4 as xRequestSchema, c5 as xTweetSchema } from './submission-input-C67qt2Ph.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
|
|
5
5
|
export { ContentPerformanceSnapshot, Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, SubmissionEvidence, TextResult, TextReviewInput, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, contentPerformancePageSchema, contentPerformanceSnapshotSchema, 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, submissionEvidenceSchema, submitSchema, templateSchema, textResultSchema, textReviewInputSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
@@ -199,10 +199,10 @@ type ProgressObserver = {
|
|
|
199
199
|
};
|
|
200
200
|
|
|
201
201
|
declare const interactionSchema: z.ZodEnum<{
|
|
202
|
-
staff: "staff";
|
|
203
202
|
quiz: "quiz";
|
|
204
|
-
text: "text";
|
|
205
203
|
url: "url";
|
|
204
|
+
text: "text";
|
|
205
|
+
staff: "staff";
|
|
206
206
|
photo: "photo";
|
|
207
207
|
automatic: "automatic";
|
|
208
208
|
claim: "claim";
|
|
@@ -440,8 +440,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
440
440
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
441
441
|
id: z.ZodString;
|
|
442
442
|
scope: z.ZodEnum<{
|
|
443
|
-
project: "project";
|
|
444
443
|
member: "member";
|
|
444
|
+
project: "project";
|
|
445
445
|
}>;
|
|
446
446
|
period: z.ZodEnum<{
|
|
447
447
|
day: "day";
|
|
@@ -840,8 +840,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
840
840
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
841
841
|
id: z.ZodString;
|
|
842
842
|
scope: z.ZodEnum<{
|
|
843
|
-
project: "project";
|
|
844
843
|
member: "member";
|
|
844
|
+
project: "project";
|
|
845
845
|
}>;
|
|
846
846
|
period: z.ZodEnum<{
|
|
847
847
|
day: "day";
|
|
@@ -1184,8 +1184,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1184
1184
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1185
1185
|
id: z.ZodString;
|
|
1186
1186
|
scope: z.ZodEnum<{
|
|
1187
|
-
project: "project";
|
|
1188
1187
|
member: "member";
|
|
1188
|
+
project: "project";
|
|
1189
1189
|
}>;
|
|
1190
1190
|
period: z.ZodEnum<{
|
|
1191
1191
|
day: "day";
|
|
@@ -1281,7 +1281,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1281
1281
|
createdAt: z.ZodNumber;
|
|
1282
1282
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1283
1283
|
quest: string;
|
|
1284
|
-
runtimeVersion:
|
|
1284
|
+
runtimeVersion: 1 | 2;
|
|
1285
1285
|
title: string;
|
|
1286
1286
|
presentation: {
|
|
1287
1287
|
quiz?: {
|
|
@@ -1318,12 +1318,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1318
1318
|
kind: "resource";
|
|
1319
1319
|
default: string;
|
|
1320
1320
|
source: {
|
|
1321
|
-
provider: "domino";
|
|
1322
|
-
resource: "point-ledger";
|
|
1323
|
-
} | {
|
|
1324
1321
|
provider: "discord";
|
|
1325
1322
|
resource: "channel";
|
|
1326
1323
|
types: ("text" | "announcement")[];
|
|
1324
|
+
} | {
|
|
1325
|
+
provider: "domino";
|
|
1326
|
+
resource: "point-ledger";
|
|
1327
1327
|
} | {
|
|
1328
1328
|
provider: "discord";
|
|
1329
1329
|
resource: "role";
|
|
@@ -1462,7 +1462,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1462
1462
|
visibility: "visible" | "hidden";
|
|
1463
1463
|
budgets: {
|
|
1464
1464
|
id: string;
|
|
1465
|
-
scope: "
|
|
1465
|
+
scope: "member" | "project";
|
|
1466
1466
|
period: "day" | "lifetime";
|
|
1467
1467
|
limit: number;
|
|
1468
1468
|
cost: number | {
|
|
@@ -1542,10 +1542,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1542
1542
|
createdAt: number;
|
|
1543
1543
|
}>>]>>>;
|
|
1544
1544
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1545
|
-
staff: "staff";
|
|
1546
1545
|
quiz: "quiz";
|
|
1547
|
-
text: "text";
|
|
1548
1546
|
url: "url";
|
|
1547
|
+
text: "text";
|
|
1548
|
+
staff: "staff";
|
|
1549
1549
|
photo: "photo";
|
|
1550
1550
|
automatic: "automatic";
|
|
1551
1551
|
claim: "claim";
|
|
@@ -1575,10 +1575,10 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1575
1575
|
id?: string | undefined;
|
|
1576
1576
|
}>>>>;
|
|
1577
1577
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1578
|
-
staff: "staff";
|
|
1579
1578
|
quiz: "quiz";
|
|
1580
|
-
text: "text";
|
|
1581
1579
|
url: "url";
|
|
1580
|
+
text: "text";
|
|
1581
|
+
staff: "staff";
|
|
1582
1582
|
photo: "photo";
|
|
1583
1583
|
automatic: "automatic";
|
|
1584
1584
|
claim: "claim";
|
|
@@ -1817,8 +1817,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1817
1817
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1818
1818
|
id: z.ZodString;
|
|
1819
1819
|
scope: z.ZodEnum<{
|
|
1820
|
-
project: "project";
|
|
1821
1820
|
member: "member";
|
|
1821
|
+
project: "project";
|
|
1822
1822
|
}>;
|
|
1823
1823
|
period: z.ZodEnum<{
|
|
1824
1824
|
day: "day";
|
|
@@ -1845,10 +1845,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1845
1845
|
title: z.ZodString;
|
|
1846
1846
|
}, z.core.$strict>>;
|
|
1847
1847
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1848
|
-
staff: "staff";
|
|
1849
1848
|
quiz: "quiz";
|
|
1850
|
-
text: "text";
|
|
1851
1849
|
url: "url";
|
|
1850
|
+
text: "text";
|
|
1851
|
+
staff: "staff";
|
|
1852
1852
|
photo: "photo";
|
|
1853
1853
|
automatic: "automatic";
|
|
1854
1854
|
claim: "claim";
|
|
@@ -1918,10 +1918,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1918
1918
|
}, z.core.$strict>>;
|
|
1919
1919
|
}, z.core.$strict>>;
|
|
1920
1920
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1921
|
-
discord: "discord";
|
|
1922
1921
|
google: "google";
|
|
1923
1922
|
apple: "apple";
|
|
1924
1923
|
x: "x";
|
|
1924
|
+
discord: "discord";
|
|
1925
1925
|
}>>>;
|
|
1926
1926
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1927
1927
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1988,8 +1988,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1988
1988
|
kind: z.ZodLiteral<"available">;
|
|
1989
1989
|
input: z.ZodEnum<{
|
|
1990
1990
|
quiz: "quiz";
|
|
1991
|
-
text: "text";
|
|
1992
1991
|
url: "url";
|
|
1992
|
+
text: "text";
|
|
1993
1993
|
photo: "photo";
|
|
1994
1994
|
none: "none";
|
|
1995
1995
|
}>;
|
|
@@ -2088,12 +2088,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2088
2088
|
value: z.ZodString;
|
|
2089
2089
|
}, z.core.$strict>]>>;
|
|
2090
2090
|
status: z.ZodEnum<{
|
|
2091
|
+
"needs-review": "needs-review";
|
|
2091
2092
|
queued: "queued";
|
|
2092
2093
|
evaluating: "evaluating";
|
|
2093
2094
|
accepted: "accepted";
|
|
2094
2095
|
progressed: "progressed";
|
|
2095
2096
|
rejected: "rejected";
|
|
2096
|
-
"needs-review": "needs-review";
|
|
2097
2097
|
failed: "failed";
|
|
2098
2098
|
}>;
|
|
2099
2099
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2131,10 +2131,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2131
2131
|
}, z.core.$strip>>;
|
|
2132
2132
|
release: z.ZodString;
|
|
2133
2133
|
interaction: z.ZodEnum<{
|
|
2134
|
-
staff: "staff";
|
|
2135
2134
|
quiz: "quiz";
|
|
2136
|
-
text: "text";
|
|
2137
2135
|
url: "url";
|
|
2136
|
+
text: "text";
|
|
2137
|
+
staff: "staff";
|
|
2138
2138
|
photo: "photo";
|
|
2139
2139
|
automatic: "automatic";
|
|
2140
2140
|
claim: "claim";
|
|
@@ -2177,10 +2177,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2177
2177
|
}, z.core.$strict>>;
|
|
2178
2178
|
}, z.core.$strict>>;
|
|
2179
2179
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2180
|
-
discord: "discord";
|
|
2181
2180
|
google: "google";
|
|
2182
2181
|
apple: "apple";
|
|
2183
2182
|
x: "x";
|
|
2183
|
+
discord: "discord";
|
|
2184
2184
|
}>>>;
|
|
2185
2185
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2186
2186
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2247,8 +2247,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2247
2247
|
kind: z.ZodLiteral<"available">;
|
|
2248
2248
|
input: z.ZodEnum<{
|
|
2249
2249
|
quiz: "quiz";
|
|
2250
|
-
text: "text";
|
|
2251
2250
|
url: "url";
|
|
2251
|
+
text: "text";
|
|
2252
2252
|
photo: "photo";
|
|
2253
2253
|
none: "none";
|
|
2254
2254
|
}>;
|
|
@@ -2347,12 +2347,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2347
2347
|
value: z.ZodString;
|
|
2348
2348
|
}, z.core.$strict>]>>;
|
|
2349
2349
|
status: z.ZodEnum<{
|
|
2350
|
+
"needs-review": "needs-review";
|
|
2350
2351
|
queued: "queued";
|
|
2351
2352
|
evaluating: "evaluating";
|
|
2352
2353
|
accepted: "accepted";
|
|
2353
2354
|
progressed: "progressed";
|
|
2354
2355
|
rejected: "rejected";
|
|
2355
|
-
"needs-review": "needs-review";
|
|
2356
2356
|
failed: "failed";
|
|
2357
2357
|
}>;
|
|
2358
2358
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2390,10 +2390,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2390
2390
|
}, z.core.$strip>>;
|
|
2391
2391
|
release: z.ZodString;
|
|
2392
2392
|
interaction: z.ZodEnum<{
|
|
2393
|
-
staff: "staff";
|
|
2394
2393
|
quiz: "quiz";
|
|
2395
|
-
text: "text";
|
|
2396
2394
|
url: "url";
|
|
2395
|
+
text: "text";
|
|
2396
|
+
staff: "staff";
|
|
2397
2397
|
photo: "photo";
|
|
2398
2398
|
automatic: "automatic";
|
|
2399
2399
|
claim: "claim";
|
|
@@ -2435,10 +2435,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2435
2435
|
}, z.core.$strict>>;
|
|
2436
2436
|
}, z.core.$strict>>;
|
|
2437
2437
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2438
|
-
discord: "discord";
|
|
2439
2438
|
google: "google";
|
|
2440
2439
|
apple: "apple";
|
|
2441
2440
|
x: "x";
|
|
2441
|
+
discord: "discord";
|
|
2442
2442
|
}>>>;
|
|
2443
2443
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2444
2444
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2505,8 +2505,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2505
2505
|
kind: z.ZodLiteral<"available">;
|
|
2506
2506
|
input: z.ZodEnum<{
|
|
2507
2507
|
quiz: "quiz";
|
|
2508
|
-
text: "text";
|
|
2509
2508
|
url: "url";
|
|
2509
|
+
text: "text";
|
|
2510
2510
|
photo: "photo";
|
|
2511
2511
|
none: "none";
|
|
2512
2512
|
}>;
|
|
@@ -2605,12 +2605,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2605
2605
|
value: z.ZodString;
|
|
2606
2606
|
}, z.core.$strict>]>>;
|
|
2607
2607
|
status: z.ZodEnum<{
|
|
2608
|
+
"needs-review": "needs-review";
|
|
2608
2609
|
queued: "queued";
|
|
2609
2610
|
evaluating: "evaluating";
|
|
2610
2611
|
accepted: "accepted";
|
|
2611
2612
|
progressed: "progressed";
|
|
2612
2613
|
rejected: "rejected";
|
|
2613
|
-
"needs-review": "needs-review";
|
|
2614
2614
|
failed: "failed";
|
|
2615
2615
|
}>;
|
|
2616
2616
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2648,10 +2648,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2648
2648
|
}, z.core.$strip>>;
|
|
2649
2649
|
release: z.ZodString;
|
|
2650
2650
|
interaction: z.ZodEnum<{
|
|
2651
|
-
staff: "staff";
|
|
2652
2651
|
quiz: "quiz";
|
|
2653
|
-
text: "text";
|
|
2654
2652
|
url: "url";
|
|
2653
|
+
text: "text";
|
|
2654
|
+
staff: "staff";
|
|
2655
2655
|
photo: "photo";
|
|
2656
2656
|
automatic: "automatic";
|
|
2657
2657
|
claim: "claim";
|
|
@@ -2694,10 +2694,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2694
2694
|
}, z.core.$strict>>;
|
|
2695
2695
|
}, z.core.$strict>>;
|
|
2696
2696
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2697
|
-
discord: "discord";
|
|
2698
2697
|
google: "google";
|
|
2699
2698
|
apple: "apple";
|
|
2700
2699
|
x: "x";
|
|
2700
|
+
discord: "discord";
|
|
2701
2701
|
}>>>;
|
|
2702
2702
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2703
2703
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2764,8 +2764,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2764
2764
|
kind: z.ZodLiteral<"available">;
|
|
2765
2765
|
input: z.ZodEnum<{
|
|
2766
2766
|
quiz: "quiz";
|
|
2767
|
-
text: "text";
|
|
2768
2767
|
url: "url";
|
|
2768
|
+
text: "text";
|
|
2769
2769
|
photo: "photo";
|
|
2770
2770
|
none: "none";
|
|
2771
2771
|
}>;
|
|
@@ -2864,12 +2864,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2864
2864
|
value: z.ZodString;
|
|
2865
2865
|
}, z.core.$strict>]>>;
|
|
2866
2866
|
status: z.ZodEnum<{
|
|
2867
|
+
"needs-review": "needs-review";
|
|
2867
2868
|
queued: "queued";
|
|
2868
2869
|
evaluating: "evaluating";
|
|
2869
2870
|
accepted: "accepted";
|
|
2870
2871
|
progressed: "progressed";
|
|
2871
2872
|
rejected: "rejected";
|
|
2872
|
-
"needs-review": "needs-review";
|
|
2873
2873
|
failed: "failed";
|
|
2874
2874
|
}>;
|
|
2875
2875
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2907,10 +2907,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2907
2907
|
}, z.core.$strip>>;
|
|
2908
2908
|
release: z.ZodString;
|
|
2909
2909
|
interaction: z.ZodEnum<{
|
|
2910
|
-
staff: "staff";
|
|
2911
2910
|
quiz: "quiz";
|
|
2912
|
-
text: "text";
|
|
2913
2911
|
url: "url";
|
|
2912
|
+
text: "text";
|
|
2913
|
+
staff: "staff";
|
|
2914
2914
|
photo: "photo";
|
|
2915
2915
|
automatic: "automatic";
|
|
2916
2916
|
claim: "claim";
|
|
@@ -3227,8 +3227,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3227
3227
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3228
3228
|
id: z.ZodString;
|
|
3229
3229
|
scope: z.ZodEnum<{
|
|
3230
|
-
project: "project";
|
|
3231
3230
|
member: "member";
|
|
3231
|
+
project: "project";
|
|
3232
3232
|
}>;
|
|
3233
3233
|
period: z.ZodEnum<{
|
|
3234
3234
|
day: "day";
|
|
@@ -3324,7 +3324,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3324
3324
|
createdAt: z.ZodNumber;
|
|
3325
3325
|
}, z.core.$strip>, z.ZodTransform<{
|
|
3326
3326
|
quest: string;
|
|
3327
|
-
runtimeVersion:
|
|
3327
|
+
runtimeVersion: 1 | 2;
|
|
3328
3328
|
title: string;
|
|
3329
3329
|
presentation: {
|
|
3330
3330
|
quiz?: {
|
|
@@ -3361,12 +3361,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3361
3361
|
kind: "resource";
|
|
3362
3362
|
default: string;
|
|
3363
3363
|
source: {
|
|
3364
|
-
provider: "domino";
|
|
3365
|
-
resource: "point-ledger";
|
|
3366
|
-
} | {
|
|
3367
3364
|
provider: "discord";
|
|
3368
3365
|
resource: "channel";
|
|
3369
3366
|
types: ("text" | "announcement")[];
|
|
3367
|
+
} | {
|
|
3368
|
+
provider: "domino";
|
|
3369
|
+
resource: "point-ledger";
|
|
3370
3370
|
} | {
|
|
3371
3371
|
provider: "discord";
|
|
3372
3372
|
resource: "role";
|
|
@@ -3505,7 +3505,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3505
3505
|
visibility: "visible" | "hidden";
|
|
3506
3506
|
budgets: {
|
|
3507
3507
|
id: string;
|
|
3508
|
-
scope: "
|
|
3508
|
+
scope: "member" | "project";
|
|
3509
3509
|
period: "day" | "lifetime";
|
|
3510
3510
|
limit: number;
|
|
3511
3511
|
cost: number | {
|
|
@@ -3663,8 +3663,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3663
3663
|
action: z.ZodLiteral<"grant-role">;
|
|
3664
3664
|
roleId: z.ZodString;
|
|
3665
3665
|
status: z.ZodEnum<{
|
|
3666
|
-
failed: "failed";
|
|
3667
3666
|
pending: "pending";
|
|
3667
|
+
failed: "failed";
|
|
3668
3668
|
delivered: "delivered";
|
|
3669
3669
|
}>;
|
|
3670
3670
|
attempts: z.ZodNumber;
|
|
@@ -3683,8 +3683,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3683
3683
|
action: z.ZodLiteral<"grant-role">;
|
|
3684
3684
|
roleId: z.ZodString;
|
|
3685
3685
|
status: z.ZodEnum<{
|
|
3686
|
-
failed: "failed";
|
|
3687
3686
|
pending: "pending";
|
|
3687
|
+
failed: "failed";
|
|
3688
3688
|
delivered: "delivered";
|
|
3689
3689
|
}>;
|
|
3690
3690
|
attempts: z.ZodNumber;
|
|
@@ -3853,10 +3853,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3853
3853
|
}>;
|
|
3854
3854
|
}, z.core.$strip>>>;
|
|
3855
3855
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3856
|
-
staff: "staff";
|
|
3857
3856
|
quiz: "quiz";
|
|
3858
|
-
text: "text";
|
|
3859
3857
|
url: "url";
|
|
3858
|
+
text: "text";
|
|
3859
|
+
staff: "staff";
|
|
3860
3860
|
photo: "photo";
|
|
3861
3861
|
automatic: "automatic";
|
|
3862
3862
|
claim: "claim";
|
|
@@ -3936,7 +3936,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3936
3936
|
tier: z.ZodString;
|
|
3937
3937
|
}, z.core.$strict>]>>>;
|
|
3938
3938
|
}, z.core.$strict>>;
|
|
3939
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3940
3939
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3941
3940
|
kind: z.ZodLiteral<"signup">;
|
|
3942
3941
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3945,6 +3944,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3945
3944
|
}, z.core.$strict>, z.ZodObject<{
|
|
3946
3945
|
kind: z.ZodLiteral<"external">;
|
|
3947
3946
|
}, z.core.$strict>], "kind">;
|
|
3947
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3948
3948
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3949
3949
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3950
3950
|
id: z.ZodString;
|
|
@@ -4031,7 +4031,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4031
4031
|
amount: number;
|
|
4032
4032
|
})[];
|
|
4033
4033
|
};
|
|
4034
|
-
enabled: boolean;
|
|
4035
4034
|
qualification: {
|
|
4036
4035
|
kind: "signup";
|
|
4037
4036
|
} | {
|
|
@@ -4040,6 +4039,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4040
4039
|
} | {
|
|
4041
4040
|
kind: "external";
|
|
4042
4041
|
};
|
|
4042
|
+
enabled: boolean;
|
|
4043
4043
|
milestones: {
|
|
4044
4044
|
id: string;
|
|
4045
4045
|
count: number;
|
|
@@ -4128,7 +4128,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4128
4128
|
amount: number;
|
|
4129
4129
|
})[];
|
|
4130
4130
|
};
|
|
4131
|
-
enabled: boolean;
|
|
4132
4131
|
qualification: {
|
|
4133
4132
|
kind: "signup";
|
|
4134
4133
|
} | {
|
|
@@ -4137,6 +4136,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4137
4136
|
} | {
|
|
4138
4137
|
kind: "external";
|
|
4139
4138
|
};
|
|
4139
|
+
enabled: boolean;
|
|
4140
4140
|
milestones: {
|
|
4141
4141
|
id: string;
|
|
4142
4142
|
count: number;
|
|
@@ -4181,6 +4181,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4181
4181
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4182
4182
|
title: z.ZodString;
|
|
4183
4183
|
balance: z.ZodString;
|
|
4184
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4184
4185
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4185
4186
|
kind: z.ZodLiteral<"balance">;
|
|
4186
4187
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4229,7 +4230,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4229
4230
|
participants: "participants";
|
|
4230
4231
|
public: "public";
|
|
4231
4232
|
}>>;
|
|
4232
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4233
4233
|
key: z.ZodOptional<z.ZodString>;
|
|
4234
4234
|
id: z.ZodOptional<z.ZodString>;
|
|
4235
4235
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4348,10 +4348,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4348
4348
|
}>;
|
|
4349
4349
|
}, z.core.$strip>>>;
|
|
4350
4350
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4351
|
-
staff: "staff";
|
|
4352
4351
|
quiz: "quiz";
|
|
4353
|
-
text: "text";
|
|
4354
4352
|
url: "url";
|
|
4353
|
+
text: "text";
|
|
4354
|
+
staff: "staff";
|
|
4355
4355
|
photo: "photo";
|
|
4356
4356
|
automatic: "automatic";
|
|
4357
4357
|
claim: "claim";
|
|
@@ -4431,7 +4431,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4431
4431
|
tier: z.ZodString;
|
|
4432
4432
|
}, z.core.$strict>]>>>;
|
|
4433
4433
|
}, z.core.$strict>>;
|
|
4434
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4435
4434
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4436
4435
|
kind: z.ZodLiteral<"signup">;
|
|
4437
4436
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4440,6 +4439,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4440
4439
|
}, z.core.$strict>, z.ZodObject<{
|
|
4441
4440
|
kind: z.ZodLiteral<"external">;
|
|
4442
4441
|
}, z.core.$strict>], "kind">;
|
|
4442
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4443
4443
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4444
4444
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4445
4445
|
id: z.ZodString;
|
|
@@ -4526,7 +4526,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4526
4526
|
amount: number;
|
|
4527
4527
|
})[];
|
|
4528
4528
|
};
|
|
4529
|
-
enabled: boolean;
|
|
4530
4529
|
qualification: {
|
|
4531
4530
|
kind: "signup";
|
|
4532
4531
|
} | {
|
|
@@ -4535,6 +4534,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4535
4534
|
} | {
|
|
4536
4535
|
kind: "external";
|
|
4537
4536
|
};
|
|
4537
|
+
enabled: boolean;
|
|
4538
4538
|
milestones: {
|
|
4539
4539
|
id: string;
|
|
4540
4540
|
count: number;
|
|
@@ -4623,7 +4623,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4623
4623
|
amount: number;
|
|
4624
4624
|
})[];
|
|
4625
4625
|
};
|
|
4626
|
-
enabled: boolean;
|
|
4627
4626
|
qualification: {
|
|
4628
4627
|
kind: "signup";
|
|
4629
4628
|
} | {
|
|
@@ -4632,6 +4631,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4632
4631
|
} | {
|
|
4633
4632
|
kind: "external";
|
|
4634
4633
|
};
|
|
4634
|
+
enabled: boolean;
|
|
4635
4635
|
milestones: {
|
|
4636
4636
|
id: string;
|
|
4637
4637
|
count: number;
|
|
@@ -4676,6 +4676,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4676
4676
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4677
4677
|
title: z.ZodString;
|
|
4678
4678
|
balance: z.ZodString;
|
|
4679
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4679
4680
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4680
4681
|
kind: z.ZodLiteral<"balance">;
|
|
4681
4682
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4724,7 +4725,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4724
4725
|
participants: "participants";
|
|
4725
4726
|
public: "public";
|
|
4726
4727
|
}>>;
|
|
4727
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4728
4728
|
key: z.ZodOptional<z.ZodString>;
|
|
4729
4729
|
id: z.ZodOptional<z.ZodString>;
|
|
4730
4730
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5213,8 +5213,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5213
5213
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5214
5214
|
id: z.ZodString;
|
|
5215
5215
|
scope: z.ZodEnum<{
|
|
5216
|
-
project: "project";
|
|
5217
5216
|
member: "member";
|
|
5217
|
+
project: "project";
|
|
5218
5218
|
}>;
|
|
5219
5219
|
period: z.ZodEnum<{
|
|
5220
5220
|
day: "day";
|
|
@@ -5310,7 +5310,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5310
5310
|
createdAt: z.ZodNumber;
|
|
5311
5311
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5312
5312
|
quest: string;
|
|
5313
|
-
runtimeVersion:
|
|
5313
|
+
runtimeVersion: 1 | 2;
|
|
5314
5314
|
title: string;
|
|
5315
5315
|
presentation: {
|
|
5316
5316
|
quiz?: {
|
|
@@ -5347,12 +5347,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5347
5347
|
kind: "resource";
|
|
5348
5348
|
default: string;
|
|
5349
5349
|
source: {
|
|
5350
|
-
provider: "domino";
|
|
5351
|
-
resource: "point-ledger";
|
|
5352
|
-
} | {
|
|
5353
5350
|
provider: "discord";
|
|
5354
5351
|
resource: "channel";
|
|
5355
5352
|
types: ("text" | "announcement")[];
|
|
5353
|
+
} | {
|
|
5354
|
+
provider: "domino";
|
|
5355
|
+
resource: "point-ledger";
|
|
5356
5356
|
} | {
|
|
5357
5357
|
provider: "discord";
|
|
5358
5358
|
resource: "role";
|
|
@@ -5491,7 +5491,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5491
5491
|
visibility: "visible" | "hidden";
|
|
5492
5492
|
budgets: {
|
|
5493
5493
|
id: string;
|
|
5494
|
-
scope: "
|
|
5494
|
+
scope: "member" | "project";
|
|
5495
5495
|
period: "day" | "lifetime";
|
|
5496
5496
|
limit: number;
|
|
5497
5497
|
cost: number | {
|
|
@@ -5801,8 +5801,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5801
5801
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5802
5802
|
id: z.ZodString;
|
|
5803
5803
|
scope: z.ZodEnum<{
|
|
5804
|
-
project: "project";
|
|
5805
5804
|
member: "member";
|
|
5805
|
+
project: "project";
|
|
5806
5806
|
}>;
|
|
5807
5807
|
period: z.ZodEnum<{
|
|
5808
5808
|
day: "day";
|
|
@@ -5830,10 +5830,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5830
5830
|
quests: z.ZodArray<z.ZodString>;
|
|
5831
5831
|
}, z.core.$strict>>;
|
|
5832
5832
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5833
|
-
staff: "staff";
|
|
5834
5833
|
quiz: "quiz";
|
|
5835
|
-
text: "text";
|
|
5836
5834
|
url: "url";
|
|
5835
|
+
text: "text";
|
|
5836
|
+
staff: "staff";
|
|
5837
5837
|
photo: "photo";
|
|
5838
5838
|
automatic: "automatic";
|
|
5839
5839
|
claim: "claim";
|
|
@@ -6460,8 +6460,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6460
6460
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6461
6461
|
id: z.ZodString;
|
|
6462
6462
|
scope: z.ZodEnum<{
|
|
6463
|
-
project: "project";
|
|
6464
6463
|
member: "member";
|
|
6464
|
+
project: "project";
|
|
6465
6465
|
}>;
|
|
6466
6466
|
period: z.ZodEnum<{
|
|
6467
6467
|
day: "day";
|
|
@@ -6557,7 +6557,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6557
6557
|
createdAt: z.ZodNumber;
|
|
6558
6558
|
}, z.core.$strip>, z.ZodTransform<{
|
|
6559
6559
|
quest: string;
|
|
6560
|
-
runtimeVersion:
|
|
6560
|
+
runtimeVersion: 1 | 2;
|
|
6561
6561
|
title: string;
|
|
6562
6562
|
presentation: {
|
|
6563
6563
|
quiz?: {
|
|
@@ -6594,12 +6594,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6594
6594
|
kind: "resource";
|
|
6595
6595
|
default: string;
|
|
6596
6596
|
source: {
|
|
6597
|
-
provider: "domino";
|
|
6598
|
-
resource: "point-ledger";
|
|
6599
|
-
} | {
|
|
6600
6597
|
provider: "discord";
|
|
6601
6598
|
resource: "channel";
|
|
6602
6599
|
types: ("text" | "announcement")[];
|
|
6600
|
+
} | {
|
|
6601
|
+
provider: "domino";
|
|
6602
|
+
resource: "point-ledger";
|
|
6603
6603
|
} | {
|
|
6604
6604
|
provider: "discord";
|
|
6605
6605
|
resource: "role";
|
|
@@ -6738,7 +6738,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6738
6738
|
visibility: "visible" | "hidden";
|
|
6739
6739
|
budgets: {
|
|
6740
6740
|
id: string;
|
|
6741
|
-
scope: "
|
|
6741
|
+
scope: "member" | "project";
|
|
6742
6742
|
period: "day" | "lifetime";
|
|
6743
6743
|
limit: number;
|
|
6744
6744
|
cost: number | {
|
|
@@ -7048,8 +7048,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7048
7048
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7049
7049
|
id: z.ZodString;
|
|
7050
7050
|
scope: z.ZodEnum<{
|
|
7051
|
-
project: "project";
|
|
7052
7051
|
member: "member";
|
|
7052
|
+
project: "project";
|
|
7053
7053
|
}>;
|
|
7054
7054
|
period: z.ZodEnum<{
|
|
7055
7055
|
day: "day";
|
|
@@ -7077,10 +7077,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7077
7077
|
quests: z.ZodArray<z.ZodString>;
|
|
7078
7078
|
}, z.core.$strict>>;
|
|
7079
7079
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
7080
|
-
staff: "staff";
|
|
7081
7080
|
quiz: "quiz";
|
|
7082
|
-
text: "text";
|
|
7083
7081
|
url: "url";
|
|
7082
|
+
text: "text";
|
|
7083
|
+
staff: "staff";
|
|
7084
7084
|
photo: "photo";
|
|
7085
7085
|
automatic: "automatic";
|
|
7086
7086
|
claim: "claim";
|
|
@@ -7579,7 +7579,7 @@ declare function createRelayClient(options: {
|
|
|
7579
7579
|
accounts: {
|
|
7580
7580
|
id: string;
|
|
7581
7581
|
program: string;
|
|
7582
|
-
kind: "
|
|
7582
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
7583
7583
|
balance: string;
|
|
7584
7584
|
earned: number;
|
|
7585
7585
|
settled: number;
|
|
@@ -7706,7 +7706,7 @@ declare function createRelayClient(options: {
|
|
|
7706
7706
|
} | undefined;
|
|
7707
7707
|
} | undefined;
|
|
7708
7708
|
};
|
|
7709
|
-
connections: ("
|
|
7709
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7710
7710
|
trigger: {
|
|
7711
7711
|
kind: "automatic";
|
|
7712
7712
|
observation?: {
|
|
@@ -7747,7 +7747,7 @@ declare function createRelayClient(options: {
|
|
|
7747
7747
|
};
|
|
7748
7748
|
availability: {
|
|
7749
7749
|
kind: "available";
|
|
7750
|
-
input: "quiz" | "
|
|
7750
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
7751
7751
|
} | {
|
|
7752
7752
|
kind: "completed";
|
|
7753
7753
|
} | {
|
|
@@ -7796,7 +7796,7 @@ declare function createRelayClient(options: {
|
|
|
7796
7796
|
quest: string;
|
|
7797
7797
|
member: string;
|
|
7798
7798
|
evidence: string | null;
|
|
7799
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7799
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7800
7800
|
reason: string | null;
|
|
7801
7801
|
retries: number;
|
|
7802
7802
|
generation: number;
|
|
@@ -7844,7 +7844,7 @@ declare function createRelayClient(options: {
|
|
|
7844
7844
|
} | undefined;
|
|
7845
7845
|
} | null;
|
|
7846
7846
|
release: string;
|
|
7847
|
-
interaction: "
|
|
7847
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
7848
7848
|
lifecycle: "active" | "paused" | "archived";
|
|
7849
7849
|
rewards: {
|
|
7850
7850
|
label: string;
|
|
@@ -7887,7 +7887,7 @@ declare function createRelayClient(options: {
|
|
|
7887
7887
|
quest: string;
|
|
7888
7888
|
member: string;
|
|
7889
7889
|
evidence: string | null;
|
|
7890
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7890
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7891
7891
|
reason: string | null;
|
|
7892
7892
|
retries: number;
|
|
7893
7893
|
generation: number;
|
|
@@ -7959,7 +7959,7 @@ declare function createRelayClient(options: {
|
|
|
7959
7959
|
} | undefined;
|
|
7960
7960
|
} | undefined;
|
|
7961
7961
|
};
|
|
7962
|
-
connections: ("
|
|
7962
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7963
7963
|
trigger: {
|
|
7964
7964
|
kind: "automatic";
|
|
7965
7965
|
observation?: {
|
|
@@ -8000,7 +8000,7 @@ declare function createRelayClient(options: {
|
|
|
8000
8000
|
};
|
|
8001
8001
|
availability: {
|
|
8002
8002
|
kind: "available";
|
|
8003
|
-
input: "quiz" | "
|
|
8003
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8004
8004
|
} | {
|
|
8005
8005
|
kind: "completed";
|
|
8006
8006
|
} | {
|
|
@@ -8049,7 +8049,7 @@ declare function createRelayClient(options: {
|
|
|
8049
8049
|
quest: string;
|
|
8050
8050
|
member: string;
|
|
8051
8051
|
evidence: string | null;
|
|
8052
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8052
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8053
8053
|
reason: string | null;
|
|
8054
8054
|
retries: number;
|
|
8055
8055
|
generation: number;
|
|
@@ -8097,7 +8097,7 @@ declare function createRelayClient(options: {
|
|
|
8097
8097
|
} | undefined;
|
|
8098
8098
|
} | null;
|
|
8099
8099
|
release: string;
|
|
8100
|
-
interaction: "
|
|
8100
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8101
8101
|
lifecycle: "active" | "paused" | "archived";
|
|
8102
8102
|
rewards: {
|
|
8103
8103
|
label: string;
|
|
@@ -8160,7 +8160,7 @@ declare function createRelayClient(options: {
|
|
|
8160
8160
|
} | undefined;
|
|
8161
8161
|
} | undefined;
|
|
8162
8162
|
};
|
|
8163
|
-
connections: ("
|
|
8163
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8164
8164
|
trigger: {
|
|
8165
8165
|
kind: "automatic";
|
|
8166
8166
|
observation?: {
|
|
@@ -8201,7 +8201,7 @@ declare function createRelayClient(options: {
|
|
|
8201
8201
|
};
|
|
8202
8202
|
availability: {
|
|
8203
8203
|
kind: "available";
|
|
8204
|
-
input: "quiz" | "
|
|
8204
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8205
8205
|
} | {
|
|
8206
8206
|
kind: "completed";
|
|
8207
8207
|
} | {
|
|
@@ -8250,7 +8250,7 @@ declare function createRelayClient(options: {
|
|
|
8250
8250
|
quest: string;
|
|
8251
8251
|
member: string;
|
|
8252
8252
|
evidence: string | null;
|
|
8253
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8253
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8254
8254
|
reason: string | null;
|
|
8255
8255
|
retries: number;
|
|
8256
8256
|
generation: number;
|
|
@@ -8298,7 +8298,7 @@ declare function createRelayClient(options: {
|
|
|
8298
8298
|
} | undefined;
|
|
8299
8299
|
} | null;
|
|
8300
8300
|
release: string;
|
|
8301
|
-
interaction: "
|
|
8301
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8302
8302
|
lifecycle: "active" | "paused" | "archived";
|
|
8303
8303
|
rewards: {
|
|
8304
8304
|
label: string;
|
|
@@ -8364,7 +8364,7 @@ declare function createRelayClient(options: {
|
|
|
8364
8364
|
} | undefined;
|
|
8365
8365
|
} | undefined;
|
|
8366
8366
|
};
|
|
8367
|
-
connections: ("
|
|
8367
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8368
8368
|
trigger: {
|
|
8369
8369
|
kind: "automatic";
|
|
8370
8370
|
observation?: {
|
|
@@ -8405,7 +8405,7 @@ declare function createRelayClient(options: {
|
|
|
8405
8405
|
};
|
|
8406
8406
|
availability: {
|
|
8407
8407
|
kind: "available";
|
|
8408
|
-
input: "quiz" | "
|
|
8408
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8409
8409
|
} | {
|
|
8410
8410
|
kind: "completed";
|
|
8411
8411
|
} | {
|
|
@@ -8454,7 +8454,7 @@ declare function createRelayClient(options: {
|
|
|
8454
8454
|
quest: string;
|
|
8455
8455
|
member: string;
|
|
8456
8456
|
evidence: string | null;
|
|
8457
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8457
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8458
8458
|
reason: string | null;
|
|
8459
8459
|
retries: number;
|
|
8460
8460
|
generation: number;
|
|
@@ -8502,7 +8502,7 @@ declare function createRelayClient(options: {
|
|
|
8502
8502
|
} | undefined;
|
|
8503
8503
|
} | null;
|
|
8504
8504
|
release: string;
|
|
8505
|
-
interaction: "
|
|
8505
|
+
interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
|
|
8506
8506
|
lifecycle: "active" | "paused" | "archived";
|
|
8507
8507
|
rewards: {
|
|
8508
8508
|
label: string;
|
|
@@ -8571,7 +8571,7 @@ declare function createRelayClient(options: {
|
|
|
8571
8571
|
auth: {
|
|
8572
8572
|
providers: () => Promise<{
|
|
8573
8573
|
providers: {
|
|
8574
|
-
provider: "
|
|
8574
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
8575
8575
|
configured: boolean;
|
|
8576
8576
|
}[];
|
|
8577
8577
|
email: boolean;
|
|
@@ -8601,7 +8601,7 @@ declare function createRelayClient(options: {
|
|
|
8601
8601
|
expiresAt: number;
|
|
8602
8602
|
}>;
|
|
8603
8603
|
accounts: () => Promise<{
|
|
8604
|
-
provider: "
|
|
8604
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
8605
8605
|
configured: boolean;
|
|
8606
8606
|
status: "disconnected" | "connected" | "reconnect";
|
|
8607
8607
|
subject: string | null;
|
|
@@ -8700,7 +8700,7 @@ declare function createRelayClient(options: {
|
|
|
8700
8700
|
quest: string;
|
|
8701
8701
|
member: string;
|
|
8702
8702
|
evidence: string | null;
|
|
8703
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8703
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8704
8704
|
reason: string | null;
|
|
8705
8705
|
retries: number;
|
|
8706
8706
|
generation: number;
|
|
@@ -8772,7 +8772,7 @@ declare function createRelayClient(options: {
|
|
|
8772
8772
|
} | undefined;
|
|
8773
8773
|
} | undefined;
|
|
8774
8774
|
};
|
|
8775
|
-
connections: ("
|
|
8775
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8776
8776
|
trigger: {
|
|
8777
8777
|
kind: "automatic";
|
|
8778
8778
|
observation?: {
|
|
@@ -8813,7 +8813,7 @@ declare function createRelayClient(options: {
|
|
|
8813
8813
|
};
|
|
8814
8814
|
availability: {
|
|
8815
8815
|
kind: "available";
|
|
8816
|
-
input: "quiz" | "
|
|
8816
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
8817
8817
|
} | {
|
|
8818
8818
|
kind: "completed";
|
|
8819
8819
|
} | {
|
|
@@ -8862,7 +8862,7 @@ declare function createRelayClient(options: {
|
|
|
8862
8862
|
quest: string;
|
|
8863
8863
|
member: string;
|
|
8864
8864
|
evidence: string | null;
|
|
8865
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8865
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8866
8866
|
reason: string | null;
|
|
8867
8867
|
retries: number;
|
|
8868
8868
|
generation: number;
|
|
@@ -9029,7 +9029,7 @@ declare function createRelayClient(options: {
|
|
|
9029
9029
|
provider: "discord";
|
|
9030
9030
|
action: "grant-role";
|
|
9031
9031
|
roleId: string;
|
|
9032
|
-
status: "
|
|
9032
|
+
status: "pending" | "failed" | "delivered";
|
|
9033
9033
|
attempts: number;
|
|
9034
9034
|
nextAt: number;
|
|
9035
9035
|
lastError: string | null;
|
|
@@ -9045,7 +9045,7 @@ declare function createRelayClient(options: {
|
|
|
9045
9045
|
quest: string;
|
|
9046
9046
|
member: string;
|
|
9047
9047
|
evidence: string | null;
|
|
9048
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9048
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9049
9049
|
reason: string | null;
|
|
9050
9050
|
retries: number;
|
|
9051
9051
|
generation: number;
|
|
@@ -9111,7 +9111,7 @@ declare function createRelayClient(options: {
|
|
|
9111
9111
|
quest: string;
|
|
9112
9112
|
member: string;
|
|
9113
9113
|
evidence: string | null;
|
|
9114
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9114
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9115
9115
|
reason: string | null;
|
|
9116
9116
|
retries: number;
|
|
9117
9117
|
generation: number;
|
|
@@ -9195,7 +9195,7 @@ declare function createRelayClient(options: {
|
|
|
9195
9195
|
code: string;
|
|
9196
9196
|
definition: {
|
|
9197
9197
|
quest: string;
|
|
9198
|
-
runtimeVersion:
|
|
9198
|
+
runtimeVersion: 1 | 2;
|
|
9199
9199
|
title: string;
|
|
9200
9200
|
presentation: {
|
|
9201
9201
|
quiz?: {
|
|
@@ -9232,12 +9232,12 @@ declare function createRelayClient(options: {
|
|
|
9232
9232
|
kind: "resource";
|
|
9233
9233
|
default: string;
|
|
9234
9234
|
source: {
|
|
9235
|
-
provider: "domino";
|
|
9236
|
-
resource: "point-ledger";
|
|
9237
|
-
} | {
|
|
9238
9235
|
provider: "discord";
|
|
9239
9236
|
resource: "channel";
|
|
9240
9237
|
types: ("text" | "announcement")[];
|
|
9238
|
+
} | {
|
|
9239
|
+
provider: "domino";
|
|
9240
|
+
resource: "point-ledger";
|
|
9241
9241
|
} | {
|
|
9242
9242
|
provider: "discord";
|
|
9243
9243
|
resource: "role";
|
|
@@ -9376,7 +9376,7 @@ declare function createRelayClient(options: {
|
|
|
9376
9376
|
visibility: "visible" | "hidden";
|
|
9377
9377
|
budgets: {
|
|
9378
9378
|
id: string;
|
|
9379
|
-
scope: "
|
|
9379
|
+
scope: "member" | "project";
|
|
9380
9380
|
period: "day" | "lifetime";
|
|
9381
9381
|
limit: number;
|
|
9382
9382
|
cost: number | {
|
|
@@ -9394,7 +9394,7 @@ declare function createRelayClient(options: {
|
|
|
9394
9394
|
code: string;
|
|
9395
9395
|
definition: {
|
|
9396
9396
|
quest: string;
|
|
9397
|
-
runtimeVersion:
|
|
9397
|
+
runtimeVersion: 1 | 2;
|
|
9398
9398
|
title: string;
|
|
9399
9399
|
presentation: {
|
|
9400
9400
|
quiz?: {
|
|
@@ -9431,12 +9431,12 @@ declare function createRelayClient(options: {
|
|
|
9431
9431
|
kind: "resource";
|
|
9432
9432
|
default: string;
|
|
9433
9433
|
source: {
|
|
9434
|
-
provider: "domino";
|
|
9435
|
-
resource: "point-ledger";
|
|
9436
|
-
} | {
|
|
9437
9434
|
provider: "discord";
|
|
9438
9435
|
resource: "channel";
|
|
9439
9436
|
types: ("text" | "announcement")[];
|
|
9437
|
+
} | {
|
|
9438
|
+
provider: "domino";
|
|
9439
|
+
resource: "point-ledger";
|
|
9440
9440
|
} | {
|
|
9441
9441
|
provider: "discord";
|
|
9442
9442
|
resource: "role";
|
|
@@ -9575,7 +9575,7 @@ declare function createRelayClient(options: {
|
|
|
9575
9575
|
visibility: "visible" | "hidden";
|
|
9576
9576
|
budgets: {
|
|
9577
9577
|
id: string;
|
|
9578
|
-
scope: "
|
|
9578
|
+
scope: "member" | "project";
|
|
9579
9579
|
period: "day" | "lifetime";
|
|
9580
9580
|
limit: number;
|
|
9581
9581
|
cost: number | {
|
|
@@ -9592,7 +9592,7 @@ declare function createRelayClient(options: {
|
|
|
9592
9592
|
snapshot: () => Promise<{
|
|
9593
9593
|
releases: {
|
|
9594
9594
|
quest: string;
|
|
9595
|
-
runtimeVersion:
|
|
9595
|
+
runtimeVersion: 1 | 2;
|
|
9596
9596
|
title: string;
|
|
9597
9597
|
presentation: {
|
|
9598
9598
|
quiz?: {
|
|
@@ -9629,12 +9629,12 @@ declare function createRelayClient(options: {
|
|
|
9629
9629
|
kind: "resource";
|
|
9630
9630
|
default: string;
|
|
9631
9631
|
source: {
|
|
9632
|
-
provider: "domino";
|
|
9633
|
-
resource: "point-ledger";
|
|
9634
|
-
} | {
|
|
9635
9632
|
provider: "discord";
|
|
9636
9633
|
resource: "channel";
|
|
9637
9634
|
types: ("text" | "announcement")[];
|
|
9635
|
+
} | {
|
|
9636
|
+
provider: "domino";
|
|
9637
|
+
resource: "point-ledger";
|
|
9638
9638
|
} | {
|
|
9639
9639
|
provider: "discord";
|
|
9640
9640
|
resource: "role";
|
|
@@ -9773,7 +9773,7 @@ declare function createRelayClient(options: {
|
|
|
9773
9773
|
visibility: "visible" | "hidden";
|
|
9774
9774
|
budgets: {
|
|
9775
9775
|
id: string;
|
|
9776
|
-
scope: "
|
|
9776
|
+
scope: "member" | "project";
|
|
9777
9777
|
period: "day" | "lifetime";
|
|
9778
9778
|
limit: number;
|
|
9779
9779
|
cost: number | {
|
|
@@ -9905,7 +9905,7 @@ declare function createRelayClient(options: {
|
|
|
9905
9905
|
quest: string;
|
|
9906
9906
|
member: string;
|
|
9907
9907
|
evidence: string | null;
|
|
9908
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9908
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9909
9909
|
reason: string | null;
|
|
9910
9910
|
retries: number;
|
|
9911
9911
|
generation: number;
|
|
@@ -9971,7 +9971,7 @@ declare function createRelayClient(options: {
|
|
|
9971
9971
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
9972
9972
|
publish: (release: ReleaseInput) => Promise<{
|
|
9973
9973
|
quest: string;
|
|
9974
|
-
runtimeVersion:
|
|
9974
|
+
runtimeVersion: 1 | 2;
|
|
9975
9975
|
title: string;
|
|
9976
9976
|
presentation: {
|
|
9977
9977
|
quiz?: {
|
|
@@ -10008,12 +10008,12 @@ declare function createRelayClient(options: {
|
|
|
10008
10008
|
kind: "resource";
|
|
10009
10009
|
default: string;
|
|
10010
10010
|
source: {
|
|
10011
|
-
provider: "domino";
|
|
10012
|
-
resource: "point-ledger";
|
|
10013
|
-
} | {
|
|
10014
10011
|
provider: "discord";
|
|
10015
10012
|
resource: "channel";
|
|
10016
10013
|
types: ("text" | "announcement")[];
|
|
10014
|
+
} | {
|
|
10015
|
+
provider: "domino";
|
|
10016
|
+
resource: "point-ledger";
|
|
10017
10017
|
} | {
|
|
10018
10018
|
provider: "discord";
|
|
10019
10019
|
resource: "role";
|
|
@@ -10152,7 +10152,7 @@ declare function createRelayClient(options: {
|
|
|
10152
10152
|
visibility: "visible" | "hidden";
|
|
10153
10153
|
budgets: {
|
|
10154
10154
|
id: string;
|
|
10155
|
-
scope: "
|
|
10155
|
+
scope: "member" | "project";
|
|
10156
10156
|
period: "day" | "lifetime";
|
|
10157
10157
|
limit: number;
|
|
10158
10158
|
cost: number | {
|
|
@@ -10198,7 +10198,7 @@ declare function createRelayClient(options: {
|
|
|
10198
10198
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
10199
10199
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
10200
10200
|
quest: string;
|
|
10201
|
-
runtimeVersion:
|
|
10201
|
+
runtimeVersion: 1 | 2;
|
|
10202
10202
|
title: string;
|
|
10203
10203
|
presentation: {
|
|
10204
10204
|
quiz?: {
|
|
@@ -10235,12 +10235,12 @@ declare function createRelayClient(options: {
|
|
|
10235
10235
|
kind: "resource";
|
|
10236
10236
|
default: string;
|
|
10237
10237
|
source: {
|
|
10238
|
-
provider: "domino";
|
|
10239
|
-
resource: "point-ledger";
|
|
10240
|
-
} | {
|
|
10241
10238
|
provider: "discord";
|
|
10242
10239
|
resource: "channel";
|
|
10243
10240
|
types: ("text" | "announcement")[];
|
|
10241
|
+
} | {
|
|
10242
|
+
provider: "domino";
|
|
10243
|
+
resource: "point-ledger";
|
|
10244
10244
|
} | {
|
|
10245
10245
|
provider: "discord";
|
|
10246
10246
|
resource: "role";
|
|
@@ -10379,7 +10379,7 @@ declare function createRelayClient(options: {
|
|
|
10379
10379
|
visibility: "visible" | "hidden";
|
|
10380
10380
|
budgets: {
|
|
10381
10381
|
id: string;
|
|
10382
|
-
scope: "
|
|
10382
|
+
scope: "member" | "project";
|
|
10383
10383
|
period: "day" | "lifetime";
|
|
10384
10384
|
limit: number;
|
|
10385
10385
|
cost: number | {
|
|
@@ -10447,7 +10447,7 @@ declare function createRelayClient(options: {
|
|
|
10447
10447
|
} | undefined;
|
|
10448
10448
|
} | undefined;
|
|
10449
10449
|
};
|
|
10450
|
-
connections: ("
|
|
10450
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
10451
10451
|
trigger: {
|
|
10452
10452
|
kind: "automatic";
|
|
10453
10453
|
observation?: {
|
|
@@ -10488,7 +10488,7 @@ declare function createRelayClient(options: {
|
|
|
10488
10488
|
};
|
|
10489
10489
|
availability: {
|
|
10490
10490
|
kind: "available";
|
|
10491
|
-
input: "quiz" | "
|
|
10491
|
+
input: "quiz" | "url" | "text" | "photo" | "none";
|
|
10492
10492
|
} | {
|
|
10493
10493
|
kind: "completed";
|
|
10494
10494
|
} | {
|
|
@@ -10537,7 +10537,7 @@ declare function createRelayClient(options: {
|
|
|
10537
10537
|
quest: string;
|
|
10538
10538
|
member: string;
|
|
10539
10539
|
evidence: string | null;
|
|
10540
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
10540
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
10541
10541
|
reason: string | null;
|
|
10542
10542
|
retries: number;
|
|
10543
10543
|
generation: number;
|
|
@@ -10965,7 +10965,7 @@ declare function createRelayClient(options: {
|
|
|
10965
10965
|
content: {
|
|
10966
10966
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
10967
10967
|
current: {
|
|
10968
|
-
state: "needs-review" | "
|
|
10968
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
10969
10969
|
reason: string | null;
|
|
10970
10970
|
contentAttempt: string;
|
|
10971
10971
|
attempt: string | null;
|
|
@@ -10981,7 +10981,7 @@ declare function createRelayClient(options: {
|
|
|
10981
10981
|
observation: string;
|
|
10982
10982
|
observedAt: number;
|
|
10983
10983
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
10984
|
-
state: "needs-review" | "
|
|
10984
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
10985
10985
|
reason: string | null;
|
|
10986
10986
|
}[];
|
|
10987
10987
|
next: number | null;
|
|
@@ -10996,7 +10996,7 @@ declare function createRelayClient(options: {
|
|
|
10996
10996
|
revision: string;
|
|
10997
10997
|
observation: string;
|
|
10998
10998
|
current: boolean;
|
|
10999
|
-
state: "needs-review" | "
|
|
10999
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
11000
11000
|
reason: string | null;
|
|
11001
11001
|
reward: {
|
|
11002
11002
|
attempt: string | null;
|
|
@@ -11011,7 +11011,7 @@ declare function createRelayClient(options: {
|
|
|
11011
11011
|
quest: string;
|
|
11012
11012
|
content: string;
|
|
11013
11013
|
release: string;
|
|
11014
|
-
state: "pending" | "
|
|
11014
|
+
state: "pending" | "admitted" | "excluded";
|
|
11015
11015
|
reason: string | null;
|
|
11016
11016
|
attempt: string | null;
|
|
11017
11017
|
}[];
|
|
@@ -11026,7 +11026,7 @@ declare function createRelayClient(options: {
|
|
|
11026
11026
|
quest: string;
|
|
11027
11027
|
content: string;
|
|
11028
11028
|
release: string;
|
|
11029
|
-
state: "pending" | "
|
|
11029
|
+
state: "pending" | "admitted" | "excluded";
|
|
11030
11030
|
reason: string | null;
|
|
11031
11031
|
attempt: string | null;
|
|
11032
11032
|
}>;
|
|
@@ -11037,7 +11037,7 @@ declare function createRelayClient(options: {
|
|
|
11037
11037
|
quest: string;
|
|
11038
11038
|
member: string;
|
|
11039
11039
|
evidence: string | null;
|
|
11040
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11040
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11041
11041
|
reason: string | null;
|
|
11042
11042
|
retries: number;
|
|
11043
11043
|
generation: number;
|
|
@@ -11090,7 +11090,7 @@ declare function createRelayClient(options: {
|
|
|
11090
11090
|
quest: string;
|
|
11091
11091
|
member: string;
|
|
11092
11092
|
evidence: string | null;
|
|
11093
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11093
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11094
11094
|
reason: string | null;
|
|
11095
11095
|
retries: number;
|
|
11096
11096
|
generation: number;
|
|
@@ -11149,7 +11149,7 @@ declare function createRelayClient(options: {
|
|
|
11149
11149
|
quest: string;
|
|
11150
11150
|
member: string;
|
|
11151
11151
|
evidence: string | null;
|
|
11152
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
11152
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
11153
11153
|
reason: string | null;
|
|
11154
11154
|
retries: number;
|
|
11155
11155
|
generation: number;
|