@domino-sdk/relay 0.30.0 → 0.31.1
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 +48 -16
- package/dist/authoring.js +33 -10
- package/dist/browser.d.ts +406 -197
- package/dist/browser.js +6 -6
- package/dist/{chunk-UMKGCDBX.js → chunk-BGN3CQC6.js} +2 -2
- package/dist/{chunk-CB7RKKDX.js → chunk-IZYXEXUO.js} +4 -4
- package/dist/{chunk-TYYGYDYX.js → chunk-OQ4ZNOC7.js} +1 -1
- package/dist/{chunk-HINZLW46.js → chunk-QEN4GHL7.js} +2 -2
- package/dist/{chunk-CWIJDQDT.js → chunk-UI4N4XRZ.js} +1 -1
- package/dist/{chunk-BE5V6RFD.js → chunk-UPWID5KS.js} +190 -35
- package/dist/index.d.ts +1036 -463
- package/dist/index.js +33 -7
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +241 -13
- package/dist/react/index.js +6 -6
- package/dist/schema.d.ts +184 -26
- package/dist/schema.js +1 -1
- package/dist/{submission-input-B6f27BHm.d.ts → submission-input-JDwq3EVK.d.ts} +344 -34
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aa as ValueEvidence, L as LinkedWallet, M as referralAcceptSchema, N as LeaderboardQuery, P as WalletAddressInput, Q as walletSignatureSchema, R as WalletSigner, V as walletChallengeInputSchema, Y as walletProofSchema, Z as AuthProvider, _ as WalletSignature, $ as engagementPageQuerySchema, a0 as contentQualificationQuerySchema, a1 as contentAdmissionQuerySchema, a2 as contentEnrollmentInputSchema, a3 as contentReleaseInputSchema } from './submission-input-JDwq3EVK.js';
|
|
2
|
+
export { a4 as AccountConnection, ab as AccountRole, A as AdmittedContent, B as Budget, C as ContentMetric, ac as ContentPerformancePolicy, ad as ContentPolicy, a8 as CosmosChain, a9 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, ae as EngagementDefinition, E as EvmChainId, af as IdentityKind, ag as ImageAssetArtifact, ah as ImageComparison, ai as ImageExtraction, aj as ImageFields, ak as ImageInspection, I as ImageReader, al as ImageReference, am as ImageRequest, an as ImageSightings, j as IntegrationProvider, ao as LeaderboardDefinition, a7 as LeaderboardPage, ap as LeaderboardPlacement, O as Observation, aq as ProjectIntegration, ar as PublishedImage, as as QuizContent, at as ReferralDefinition, au as ResourceOption, av as ResourceSource, aw as SettingField, ax as SettingsValues, S as SolanaBalance, k as StreakPolicy, ay as StreakProgress, l as TextEvidence, m as TextOptions, az as TrackerAccount, aA as TrackerAttribution, aB as TrackerBound, aC as TrackerContent, aD as TrackerContentQuery, e as TrackerDefinition, aE as TrackerOutcome, aF as TrackerOutcomeQuery, aG as TrackerPreview, aH as TrackerPreviewInput, aI as TrackerQuery, a as TrackerReader, aJ as TrackerRecord, aK as TrackerSkipCode, aL as TrackerSource, aM as TrackerStatus, T as TrackerTriggerContext, f as TrackerTriggerMode, h as TrackerTriggerPolicy, g as TrackerWhere, U as UrlEvidence, n as UrlOptions, aN as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aO as WalletChain, W as WalletConnection, aP as WalletMessageChallenge, a5 as WalletSignInNetwork, aQ as WalletUnlinkInput, aR as XConnection, aS as XPost, aT as XProfile, X as XReader, aU as XTweet, aV as accountConnectionSchema, aW as accountRoleSchema, aX as admittedContentSchema, aY as authProviderSchema, aZ as beneficiaryRole, a_ as budgetSchema, a$ as caip10, b0 as communityTimeZoneSchema, b1 as compatibleSettingKinds, b2 as completionKeySchema, b3 as completionPolicySchema, p as content, b4 as contentAdmissionPageSchema, b5 as contentAdmissionSchema, b6 as contentEnrollmentSchema, b7 as contentMetricSchema, b8 as contentMetricsSchema, b9 as contentPerformancePolicySchema, ba as contentPolicySchema, bb as contentQualificationDecisionSchema, bc as contentQualificationPageSchema, bd as contentQualificationSchema, be as cosmosAddressSchema, bf as cosmosChain, bg as cosmosNetworkSchema, q as customSource, bh as customSourceSchema, bi as defaultTriggerMode, r as defineEngagementReward, s as defineLeaderboard, t as defineReferral, u as defineTracker, v as discord, bj as discordMemberInputSchema, bk as discordMemberSchema, bl as discordMessageInputSchema, bm as discordMessageSchema, bn as discordReactionSchema, bo as discordServerSchema, bp as engagementArtifactSchema, bq as engagementBoundaryPageSchema, br as engagementChangePreviewInputSchema, bs as engagementChangePreviewSchema, bt as engagementChangeSchema, bu as engagementDefinitionSchema, bv as engagementDeploymentEntrySchema, bw as engagementPageSchema, bx as engagementPublishSchema, by as engagementRuleSchema, bz as engagementScoreInputSchema, bA as engagementScoreSchema, bB as engagementSettlementSchema, bC as engagementVersionPageSchema, bD as engagementVersionQuerySchema, bE as evmAddressSchema, bF as evmChainIdSchema, w as formatUnits, bG as identityKindSchema, bH as imageAssetArtifactSchema, bI as imageComparisonSchema, bJ as imageExtractionSchema, bK as imageFieldSchema, bL as imageFieldsSchema, bM as imageInspectionSchema, bN as imageReferenceSchema, bO as imageRequestSchema, bP as imageSightingsSchema, bQ as imageUploadRequestSchema, bR as imageUploadsSchema, bS as integrationProviderSchema, bT as isContentParticipantRoute, x as isEvmChainId, bU as isWalletParticipantRoute, bV as isWalletSignInRoute, bW as leaderboardArtifactSchema, bX as leaderboardAuthoringSchema, bY as leaderboardDefinitionSchema, bZ as leaderboardExclusionSchema, b_ as leaderboardGroupSchema, b$ as leaderboardPageSchema, c0 as leaderboardPlacementSchema, c1 as leaderboardPreviewSchema, c2 as leaderboardQuerySchema, c3 as leaderboardRowSchema, c4 as leaderboardWindowSchema, c5 as linkedWalletSchema, c6 as missingResourceSettings, c7 as observationInputSchema, c8 as observationReceiptSchema, c9 as observationSchema, o as observationTriggerSchema, ca as parseImageExtraction, cb as parseImageResult, cc as parseSettings, y as parseUnits, z as perContent, F as pointLedgers, cd as pointsAccountSchema, ce as pointsEntrySchema, cf as pointsMutationSchema, cg as pointsResultSchema, ch as projectIntegrationSchema, ci as publishedImageSchema, cj as publishedLeaderboardSchema, ck as publishedReferralSchema, cl as publishedTrackerSchema, cm as quizChoiceSchema, cn as quizContentSchema, co as quizQuestionSchema, cp as quizQuestionsSchema, cq as referralAccountSchema, cr as referralArtifactSchema, cs as referralAuthoringSchema, ct as referralControlSchema, cu as referralDefinitionSchema, cv as referralHistorySchema, cw as referralManagementSchema, cx as referralRelationshipSchema, a6 as referralSummarySchema, cy as resourceOptionsSchema, cz as resourceRequestSchema, cA as resourceSourceSchema, cB as settingFieldSchema, G as settings, cC as settingsFieldsSchema, cD as settingsValuesSchema, cE as solanaAddressSchema, cF as solanaBalanceSchema, cG as solanaMainnet, cH as sourceIdentities, H as streak, cI as streakPolicySchema, cJ as streakProgressSchema, cK as textEvidenceSchema, cL as textOptionsSchema, cM as trackerAccountSchema, cN as trackerArtifactSchema, cO as trackerAttributionSchema, cP as trackerBoundSchema, cQ as trackerContentQuerySchema, cR as trackerContentReadSchema, cS as trackerContentSchema, cT as trackerControlSchema, cU as trackerDefinitionSchema, cV as trackerEvidenceSchema, cW as trackerIngestResultSchema, cX as trackerIngestSchema, cY as trackerOutcomePageSchema, cZ as trackerOutcomeQuerySchema, c_ as trackerOutcomeRetrySchema, c$ as trackerOutcomeSchema, d0 as trackerPageSchema, d1 as trackerPreviewInputSchema, d2 as trackerPreviewLimits, d3 as trackerPreviewSchema, d4 as trackerQuerySchema, d5 as trackerRecordInputSchema, d6 as trackerRecordSchema, d7 as trackerSkipCodes, d8 as trackerSourceSchema, d9 as trackerStatusSchema, da as trackerSummarySchema, J as trackerTriggerContextSchema, db as trackerTriggerModeSchema, dc as trackerTriggerPolicySchema, dd as trackerTriggerRecordSchema, de as trackerWhereSchema, df as triggerMode, dg as urlEvidenceSchema, dh as urlOptionsSchema, di as validateSubmissionValue, dj as valueEvidenceSchema, dk as walletAddressInput, dl as walletAddressInputSchema, dm as walletBalanceSchema, dn as walletChainSchema, dp as walletChallengeSchema, dq as walletConnectionSchema, dr as walletMessageChallengeSchema, ds as walletSignInFamilies, dt as walletSignInNetwork, du as walletSignInNetworkSchema, dv as walletSignInNetworksSchema, dw as walletUnlinkInputSchema, K as x, dx as xAccountRoles, dy as xConnectionSchema, dz as xContentBodySchema, dA as xIdSchema, dB as xPostId, dC as xPostSchema, dD as xProfileSchema, dE as xRequestSchema, dF as xSearchSourceSchema, dG as xTweetSchema } from './submission-input-JDwq3EVK.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
|
|
5
5
|
export { ContentPerformanceSnapshot, Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestProfile, QuestSettingsInput, ReviewPage, Reward, Snapshot, SubmissionEvidence, TextResult, TextReviewInput, TieredRewardDefinition, TieredRewardReference, 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, questProfileSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submissionEvidenceSchema, submitSchema, templateSchema, textResultSchema, textReviewInputSchema, tierRewardSchema, tieredRewardDefinitionSchema, tieredRewardReferenceSchema, triggerSchema } from './schema.js';
|
|
@@ -210,12 +210,12 @@ type ProgressObserver = {
|
|
|
210
210
|
|
|
211
211
|
declare const interactionSchema: z.ZodEnum<{
|
|
212
212
|
staff: "staff";
|
|
213
|
-
quiz: "quiz";
|
|
214
213
|
text: "text";
|
|
215
214
|
url: "url";
|
|
216
|
-
photo: "photo";
|
|
217
215
|
automatic: "automatic";
|
|
218
216
|
claim: "claim";
|
|
217
|
+
quiz: "quiz";
|
|
218
|
+
photo: "photo";
|
|
219
219
|
}>;
|
|
220
220
|
type QuestInteraction = z.infer<typeof interactionSchema>;
|
|
221
221
|
declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
|
|
@@ -384,9 +384,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
384
384
|
}, z.core.$strict>, z.ZodObject<{
|
|
385
385
|
kind: z.ZodLiteral<"manual">;
|
|
386
386
|
input: z.ZodEnum<{
|
|
387
|
+
none: "none";
|
|
387
388
|
quiz: "quiz";
|
|
388
389
|
photo: "photo";
|
|
389
|
-
none: "none";
|
|
390
390
|
}>;
|
|
391
391
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
392
392
|
member: "member";
|
|
@@ -405,8 +405,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
405
405
|
end: z.ZodOptional<z.ZodNumber>;
|
|
406
406
|
}, z.core.$strict>;
|
|
407
407
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
408
|
-
required: "required";
|
|
409
408
|
none: "none";
|
|
409
|
+
required: "required";
|
|
410
410
|
}>>;
|
|
411
411
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
412
412
|
"after-enrollment": "after-enrollment";
|
|
@@ -424,10 +424,30 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
424
424
|
custom: "custom";
|
|
425
425
|
"x-search": "x-search";
|
|
426
426
|
}>;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
"
|
|
430
|
-
|
|
427
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
428
|
+
"new-record": "new-record";
|
|
429
|
+
"new-observation": "new-observation";
|
|
430
|
+
"data-changed": "data-changed";
|
|
431
|
+
}>>;
|
|
432
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
433
|
+
path: z.ZodString;
|
|
434
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
435
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
436
|
+
path: z.ZodString;
|
|
437
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
438
|
+
setting: z.ZodString;
|
|
439
|
+
}, z.core.$strict>]>>;
|
|
440
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
441
|
+
setting: z.ZodString;
|
|
442
|
+
}, z.core.$strict>]>>;
|
|
443
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
444
|
+
setting: z.ZodString;
|
|
445
|
+
}, z.core.$strict>]>>;
|
|
446
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
447
|
+
setting: z.ZodString;
|
|
448
|
+
}, z.core.$strict>]>>;
|
|
449
|
+
}, z.core.$strict>]>>;
|
|
450
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
431
451
|
}, z.core.$strict>>;
|
|
432
452
|
}, z.core.$strict>]>;
|
|
433
453
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -469,8 +489,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
469
489
|
}>;
|
|
470
490
|
period: z.ZodEnum<{
|
|
471
491
|
day: "day";
|
|
472
|
-
week: "week";
|
|
473
492
|
lifetime: "lifetime";
|
|
493
|
+
week: "week";
|
|
474
494
|
}>;
|
|
475
495
|
limit: z.ZodNumber;
|
|
476
496
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -500,7 +520,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
500
520
|
title: string;
|
|
501
521
|
key?: string | undefined;
|
|
502
522
|
id?: string | undefined;
|
|
503
|
-
}, "
|
|
523
|
+
}, "id" | "key"> & {
|
|
504
524
|
key: string;
|
|
505
525
|
}, {
|
|
506
526
|
title: string;
|
|
@@ -528,8 +548,8 @@ declare const questInstanceSchema: z.ZodObject<{
|
|
|
528
548
|
}, z.core.$strict>>]>>;
|
|
529
549
|
requires: z.ZodArray<z.ZodString>;
|
|
530
550
|
status: z.ZodEnum<{
|
|
531
|
-
active: "active";
|
|
532
551
|
paused: "paused";
|
|
552
|
+
active: "active";
|
|
533
553
|
archived: "archived";
|
|
534
554
|
}>;
|
|
535
555
|
}, z.core.$strict>;
|
|
@@ -549,8 +569,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
549
569
|
}, z.core.$strict>>]>>;
|
|
550
570
|
requires: z.ZodArray<z.ZodString>;
|
|
551
571
|
status: z.ZodEnum<{
|
|
552
|
-
active: "active";
|
|
553
572
|
paused: "paused";
|
|
573
|
+
active: "active";
|
|
554
574
|
archived: "archived";
|
|
555
575
|
}>;
|
|
556
576
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -582,8 +602,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
582
602
|
}, z.core.$strict>>]>>;
|
|
583
603
|
requires: z.ZodArray<z.ZodString>;
|
|
584
604
|
status: z.ZodEnum<{
|
|
585
|
-
active: "active";
|
|
586
605
|
paused: "paused";
|
|
606
|
+
active: "active";
|
|
587
607
|
archived: "archived";
|
|
588
608
|
}>;
|
|
589
609
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -616,8 +636,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
616
636
|
}, z.core.$strict>>]>>;
|
|
617
637
|
requires: z.ZodArray<z.ZodString>;
|
|
618
638
|
status: z.ZodEnum<{
|
|
619
|
-
active: "active";
|
|
620
639
|
paused: "paused";
|
|
640
|
+
active: "active";
|
|
621
641
|
archived: "archived";
|
|
622
642
|
}>;
|
|
623
643
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -799,9 +819,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
799
819
|
}, z.core.$strict>, z.ZodObject<{
|
|
800
820
|
kind: z.ZodLiteral<"manual">;
|
|
801
821
|
input: z.ZodEnum<{
|
|
822
|
+
none: "none";
|
|
802
823
|
quiz: "quiz";
|
|
803
824
|
photo: "photo";
|
|
804
|
-
none: "none";
|
|
805
825
|
}>;
|
|
806
826
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
807
827
|
member: "member";
|
|
@@ -820,8 +840,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
820
840
|
end: z.ZodOptional<z.ZodNumber>;
|
|
821
841
|
}, z.core.$strict>;
|
|
822
842
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
823
|
-
required: "required";
|
|
824
843
|
none: "none";
|
|
844
|
+
required: "required";
|
|
825
845
|
}>>;
|
|
826
846
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
827
847
|
"after-enrollment": "after-enrollment";
|
|
@@ -839,10 +859,30 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
839
859
|
custom: "custom";
|
|
840
860
|
"x-search": "x-search";
|
|
841
861
|
}>;
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
"
|
|
845
|
-
|
|
862
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
"new-record": "new-record";
|
|
864
|
+
"new-observation": "new-observation";
|
|
865
|
+
"data-changed": "data-changed";
|
|
866
|
+
}>>;
|
|
867
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
868
|
+
path: z.ZodString;
|
|
869
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
870
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
871
|
+
path: z.ZodString;
|
|
872
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
873
|
+
setting: z.ZodString;
|
|
874
|
+
}, z.core.$strict>]>>;
|
|
875
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
876
|
+
setting: z.ZodString;
|
|
877
|
+
}, z.core.$strict>]>>;
|
|
878
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
879
|
+
setting: z.ZodString;
|
|
880
|
+
}, z.core.$strict>]>>;
|
|
881
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
882
|
+
setting: z.ZodString;
|
|
883
|
+
}, z.core.$strict>]>>;
|
|
884
|
+
}, z.core.$strict>]>>;
|
|
885
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
846
886
|
}, z.core.$strict>>;
|
|
847
887
|
}, z.core.$strict>]>;
|
|
848
888
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -884,8 +924,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
884
924
|
}>;
|
|
885
925
|
period: z.ZodEnum<{
|
|
886
926
|
day: "day";
|
|
887
|
-
week: "week";
|
|
888
927
|
lifetime: "lifetime";
|
|
928
|
+
week: "week";
|
|
889
929
|
}>;
|
|
890
930
|
limit: z.ZodNumber;
|
|
891
931
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -923,8 +963,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
923
963
|
}, z.core.$strict>>]>>;
|
|
924
964
|
requires: z.ZodArray<z.ZodString>;
|
|
925
965
|
status: z.ZodEnum<{
|
|
926
|
-
active: "active";
|
|
927
966
|
paused: "paused";
|
|
967
|
+
active: "active";
|
|
928
968
|
archived: "archived";
|
|
929
969
|
}>;
|
|
930
970
|
}, z.core.$strict>>;
|
|
@@ -948,8 +988,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
948
988
|
}, z.core.$strict>>]>>;
|
|
949
989
|
requires: z.ZodArray<z.ZodString>;
|
|
950
990
|
status: z.ZodEnum<{
|
|
951
|
-
active: "active";
|
|
952
991
|
paused: "paused";
|
|
992
|
+
active: "active";
|
|
953
993
|
archived: "archived";
|
|
954
994
|
}>;
|
|
955
995
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -982,8 +1022,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
982
1022
|
}, z.core.$strict>>]>>;
|
|
983
1023
|
requires: z.ZodArray<z.ZodString>;
|
|
984
1024
|
status: z.ZodEnum<{
|
|
985
|
-
active: "active";
|
|
986
1025
|
paused: "paused";
|
|
1026
|
+
active: "active";
|
|
987
1027
|
archived: "archived";
|
|
988
1028
|
}>;
|
|
989
1029
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -1158,9 +1198,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1158
1198
|
}, z.core.$strict>, z.ZodObject<{
|
|
1159
1199
|
kind: z.ZodLiteral<"manual">;
|
|
1160
1200
|
input: z.ZodEnum<{
|
|
1201
|
+
none: "none";
|
|
1161
1202
|
quiz: "quiz";
|
|
1162
1203
|
photo: "photo";
|
|
1163
|
-
none: "none";
|
|
1164
1204
|
}>;
|
|
1165
1205
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1166
1206
|
member: "member";
|
|
@@ -1179,8 +1219,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1179
1219
|
end: z.ZodOptional<z.ZodNumber>;
|
|
1180
1220
|
}, z.core.$strict>;
|
|
1181
1221
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1182
|
-
required: "required";
|
|
1183
1222
|
none: "none";
|
|
1223
|
+
required: "required";
|
|
1184
1224
|
}>>;
|
|
1185
1225
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
1186
1226
|
"after-enrollment": "after-enrollment";
|
|
@@ -1198,10 +1238,30 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1198
1238
|
custom: "custom";
|
|
1199
1239
|
"x-search": "x-search";
|
|
1200
1240
|
}>;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
"
|
|
1204
|
-
|
|
1241
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
1242
|
+
"new-record": "new-record";
|
|
1243
|
+
"new-observation": "new-observation";
|
|
1244
|
+
"data-changed": "data-changed";
|
|
1245
|
+
}>>;
|
|
1246
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1247
|
+
path: z.ZodString;
|
|
1248
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1250
|
+
path: z.ZodString;
|
|
1251
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1252
|
+
setting: z.ZodString;
|
|
1253
|
+
}, z.core.$strict>]>>;
|
|
1254
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1255
|
+
setting: z.ZodString;
|
|
1256
|
+
}, z.core.$strict>]>>;
|
|
1257
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1258
|
+
setting: z.ZodString;
|
|
1259
|
+
}, z.core.$strict>]>>;
|
|
1260
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1261
|
+
setting: z.ZodString;
|
|
1262
|
+
}, z.core.$strict>]>>;
|
|
1263
|
+
}, z.core.$strict>]>>;
|
|
1264
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
1205
1265
|
}, z.core.$strict>>;
|
|
1206
1266
|
}, z.core.$strict>]>;
|
|
1207
1267
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -1243,8 +1303,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1243
1303
|
}>;
|
|
1244
1304
|
period: z.ZodEnum<{
|
|
1245
1305
|
day: "day";
|
|
1246
|
-
week: "week";
|
|
1247
1306
|
lifetime: "lifetime";
|
|
1307
|
+
week: "week";
|
|
1248
1308
|
}>;
|
|
1249
1309
|
limit: z.ZodNumber;
|
|
1250
1310
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1267,8 +1327,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1267
1327
|
typeVersion: z.ZodString;
|
|
1268
1328
|
}, z.core.$strict>>;
|
|
1269
1329
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1270
|
-
active: "active";
|
|
1271
1330
|
paused: "paused";
|
|
1331
|
+
active: "active";
|
|
1272
1332
|
archived: "archived";
|
|
1273
1333
|
}>>;
|
|
1274
1334
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -1373,12 +1433,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1373
1433
|
kind: "resource";
|
|
1374
1434
|
default: string;
|
|
1375
1435
|
source: {
|
|
1376
|
-
provider: "domino";
|
|
1377
|
-
resource: "point-ledger";
|
|
1378
|
-
} | {
|
|
1379
1436
|
provider: "discord";
|
|
1380
1437
|
resource: "channel";
|
|
1381
1438
|
types: ("text" | "announcement")[];
|
|
1439
|
+
} | {
|
|
1440
|
+
provider: "domino";
|
|
1441
|
+
resource: "point-ledger";
|
|
1382
1442
|
} | {
|
|
1383
1443
|
provider: "discord";
|
|
1384
1444
|
resource: "role";
|
|
@@ -1475,14 +1535,33 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1475
1535
|
start: number;
|
|
1476
1536
|
end?: number | undefined;
|
|
1477
1537
|
};
|
|
1478
|
-
enrollment: "
|
|
1538
|
+
enrollment: "none" | "required";
|
|
1479
1539
|
posts: "after-enrollment" | "since-start";
|
|
1480
1540
|
historical: "staff" | "automatic" | "claim";
|
|
1481
1541
|
} | undefined;
|
|
1482
1542
|
tracker?: {
|
|
1483
1543
|
tracker: string;
|
|
1484
1544
|
source: "custom" | "x-search";
|
|
1485
|
-
beneficiary:
|
|
1545
|
+
beneficiary: string;
|
|
1546
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
1547
|
+
where?: {
|
|
1548
|
+
path: string;
|
|
1549
|
+
gt?: number | {
|
|
1550
|
+
setting: string;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
gte?: number | {
|
|
1553
|
+
setting: string;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
lt?: number | {
|
|
1556
|
+
setting: string;
|
|
1557
|
+
} | undefined;
|
|
1558
|
+
lte?: number | {
|
|
1559
|
+
setting: string;
|
|
1560
|
+
} | undefined;
|
|
1561
|
+
} | {
|
|
1562
|
+
path: string;
|
|
1563
|
+
equals: string | number | boolean;
|
|
1564
|
+
} | undefined;
|
|
1486
1565
|
} | undefined;
|
|
1487
1566
|
} | {
|
|
1488
1567
|
kind: "manual";
|
|
@@ -1503,7 +1582,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1503
1582
|
actor?: "member" | "staff" | undefined;
|
|
1504
1583
|
} | {
|
|
1505
1584
|
kind: "manual";
|
|
1506
|
-
input: "
|
|
1585
|
+
input: "none" | "quiz" | "photo";
|
|
1507
1586
|
actor?: "member" | "staff" | undefined;
|
|
1508
1587
|
};
|
|
1509
1588
|
requires: {
|
|
@@ -1523,7 +1602,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1523
1602
|
budgets: {
|
|
1524
1603
|
id: string;
|
|
1525
1604
|
scope: "project" | "member";
|
|
1526
|
-
period: "day" | "
|
|
1605
|
+
period: "day" | "lifetime" | "week";
|
|
1527
1606
|
limit: number;
|
|
1528
1607
|
cost: number | {
|
|
1529
1608
|
balance: string;
|
|
@@ -1534,7 +1613,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1534
1613
|
id: string;
|
|
1535
1614
|
createdAt: number;
|
|
1536
1615
|
legacy: boolean;
|
|
1537
|
-
lifecycle: "
|
|
1616
|
+
lifecycle: "paused" | "active" | "archived";
|
|
1538
1617
|
performance?: {
|
|
1539
1618
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
1540
1619
|
maxAgeMs: number;
|
|
@@ -1606,12 +1685,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1606
1685
|
}>>]>>>;
|
|
1607
1686
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1608
1687
|
staff: "staff";
|
|
1609
|
-
quiz: "quiz";
|
|
1610
1688
|
text: "text";
|
|
1611
1689
|
url: "url";
|
|
1612
|
-
photo: "photo";
|
|
1613
1690
|
automatic: "automatic";
|
|
1614
1691
|
claim: "claim";
|
|
1692
|
+
quiz: "quiz";
|
|
1693
|
+
photo: "photo";
|
|
1615
1694
|
}>>;
|
|
1616
1695
|
}, z.core.$strip>;
|
|
1617
1696
|
declare const catalogDeploymentSchema: z.ZodObject<{
|
|
@@ -1630,7 +1709,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1630
1709
|
title: string;
|
|
1631
1710
|
key?: string | undefined;
|
|
1632
1711
|
id?: string | undefined;
|
|
1633
|
-
}, "
|
|
1712
|
+
}, "id" | "key"> & {
|
|
1634
1713
|
key: string;
|
|
1635
1714
|
}, {
|
|
1636
1715
|
title: string;
|
|
@@ -1639,12 +1718,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1639
1718
|
}>>>>;
|
|
1640
1719
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1641
1720
|
staff: "staff";
|
|
1642
|
-
quiz: "quiz";
|
|
1643
1721
|
text: "text";
|
|
1644
1722
|
url: "url";
|
|
1645
|
-
photo: "photo";
|
|
1646
1723
|
automatic: "automatic";
|
|
1647
1724
|
claim: "claim";
|
|
1725
|
+
quiz: "quiz";
|
|
1726
|
+
photo: "photo";
|
|
1648
1727
|
}>>>;
|
|
1649
1728
|
}, z.core.$strict>;
|
|
1650
1729
|
declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
@@ -1814,9 +1893,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1814
1893
|
}, z.core.$strict>, z.ZodObject<{
|
|
1815
1894
|
kind: z.ZodLiteral<"manual">;
|
|
1816
1895
|
input: z.ZodEnum<{
|
|
1896
|
+
none: "none";
|
|
1817
1897
|
quiz: "quiz";
|
|
1818
1898
|
photo: "photo";
|
|
1819
|
-
none: "none";
|
|
1820
1899
|
}>;
|
|
1821
1900
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
1822
1901
|
member: "member";
|
|
@@ -1835,8 +1914,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1835
1914
|
end: z.ZodOptional<z.ZodNumber>;
|
|
1836
1915
|
}, z.core.$strict>;
|
|
1837
1916
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1838
|
-
required: "required";
|
|
1839
1917
|
none: "none";
|
|
1918
|
+
required: "required";
|
|
1840
1919
|
}>>;
|
|
1841
1920
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
1842
1921
|
"after-enrollment": "after-enrollment";
|
|
@@ -1854,10 +1933,30 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1854
1933
|
custom: "custom";
|
|
1855
1934
|
"x-search": "x-search";
|
|
1856
1935
|
}>;
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
"
|
|
1860
|
-
|
|
1936
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
1937
|
+
"new-record": "new-record";
|
|
1938
|
+
"new-observation": "new-observation";
|
|
1939
|
+
"data-changed": "data-changed";
|
|
1940
|
+
}>>;
|
|
1941
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1942
|
+
path: z.ZodString;
|
|
1943
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1944
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1945
|
+
path: z.ZodString;
|
|
1946
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1947
|
+
setting: z.ZodString;
|
|
1948
|
+
}, z.core.$strict>]>>;
|
|
1949
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1950
|
+
setting: z.ZodString;
|
|
1951
|
+
}, z.core.$strict>]>>;
|
|
1952
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1953
|
+
setting: z.ZodString;
|
|
1954
|
+
}, z.core.$strict>]>>;
|
|
1955
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1956
|
+
setting: z.ZodString;
|
|
1957
|
+
}, z.core.$strict>]>>;
|
|
1958
|
+
}, z.core.$strict>]>>;
|
|
1959
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
1861
1960
|
}, z.core.$strict>>;
|
|
1862
1961
|
}, z.core.$strict>]>;
|
|
1863
1962
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -1899,8 +1998,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1899
1998
|
}>;
|
|
1900
1999
|
period: z.ZodEnum<{
|
|
1901
2000
|
day: "day";
|
|
1902
|
-
week: "week";
|
|
1903
2001
|
lifetime: "lifetime";
|
|
2002
|
+
week: "week";
|
|
1904
2003
|
}>;
|
|
1905
2004
|
limit: z.ZodNumber;
|
|
1906
2005
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1924,12 +2023,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1924
2023
|
}, z.core.$strict>>;
|
|
1925
2024
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1926
2025
|
staff: "staff";
|
|
1927
|
-
quiz: "quiz";
|
|
1928
2026
|
text: "text";
|
|
1929
2027
|
url: "url";
|
|
1930
|
-
photo: "photo";
|
|
1931
2028
|
automatic: "automatic";
|
|
1932
2029
|
claim: "claim";
|
|
2030
|
+
quiz: "quiz";
|
|
2031
|
+
photo: "photo";
|
|
1933
2032
|
}>>;
|
|
1934
2033
|
}, z.core.$strip>;
|
|
1935
2034
|
declare const saveQuestDraftSchema: z.ZodObject<{
|
|
@@ -1953,8 +2052,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
1953
2052
|
}, z.core.$strict>>]>>;
|
|
1954
2053
|
requires: z.ZodArray<z.ZodString>;
|
|
1955
2054
|
status: z.ZodEnum<{
|
|
1956
|
-
active: "active";
|
|
1957
2055
|
paused: "paused";
|
|
2056
|
+
active: "active";
|
|
1958
2057
|
archived: "archived";
|
|
1959
2058
|
}>;
|
|
1960
2059
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -2022,10 +2121,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2022
2121
|
}, z.core.$strict>>;
|
|
2023
2122
|
}, z.core.$strict>>;
|
|
2024
2123
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2124
|
+
x: "x";
|
|
2025
2125
|
discord: "discord";
|
|
2026
2126
|
google: "google";
|
|
2027
2127
|
apple: "apple";
|
|
2028
|
-
x: "x";
|
|
2029
2128
|
}>>>;
|
|
2030
2129
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2031
2130
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2053,9 +2152,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2053
2152
|
}, z.core.$strict>, z.ZodObject<{
|
|
2054
2153
|
kind: z.ZodLiteral<"manual">;
|
|
2055
2154
|
input: z.ZodEnum<{
|
|
2155
|
+
none: "none";
|
|
2056
2156
|
quiz: "quiz";
|
|
2057
2157
|
photo: "photo";
|
|
2058
|
-
none: "none";
|
|
2059
2158
|
}>;
|
|
2060
2159
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2061
2160
|
member: "member";
|
|
@@ -2074,8 +2173,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2074
2173
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2075
2174
|
}, z.core.$strict>;
|
|
2076
2175
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2077
|
-
required: "required";
|
|
2078
2176
|
none: "none";
|
|
2177
|
+
required: "required";
|
|
2079
2178
|
}>>;
|
|
2080
2179
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2081
2180
|
"after-enrollment": "after-enrollment";
|
|
@@ -2093,20 +2192,40 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2093
2192
|
custom: "custom";
|
|
2094
2193
|
"x-search": "x-search";
|
|
2095
2194
|
}>;
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
"
|
|
2099
|
-
|
|
2195
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
2196
|
+
"new-record": "new-record";
|
|
2197
|
+
"new-observation": "new-observation";
|
|
2198
|
+
"data-changed": "data-changed";
|
|
2199
|
+
}>>;
|
|
2200
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2201
|
+
path: z.ZodString;
|
|
2202
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2204
|
+
path: z.ZodString;
|
|
2205
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2206
|
+
setting: z.ZodString;
|
|
2207
|
+
}, z.core.$strict>]>>;
|
|
2208
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2209
|
+
setting: z.ZodString;
|
|
2210
|
+
}, z.core.$strict>]>>;
|
|
2211
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2212
|
+
setting: z.ZodString;
|
|
2213
|
+
}, z.core.$strict>]>>;
|
|
2214
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2215
|
+
setting: z.ZodString;
|
|
2216
|
+
}, z.core.$strict>]>>;
|
|
2217
|
+
}, z.core.$strict>]>>;
|
|
2218
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
2100
2219
|
}, z.core.$strict>>;
|
|
2101
2220
|
}, z.core.$strict>]>;
|
|
2102
2221
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2103
2222
|
kind: z.ZodLiteral<"available">;
|
|
2104
2223
|
input: z.ZodEnum<{
|
|
2105
|
-
quiz: "quiz";
|
|
2106
2224
|
text: "text";
|
|
2107
2225
|
url: "url";
|
|
2108
|
-
photo: "photo";
|
|
2109
2226
|
none: "none";
|
|
2227
|
+
quiz: "quiz";
|
|
2228
|
+
photo: "photo";
|
|
2110
2229
|
}>;
|
|
2111
2230
|
}, z.core.$strict>, z.ZodObject<{
|
|
2112
2231
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2203,13 +2322,13 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2203
2322
|
value: z.ZodString;
|
|
2204
2323
|
}, z.core.$strict>]>>;
|
|
2205
2324
|
status: z.ZodEnum<{
|
|
2325
|
+
"needs-review": "needs-review";
|
|
2326
|
+
failed: "failed";
|
|
2206
2327
|
queued: "queued";
|
|
2207
2328
|
evaluating: "evaluating";
|
|
2208
2329
|
accepted: "accepted";
|
|
2209
2330
|
progressed: "progressed";
|
|
2210
2331
|
rejected: "rejected";
|
|
2211
|
-
"needs-review": "needs-review";
|
|
2212
|
-
failed: "failed";
|
|
2213
2332
|
}>;
|
|
2214
2333
|
reason: z.ZodNullable<z.ZodString>;
|
|
2215
2334
|
retries: z.ZodNumber;
|
|
@@ -2247,16 +2366,16 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2247
2366
|
release: z.ZodString;
|
|
2248
2367
|
interaction: z.ZodEnum<{
|
|
2249
2368
|
staff: "staff";
|
|
2250
|
-
quiz: "quiz";
|
|
2251
2369
|
text: "text";
|
|
2252
2370
|
url: "url";
|
|
2253
|
-
photo: "photo";
|
|
2254
2371
|
automatic: "automatic";
|
|
2255
2372
|
claim: "claim";
|
|
2373
|
+
quiz: "quiz";
|
|
2374
|
+
photo: "photo";
|
|
2256
2375
|
}>;
|
|
2257
2376
|
lifecycle: z.ZodEnum<{
|
|
2258
|
-
active: "active";
|
|
2259
2377
|
paused: "paused";
|
|
2378
|
+
active: "active";
|
|
2260
2379
|
archived: "archived";
|
|
2261
2380
|
}>;
|
|
2262
2381
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2311,10 +2430,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2311
2430
|
}, z.core.$strict>>;
|
|
2312
2431
|
}, z.core.$strict>>;
|
|
2313
2432
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2433
|
+
x: "x";
|
|
2314
2434
|
discord: "discord";
|
|
2315
2435
|
google: "google";
|
|
2316
2436
|
apple: "apple";
|
|
2317
|
-
x: "x";
|
|
2318
2437
|
}>>>;
|
|
2319
2438
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2320
2439
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2342,9 +2461,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2342
2461
|
}, z.core.$strict>, z.ZodObject<{
|
|
2343
2462
|
kind: z.ZodLiteral<"manual">;
|
|
2344
2463
|
input: z.ZodEnum<{
|
|
2464
|
+
none: "none";
|
|
2345
2465
|
quiz: "quiz";
|
|
2346
2466
|
photo: "photo";
|
|
2347
|
-
none: "none";
|
|
2348
2467
|
}>;
|
|
2349
2468
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2350
2469
|
member: "member";
|
|
@@ -2363,8 +2482,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2363
2482
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2364
2483
|
}, z.core.$strict>;
|
|
2365
2484
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2366
|
-
required: "required";
|
|
2367
2485
|
none: "none";
|
|
2486
|
+
required: "required";
|
|
2368
2487
|
}>>;
|
|
2369
2488
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2370
2489
|
"after-enrollment": "after-enrollment";
|
|
@@ -2382,20 +2501,40 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2382
2501
|
custom: "custom";
|
|
2383
2502
|
"x-search": "x-search";
|
|
2384
2503
|
}>;
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
"
|
|
2388
|
-
|
|
2504
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
2505
|
+
"new-record": "new-record";
|
|
2506
|
+
"new-observation": "new-observation";
|
|
2507
|
+
"data-changed": "data-changed";
|
|
2508
|
+
}>>;
|
|
2509
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2510
|
+
path: z.ZodString;
|
|
2511
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2513
|
+
path: z.ZodString;
|
|
2514
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2515
|
+
setting: z.ZodString;
|
|
2516
|
+
}, z.core.$strict>]>>;
|
|
2517
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2518
|
+
setting: z.ZodString;
|
|
2519
|
+
}, z.core.$strict>]>>;
|
|
2520
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2521
|
+
setting: z.ZodString;
|
|
2522
|
+
}, z.core.$strict>]>>;
|
|
2523
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2524
|
+
setting: z.ZodString;
|
|
2525
|
+
}, z.core.$strict>]>>;
|
|
2526
|
+
}, z.core.$strict>]>>;
|
|
2527
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
2389
2528
|
}, z.core.$strict>>;
|
|
2390
2529
|
}, z.core.$strict>]>;
|
|
2391
2530
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2392
2531
|
kind: z.ZodLiteral<"available">;
|
|
2393
2532
|
input: z.ZodEnum<{
|
|
2394
|
-
quiz: "quiz";
|
|
2395
2533
|
text: "text";
|
|
2396
2534
|
url: "url";
|
|
2397
|
-
photo: "photo";
|
|
2398
2535
|
none: "none";
|
|
2536
|
+
quiz: "quiz";
|
|
2537
|
+
photo: "photo";
|
|
2399
2538
|
}>;
|
|
2400
2539
|
}, z.core.$strict>, z.ZodObject<{
|
|
2401
2540
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2492,13 +2631,13 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2492
2631
|
value: z.ZodString;
|
|
2493
2632
|
}, z.core.$strict>]>>;
|
|
2494
2633
|
status: z.ZodEnum<{
|
|
2634
|
+
"needs-review": "needs-review";
|
|
2635
|
+
failed: "failed";
|
|
2495
2636
|
queued: "queued";
|
|
2496
2637
|
evaluating: "evaluating";
|
|
2497
2638
|
accepted: "accepted";
|
|
2498
2639
|
progressed: "progressed";
|
|
2499
2640
|
rejected: "rejected";
|
|
2500
|
-
"needs-review": "needs-review";
|
|
2501
|
-
failed: "failed";
|
|
2502
2641
|
}>;
|
|
2503
2642
|
reason: z.ZodNullable<z.ZodString>;
|
|
2504
2643
|
retries: z.ZodNumber;
|
|
@@ -2536,16 +2675,16 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2536
2675
|
release: z.ZodString;
|
|
2537
2676
|
interaction: z.ZodEnum<{
|
|
2538
2677
|
staff: "staff";
|
|
2539
|
-
quiz: "quiz";
|
|
2540
2678
|
text: "text";
|
|
2541
2679
|
url: "url";
|
|
2542
|
-
photo: "photo";
|
|
2543
2680
|
automatic: "automatic";
|
|
2544
2681
|
claim: "claim";
|
|
2682
|
+
quiz: "quiz";
|
|
2683
|
+
photo: "photo";
|
|
2545
2684
|
}>;
|
|
2546
2685
|
lifecycle: z.ZodEnum<{
|
|
2547
|
-
active: "active";
|
|
2548
2686
|
paused: "paused";
|
|
2687
|
+
active: "active";
|
|
2549
2688
|
archived: "archived";
|
|
2550
2689
|
}>;
|
|
2551
2690
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2599,10 +2738,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2599
2738
|
}, z.core.$strict>>;
|
|
2600
2739
|
}, z.core.$strict>>;
|
|
2601
2740
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2741
|
+
x: "x";
|
|
2602
2742
|
discord: "discord";
|
|
2603
2743
|
google: "google";
|
|
2604
2744
|
apple: "apple";
|
|
2605
|
-
x: "x";
|
|
2606
2745
|
}>>>;
|
|
2607
2746
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2608
2747
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2630,9 +2769,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2630
2769
|
}, z.core.$strict>, z.ZodObject<{
|
|
2631
2770
|
kind: z.ZodLiteral<"manual">;
|
|
2632
2771
|
input: z.ZodEnum<{
|
|
2772
|
+
none: "none";
|
|
2633
2773
|
quiz: "quiz";
|
|
2634
2774
|
photo: "photo";
|
|
2635
|
-
none: "none";
|
|
2636
2775
|
}>;
|
|
2637
2776
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2638
2777
|
member: "member";
|
|
@@ -2651,8 +2790,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2651
2790
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2652
2791
|
}, z.core.$strict>;
|
|
2653
2792
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2654
|
-
required: "required";
|
|
2655
2793
|
none: "none";
|
|
2794
|
+
required: "required";
|
|
2656
2795
|
}>>;
|
|
2657
2796
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2658
2797
|
"after-enrollment": "after-enrollment";
|
|
@@ -2670,20 +2809,40 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2670
2809
|
custom: "custom";
|
|
2671
2810
|
"x-search": "x-search";
|
|
2672
2811
|
}>;
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
"
|
|
2676
|
-
|
|
2812
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
2813
|
+
"new-record": "new-record";
|
|
2814
|
+
"new-observation": "new-observation";
|
|
2815
|
+
"data-changed": "data-changed";
|
|
2816
|
+
}>>;
|
|
2817
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2818
|
+
path: z.ZodString;
|
|
2819
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2821
|
+
path: z.ZodString;
|
|
2822
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2823
|
+
setting: z.ZodString;
|
|
2824
|
+
}, z.core.$strict>]>>;
|
|
2825
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2826
|
+
setting: z.ZodString;
|
|
2827
|
+
}, z.core.$strict>]>>;
|
|
2828
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2829
|
+
setting: z.ZodString;
|
|
2830
|
+
}, z.core.$strict>]>>;
|
|
2831
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2832
|
+
setting: z.ZodString;
|
|
2833
|
+
}, z.core.$strict>]>>;
|
|
2834
|
+
}, z.core.$strict>]>>;
|
|
2835
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
2677
2836
|
}, z.core.$strict>>;
|
|
2678
2837
|
}, z.core.$strict>]>;
|
|
2679
2838
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2680
2839
|
kind: z.ZodLiteral<"available">;
|
|
2681
2840
|
input: z.ZodEnum<{
|
|
2682
|
-
quiz: "quiz";
|
|
2683
2841
|
text: "text";
|
|
2684
2842
|
url: "url";
|
|
2685
|
-
photo: "photo";
|
|
2686
2843
|
none: "none";
|
|
2844
|
+
quiz: "quiz";
|
|
2845
|
+
photo: "photo";
|
|
2687
2846
|
}>;
|
|
2688
2847
|
}, z.core.$strict>, z.ZodObject<{
|
|
2689
2848
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -2780,13 +2939,13 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2780
2939
|
value: z.ZodString;
|
|
2781
2940
|
}, z.core.$strict>]>>;
|
|
2782
2941
|
status: z.ZodEnum<{
|
|
2942
|
+
"needs-review": "needs-review";
|
|
2943
|
+
failed: "failed";
|
|
2783
2944
|
queued: "queued";
|
|
2784
2945
|
evaluating: "evaluating";
|
|
2785
2946
|
accepted: "accepted";
|
|
2786
2947
|
progressed: "progressed";
|
|
2787
2948
|
rejected: "rejected";
|
|
2788
|
-
"needs-review": "needs-review";
|
|
2789
|
-
failed: "failed";
|
|
2790
2949
|
}>;
|
|
2791
2950
|
reason: z.ZodNullable<z.ZodString>;
|
|
2792
2951
|
retries: z.ZodNumber;
|
|
@@ -2824,16 +2983,16 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2824
2983
|
release: z.ZodString;
|
|
2825
2984
|
interaction: z.ZodEnum<{
|
|
2826
2985
|
staff: "staff";
|
|
2827
|
-
quiz: "quiz";
|
|
2828
2986
|
text: "text";
|
|
2829
2987
|
url: "url";
|
|
2830
|
-
photo: "photo";
|
|
2831
2988
|
automatic: "automatic";
|
|
2832
2989
|
claim: "claim";
|
|
2990
|
+
quiz: "quiz";
|
|
2991
|
+
photo: "photo";
|
|
2833
2992
|
}>;
|
|
2834
2993
|
lifecycle: z.ZodEnum<{
|
|
2835
|
-
active: "active";
|
|
2836
2994
|
paused: "paused";
|
|
2995
|
+
active: "active";
|
|
2837
2996
|
archived: "archived";
|
|
2838
2997
|
}>;
|
|
2839
2998
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2888,10 +3047,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2888
3047
|
}, z.core.$strict>>;
|
|
2889
3048
|
}, z.core.$strict>>;
|
|
2890
3049
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3050
|
+
x: "x";
|
|
2891
3051
|
discord: "discord";
|
|
2892
3052
|
google: "google";
|
|
2893
3053
|
apple: "apple";
|
|
2894
|
-
x: "x";
|
|
2895
3054
|
}>>>;
|
|
2896
3055
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2897
3056
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2919,9 +3078,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2919
3078
|
}, z.core.$strict>, z.ZodObject<{
|
|
2920
3079
|
kind: z.ZodLiteral<"manual">;
|
|
2921
3080
|
input: z.ZodEnum<{
|
|
3081
|
+
none: "none";
|
|
2922
3082
|
quiz: "quiz";
|
|
2923
3083
|
photo: "photo";
|
|
2924
|
-
none: "none";
|
|
2925
3084
|
}>;
|
|
2926
3085
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
2927
3086
|
member: "member";
|
|
@@ -2940,8 +3099,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2940
3099
|
end: z.ZodOptional<z.ZodNumber>;
|
|
2941
3100
|
}, z.core.$strict>;
|
|
2942
3101
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2943
|
-
required: "required";
|
|
2944
3102
|
none: "none";
|
|
3103
|
+
required: "required";
|
|
2945
3104
|
}>>;
|
|
2946
3105
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
2947
3106
|
"after-enrollment": "after-enrollment";
|
|
@@ -2959,20 +3118,40 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2959
3118
|
custom: "custom";
|
|
2960
3119
|
"x-search": "x-search";
|
|
2961
3120
|
}>;
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
"
|
|
2965
|
-
|
|
3121
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
3122
|
+
"new-record": "new-record";
|
|
3123
|
+
"new-observation": "new-observation";
|
|
3124
|
+
"data-changed": "data-changed";
|
|
3125
|
+
}>>;
|
|
3126
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3127
|
+
path: z.ZodString;
|
|
3128
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3130
|
+
path: z.ZodString;
|
|
3131
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3132
|
+
setting: z.ZodString;
|
|
3133
|
+
}, z.core.$strict>]>>;
|
|
3134
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3135
|
+
setting: z.ZodString;
|
|
3136
|
+
}, z.core.$strict>]>>;
|
|
3137
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3138
|
+
setting: z.ZodString;
|
|
3139
|
+
}, z.core.$strict>]>>;
|
|
3140
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3141
|
+
setting: z.ZodString;
|
|
3142
|
+
}, z.core.$strict>]>>;
|
|
3143
|
+
}, z.core.$strict>]>>;
|
|
3144
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
2966
3145
|
}, z.core.$strict>>;
|
|
2967
3146
|
}, z.core.$strict>]>;
|
|
2968
3147
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2969
3148
|
kind: z.ZodLiteral<"available">;
|
|
2970
3149
|
input: z.ZodEnum<{
|
|
2971
|
-
quiz: "quiz";
|
|
2972
3150
|
text: "text";
|
|
2973
3151
|
url: "url";
|
|
2974
|
-
photo: "photo";
|
|
2975
3152
|
none: "none";
|
|
3153
|
+
quiz: "quiz";
|
|
3154
|
+
photo: "photo";
|
|
2976
3155
|
}>;
|
|
2977
3156
|
}, z.core.$strict>, z.ZodObject<{
|
|
2978
3157
|
kind: z.ZodLiteral<"completed">;
|
|
@@ -3069,13 +3248,13 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3069
3248
|
value: z.ZodString;
|
|
3070
3249
|
}, z.core.$strict>]>>;
|
|
3071
3250
|
status: z.ZodEnum<{
|
|
3251
|
+
"needs-review": "needs-review";
|
|
3252
|
+
failed: "failed";
|
|
3072
3253
|
queued: "queued";
|
|
3073
3254
|
evaluating: "evaluating";
|
|
3074
3255
|
accepted: "accepted";
|
|
3075
3256
|
progressed: "progressed";
|
|
3076
3257
|
rejected: "rejected";
|
|
3077
|
-
"needs-review": "needs-review";
|
|
3078
|
-
failed: "failed";
|
|
3079
3258
|
}>;
|
|
3080
3259
|
reason: z.ZodNullable<z.ZodString>;
|
|
3081
3260
|
retries: z.ZodNumber;
|
|
@@ -3113,16 +3292,16 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3113
3292
|
release: z.ZodString;
|
|
3114
3293
|
interaction: z.ZodEnum<{
|
|
3115
3294
|
staff: "staff";
|
|
3116
|
-
quiz: "quiz";
|
|
3117
3295
|
text: "text";
|
|
3118
3296
|
url: "url";
|
|
3119
|
-
photo: "photo";
|
|
3120
3297
|
automatic: "automatic";
|
|
3121
3298
|
claim: "claim";
|
|
3299
|
+
quiz: "quiz";
|
|
3300
|
+
photo: "photo";
|
|
3122
3301
|
}>;
|
|
3123
3302
|
lifecycle: z.ZodEnum<{
|
|
3124
|
-
active: "active";
|
|
3125
3303
|
paused: "paused";
|
|
3304
|
+
active: "active";
|
|
3126
3305
|
archived: "archived";
|
|
3127
3306
|
}>;
|
|
3128
3307
|
rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3176,8 +3355,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3176
3355
|
}, z.core.$strict>>]>>;
|
|
3177
3356
|
requires: z.ZodArray<z.ZodString>;
|
|
3178
3357
|
status: z.ZodEnum<{
|
|
3179
|
-
active: "active";
|
|
3180
3358
|
paused: "paused";
|
|
3359
|
+
active: "active";
|
|
3181
3360
|
archived: "archived";
|
|
3182
3361
|
}>;
|
|
3183
3362
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3210,8 +3389,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3210
3389
|
}, z.core.$strict>>]>>;
|
|
3211
3390
|
requires: z.ZodArray<z.ZodString>;
|
|
3212
3391
|
status: z.ZodEnum<{
|
|
3213
|
-
active: "active";
|
|
3214
3392
|
paused: "paused";
|
|
3393
|
+
active: "active";
|
|
3215
3394
|
archived: "archived";
|
|
3216
3395
|
}>;
|
|
3217
3396
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
@@ -3386,9 +3565,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3386
3565
|
}, z.core.$strict>, z.ZodObject<{
|
|
3387
3566
|
kind: z.ZodLiteral<"manual">;
|
|
3388
3567
|
input: z.ZodEnum<{
|
|
3568
|
+
none: "none";
|
|
3389
3569
|
quiz: "quiz";
|
|
3390
3570
|
photo: "photo";
|
|
3391
|
-
none: "none";
|
|
3392
3571
|
}>;
|
|
3393
3572
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
3394
3573
|
member: "member";
|
|
@@ -3407,8 +3586,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3407
3586
|
end: z.ZodOptional<z.ZodNumber>;
|
|
3408
3587
|
}, z.core.$strict>;
|
|
3409
3588
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
3410
|
-
required: "required";
|
|
3411
3589
|
none: "none";
|
|
3590
|
+
required: "required";
|
|
3412
3591
|
}>>;
|
|
3413
3592
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
3414
3593
|
"after-enrollment": "after-enrollment";
|
|
@@ -3426,10 +3605,30 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3426
3605
|
custom: "custom";
|
|
3427
3606
|
"x-search": "x-search";
|
|
3428
3607
|
}>;
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
"
|
|
3432
|
-
|
|
3608
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
3609
|
+
"new-record": "new-record";
|
|
3610
|
+
"new-observation": "new-observation";
|
|
3611
|
+
"data-changed": "data-changed";
|
|
3612
|
+
}>>;
|
|
3613
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3614
|
+
path: z.ZodString;
|
|
3615
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3616
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3617
|
+
path: z.ZodString;
|
|
3618
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3619
|
+
setting: z.ZodString;
|
|
3620
|
+
}, z.core.$strict>]>>;
|
|
3621
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3622
|
+
setting: z.ZodString;
|
|
3623
|
+
}, z.core.$strict>]>>;
|
|
3624
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3625
|
+
setting: z.ZodString;
|
|
3626
|
+
}, z.core.$strict>]>>;
|
|
3627
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3628
|
+
setting: z.ZodString;
|
|
3629
|
+
}, z.core.$strict>]>>;
|
|
3630
|
+
}, z.core.$strict>]>>;
|
|
3631
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
3433
3632
|
}, z.core.$strict>>;
|
|
3434
3633
|
}, z.core.$strict>]>;
|
|
3435
3634
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -3471,8 +3670,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3471
3670
|
}>;
|
|
3472
3671
|
period: z.ZodEnum<{
|
|
3473
3672
|
day: "day";
|
|
3474
|
-
week: "week";
|
|
3475
3673
|
lifetime: "lifetime";
|
|
3674
|
+
week: "week";
|
|
3476
3675
|
}>;
|
|
3477
3676
|
limit: z.ZodNumber;
|
|
3478
3677
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -3495,8 +3694,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3495
3694
|
typeVersion: z.ZodString;
|
|
3496
3695
|
}, z.core.$strict>>;
|
|
3497
3696
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
3498
|
-
active: "active";
|
|
3499
3697
|
paused: "paused";
|
|
3698
|
+
active: "active";
|
|
3500
3699
|
archived: "archived";
|
|
3501
3700
|
}>>;
|
|
3502
3701
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -3601,12 +3800,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3601
3800
|
kind: "resource";
|
|
3602
3801
|
default: string;
|
|
3603
3802
|
source: {
|
|
3604
|
-
provider: "domino";
|
|
3605
|
-
resource: "point-ledger";
|
|
3606
|
-
} | {
|
|
3607
3803
|
provider: "discord";
|
|
3608
3804
|
resource: "channel";
|
|
3609
3805
|
types: ("text" | "announcement")[];
|
|
3806
|
+
} | {
|
|
3807
|
+
provider: "domino";
|
|
3808
|
+
resource: "point-ledger";
|
|
3610
3809
|
} | {
|
|
3611
3810
|
provider: "discord";
|
|
3612
3811
|
resource: "role";
|
|
@@ -3703,14 +3902,33 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3703
3902
|
start: number;
|
|
3704
3903
|
end?: number | undefined;
|
|
3705
3904
|
};
|
|
3706
|
-
enrollment: "
|
|
3905
|
+
enrollment: "none" | "required";
|
|
3707
3906
|
posts: "after-enrollment" | "since-start";
|
|
3708
3907
|
historical: "staff" | "automatic" | "claim";
|
|
3709
3908
|
} | undefined;
|
|
3710
3909
|
tracker?: {
|
|
3711
3910
|
tracker: string;
|
|
3712
3911
|
source: "custom" | "x-search";
|
|
3713
|
-
beneficiary:
|
|
3912
|
+
beneficiary: string;
|
|
3913
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
3914
|
+
where?: {
|
|
3915
|
+
path: string;
|
|
3916
|
+
gt?: number | {
|
|
3917
|
+
setting: string;
|
|
3918
|
+
} | undefined;
|
|
3919
|
+
gte?: number | {
|
|
3920
|
+
setting: string;
|
|
3921
|
+
} | undefined;
|
|
3922
|
+
lt?: number | {
|
|
3923
|
+
setting: string;
|
|
3924
|
+
} | undefined;
|
|
3925
|
+
lte?: number | {
|
|
3926
|
+
setting: string;
|
|
3927
|
+
} | undefined;
|
|
3928
|
+
} | {
|
|
3929
|
+
path: string;
|
|
3930
|
+
equals: string | number | boolean;
|
|
3931
|
+
} | undefined;
|
|
3714
3932
|
} | undefined;
|
|
3715
3933
|
} | {
|
|
3716
3934
|
kind: "manual";
|
|
@@ -3731,7 +3949,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3731
3949
|
actor?: "member" | "staff" | undefined;
|
|
3732
3950
|
} | {
|
|
3733
3951
|
kind: "manual";
|
|
3734
|
-
input: "
|
|
3952
|
+
input: "none" | "quiz" | "photo";
|
|
3735
3953
|
actor?: "member" | "staff" | undefined;
|
|
3736
3954
|
};
|
|
3737
3955
|
requires: {
|
|
@@ -3751,7 +3969,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3751
3969
|
budgets: {
|
|
3752
3970
|
id: string;
|
|
3753
3971
|
scope: "project" | "member";
|
|
3754
|
-
period: "day" | "
|
|
3972
|
+
period: "day" | "lifetime" | "week";
|
|
3755
3973
|
limit: number;
|
|
3756
3974
|
cost: number | {
|
|
3757
3975
|
balance: string;
|
|
@@ -3762,7 +3980,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3762
3980
|
id: string;
|
|
3763
3981
|
createdAt: number;
|
|
3764
3982
|
legacy: boolean;
|
|
3765
|
-
lifecycle: "
|
|
3983
|
+
lifecycle: "paused" | "active" | "archived";
|
|
3766
3984
|
performance?: {
|
|
3767
3985
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3768
3986
|
maxAgeMs: number;
|
|
@@ -4222,8 +4440,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
4222
4440
|
action: z.ZodLiteral<"grant-role">;
|
|
4223
4441
|
roleId: z.ZodString;
|
|
4224
4442
|
status: z.ZodEnum<{
|
|
4225
|
-
failed: "failed";
|
|
4226
4443
|
pending: "pending";
|
|
4444
|
+
failed: "failed";
|
|
4227
4445
|
delivered: "delivered";
|
|
4228
4446
|
}>;
|
|
4229
4447
|
attempts: z.ZodNumber;
|
|
@@ -4242,8 +4460,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
4242
4460
|
action: z.ZodLiteral<"grant-role">;
|
|
4243
4461
|
roleId: z.ZodString;
|
|
4244
4462
|
status: z.ZodEnum<{
|
|
4245
|
-
failed: "failed";
|
|
4246
4463
|
pending: "pending";
|
|
4464
|
+
failed: "failed";
|
|
4247
4465
|
delivered: "delivered";
|
|
4248
4466
|
}>;
|
|
4249
4467
|
attempts: z.ZodNumber;
|
|
@@ -4414,6 +4632,12 @@ declare function questConfiguration(release: PublishedRelease): {
|
|
|
4414
4632
|
|
|
4415
4633
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
4416
4634
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
4635
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4636
|
+
code: z.ZodString;
|
|
4637
|
+
provider: z.ZodEnum<{
|
|
4638
|
+
"workers-ai": "workers-ai";
|
|
4639
|
+
}>;
|
|
4640
|
+
}, z.core.$strip>>>;
|
|
4417
4641
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4418
4642
|
title: z.ZodString;
|
|
4419
4643
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -4422,27 +4646,21 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4422
4646
|
title: string;
|
|
4423
4647
|
key?: string | undefined;
|
|
4424
4648
|
id?: string | undefined;
|
|
4425
|
-
}, "
|
|
4649
|
+
}, "id" | "key"> & {
|
|
4426
4650
|
key: string;
|
|
4427
4651
|
}, {
|
|
4428
4652
|
title: string;
|
|
4429
4653
|
key?: string | undefined;
|
|
4430
4654
|
id?: string | undefined;
|
|
4431
4655
|
}>>>>;
|
|
4432
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4433
|
-
code: z.ZodString;
|
|
4434
|
-
provider: z.ZodEnum<{
|
|
4435
|
-
"workers-ai": "workers-ai";
|
|
4436
|
-
}>;
|
|
4437
|
-
}, z.core.$strip>>>;
|
|
4438
4656
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4439
4657
|
staff: "staff";
|
|
4440
|
-
quiz: "quiz";
|
|
4441
4658
|
text: "text";
|
|
4442
4659
|
url: "url";
|
|
4443
|
-
photo: "photo";
|
|
4444
4660
|
automatic: "automatic";
|
|
4445
4661
|
claim: "claim";
|
|
4662
|
+
quiz: "quiz";
|
|
4663
|
+
photo: "photo";
|
|
4446
4664
|
}>>>;
|
|
4447
4665
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4448
4666
|
code: z.ZodString;
|
|
@@ -4456,6 +4674,13 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4456
4674
|
}, z.core.$strict>, z.ZodObject<{
|
|
4457
4675
|
kind: z.ZodLiteral<"custom">;
|
|
4458
4676
|
namespace: z.ZodString;
|
|
4677
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4678
|
+
member: "member";
|
|
4679
|
+
x: "x";
|
|
4680
|
+
wallet: "wallet";
|
|
4681
|
+
discord: "discord";
|
|
4682
|
+
}>>>;
|
|
4683
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4459
4684
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
4460
4685
|
}, z.core.$strict>], "kind">;
|
|
4461
4686
|
window: z.ZodObject<{
|
|
@@ -4474,6 +4699,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4474
4699
|
}, z.core.$strict>>>;
|
|
4475
4700
|
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4476
4701
|
title: z.ZodString;
|
|
4702
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4703
|
+
kind: z.ZodLiteral<"signup">;
|
|
4704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4705
|
+
kind: z.ZodLiteral<"quest">;
|
|
4706
|
+
quest: z.ZodString;
|
|
4707
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4708
|
+
kind: z.ZodLiteral<"external">;
|
|
4709
|
+
}, z.core.$strict>], "kind">;
|
|
4477
4710
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
4478
4711
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4479
4712
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -4521,14 +4754,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4521
4754
|
}, z.core.$strict>]>>>;
|
|
4522
4755
|
}, z.core.$strict>>;
|
|
4523
4756
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4524
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4525
|
-
kind: z.ZodLiteral<"signup">;
|
|
4526
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4527
|
-
kind: z.ZodLiteral<"quest">;
|
|
4528
|
-
quest: z.ZodString;
|
|
4529
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4530
|
-
kind: z.ZodLiteral<"external">;
|
|
4531
|
-
}, z.core.$strict>], "kind">;
|
|
4532
4757
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4533
4758
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4534
4759
|
id: z.ZodString;
|
|
@@ -4569,6 +4794,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4569
4794
|
id: z.ZodOptional<z.ZodString>;
|
|
4570
4795
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
4571
4796
|
title: string;
|
|
4797
|
+
qualification: {
|
|
4798
|
+
kind: "signup";
|
|
4799
|
+
} | {
|
|
4800
|
+
kind: "quest";
|
|
4801
|
+
quest: string;
|
|
4802
|
+
} | {
|
|
4803
|
+
kind: "external";
|
|
4804
|
+
};
|
|
4572
4805
|
rewards: {
|
|
4573
4806
|
inviter: ({
|
|
4574
4807
|
kind: "tier";
|
|
@@ -4616,14 +4849,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4616
4849
|
})[];
|
|
4617
4850
|
};
|
|
4618
4851
|
enabled: boolean;
|
|
4619
|
-
qualification: {
|
|
4620
|
-
kind: "signup";
|
|
4621
|
-
} | {
|
|
4622
|
-
kind: "quest";
|
|
4623
|
-
quest: string;
|
|
4624
|
-
} | {
|
|
4625
|
-
kind: "external";
|
|
4626
|
-
};
|
|
4627
4852
|
milestones: {
|
|
4628
4853
|
id: string;
|
|
4629
4854
|
count: number;
|
|
@@ -4662,10 +4887,18 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4662
4887
|
inviterGroup?: string | undefined;
|
|
4663
4888
|
key?: string | undefined;
|
|
4664
4889
|
id?: string | undefined;
|
|
4665
|
-
}, "
|
|
4890
|
+
}, "id" | "key"> & {
|
|
4666
4891
|
key: string;
|
|
4667
4892
|
}, {
|
|
4668
4893
|
title: string;
|
|
4894
|
+
qualification: {
|
|
4895
|
+
kind: "signup";
|
|
4896
|
+
} | {
|
|
4897
|
+
kind: "quest";
|
|
4898
|
+
quest: string;
|
|
4899
|
+
} | {
|
|
4900
|
+
kind: "external";
|
|
4901
|
+
};
|
|
4669
4902
|
rewards: {
|
|
4670
4903
|
inviter: ({
|
|
4671
4904
|
kind: "tier";
|
|
@@ -4713,14 +4946,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4713
4946
|
})[];
|
|
4714
4947
|
};
|
|
4715
4948
|
enabled: boolean;
|
|
4716
|
-
qualification: {
|
|
4717
|
-
kind: "signup";
|
|
4718
|
-
} | {
|
|
4719
|
-
kind: "quest";
|
|
4720
|
-
quest: string;
|
|
4721
|
-
} | {
|
|
4722
|
-
kind: "external";
|
|
4723
|
-
};
|
|
4724
4949
|
milestones: {
|
|
4725
4950
|
id: string;
|
|
4726
4951
|
count: number;
|
|
@@ -4765,6 +4990,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4765
4990
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4766
4991
|
title: z.ZodString;
|
|
4767
4992
|
balance: z.ZodString;
|
|
4993
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4768
4994
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4769
4995
|
kind: z.ZodLiteral<"balance">;
|
|
4770
4996
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4813,7 +5039,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4813
5039
|
participants: "participants";
|
|
4814
5040
|
public: "public";
|
|
4815
5041
|
}>>;
|
|
4816
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4817
5042
|
key: z.ZodOptional<z.ZodString>;
|
|
4818
5043
|
id: z.ZodOptional<z.ZodString>;
|
|
4819
5044
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4859,7 +5084,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4859
5084
|
group?: string | undefined;
|
|
4860
5085
|
key?: string | undefined;
|
|
4861
5086
|
id?: string | undefined;
|
|
4862
|
-
}, "
|
|
5087
|
+
}, "id" | "key"> & {
|
|
4863
5088
|
key: string;
|
|
4864
5089
|
}, {
|
|
4865
5090
|
title: string;
|
|
@@ -4916,6 +5141,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
4916
5141
|
}, z.core.$strict>;
|
|
4917
5142
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
4918
5143
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
5144
|
+
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5145
|
+
code: z.ZodString;
|
|
5146
|
+
provider: z.ZodEnum<{
|
|
5147
|
+
"workers-ai": "workers-ai";
|
|
5148
|
+
}>;
|
|
5149
|
+
}, z.core.$strip>>>;
|
|
4919
5150
|
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4920
5151
|
title: z.ZodString;
|
|
4921
5152
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -4924,27 +5155,21 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4924
5155
|
title: string;
|
|
4925
5156
|
key?: string | undefined;
|
|
4926
5157
|
id?: string | undefined;
|
|
4927
|
-
}, "
|
|
5158
|
+
}, "id" | "key"> & {
|
|
4928
5159
|
key: string;
|
|
4929
5160
|
}, {
|
|
4930
5161
|
title: string;
|
|
4931
5162
|
key?: string | undefined;
|
|
4932
5163
|
id?: string | undefined;
|
|
4933
5164
|
}>>>>;
|
|
4934
|
-
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4935
|
-
code: z.ZodString;
|
|
4936
|
-
provider: z.ZodEnum<{
|
|
4937
|
-
"workers-ai": "workers-ai";
|
|
4938
|
-
}>;
|
|
4939
|
-
}, z.core.$strip>>>;
|
|
4940
5165
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4941
5166
|
staff: "staff";
|
|
4942
|
-
quiz: "quiz";
|
|
4943
5167
|
text: "text";
|
|
4944
5168
|
url: "url";
|
|
4945
|
-
photo: "photo";
|
|
4946
5169
|
automatic: "automatic";
|
|
4947
5170
|
claim: "claim";
|
|
5171
|
+
quiz: "quiz";
|
|
5172
|
+
photo: "photo";
|
|
4948
5173
|
}>>>;
|
|
4949
5174
|
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4950
5175
|
code: z.ZodString;
|
|
@@ -4958,6 +5183,13 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4958
5183
|
}, z.core.$strict>, z.ZodObject<{
|
|
4959
5184
|
kind: z.ZodLiteral<"custom">;
|
|
4960
5185
|
namespace: z.ZodString;
|
|
5186
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5187
|
+
member: "member";
|
|
5188
|
+
x: "x";
|
|
5189
|
+
wallet: "wallet";
|
|
5190
|
+
discord: "discord";
|
|
5191
|
+
}>>>;
|
|
5192
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4961
5193
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
4962
5194
|
}, z.core.$strict>], "kind">;
|
|
4963
5195
|
window: z.ZodObject<{
|
|
@@ -4976,6 +5208,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4976
5208
|
}, z.core.$strict>>>;
|
|
4977
5209
|
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4978
5210
|
title: z.ZodString;
|
|
5211
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5212
|
+
kind: z.ZodLiteral<"signup">;
|
|
5213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5214
|
+
kind: z.ZodLiteral<"quest">;
|
|
5215
|
+
quest: z.ZodString;
|
|
5216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5217
|
+
kind: z.ZodLiteral<"external">;
|
|
5218
|
+
}, z.core.$strict>], "kind">;
|
|
4979
5219
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
4980
5220
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4981
5221
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -5023,14 +5263,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5023
5263
|
}, z.core.$strict>]>>>;
|
|
5024
5264
|
}, z.core.$strict>>;
|
|
5025
5265
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5026
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5027
|
-
kind: z.ZodLiteral<"signup">;
|
|
5028
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5029
|
-
kind: z.ZodLiteral<"quest">;
|
|
5030
|
-
quest: z.ZodString;
|
|
5031
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5032
|
-
kind: z.ZodLiteral<"external">;
|
|
5033
|
-
}, z.core.$strict>], "kind">;
|
|
5034
5266
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
5035
5267
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5036
5268
|
id: z.ZodString;
|
|
@@ -5071,6 +5303,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5071
5303
|
id: z.ZodOptional<z.ZodString>;
|
|
5072
5304
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
5073
5305
|
title: string;
|
|
5306
|
+
qualification: {
|
|
5307
|
+
kind: "signup";
|
|
5308
|
+
} | {
|
|
5309
|
+
kind: "quest";
|
|
5310
|
+
quest: string;
|
|
5311
|
+
} | {
|
|
5312
|
+
kind: "external";
|
|
5313
|
+
};
|
|
5074
5314
|
rewards: {
|
|
5075
5315
|
inviter: ({
|
|
5076
5316
|
kind: "tier";
|
|
@@ -5118,14 +5358,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5118
5358
|
})[];
|
|
5119
5359
|
};
|
|
5120
5360
|
enabled: boolean;
|
|
5121
|
-
qualification: {
|
|
5122
|
-
kind: "signup";
|
|
5123
|
-
} | {
|
|
5124
|
-
kind: "quest";
|
|
5125
|
-
quest: string;
|
|
5126
|
-
} | {
|
|
5127
|
-
kind: "external";
|
|
5128
|
-
};
|
|
5129
5361
|
milestones: {
|
|
5130
5362
|
id: string;
|
|
5131
5363
|
count: number;
|
|
@@ -5164,10 +5396,18 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5164
5396
|
inviterGroup?: string | undefined;
|
|
5165
5397
|
key?: string | undefined;
|
|
5166
5398
|
id?: string | undefined;
|
|
5167
|
-
}, "
|
|
5399
|
+
}, "id" | "key"> & {
|
|
5168
5400
|
key: string;
|
|
5169
5401
|
}, {
|
|
5170
5402
|
title: string;
|
|
5403
|
+
qualification: {
|
|
5404
|
+
kind: "signup";
|
|
5405
|
+
} | {
|
|
5406
|
+
kind: "quest";
|
|
5407
|
+
quest: string;
|
|
5408
|
+
} | {
|
|
5409
|
+
kind: "external";
|
|
5410
|
+
};
|
|
5171
5411
|
rewards: {
|
|
5172
5412
|
inviter: ({
|
|
5173
5413
|
kind: "tier";
|
|
@@ -5215,14 +5455,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5215
5455
|
})[];
|
|
5216
5456
|
};
|
|
5217
5457
|
enabled: boolean;
|
|
5218
|
-
qualification: {
|
|
5219
|
-
kind: "signup";
|
|
5220
|
-
} | {
|
|
5221
|
-
kind: "quest";
|
|
5222
|
-
quest: string;
|
|
5223
|
-
} | {
|
|
5224
|
-
kind: "external";
|
|
5225
|
-
};
|
|
5226
5458
|
milestones: {
|
|
5227
5459
|
id: string;
|
|
5228
5460
|
count: number;
|
|
@@ -5267,6 +5499,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5267
5499
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
5268
5500
|
title: z.ZodString;
|
|
5269
5501
|
balance: z.ZodString;
|
|
5502
|
+
group: z.ZodOptional<z.ZodString>;
|
|
5270
5503
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5271
5504
|
kind: z.ZodLiteral<"balance">;
|
|
5272
5505
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5315,7 +5548,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5315
5548
|
participants: "participants";
|
|
5316
5549
|
public: "public";
|
|
5317
5550
|
}>>;
|
|
5318
|
-
group: z.ZodOptional<z.ZodString>;
|
|
5319
5551
|
key: z.ZodOptional<z.ZodString>;
|
|
5320
5552
|
id: z.ZodOptional<z.ZodString>;
|
|
5321
5553
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -5361,7 +5593,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
5361
5593
|
group?: string | undefined;
|
|
5362
5594
|
key?: string | undefined;
|
|
5363
5595
|
id?: string | undefined;
|
|
5364
|
-
}, "
|
|
5596
|
+
}, "id" | "key"> & {
|
|
5365
5597
|
key: string;
|
|
5366
5598
|
}, {
|
|
5367
5599
|
title: string;
|
|
@@ -5567,6 +5799,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5567
5799
|
}, z.core.$strict>, z.ZodObject<{
|
|
5568
5800
|
kind: z.ZodLiteral<"custom">;
|
|
5569
5801
|
namespace: z.ZodString;
|
|
5802
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5803
|
+
member: "member";
|
|
5804
|
+
x: "x";
|
|
5805
|
+
wallet: "wallet";
|
|
5806
|
+
discord: "discord";
|
|
5807
|
+
}>>>;
|
|
5808
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5570
5809
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
5571
5810
|
}, z.core.$strict>], "kind">;
|
|
5572
5811
|
window: z.ZodObject<{
|
|
@@ -5745,9 +5984,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5745
5984
|
}, z.core.$strict>, z.ZodObject<{
|
|
5746
5985
|
kind: z.ZodLiteral<"manual">;
|
|
5747
5986
|
input: z.ZodEnum<{
|
|
5987
|
+
none: "none";
|
|
5748
5988
|
quiz: "quiz";
|
|
5749
5989
|
photo: "photo";
|
|
5750
|
-
none: "none";
|
|
5751
5990
|
}>;
|
|
5752
5991
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
5753
5992
|
member: "member";
|
|
@@ -5766,8 +6005,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5766
6005
|
end: z.ZodOptional<z.ZodNumber>;
|
|
5767
6006
|
}, z.core.$strict>;
|
|
5768
6007
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
5769
|
-
required: "required";
|
|
5770
6008
|
none: "none";
|
|
6009
|
+
required: "required";
|
|
5771
6010
|
}>>;
|
|
5772
6011
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
5773
6012
|
"after-enrollment": "after-enrollment";
|
|
@@ -5785,10 +6024,30 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5785
6024
|
custom: "custom";
|
|
5786
6025
|
"x-search": "x-search";
|
|
5787
6026
|
}>;
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
"
|
|
5791
|
-
|
|
6027
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
6028
|
+
"new-record": "new-record";
|
|
6029
|
+
"new-observation": "new-observation";
|
|
6030
|
+
"data-changed": "data-changed";
|
|
6031
|
+
}>>;
|
|
6032
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
6033
|
+
path: z.ZodString;
|
|
6034
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
6035
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6036
|
+
path: z.ZodString;
|
|
6037
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6038
|
+
setting: z.ZodString;
|
|
6039
|
+
}, z.core.$strict>]>>;
|
|
6040
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6041
|
+
setting: z.ZodString;
|
|
6042
|
+
}, z.core.$strict>]>>;
|
|
6043
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6044
|
+
setting: z.ZodString;
|
|
6045
|
+
}, z.core.$strict>]>>;
|
|
6046
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6047
|
+
setting: z.ZodString;
|
|
6048
|
+
}, z.core.$strict>]>>;
|
|
6049
|
+
}, z.core.$strict>]>>;
|
|
6050
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
5792
6051
|
}, z.core.$strict>>;
|
|
5793
6052
|
}, z.core.$strict>]>;
|
|
5794
6053
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -5830,8 +6089,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5830
6089
|
}>;
|
|
5831
6090
|
period: z.ZodEnum<{
|
|
5832
6091
|
day: "day";
|
|
5833
|
-
week: "week";
|
|
5834
6092
|
lifetime: "lifetime";
|
|
6093
|
+
week: "week";
|
|
5835
6094
|
}>;
|
|
5836
6095
|
limit: z.ZodNumber;
|
|
5837
6096
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -5854,8 +6113,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5854
6113
|
typeVersion: z.ZodString;
|
|
5855
6114
|
}, z.core.$strict>>;
|
|
5856
6115
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
5857
|
-
active: "active";
|
|
5858
6116
|
paused: "paused";
|
|
6117
|
+
active: "active";
|
|
5859
6118
|
archived: "archived";
|
|
5860
6119
|
}>>;
|
|
5861
6120
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -5960,12 +6219,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5960
6219
|
kind: "resource";
|
|
5961
6220
|
default: string;
|
|
5962
6221
|
source: {
|
|
5963
|
-
provider: "domino";
|
|
5964
|
-
resource: "point-ledger";
|
|
5965
|
-
} | {
|
|
5966
6222
|
provider: "discord";
|
|
5967
6223
|
resource: "channel";
|
|
5968
6224
|
types: ("text" | "announcement")[];
|
|
6225
|
+
} | {
|
|
6226
|
+
provider: "domino";
|
|
6227
|
+
resource: "point-ledger";
|
|
5969
6228
|
} | {
|
|
5970
6229
|
provider: "discord";
|
|
5971
6230
|
resource: "role";
|
|
@@ -6062,14 +6321,33 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6062
6321
|
start: number;
|
|
6063
6322
|
end?: number | undefined;
|
|
6064
6323
|
};
|
|
6065
|
-
enrollment: "
|
|
6324
|
+
enrollment: "none" | "required";
|
|
6066
6325
|
posts: "after-enrollment" | "since-start";
|
|
6067
6326
|
historical: "staff" | "automatic" | "claim";
|
|
6068
6327
|
} | undefined;
|
|
6069
6328
|
tracker?: {
|
|
6070
6329
|
tracker: string;
|
|
6071
6330
|
source: "custom" | "x-search";
|
|
6072
|
-
beneficiary:
|
|
6331
|
+
beneficiary: string;
|
|
6332
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
6333
|
+
where?: {
|
|
6334
|
+
path: string;
|
|
6335
|
+
gt?: number | {
|
|
6336
|
+
setting: string;
|
|
6337
|
+
} | undefined;
|
|
6338
|
+
gte?: number | {
|
|
6339
|
+
setting: string;
|
|
6340
|
+
} | undefined;
|
|
6341
|
+
lt?: number | {
|
|
6342
|
+
setting: string;
|
|
6343
|
+
} | undefined;
|
|
6344
|
+
lte?: number | {
|
|
6345
|
+
setting: string;
|
|
6346
|
+
} | undefined;
|
|
6347
|
+
} | {
|
|
6348
|
+
path: string;
|
|
6349
|
+
equals: string | number | boolean;
|
|
6350
|
+
} | undefined;
|
|
6073
6351
|
} | undefined;
|
|
6074
6352
|
} | {
|
|
6075
6353
|
kind: "manual";
|
|
@@ -6090,7 +6368,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6090
6368
|
actor?: "member" | "staff" | undefined;
|
|
6091
6369
|
} | {
|
|
6092
6370
|
kind: "manual";
|
|
6093
|
-
input: "
|
|
6371
|
+
input: "none" | "quiz" | "photo";
|
|
6094
6372
|
actor?: "member" | "staff" | undefined;
|
|
6095
6373
|
};
|
|
6096
6374
|
requires: {
|
|
@@ -6110,7 +6388,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6110
6388
|
budgets: {
|
|
6111
6389
|
id: string;
|
|
6112
6390
|
scope: "project" | "member";
|
|
6113
|
-
period: "day" | "
|
|
6391
|
+
period: "day" | "lifetime" | "week";
|
|
6114
6392
|
limit: number;
|
|
6115
6393
|
cost: number | {
|
|
6116
6394
|
balance: string;
|
|
@@ -6121,7 +6399,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6121
6399
|
id: string;
|
|
6122
6400
|
createdAt: number;
|
|
6123
6401
|
legacy: boolean;
|
|
6124
|
-
lifecycle: "
|
|
6402
|
+
lifecycle: "paused" | "active" | "archived";
|
|
6125
6403
|
performance?: {
|
|
6126
6404
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
6127
6405
|
maxAgeMs: number;
|
|
@@ -6356,9 +6634,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6356
6634
|
}, z.core.$strict>, z.ZodObject<{
|
|
6357
6635
|
kind: z.ZodLiteral<"manual">;
|
|
6358
6636
|
input: z.ZodEnum<{
|
|
6637
|
+
none: "none";
|
|
6359
6638
|
quiz: "quiz";
|
|
6360
6639
|
photo: "photo";
|
|
6361
|
-
none: "none";
|
|
6362
6640
|
}>;
|
|
6363
6641
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
6364
6642
|
member: "member";
|
|
@@ -6377,8 +6655,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6377
6655
|
end: z.ZodOptional<z.ZodNumber>;
|
|
6378
6656
|
}, z.core.$strict>;
|
|
6379
6657
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
6380
|
-
required: "required";
|
|
6381
6658
|
none: "none";
|
|
6659
|
+
required: "required";
|
|
6382
6660
|
}>>;
|
|
6383
6661
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
6384
6662
|
"after-enrollment": "after-enrollment";
|
|
@@ -6396,10 +6674,30 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6396
6674
|
custom: "custom";
|
|
6397
6675
|
"x-search": "x-search";
|
|
6398
6676
|
}>;
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
"
|
|
6402
|
-
|
|
6677
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
6678
|
+
"new-record": "new-record";
|
|
6679
|
+
"new-observation": "new-observation";
|
|
6680
|
+
"data-changed": "data-changed";
|
|
6681
|
+
}>>;
|
|
6682
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
6683
|
+
path: z.ZodString;
|
|
6684
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
6685
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6686
|
+
path: z.ZodString;
|
|
6687
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6688
|
+
setting: z.ZodString;
|
|
6689
|
+
}, z.core.$strict>]>>;
|
|
6690
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6691
|
+
setting: z.ZodString;
|
|
6692
|
+
}, z.core.$strict>]>>;
|
|
6693
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6694
|
+
setting: z.ZodString;
|
|
6695
|
+
}, z.core.$strict>]>>;
|
|
6696
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6697
|
+
setting: z.ZodString;
|
|
6698
|
+
}, z.core.$strict>]>>;
|
|
6699
|
+
}, z.core.$strict>]>>;
|
|
6700
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
6403
6701
|
}, z.core.$strict>>;
|
|
6404
6702
|
}, z.core.$strict>]>;
|
|
6405
6703
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -6441,8 +6739,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6441
6739
|
}>;
|
|
6442
6740
|
period: z.ZodEnum<{
|
|
6443
6741
|
day: "day";
|
|
6444
|
-
week: "week";
|
|
6445
6742
|
lifetime: "lifetime";
|
|
6743
|
+
week: "week";
|
|
6446
6744
|
}>;
|
|
6447
6745
|
limit: z.ZodNumber;
|
|
6448
6746
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -6467,12 +6765,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6467
6765
|
}, z.core.$strict>>;
|
|
6468
6766
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
6469
6767
|
staff: "staff";
|
|
6470
|
-
quiz: "quiz";
|
|
6471
6768
|
text: "text";
|
|
6472
6769
|
url: "url";
|
|
6473
|
-
photo: "photo";
|
|
6474
6770
|
automatic: "automatic";
|
|
6475
6771
|
claim: "claim";
|
|
6772
|
+
quiz: "quiz";
|
|
6773
|
+
photo: "photo";
|
|
6476
6774
|
}>>;
|
|
6477
6775
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6478
6776
|
version: z.ZodString;
|
|
@@ -6668,9 +6966,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6668
6966
|
}, z.core.$strip>, z.ZodObject<{
|
|
6669
6967
|
source: z.ZodLiteral<"account">;
|
|
6670
6968
|
provider: z.ZodEnum<{
|
|
6969
|
+
x: "x";
|
|
6671
6970
|
discord: "discord";
|
|
6672
6971
|
google: "google";
|
|
6673
|
-
x: "x";
|
|
6674
6972
|
}>;
|
|
6675
6973
|
url: z.ZodString;
|
|
6676
6974
|
seed: z.ZodString;
|
|
@@ -6696,9 +6994,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6696
6994
|
}, z.core.$strip>, z.ZodObject<{
|
|
6697
6995
|
source: z.ZodLiteral<"account">;
|
|
6698
6996
|
provider: z.ZodEnum<{
|
|
6997
|
+
x: "x";
|
|
6699
6998
|
discord: "discord";
|
|
6700
6999
|
google: "google";
|
|
6701
|
-
x: "x";
|
|
6702
7000
|
}>;
|
|
6703
7001
|
url: z.ZodString;
|
|
6704
7002
|
seed: z.ZodString;
|
|
@@ -6724,9 +7022,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6724
7022
|
}, z.core.$strip>, z.ZodObject<{
|
|
6725
7023
|
source: z.ZodLiteral<"account">;
|
|
6726
7024
|
provider: z.ZodEnum<{
|
|
7025
|
+
x: "x";
|
|
6727
7026
|
discord: "discord";
|
|
6728
7027
|
google: "google";
|
|
6729
|
-
x: "x";
|
|
6730
7028
|
}>;
|
|
6731
7029
|
url: z.ZodString;
|
|
6732
7030
|
seed: z.ZodString;
|
|
@@ -6770,9 +7068,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6770
7068
|
}, z.core.$strip>, z.ZodObject<{
|
|
6771
7069
|
source: z.ZodLiteral<"account">;
|
|
6772
7070
|
provider: z.ZodEnum<{
|
|
7071
|
+
x: "x";
|
|
6773
7072
|
discord: "discord";
|
|
6774
7073
|
google: "google";
|
|
6775
|
-
x: "x";
|
|
6776
7074
|
}>;
|
|
6777
7075
|
url: z.ZodString;
|
|
6778
7076
|
seed: z.ZodString;
|
|
@@ -6798,9 +7096,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6798
7096
|
}, z.core.$strip>, z.ZodObject<{
|
|
6799
7097
|
source: z.ZodLiteral<"account">;
|
|
6800
7098
|
provider: z.ZodEnum<{
|
|
7099
|
+
x: "x";
|
|
6801
7100
|
discord: "discord";
|
|
6802
7101
|
google: "google";
|
|
6803
|
-
x: "x";
|
|
6804
7102
|
}>;
|
|
6805
7103
|
url: z.ZodString;
|
|
6806
7104
|
seed: z.ZodString;
|
|
@@ -6826,9 +7124,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
6826
7124
|
}, z.core.$strip>, z.ZodObject<{
|
|
6827
7125
|
source: z.ZodLiteral<"account">;
|
|
6828
7126
|
provider: z.ZodEnum<{
|
|
7127
|
+
x: "x";
|
|
6829
7128
|
discord: "discord";
|
|
6830
7129
|
google: "google";
|
|
6831
|
-
x: "x";
|
|
6832
7130
|
}>;
|
|
6833
7131
|
url: z.ZodString;
|
|
6834
7132
|
seed: z.ZodString;
|
|
@@ -6991,6 +7289,13 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6991
7289
|
}, z.core.$strict>, z.ZodObject<{
|
|
6992
7290
|
kind: z.ZodLiteral<"custom">;
|
|
6993
7291
|
namespace: z.ZodString;
|
|
7292
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7293
|
+
member: "member";
|
|
7294
|
+
x: "x";
|
|
7295
|
+
wallet: "wallet";
|
|
7296
|
+
discord: "discord";
|
|
7297
|
+
}>>>;
|
|
7298
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6994
7299
|
authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
|
|
6995
7300
|
}, z.core.$strict>], "kind">;
|
|
6996
7301
|
window: z.ZodObject<{
|
|
@@ -7169,9 +7474,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7169
7474
|
}, z.core.$strict>, z.ZodObject<{
|
|
7170
7475
|
kind: z.ZodLiteral<"manual">;
|
|
7171
7476
|
input: z.ZodEnum<{
|
|
7477
|
+
none: "none";
|
|
7172
7478
|
quiz: "quiz";
|
|
7173
7479
|
photo: "photo";
|
|
7174
|
-
none: "none";
|
|
7175
7480
|
}>;
|
|
7176
7481
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
7177
7482
|
member: "member";
|
|
@@ -7190,8 +7495,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7190
7495
|
end: z.ZodOptional<z.ZodNumber>;
|
|
7191
7496
|
}, z.core.$strict>;
|
|
7192
7497
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
7193
|
-
required: "required";
|
|
7194
7498
|
none: "none";
|
|
7499
|
+
required: "required";
|
|
7195
7500
|
}>>;
|
|
7196
7501
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
7197
7502
|
"after-enrollment": "after-enrollment";
|
|
@@ -7209,10 +7514,30 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7209
7514
|
custom: "custom";
|
|
7210
7515
|
"x-search": "x-search";
|
|
7211
7516
|
}>;
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
"
|
|
7215
|
-
|
|
7517
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
7518
|
+
"new-record": "new-record";
|
|
7519
|
+
"new-observation": "new-observation";
|
|
7520
|
+
"data-changed": "data-changed";
|
|
7521
|
+
}>>;
|
|
7522
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
7523
|
+
path: z.ZodString;
|
|
7524
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
7525
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7526
|
+
path: z.ZodString;
|
|
7527
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
7528
|
+
setting: z.ZodString;
|
|
7529
|
+
}, z.core.$strict>]>>;
|
|
7530
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
7531
|
+
setting: z.ZodString;
|
|
7532
|
+
}, z.core.$strict>]>>;
|
|
7533
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
7534
|
+
setting: z.ZodString;
|
|
7535
|
+
}, z.core.$strict>]>>;
|
|
7536
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
7537
|
+
setting: z.ZodString;
|
|
7538
|
+
}, z.core.$strict>]>>;
|
|
7539
|
+
}, z.core.$strict>]>>;
|
|
7540
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
7216
7541
|
}, z.core.$strict>>;
|
|
7217
7542
|
}, z.core.$strict>]>;
|
|
7218
7543
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -7254,8 +7579,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7254
7579
|
}>;
|
|
7255
7580
|
period: z.ZodEnum<{
|
|
7256
7581
|
day: "day";
|
|
7257
|
-
week: "week";
|
|
7258
7582
|
lifetime: "lifetime";
|
|
7583
|
+
week: "week";
|
|
7259
7584
|
}>;
|
|
7260
7585
|
limit: z.ZodNumber;
|
|
7261
7586
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7278,8 +7603,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7278
7603
|
typeVersion: z.ZodString;
|
|
7279
7604
|
}, z.core.$strict>>;
|
|
7280
7605
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
7281
|
-
active: "active";
|
|
7282
7606
|
paused: "paused";
|
|
7607
|
+
active: "active";
|
|
7283
7608
|
archived: "archived";
|
|
7284
7609
|
}>>;
|
|
7285
7610
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
@@ -7384,12 +7709,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7384
7709
|
kind: "resource";
|
|
7385
7710
|
default: string;
|
|
7386
7711
|
source: {
|
|
7387
|
-
provider: "domino";
|
|
7388
|
-
resource: "point-ledger";
|
|
7389
|
-
} | {
|
|
7390
7712
|
provider: "discord";
|
|
7391
7713
|
resource: "channel";
|
|
7392
7714
|
types: ("text" | "announcement")[];
|
|
7715
|
+
} | {
|
|
7716
|
+
provider: "domino";
|
|
7717
|
+
resource: "point-ledger";
|
|
7393
7718
|
} | {
|
|
7394
7719
|
provider: "discord";
|
|
7395
7720
|
resource: "role";
|
|
@@ -7486,14 +7811,33 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7486
7811
|
start: number;
|
|
7487
7812
|
end?: number | undefined;
|
|
7488
7813
|
};
|
|
7489
|
-
enrollment: "
|
|
7814
|
+
enrollment: "none" | "required";
|
|
7490
7815
|
posts: "after-enrollment" | "since-start";
|
|
7491
7816
|
historical: "staff" | "automatic" | "claim";
|
|
7492
7817
|
} | undefined;
|
|
7493
7818
|
tracker?: {
|
|
7494
7819
|
tracker: string;
|
|
7495
7820
|
source: "custom" | "x-search";
|
|
7496
|
-
beneficiary:
|
|
7821
|
+
beneficiary: string;
|
|
7822
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
7823
|
+
where?: {
|
|
7824
|
+
path: string;
|
|
7825
|
+
gt?: number | {
|
|
7826
|
+
setting: string;
|
|
7827
|
+
} | undefined;
|
|
7828
|
+
gte?: number | {
|
|
7829
|
+
setting: string;
|
|
7830
|
+
} | undefined;
|
|
7831
|
+
lt?: number | {
|
|
7832
|
+
setting: string;
|
|
7833
|
+
} | undefined;
|
|
7834
|
+
lte?: number | {
|
|
7835
|
+
setting: string;
|
|
7836
|
+
} | undefined;
|
|
7837
|
+
} | {
|
|
7838
|
+
path: string;
|
|
7839
|
+
equals: string | number | boolean;
|
|
7840
|
+
} | undefined;
|
|
7497
7841
|
} | undefined;
|
|
7498
7842
|
} | {
|
|
7499
7843
|
kind: "manual";
|
|
@@ -7514,7 +7858,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7514
7858
|
actor?: "member" | "staff" | undefined;
|
|
7515
7859
|
} | {
|
|
7516
7860
|
kind: "manual";
|
|
7517
|
-
input: "
|
|
7861
|
+
input: "none" | "quiz" | "photo";
|
|
7518
7862
|
actor?: "member" | "staff" | undefined;
|
|
7519
7863
|
};
|
|
7520
7864
|
requires: {
|
|
@@ -7534,7 +7878,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7534
7878
|
budgets: {
|
|
7535
7879
|
id: string;
|
|
7536
7880
|
scope: "project" | "member";
|
|
7537
|
-
period: "day" | "
|
|
7881
|
+
period: "day" | "lifetime" | "week";
|
|
7538
7882
|
limit: number;
|
|
7539
7883
|
cost: number | {
|
|
7540
7884
|
balance: string;
|
|
@@ -7545,7 +7889,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7545
7889
|
id: string;
|
|
7546
7890
|
createdAt: number;
|
|
7547
7891
|
legacy: boolean;
|
|
7548
|
-
lifecycle: "
|
|
7892
|
+
lifecycle: "paused" | "active" | "archived";
|
|
7549
7893
|
performance?: {
|
|
7550
7894
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
7551
7895
|
maxAgeMs: number;
|
|
@@ -7780,9 +8124,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7780
8124
|
}, z.core.$strict>, z.ZodObject<{
|
|
7781
8125
|
kind: z.ZodLiteral<"manual">;
|
|
7782
8126
|
input: z.ZodEnum<{
|
|
8127
|
+
none: "none";
|
|
7783
8128
|
quiz: "quiz";
|
|
7784
8129
|
photo: "photo";
|
|
7785
|
-
none: "none";
|
|
7786
8130
|
}>;
|
|
7787
8131
|
actor: z.ZodOptional<z.ZodEnum<{
|
|
7788
8132
|
member: "member";
|
|
@@ -7801,8 +8145,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7801
8145
|
end: z.ZodOptional<z.ZodNumber>;
|
|
7802
8146
|
}, z.core.$strict>;
|
|
7803
8147
|
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
7804
|
-
required: "required";
|
|
7805
8148
|
none: "none";
|
|
8149
|
+
required: "required";
|
|
7806
8150
|
}>>;
|
|
7807
8151
|
posts: z.ZodDefault<z.ZodEnum<{
|
|
7808
8152
|
"after-enrollment": "after-enrollment";
|
|
@@ -7820,10 +8164,30 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7820
8164
|
custom: "custom";
|
|
7821
8165
|
"x-search": "x-search";
|
|
7822
8166
|
}>;
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
"
|
|
7826
|
-
|
|
8167
|
+
on: z.ZodOptional<z.ZodEnum<{
|
|
8168
|
+
"new-record": "new-record";
|
|
8169
|
+
"new-observation": "new-observation";
|
|
8170
|
+
"data-changed": "data-changed";
|
|
8171
|
+
}>>;
|
|
8172
|
+
where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
8173
|
+
path: z.ZodString;
|
|
8174
|
+
equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
8175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8176
|
+
path: z.ZodString;
|
|
8177
|
+
gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
8178
|
+
setting: z.ZodString;
|
|
8179
|
+
}, z.core.$strict>]>>;
|
|
8180
|
+
gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
8181
|
+
setting: z.ZodString;
|
|
8182
|
+
}, z.core.$strict>]>>;
|
|
8183
|
+
lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
8184
|
+
setting: z.ZodString;
|
|
8185
|
+
}, z.core.$strict>]>>;
|
|
8186
|
+
lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
8187
|
+
setting: z.ZodString;
|
|
8188
|
+
}, z.core.$strict>]>>;
|
|
8189
|
+
}, z.core.$strict>]>>;
|
|
8190
|
+
beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
|
|
7827
8191
|
}, z.core.$strict>>;
|
|
7828
8192
|
}, z.core.$strict>]>;
|
|
7829
8193
|
performance: z.ZodOptional<z.ZodObject<{
|
|
@@ -7865,8 +8229,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7865
8229
|
}>;
|
|
7866
8230
|
period: z.ZodEnum<{
|
|
7867
8231
|
day: "day";
|
|
7868
|
-
week: "week";
|
|
7869
8232
|
lifetime: "lifetime";
|
|
8233
|
+
week: "week";
|
|
7870
8234
|
}>;
|
|
7871
8235
|
limit: z.ZodNumber;
|
|
7872
8236
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -7891,12 +8255,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
7891
8255
|
}, z.core.$strict>>;
|
|
7892
8256
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
7893
8257
|
staff: "staff";
|
|
7894
|
-
quiz: "quiz";
|
|
7895
8258
|
text: "text";
|
|
7896
8259
|
url: "url";
|
|
7897
|
-
photo: "photo";
|
|
7898
8260
|
automatic: "automatic";
|
|
7899
8261
|
claim: "claim";
|
|
8262
|
+
quiz: "quiz";
|
|
8263
|
+
photo: "photo";
|
|
7900
8264
|
}>>;
|
|
7901
8265
|
referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7902
8266
|
version: z.ZodString;
|
|
@@ -8092,9 +8456,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8092
8456
|
}, z.core.$strip>, z.ZodObject<{
|
|
8093
8457
|
source: z.ZodLiteral<"account">;
|
|
8094
8458
|
provider: z.ZodEnum<{
|
|
8459
|
+
x: "x";
|
|
8095
8460
|
discord: "discord";
|
|
8096
8461
|
google: "google";
|
|
8097
|
-
x: "x";
|
|
8098
8462
|
}>;
|
|
8099
8463
|
url: z.ZodString;
|
|
8100
8464
|
seed: z.ZodString;
|
|
@@ -8120,9 +8484,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8120
8484
|
}, z.core.$strip>, z.ZodObject<{
|
|
8121
8485
|
source: z.ZodLiteral<"account">;
|
|
8122
8486
|
provider: z.ZodEnum<{
|
|
8487
|
+
x: "x";
|
|
8123
8488
|
discord: "discord";
|
|
8124
8489
|
google: "google";
|
|
8125
|
-
x: "x";
|
|
8126
8490
|
}>;
|
|
8127
8491
|
url: z.ZodString;
|
|
8128
8492
|
seed: z.ZodString;
|
|
@@ -8148,9 +8512,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8148
8512
|
}, z.core.$strip>, z.ZodObject<{
|
|
8149
8513
|
source: z.ZodLiteral<"account">;
|
|
8150
8514
|
provider: z.ZodEnum<{
|
|
8515
|
+
x: "x";
|
|
8151
8516
|
discord: "discord";
|
|
8152
8517
|
google: "google";
|
|
8153
|
-
x: "x";
|
|
8154
8518
|
}>;
|
|
8155
8519
|
url: z.ZodString;
|
|
8156
8520
|
seed: z.ZodString;
|
|
@@ -8194,9 +8558,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8194
8558
|
}, z.core.$strip>, z.ZodObject<{
|
|
8195
8559
|
source: z.ZodLiteral<"account">;
|
|
8196
8560
|
provider: z.ZodEnum<{
|
|
8561
|
+
x: "x";
|
|
8197
8562
|
discord: "discord";
|
|
8198
8563
|
google: "google";
|
|
8199
|
-
x: "x";
|
|
8200
8564
|
}>;
|
|
8201
8565
|
url: z.ZodString;
|
|
8202
8566
|
seed: z.ZodString;
|
|
@@ -8222,9 +8586,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8222
8586
|
}, z.core.$strip>, z.ZodObject<{
|
|
8223
8587
|
source: z.ZodLiteral<"account">;
|
|
8224
8588
|
provider: z.ZodEnum<{
|
|
8589
|
+
x: "x";
|
|
8225
8590
|
discord: "discord";
|
|
8226
8591
|
google: "google";
|
|
8227
|
-
x: "x";
|
|
8228
8592
|
}>;
|
|
8229
8593
|
url: z.ZodString;
|
|
8230
8594
|
seed: z.ZodString;
|
|
@@ -8250,9 +8614,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
8250
8614
|
}, z.core.$strip>, z.ZodObject<{
|
|
8251
8615
|
source: z.ZodLiteral<"account">;
|
|
8252
8616
|
provider: z.ZodEnum<{
|
|
8617
|
+
x: "x";
|
|
8253
8618
|
discord: "discord";
|
|
8254
8619
|
google: "google";
|
|
8255
|
-
x: "x";
|
|
8256
8620
|
}>;
|
|
8257
8621
|
url: z.ZodString;
|
|
8258
8622
|
seed: z.ZodString;
|
|
@@ -8644,7 +9008,7 @@ declare function createRelayClient(options: {
|
|
|
8644
9008
|
seed: string;
|
|
8645
9009
|
} | {
|
|
8646
9010
|
source: "account";
|
|
8647
|
-
provider: "
|
|
9011
|
+
provider: "x" | "discord" | "google";
|
|
8648
9012
|
url: string;
|
|
8649
9013
|
seed: string;
|
|
8650
9014
|
} | {
|
|
@@ -8668,7 +9032,7 @@ declare function createRelayClient(options: {
|
|
|
8668
9032
|
seed: string;
|
|
8669
9033
|
} | {
|
|
8670
9034
|
source: "account";
|
|
8671
|
-
provider: "
|
|
9035
|
+
provider: "x" | "discord" | "google";
|
|
8672
9036
|
url: string;
|
|
8673
9037
|
seed: string;
|
|
8674
9038
|
} | {
|
|
@@ -8692,7 +9056,7 @@ declare function createRelayClient(options: {
|
|
|
8692
9056
|
seed: string;
|
|
8693
9057
|
} | {
|
|
8694
9058
|
source: "account";
|
|
8695
|
-
provider: "
|
|
9059
|
+
provider: "x" | "discord" | "google";
|
|
8696
9060
|
url: string;
|
|
8697
9061
|
seed: string;
|
|
8698
9062
|
} | {
|
|
@@ -8734,7 +9098,7 @@ declare function createRelayClient(options: {
|
|
|
8734
9098
|
seed: string;
|
|
8735
9099
|
} | {
|
|
8736
9100
|
source: "account";
|
|
8737
|
-
provider: "
|
|
9101
|
+
provider: "x" | "discord" | "google";
|
|
8738
9102
|
url: string;
|
|
8739
9103
|
seed: string;
|
|
8740
9104
|
} | {
|
|
@@ -8742,13 +9106,13 @@ declare function createRelayClient(options: {
|
|
|
8742
9106
|
seed: string;
|
|
8743
9107
|
};
|
|
8744
9108
|
displayName: string | null;
|
|
8745
|
-
avatarChoice: "default" | "account" | "
|
|
8746
|
-
avatarProvider: "
|
|
9109
|
+
avatarChoice: "default" | "account" | "upload" | "generated";
|
|
9110
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8747
9111
|
hidden: boolean;
|
|
8748
9112
|
locked: boolean;
|
|
8749
|
-
visibility: "
|
|
9113
|
+
visibility: "private" | "participants" | "public";
|
|
8750
9114
|
options: {
|
|
8751
|
-
provider: "
|
|
9115
|
+
provider: "x" | "discord" | "google";
|
|
8752
9116
|
name: string | null;
|
|
8753
9117
|
imageUrl: string | null;
|
|
8754
9118
|
}[];
|
|
@@ -8768,7 +9132,7 @@ declare function createRelayClient(options: {
|
|
|
8768
9132
|
seed: string;
|
|
8769
9133
|
} | {
|
|
8770
9134
|
source: "account";
|
|
8771
|
-
provider: "
|
|
9135
|
+
provider: "x" | "discord" | "google";
|
|
8772
9136
|
url: string;
|
|
8773
9137
|
seed: string;
|
|
8774
9138
|
} | {
|
|
@@ -8776,13 +9140,13 @@ declare function createRelayClient(options: {
|
|
|
8776
9140
|
seed: string;
|
|
8777
9141
|
};
|
|
8778
9142
|
displayName: string | null;
|
|
8779
|
-
avatarChoice: "default" | "account" | "
|
|
8780
|
-
avatarProvider: "
|
|
9143
|
+
avatarChoice: "default" | "account" | "upload" | "generated";
|
|
9144
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8781
9145
|
hidden: boolean;
|
|
8782
9146
|
locked: boolean;
|
|
8783
|
-
visibility: "
|
|
9147
|
+
visibility: "private" | "participants" | "public";
|
|
8784
9148
|
options: {
|
|
8785
|
-
provider: "
|
|
9149
|
+
provider: "x" | "discord" | "google";
|
|
8786
9150
|
name: string | null;
|
|
8787
9151
|
imageUrl: string | null;
|
|
8788
9152
|
}[];
|
|
@@ -8803,7 +9167,7 @@ declare function createRelayClient(options: {
|
|
|
8803
9167
|
seed: string;
|
|
8804
9168
|
} | {
|
|
8805
9169
|
source: "account";
|
|
8806
|
-
provider: "
|
|
9170
|
+
provider: "x" | "discord" | "google";
|
|
8807
9171
|
url: string;
|
|
8808
9172
|
seed: string;
|
|
8809
9173
|
} | {
|
|
@@ -8811,13 +9175,13 @@ declare function createRelayClient(options: {
|
|
|
8811
9175
|
seed: string;
|
|
8812
9176
|
};
|
|
8813
9177
|
displayName: string | null;
|
|
8814
|
-
avatarChoice: "default" | "account" | "
|
|
8815
|
-
avatarProvider: "
|
|
9178
|
+
avatarChoice: "default" | "account" | "upload" | "generated";
|
|
9179
|
+
avatarProvider: "x" | "discord" | "google" | null;
|
|
8816
9180
|
hidden: boolean;
|
|
8817
9181
|
locked: boolean;
|
|
8818
|
-
visibility: "
|
|
9182
|
+
visibility: "private" | "participants" | "public";
|
|
8819
9183
|
options: {
|
|
8820
|
-
provider: "
|
|
9184
|
+
provider: "x" | "discord" | "google";
|
|
8821
9185
|
name: string | null;
|
|
8822
9186
|
imageUrl: string | null;
|
|
8823
9187
|
}[];
|
|
@@ -8835,7 +9199,7 @@ declare function createRelayClient(options: {
|
|
|
8835
9199
|
seed: string;
|
|
8836
9200
|
} | {
|
|
8837
9201
|
source: "account";
|
|
8838
|
-
provider: "
|
|
9202
|
+
provider: "x" | "discord" | "google";
|
|
8839
9203
|
url: string;
|
|
8840
9204
|
seed: string;
|
|
8841
9205
|
} | {
|
|
@@ -8898,7 +9262,7 @@ declare function createRelayClient(options: {
|
|
|
8898
9262
|
} | undefined;
|
|
8899
9263
|
} | undefined;
|
|
8900
9264
|
};
|
|
8901
|
-
connections: ("
|
|
9265
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
8902
9266
|
trigger: {
|
|
8903
9267
|
kind: "automatic";
|
|
8904
9268
|
observation?: {
|
|
@@ -8911,14 +9275,33 @@ declare function createRelayClient(options: {
|
|
|
8911
9275
|
start: number;
|
|
8912
9276
|
end?: number | undefined;
|
|
8913
9277
|
};
|
|
8914
|
-
enrollment: "
|
|
9278
|
+
enrollment: "none" | "required";
|
|
8915
9279
|
posts: "after-enrollment" | "since-start";
|
|
8916
9280
|
historical: "staff" | "automatic" | "claim";
|
|
8917
9281
|
} | undefined;
|
|
8918
9282
|
tracker?: {
|
|
8919
9283
|
tracker: string;
|
|
8920
9284
|
source: "custom" | "x-search";
|
|
8921
|
-
beneficiary:
|
|
9285
|
+
beneficiary: string;
|
|
9286
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
9287
|
+
where?: {
|
|
9288
|
+
path: string;
|
|
9289
|
+
gt?: number | {
|
|
9290
|
+
setting: string;
|
|
9291
|
+
} | undefined;
|
|
9292
|
+
gte?: number | {
|
|
9293
|
+
setting: string;
|
|
9294
|
+
} | undefined;
|
|
9295
|
+
lt?: number | {
|
|
9296
|
+
setting: string;
|
|
9297
|
+
} | undefined;
|
|
9298
|
+
lte?: number | {
|
|
9299
|
+
setting: string;
|
|
9300
|
+
} | undefined;
|
|
9301
|
+
} | {
|
|
9302
|
+
path: string;
|
|
9303
|
+
equals: string | number | boolean;
|
|
9304
|
+
} | undefined;
|
|
8922
9305
|
} | undefined;
|
|
8923
9306
|
} | {
|
|
8924
9307
|
kind: "manual";
|
|
@@ -8939,12 +9322,12 @@ declare function createRelayClient(options: {
|
|
|
8939
9322
|
actor?: "member" | "staff" | undefined;
|
|
8940
9323
|
} | {
|
|
8941
9324
|
kind: "manual";
|
|
8942
|
-
input: "
|
|
9325
|
+
input: "none" | "quiz" | "photo";
|
|
8943
9326
|
actor?: "member" | "staff" | undefined;
|
|
8944
9327
|
};
|
|
8945
9328
|
availability: {
|
|
8946
9329
|
kind: "available";
|
|
8947
|
-
input: "
|
|
9330
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
8948
9331
|
} | {
|
|
8949
9332
|
kind: "completed";
|
|
8950
9333
|
} | {
|
|
@@ -8993,7 +9376,7 @@ declare function createRelayClient(options: {
|
|
|
8993
9376
|
quest: string;
|
|
8994
9377
|
member: string;
|
|
8995
9378
|
evidence: string | null;
|
|
8996
|
-
status: "
|
|
9379
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
8997
9380
|
reason: string | null;
|
|
8998
9381
|
retries: number;
|
|
8999
9382
|
generation: number;
|
|
@@ -9027,22 +9410,22 @@ declare function createRelayClient(options: {
|
|
|
9027
9410
|
})[] | null;
|
|
9028
9411
|
createdAt: number;
|
|
9029
9412
|
input?: {
|
|
9030
|
-
kind: "quiz";
|
|
9031
|
-
answers: {
|
|
9032
|
-
[k: string]: string;
|
|
9033
|
-
};
|
|
9034
|
-
release?: string | undefined;
|
|
9035
|
-
} | {
|
|
9036
9413
|
kind: "text";
|
|
9037
9414
|
value: string;
|
|
9038
9415
|
} | {
|
|
9039
9416
|
kind: "url";
|
|
9040
9417
|
value: string;
|
|
9418
|
+
} | {
|
|
9419
|
+
kind: "quiz";
|
|
9420
|
+
answers: {
|
|
9421
|
+
[k: string]: string;
|
|
9422
|
+
};
|
|
9423
|
+
release?: string | undefined;
|
|
9041
9424
|
} | undefined;
|
|
9042
9425
|
} | null;
|
|
9043
9426
|
release: string;
|
|
9044
|
-
interaction: "staff" | "
|
|
9045
|
-
lifecycle: "
|
|
9427
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
9428
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9046
9429
|
rewards: ({
|
|
9047
9430
|
kind: "points";
|
|
9048
9431
|
label: string;
|
|
@@ -9103,7 +9486,7 @@ declare function createRelayClient(options: {
|
|
|
9103
9486
|
quest: string;
|
|
9104
9487
|
member: string;
|
|
9105
9488
|
evidence: string | null;
|
|
9106
|
-
status: "
|
|
9489
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9107
9490
|
reason: string | null;
|
|
9108
9491
|
retries: number;
|
|
9109
9492
|
generation: number;
|
|
@@ -9137,17 +9520,17 @@ declare function createRelayClient(options: {
|
|
|
9137
9520
|
})[] | null;
|
|
9138
9521
|
createdAt: number;
|
|
9139
9522
|
input?: {
|
|
9140
|
-
kind: "quiz";
|
|
9141
|
-
answers: {
|
|
9142
|
-
[k: string]: string;
|
|
9143
|
-
};
|
|
9144
|
-
release?: string | undefined;
|
|
9145
|
-
} | {
|
|
9146
9523
|
kind: "text";
|
|
9147
9524
|
value: string;
|
|
9148
9525
|
} | {
|
|
9149
9526
|
kind: "url";
|
|
9150
9527
|
value: string;
|
|
9528
|
+
} | {
|
|
9529
|
+
kind: "quiz";
|
|
9530
|
+
answers: {
|
|
9531
|
+
[k: string]: string;
|
|
9532
|
+
};
|
|
9533
|
+
release?: string | undefined;
|
|
9151
9534
|
} | undefined;
|
|
9152
9535
|
}>;
|
|
9153
9536
|
experience: () => Promise<{
|
|
@@ -9175,7 +9558,7 @@ declare function createRelayClient(options: {
|
|
|
9175
9558
|
} | undefined;
|
|
9176
9559
|
} | undefined;
|
|
9177
9560
|
};
|
|
9178
|
-
connections: ("
|
|
9561
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9179
9562
|
trigger: {
|
|
9180
9563
|
kind: "automatic";
|
|
9181
9564
|
observation?: {
|
|
@@ -9188,14 +9571,33 @@ declare function createRelayClient(options: {
|
|
|
9188
9571
|
start: number;
|
|
9189
9572
|
end?: number | undefined;
|
|
9190
9573
|
};
|
|
9191
|
-
enrollment: "
|
|
9574
|
+
enrollment: "none" | "required";
|
|
9192
9575
|
posts: "after-enrollment" | "since-start";
|
|
9193
9576
|
historical: "staff" | "automatic" | "claim";
|
|
9194
9577
|
} | undefined;
|
|
9195
9578
|
tracker?: {
|
|
9196
9579
|
tracker: string;
|
|
9197
9580
|
source: "custom" | "x-search";
|
|
9198
|
-
beneficiary:
|
|
9581
|
+
beneficiary: string;
|
|
9582
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
9583
|
+
where?: {
|
|
9584
|
+
path: string;
|
|
9585
|
+
gt?: number | {
|
|
9586
|
+
setting: string;
|
|
9587
|
+
} | undefined;
|
|
9588
|
+
gte?: number | {
|
|
9589
|
+
setting: string;
|
|
9590
|
+
} | undefined;
|
|
9591
|
+
lt?: number | {
|
|
9592
|
+
setting: string;
|
|
9593
|
+
} | undefined;
|
|
9594
|
+
lte?: number | {
|
|
9595
|
+
setting: string;
|
|
9596
|
+
} | undefined;
|
|
9597
|
+
} | {
|
|
9598
|
+
path: string;
|
|
9599
|
+
equals: string | number | boolean;
|
|
9600
|
+
} | undefined;
|
|
9199
9601
|
} | undefined;
|
|
9200
9602
|
} | {
|
|
9201
9603
|
kind: "manual";
|
|
@@ -9216,12 +9618,12 @@ declare function createRelayClient(options: {
|
|
|
9216
9618
|
actor?: "member" | "staff" | undefined;
|
|
9217
9619
|
} | {
|
|
9218
9620
|
kind: "manual";
|
|
9219
|
-
input: "
|
|
9621
|
+
input: "none" | "quiz" | "photo";
|
|
9220
9622
|
actor?: "member" | "staff" | undefined;
|
|
9221
9623
|
};
|
|
9222
9624
|
availability: {
|
|
9223
9625
|
kind: "available";
|
|
9224
|
-
input: "
|
|
9626
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
9225
9627
|
} | {
|
|
9226
9628
|
kind: "completed";
|
|
9227
9629
|
} | {
|
|
@@ -9270,7 +9672,7 @@ declare function createRelayClient(options: {
|
|
|
9270
9672
|
quest: string;
|
|
9271
9673
|
member: string;
|
|
9272
9674
|
evidence: string | null;
|
|
9273
|
-
status: "
|
|
9675
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9274
9676
|
reason: string | null;
|
|
9275
9677
|
retries: number;
|
|
9276
9678
|
generation: number;
|
|
@@ -9304,22 +9706,22 @@ declare function createRelayClient(options: {
|
|
|
9304
9706
|
})[] | null;
|
|
9305
9707
|
createdAt: number;
|
|
9306
9708
|
input?: {
|
|
9307
|
-
kind: "quiz";
|
|
9308
|
-
answers: {
|
|
9309
|
-
[k: string]: string;
|
|
9310
|
-
};
|
|
9311
|
-
release?: string | undefined;
|
|
9312
|
-
} | {
|
|
9313
9709
|
kind: "text";
|
|
9314
9710
|
value: string;
|
|
9315
9711
|
} | {
|
|
9316
9712
|
kind: "url";
|
|
9317
9713
|
value: string;
|
|
9714
|
+
} | {
|
|
9715
|
+
kind: "quiz";
|
|
9716
|
+
answers: {
|
|
9717
|
+
[k: string]: string;
|
|
9718
|
+
};
|
|
9719
|
+
release?: string | undefined;
|
|
9318
9720
|
} | undefined;
|
|
9319
9721
|
} | null;
|
|
9320
9722
|
release: string;
|
|
9321
|
-
interaction: "staff" | "
|
|
9322
|
-
lifecycle: "
|
|
9723
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
9724
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9323
9725
|
rewards: ({
|
|
9324
9726
|
kind: "points";
|
|
9325
9727
|
label: string;
|
|
@@ -9400,7 +9802,7 @@ declare function createRelayClient(options: {
|
|
|
9400
9802
|
} | undefined;
|
|
9401
9803
|
} | undefined;
|
|
9402
9804
|
};
|
|
9403
|
-
connections: ("
|
|
9805
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9404
9806
|
trigger: {
|
|
9405
9807
|
kind: "automatic";
|
|
9406
9808
|
observation?: {
|
|
@@ -9413,14 +9815,33 @@ declare function createRelayClient(options: {
|
|
|
9413
9815
|
start: number;
|
|
9414
9816
|
end?: number | undefined;
|
|
9415
9817
|
};
|
|
9416
|
-
enrollment: "
|
|
9818
|
+
enrollment: "none" | "required";
|
|
9417
9819
|
posts: "after-enrollment" | "since-start";
|
|
9418
9820
|
historical: "staff" | "automatic" | "claim";
|
|
9419
9821
|
} | undefined;
|
|
9420
9822
|
tracker?: {
|
|
9421
9823
|
tracker: string;
|
|
9422
9824
|
source: "custom" | "x-search";
|
|
9423
|
-
beneficiary:
|
|
9825
|
+
beneficiary: string;
|
|
9826
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
9827
|
+
where?: {
|
|
9828
|
+
path: string;
|
|
9829
|
+
gt?: number | {
|
|
9830
|
+
setting: string;
|
|
9831
|
+
} | undefined;
|
|
9832
|
+
gte?: number | {
|
|
9833
|
+
setting: string;
|
|
9834
|
+
} | undefined;
|
|
9835
|
+
lt?: number | {
|
|
9836
|
+
setting: string;
|
|
9837
|
+
} | undefined;
|
|
9838
|
+
lte?: number | {
|
|
9839
|
+
setting: string;
|
|
9840
|
+
} | undefined;
|
|
9841
|
+
} | {
|
|
9842
|
+
path: string;
|
|
9843
|
+
equals: string | number | boolean;
|
|
9844
|
+
} | undefined;
|
|
9424
9845
|
} | undefined;
|
|
9425
9846
|
} | {
|
|
9426
9847
|
kind: "manual";
|
|
@@ -9441,12 +9862,12 @@ declare function createRelayClient(options: {
|
|
|
9441
9862
|
actor?: "member" | "staff" | undefined;
|
|
9442
9863
|
} | {
|
|
9443
9864
|
kind: "manual";
|
|
9444
|
-
input: "
|
|
9865
|
+
input: "none" | "quiz" | "photo";
|
|
9445
9866
|
actor?: "member" | "staff" | undefined;
|
|
9446
9867
|
};
|
|
9447
9868
|
availability: {
|
|
9448
9869
|
kind: "available";
|
|
9449
|
-
input: "
|
|
9870
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
9450
9871
|
} | {
|
|
9451
9872
|
kind: "completed";
|
|
9452
9873
|
} | {
|
|
@@ -9495,7 +9916,7 @@ declare function createRelayClient(options: {
|
|
|
9495
9916
|
quest: string;
|
|
9496
9917
|
member: string;
|
|
9497
9918
|
evidence: string | null;
|
|
9498
|
-
status: "
|
|
9919
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9499
9920
|
reason: string | null;
|
|
9500
9921
|
retries: number;
|
|
9501
9922
|
generation: number;
|
|
@@ -9529,22 +9950,22 @@ declare function createRelayClient(options: {
|
|
|
9529
9950
|
})[] | null;
|
|
9530
9951
|
createdAt: number;
|
|
9531
9952
|
input?: {
|
|
9532
|
-
kind: "quiz";
|
|
9533
|
-
answers: {
|
|
9534
|
-
[k: string]: string;
|
|
9535
|
-
};
|
|
9536
|
-
release?: string | undefined;
|
|
9537
|
-
} | {
|
|
9538
9953
|
kind: "text";
|
|
9539
9954
|
value: string;
|
|
9540
9955
|
} | {
|
|
9541
9956
|
kind: "url";
|
|
9542
9957
|
value: string;
|
|
9958
|
+
} | {
|
|
9959
|
+
kind: "quiz";
|
|
9960
|
+
answers: {
|
|
9961
|
+
[k: string]: string;
|
|
9962
|
+
};
|
|
9963
|
+
release?: string | undefined;
|
|
9543
9964
|
} | undefined;
|
|
9544
9965
|
} | null;
|
|
9545
9966
|
release: string;
|
|
9546
|
-
interaction: "staff" | "
|
|
9547
|
-
lifecycle: "
|
|
9967
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
9968
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9548
9969
|
rewards: ({
|
|
9549
9970
|
kind: "points";
|
|
9550
9971
|
label: string;
|
|
@@ -9628,7 +10049,7 @@ declare function createRelayClient(options: {
|
|
|
9628
10049
|
} | undefined;
|
|
9629
10050
|
} | undefined;
|
|
9630
10051
|
};
|
|
9631
|
-
connections: ("
|
|
10052
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
9632
10053
|
trigger: {
|
|
9633
10054
|
kind: "automatic";
|
|
9634
10055
|
observation?: {
|
|
@@ -9641,14 +10062,33 @@ declare function createRelayClient(options: {
|
|
|
9641
10062
|
start: number;
|
|
9642
10063
|
end?: number | undefined;
|
|
9643
10064
|
};
|
|
9644
|
-
enrollment: "
|
|
10065
|
+
enrollment: "none" | "required";
|
|
9645
10066
|
posts: "after-enrollment" | "since-start";
|
|
9646
10067
|
historical: "staff" | "automatic" | "claim";
|
|
9647
10068
|
} | undefined;
|
|
9648
10069
|
tracker?: {
|
|
9649
10070
|
tracker: string;
|
|
9650
10071
|
source: "custom" | "x-search";
|
|
9651
|
-
beneficiary:
|
|
10072
|
+
beneficiary: string;
|
|
10073
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
10074
|
+
where?: {
|
|
10075
|
+
path: string;
|
|
10076
|
+
gt?: number | {
|
|
10077
|
+
setting: string;
|
|
10078
|
+
} | undefined;
|
|
10079
|
+
gte?: number | {
|
|
10080
|
+
setting: string;
|
|
10081
|
+
} | undefined;
|
|
10082
|
+
lt?: number | {
|
|
10083
|
+
setting: string;
|
|
10084
|
+
} | undefined;
|
|
10085
|
+
lte?: number | {
|
|
10086
|
+
setting: string;
|
|
10087
|
+
} | undefined;
|
|
10088
|
+
} | {
|
|
10089
|
+
path: string;
|
|
10090
|
+
equals: string | number | boolean;
|
|
10091
|
+
} | undefined;
|
|
9652
10092
|
} | undefined;
|
|
9653
10093
|
} | {
|
|
9654
10094
|
kind: "manual";
|
|
@@ -9669,12 +10109,12 @@ declare function createRelayClient(options: {
|
|
|
9669
10109
|
actor?: "member" | "staff" | undefined;
|
|
9670
10110
|
} | {
|
|
9671
10111
|
kind: "manual";
|
|
9672
|
-
input: "
|
|
10112
|
+
input: "none" | "quiz" | "photo";
|
|
9673
10113
|
actor?: "member" | "staff" | undefined;
|
|
9674
10114
|
};
|
|
9675
10115
|
availability: {
|
|
9676
10116
|
kind: "available";
|
|
9677
|
-
input: "
|
|
10117
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
9678
10118
|
} | {
|
|
9679
10119
|
kind: "completed";
|
|
9680
10120
|
} | {
|
|
@@ -9723,7 +10163,7 @@ declare function createRelayClient(options: {
|
|
|
9723
10163
|
quest: string;
|
|
9724
10164
|
member: string;
|
|
9725
10165
|
evidence: string | null;
|
|
9726
|
-
status: "
|
|
10166
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
9727
10167
|
reason: string | null;
|
|
9728
10168
|
retries: number;
|
|
9729
10169
|
generation: number;
|
|
@@ -9757,22 +10197,22 @@ declare function createRelayClient(options: {
|
|
|
9757
10197
|
})[] | null;
|
|
9758
10198
|
createdAt: number;
|
|
9759
10199
|
input?: {
|
|
9760
|
-
kind: "quiz";
|
|
9761
|
-
answers: {
|
|
9762
|
-
[k: string]: string;
|
|
9763
|
-
};
|
|
9764
|
-
release?: string | undefined;
|
|
9765
|
-
} | {
|
|
9766
10200
|
kind: "text";
|
|
9767
10201
|
value: string;
|
|
9768
10202
|
} | {
|
|
9769
10203
|
kind: "url";
|
|
9770
10204
|
value: string;
|
|
10205
|
+
} | {
|
|
10206
|
+
kind: "quiz";
|
|
10207
|
+
answers: {
|
|
10208
|
+
[k: string]: string;
|
|
10209
|
+
};
|
|
10210
|
+
release?: string | undefined;
|
|
9771
10211
|
} | undefined;
|
|
9772
10212
|
} | null;
|
|
9773
10213
|
release: string;
|
|
9774
|
-
interaction: "staff" | "
|
|
9775
|
-
lifecycle: "
|
|
10214
|
+
interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
|
|
10215
|
+
lifecycle: "paused" | "active" | "archived";
|
|
9776
10216
|
rewards: ({
|
|
9777
10217
|
kind: "points";
|
|
9778
10218
|
label: string;
|
|
@@ -9901,7 +10341,7 @@ declare function createRelayClient(options: {
|
|
|
9901
10341
|
auth: {
|
|
9902
10342
|
providers: () => Promise<{
|
|
9903
10343
|
providers: {
|
|
9904
|
-
provider: "
|
|
10344
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
9905
10345
|
configured: boolean;
|
|
9906
10346
|
}[];
|
|
9907
10347
|
email: boolean;
|
|
@@ -9987,7 +10427,7 @@ declare function createRelayClient(options: {
|
|
|
9987
10427
|
}>;
|
|
9988
10428
|
};
|
|
9989
10429
|
accounts: () => Promise<{
|
|
9990
|
-
provider: "
|
|
10430
|
+
provider: "x" | "discord" | "google" | "apple";
|
|
9991
10431
|
configured: boolean;
|
|
9992
10432
|
status: "disconnected" | "connected" | "reconnect";
|
|
9993
10433
|
subject: string | null;
|
|
@@ -10091,7 +10531,7 @@ declare function createRelayClient(options: {
|
|
|
10091
10531
|
quest: string;
|
|
10092
10532
|
member: string;
|
|
10093
10533
|
evidence: string | null;
|
|
10094
|
-
status: "
|
|
10534
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
10095
10535
|
reason: string | null;
|
|
10096
10536
|
retries: number;
|
|
10097
10537
|
generation: number;
|
|
@@ -10125,17 +10565,17 @@ declare function createRelayClient(options: {
|
|
|
10125
10565
|
})[] | null;
|
|
10126
10566
|
createdAt: number;
|
|
10127
10567
|
input?: {
|
|
10128
|
-
kind: "quiz";
|
|
10129
|
-
answers: {
|
|
10130
|
-
[k: string]: string;
|
|
10131
|
-
};
|
|
10132
|
-
release?: string | undefined;
|
|
10133
|
-
} | {
|
|
10134
10568
|
kind: "text";
|
|
10135
10569
|
value: string;
|
|
10136
10570
|
} | {
|
|
10137
10571
|
kind: "url";
|
|
10138
10572
|
value: string;
|
|
10573
|
+
} | {
|
|
10574
|
+
kind: "quiz";
|
|
10575
|
+
answers: {
|
|
10576
|
+
[k: string]: string;
|
|
10577
|
+
};
|
|
10578
|
+
release?: string | undefined;
|
|
10139
10579
|
} | undefined;
|
|
10140
10580
|
}>;
|
|
10141
10581
|
progress: () => Promise<{
|
|
@@ -10163,7 +10603,7 @@ declare function createRelayClient(options: {
|
|
|
10163
10603
|
} | undefined;
|
|
10164
10604
|
} | undefined;
|
|
10165
10605
|
};
|
|
10166
|
-
connections: ("
|
|
10606
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
10167
10607
|
trigger: {
|
|
10168
10608
|
kind: "automatic";
|
|
10169
10609
|
observation?: {
|
|
@@ -10176,14 +10616,33 @@ declare function createRelayClient(options: {
|
|
|
10176
10616
|
start: number;
|
|
10177
10617
|
end?: number | undefined;
|
|
10178
10618
|
};
|
|
10179
|
-
enrollment: "
|
|
10619
|
+
enrollment: "none" | "required";
|
|
10180
10620
|
posts: "after-enrollment" | "since-start";
|
|
10181
10621
|
historical: "staff" | "automatic" | "claim";
|
|
10182
10622
|
} | undefined;
|
|
10183
10623
|
tracker?: {
|
|
10184
10624
|
tracker: string;
|
|
10185
10625
|
source: "custom" | "x-search";
|
|
10186
|
-
beneficiary:
|
|
10626
|
+
beneficiary: string;
|
|
10627
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
10628
|
+
where?: {
|
|
10629
|
+
path: string;
|
|
10630
|
+
gt?: number | {
|
|
10631
|
+
setting: string;
|
|
10632
|
+
} | undefined;
|
|
10633
|
+
gte?: number | {
|
|
10634
|
+
setting: string;
|
|
10635
|
+
} | undefined;
|
|
10636
|
+
lt?: number | {
|
|
10637
|
+
setting: string;
|
|
10638
|
+
} | undefined;
|
|
10639
|
+
lte?: number | {
|
|
10640
|
+
setting: string;
|
|
10641
|
+
} | undefined;
|
|
10642
|
+
} | {
|
|
10643
|
+
path: string;
|
|
10644
|
+
equals: string | number | boolean;
|
|
10645
|
+
} | undefined;
|
|
10187
10646
|
} | undefined;
|
|
10188
10647
|
} | {
|
|
10189
10648
|
kind: "manual";
|
|
@@ -10204,12 +10663,12 @@ declare function createRelayClient(options: {
|
|
|
10204
10663
|
actor?: "member" | "staff" | undefined;
|
|
10205
10664
|
} | {
|
|
10206
10665
|
kind: "manual";
|
|
10207
|
-
input: "
|
|
10666
|
+
input: "none" | "quiz" | "photo";
|
|
10208
10667
|
actor?: "member" | "staff" | undefined;
|
|
10209
10668
|
};
|
|
10210
10669
|
availability: {
|
|
10211
10670
|
kind: "available";
|
|
10212
|
-
input: "
|
|
10671
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
10213
10672
|
} | {
|
|
10214
10673
|
kind: "completed";
|
|
10215
10674
|
} | {
|
|
@@ -10258,7 +10717,7 @@ declare function createRelayClient(options: {
|
|
|
10258
10717
|
quest: string;
|
|
10259
10718
|
member: string;
|
|
10260
10719
|
evidence: string | null;
|
|
10261
|
-
status: "
|
|
10720
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
10262
10721
|
reason: string | null;
|
|
10263
10722
|
retries: number;
|
|
10264
10723
|
generation: number;
|
|
@@ -10292,17 +10751,17 @@ declare function createRelayClient(options: {
|
|
|
10292
10751
|
})[] | null;
|
|
10293
10752
|
createdAt: number;
|
|
10294
10753
|
input?: {
|
|
10295
|
-
kind: "quiz";
|
|
10296
|
-
answers: {
|
|
10297
|
-
[k: string]: string;
|
|
10298
|
-
};
|
|
10299
|
-
release?: string | undefined;
|
|
10300
|
-
} | {
|
|
10301
10754
|
kind: "text";
|
|
10302
10755
|
value: string;
|
|
10303
10756
|
} | {
|
|
10304
10757
|
kind: "url";
|
|
10305
10758
|
value: string;
|
|
10759
|
+
} | {
|
|
10760
|
+
kind: "quiz";
|
|
10761
|
+
answers: {
|
|
10762
|
+
[k: string]: string;
|
|
10763
|
+
};
|
|
10764
|
+
release?: string | undefined;
|
|
10306
10765
|
} | undefined;
|
|
10307
10766
|
} | null;
|
|
10308
10767
|
key?: string | undefined;
|
|
@@ -10425,7 +10884,7 @@ declare function createRelayClient(options: {
|
|
|
10425
10884
|
provider: "discord";
|
|
10426
10885
|
action: "grant-role";
|
|
10427
10886
|
roleId: string;
|
|
10428
|
-
status: "
|
|
10887
|
+
status: "pending" | "failed" | "delivered";
|
|
10429
10888
|
attempts: number;
|
|
10430
10889
|
nextAt: number;
|
|
10431
10890
|
lastError: string | null;
|
|
@@ -10441,7 +10900,7 @@ declare function createRelayClient(options: {
|
|
|
10441
10900
|
quest: string;
|
|
10442
10901
|
member: string;
|
|
10443
10902
|
evidence: string | null;
|
|
10444
|
-
status: "
|
|
10903
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
10445
10904
|
reason: string | null;
|
|
10446
10905
|
retries: number;
|
|
10447
10906
|
generation: number;
|
|
@@ -10475,17 +10934,17 @@ declare function createRelayClient(options: {
|
|
|
10475
10934
|
})[] | null;
|
|
10476
10935
|
createdAt: number;
|
|
10477
10936
|
input?: {
|
|
10478
|
-
kind: "quiz";
|
|
10479
|
-
answers: {
|
|
10480
|
-
[k: string]: string;
|
|
10481
|
-
};
|
|
10482
|
-
release?: string | undefined;
|
|
10483
|
-
} | {
|
|
10484
10937
|
kind: "text";
|
|
10485
10938
|
value: string;
|
|
10486
10939
|
} | {
|
|
10487
10940
|
kind: "url";
|
|
10488
10941
|
value: string;
|
|
10942
|
+
} | {
|
|
10943
|
+
kind: "quiz";
|
|
10944
|
+
answers: {
|
|
10945
|
+
[k: string]: string;
|
|
10946
|
+
};
|
|
10947
|
+
release?: string | undefined;
|
|
10489
10948
|
} | undefined;
|
|
10490
10949
|
}>;
|
|
10491
10950
|
upload: (file: File) => Promise<{
|
|
@@ -10546,12 +11005,12 @@ declare function createRelayClient(options: {
|
|
|
10546
11005
|
kind: "resource";
|
|
10547
11006
|
default: string;
|
|
10548
11007
|
source: {
|
|
10549
|
-
provider: "domino";
|
|
10550
|
-
resource: "point-ledger";
|
|
10551
|
-
} | {
|
|
10552
11008
|
provider: "discord";
|
|
10553
11009
|
resource: "channel";
|
|
10554
11010
|
types: ("text" | "announcement")[];
|
|
11011
|
+
} | {
|
|
11012
|
+
provider: "domino";
|
|
11013
|
+
resource: "point-ledger";
|
|
10555
11014
|
} | {
|
|
10556
11015
|
provider: "discord";
|
|
10557
11016
|
resource: "role";
|
|
@@ -10648,14 +11107,33 @@ declare function createRelayClient(options: {
|
|
|
10648
11107
|
start: number;
|
|
10649
11108
|
end?: number | undefined;
|
|
10650
11109
|
};
|
|
10651
|
-
enrollment: "
|
|
11110
|
+
enrollment: "none" | "required";
|
|
10652
11111
|
posts: "after-enrollment" | "since-start";
|
|
10653
11112
|
historical: "staff" | "automatic" | "claim";
|
|
10654
11113
|
} | undefined;
|
|
10655
11114
|
tracker?: {
|
|
10656
11115
|
tracker: string;
|
|
10657
11116
|
source: "custom" | "x-search";
|
|
10658
|
-
beneficiary:
|
|
11117
|
+
beneficiary: string;
|
|
11118
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
11119
|
+
where?: {
|
|
11120
|
+
path: string;
|
|
11121
|
+
gt?: number | {
|
|
11122
|
+
setting: string;
|
|
11123
|
+
} | undefined;
|
|
11124
|
+
gte?: number | {
|
|
11125
|
+
setting: string;
|
|
11126
|
+
} | undefined;
|
|
11127
|
+
lt?: number | {
|
|
11128
|
+
setting: string;
|
|
11129
|
+
} | undefined;
|
|
11130
|
+
lte?: number | {
|
|
11131
|
+
setting: string;
|
|
11132
|
+
} | undefined;
|
|
11133
|
+
} | {
|
|
11134
|
+
path: string;
|
|
11135
|
+
equals: string | number | boolean;
|
|
11136
|
+
} | undefined;
|
|
10659
11137
|
} | undefined;
|
|
10660
11138
|
} | {
|
|
10661
11139
|
kind: "manual";
|
|
@@ -10676,7 +11154,7 @@ declare function createRelayClient(options: {
|
|
|
10676
11154
|
actor?: "member" | "staff" | undefined;
|
|
10677
11155
|
} | {
|
|
10678
11156
|
kind: "manual";
|
|
10679
|
-
input: "
|
|
11157
|
+
input: "none" | "quiz" | "photo";
|
|
10680
11158
|
actor?: "member" | "staff" | undefined;
|
|
10681
11159
|
};
|
|
10682
11160
|
requires: {
|
|
@@ -10696,7 +11174,7 @@ declare function createRelayClient(options: {
|
|
|
10696
11174
|
budgets: {
|
|
10697
11175
|
id: string;
|
|
10698
11176
|
scope: "project" | "member";
|
|
10699
|
-
period: "day" | "
|
|
11177
|
+
period: "day" | "lifetime" | "week";
|
|
10700
11178
|
limit: number;
|
|
10701
11179
|
cost: number | {
|
|
10702
11180
|
balance: string;
|
|
@@ -10753,12 +11231,12 @@ declare function createRelayClient(options: {
|
|
|
10753
11231
|
kind: "resource";
|
|
10754
11232
|
default: string;
|
|
10755
11233
|
source: {
|
|
10756
|
-
provider: "domino";
|
|
10757
|
-
resource: "point-ledger";
|
|
10758
|
-
} | {
|
|
10759
11234
|
provider: "discord";
|
|
10760
11235
|
resource: "channel";
|
|
10761
11236
|
types: ("text" | "announcement")[];
|
|
11237
|
+
} | {
|
|
11238
|
+
provider: "domino";
|
|
11239
|
+
resource: "point-ledger";
|
|
10762
11240
|
} | {
|
|
10763
11241
|
provider: "discord";
|
|
10764
11242
|
resource: "role";
|
|
@@ -10855,14 +11333,33 @@ declare function createRelayClient(options: {
|
|
|
10855
11333
|
start: number;
|
|
10856
11334
|
end?: number | undefined;
|
|
10857
11335
|
};
|
|
10858
|
-
enrollment: "
|
|
11336
|
+
enrollment: "none" | "required";
|
|
10859
11337
|
posts: "after-enrollment" | "since-start";
|
|
10860
11338
|
historical: "staff" | "automatic" | "claim";
|
|
10861
11339
|
} | undefined;
|
|
10862
11340
|
tracker?: {
|
|
10863
11341
|
tracker: string;
|
|
10864
11342
|
source: "custom" | "x-search";
|
|
10865
|
-
beneficiary:
|
|
11343
|
+
beneficiary: string;
|
|
11344
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
11345
|
+
where?: {
|
|
11346
|
+
path: string;
|
|
11347
|
+
gt?: number | {
|
|
11348
|
+
setting: string;
|
|
11349
|
+
} | undefined;
|
|
11350
|
+
gte?: number | {
|
|
11351
|
+
setting: string;
|
|
11352
|
+
} | undefined;
|
|
11353
|
+
lt?: number | {
|
|
11354
|
+
setting: string;
|
|
11355
|
+
} | undefined;
|
|
11356
|
+
lte?: number | {
|
|
11357
|
+
setting: string;
|
|
11358
|
+
} | undefined;
|
|
11359
|
+
} | {
|
|
11360
|
+
path: string;
|
|
11361
|
+
equals: string | number | boolean;
|
|
11362
|
+
} | undefined;
|
|
10866
11363
|
} | undefined;
|
|
10867
11364
|
} | {
|
|
10868
11365
|
kind: "manual";
|
|
@@ -10883,7 +11380,7 @@ declare function createRelayClient(options: {
|
|
|
10883
11380
|
actor?: "member" | "staff" | undefined;
|
|
10884
11381
|
} | {
|
|
10885
11382
|
kind: "manual";
|
|
10886
|
-
input: "
|
|
11383
|
+
input: "none" | "quiz" | "photo";
|
|
10887
11384
|
actor?: "member" | "staff" | undefined;
|
|
10888
11385
|
};
|
|
10889
11386
|
requires: {
|
|
@@ -10903,7 +11400,7 @@ declare function createRelayClient(options: {
|
|
|
10903
11400
|
budgets: {
|
|
10904
11401
|
id: string;
|
|
10905
11402
|
scope: "project" | "member";
|
|
10906
|
-
period: "day" | "
|
|
11403
|
+
period: "day" | "lifetime" | "week";
|
|
10907
11404
|
limit: number;
|
|
10908
11405
|
cost: number | {
|
|
10909
11406
|
balance: string;
|
|
@@ -10959,12 +11456,12 @@ declare function createRelayClient(options: {
|
|
|
10959
11456
|
kind: "resource";
|
|
10960
11457
|
default: string;
|
|
10961
11458
|
source: {
|
|
10962
|
-
provider: "domino";
|
|
10963
|
-
resource: "point-ledger";
|
|
10964
|
-
} | {
|
|
10965
11459
|
provider: "discord";
|
|
10966
11460
|
resource: "channel";
|
|
10967
11461
|
types: ("text" | "announcement")[];
|
|
11462
|
+
} | {
|
|
11463
|
+
provider: "domino";
|
|
11464
|
+
resource: "point-ledger";
|
|
10968
11465
|
} | {
|
|
10969
11466
|
provider: "discord";
|
|
10970
11467
|
resource: "role";
|
|
@@ -11061,14 +11558,33 @@ declare function createRelayClient(options: {
|
|
|
11061
11558
|
start: number;
|
|
11062
11559
|
end?: number | undefined;
|
|
11063
11560
|
};
|
|
11064
|
-
enrollment: "
|
|
11561
|
+
enrollment: "none" | "required";
|
|
11065
11562
|
posts: "after-enrollment" | "since-start";
|
|
11066
11563
|
historical: "staff" | "automatic" | "claim";
|
|
11067
11564
|
} | undefined;
|
|
11068
11565
|
tracker?: {
|
|
11069
11566
|
tracker: string;
|
|
11070
11567
|
source: "custom" | "x-search";
|
|
11071
|
-
beneficiary:
|
|
11568
|
+
beneficiary: string;
|
|
11569
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
11570
|
+
where?: {
|
|
11571
|
+
path: string;
|
|
11572
|
+
gt?: number | {
|
|
11573
|
+
setting: string;
|
|
11574
|
+
} | undefined;
|
|
11575
|
+
gte?: number | {
|
|
11576
|
+
setting: string;
|
|
11577
|
+
} | undefined;
|
|
11578
|
+
lt?: number | {
|
|
11579
|
+
setting: string;
|
|
11580
|
+
} | undefined;
|
|
11581
|
+
lte?: number | {
|
|
11582
|
+
setting: string;
|
|
11583
|
+
} | undefined;
|
|
11584
|
+
} | {
|
|
11585
|
+
path: string;
|
|
11586
|
+
equals: string | number | boolean;
|
|
11587
|
+
} | undefined;
|
|
11072
11588
|
} | undefined;
|
|
11073
11589
|
} | {
|
|
11074
11590
|
kind: "manual";
|
|
@@ -11089,7 +11605,7 @@ declare function createRelayClient(options: {
|
|
|
11089
11605
|
actor?: "member" | "staff" | undefined;
|
|
11090
11606
|
} | {
|
|
11091
11607
|
kind: "manual";
|
|
11092
|
-
input: "
|
|
11608
|
+
input: "none" | "quiz" | "photo";
|
|
11093
11609
|
actor?: "member" | "staff" | undefined;
|
|
11094
11610
|
};
|
|
11095
11611
|
requires: {
|
|
@@ -11109,7 +11625,7 @@ declare function createRelayClient(options: {
|
|
|
11109
11625
|
budgets: {
|
|
11110
11626
|
id: string;
|
|
11111
11627
|
scope: "project" | "member";
|
|
11112
|
-
period: "day" | "
|
|
11628
|
+
period: "day" | "lifetime" | "week";
|
|
11113
11629
|
limit: number;
|
|
11114
11630
|
cost: number | {
|
|
11115
11631
|
balance: string;
|
|
@@ -11120,7 +11636,7 @@ declare function createRelayClient(options: {
|
|
|
11120
11636
|
id: string;
|
|
11121
11637
|
createdAt: number;
|
|
11122
11638
|
legacy: boolean;
|
|
11123
|
-
lifecycle: "
|
|
11639
|
+
lifecycle: "paused" | "active" | "archived";
|
|
11124
11640
|
performance?: {
|
|
11125
11641
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11126
11642
|
maxAgeMs: number;
|
|
@@ -11243,7 +11759,7 @@ declare function createRelayClient(options: {
|
|
|
11243
11759
|
quest: string;
|
|
11244
11760
|
member: string;
|
|
11245
11761
|
evidence: string | null;
|
|
11246
|
-
status: "
|
|
11762
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
11247
11763
|
reason: string | null;
|
|
11248
11764
|
retries: number;
|
|
11249
11765
|
generation: number;
|
|
@@ -11277,17 +11793,17 @@ declare function createRelayClient(options: {
|
|
|
11277
11793
|
})[] | null;
|
|
11278
11794
|
createdAt: number;
|
|
11279
11795
|
input?: {
|
|
11280
|
-
kind: "quiz";
|
|
11281
|
-
answers: {
|
|
11282
|
-
[k: string]: string;
|
|
11283
|
-
};
|
|
11284
|
-
release?: string | undefined;
|
|
11285
|
-
} | {
|
|
11286
11796
|
kind: "text";
|
|
11287
11797
|
value: string;
|
|
11288
11798
|
} | {
|
|
11289
11799
|
kind: "url";
|
|
11290
11800
|
value: string;
|
|
11801
|
+
} | {
|
|
11802
|
+
kind: "quiz";
|
|
11803
|
+
answers: {
|
|
11804
|
+
[k: string]: string;
|
|
11805
|
+
};
|
|
11806
|
+
release?: string | undefined;
|
|
11291
11807
|
} | undefined;
|
|
11292
11808
|
}[];
|
|
11293
11809
|
balances: {
|
|
@@ -11346,12 +11862,12 @@ declare function createRelayClient(options: {
|
|
|
11346
11862
|
kind: "resource";
|
|
11347
11863
|
default: string;
|
|
11348
11864
|
source: {
|
|
11349
|
-
provider: "domino";
|
|
11350
|
-
resource: "point-ledger";
|
|
11351
|
-
} | {
|
|
11352
11865
|
provider: "discord";
|
|
11353
11866
|
resource: "channel";
|
|
11354
11867
|
types: ("text" | "announcement")[];
|
|
11868
|
+
} | {
|
|
11869
|
+
provider: "domino";
|
|
11870
|
+
resource: "point-ledger";
|
|
11355
11871
|
} | {
|
|
11356
11872
|
provider: "discord";
|
|
11357
11873
|
resource: "role";
|
|
@@ -11448,14 +11964,33 @@ declare function createRelayClient(options: {
|
|
|
11448
11964
|
start: number;
|
|
11449
11965
|
end?: number | undefined;
|
|
11450
11966
|
};
|
|
11451
|
-
enrollment: "
|
|
11967
|
+
enrollment: "none" | "required";
|
|
11452
11968
|
posts: "after-enrollment" | "since-start";
|
|
11453
11969
|
historical: "staff" | "automatic" | "claim";
|
|
11454
11970
|
} | undefined;
|
|
11455
11971
|
tracker?: {
|
|
11456
11972
|
tracker: string;
|
|
11457
11973
|
source: "custom" | "x-search";
|
|
11458
|
-
beneficiary:
|
|
11974
|
+
beneficiary: string;
|
|
11975
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
11976
|
+
where?: {
|
|
11977
|
+
path: string;
|
|
11978
|
+
gt?: number | {
|
|
11979
|
+
setting: string;
|
|
11980
|
+
} | undefined;
|
|
11981
|
+
gte?: number | {
|
|
11982
|
+
setting: string;
|
|
11983
|
+
} | undefined;
|
|
11984
|
+
lt?: number | {
|
|
11985
|
+
setting: string;
|
|
11986
|
+
} | undefined;
|
|
11987
|
+
lte?: number | {
|
|
11988
|
+
setting: string;
|
|
11989
|
+
} | undefined;
|
|
11990
|
+
} | {
|
|
11991
|
+
path: string;
|
|
11992
|
+
equals: string | number | boolean;
|
|
11993
|
+
} | undefined;
|
|
11459
11994
|
} | undefined;
|
|
11460
11995
|
} | {
|
|
11461
11996
|
kind: "manual";
|
|
@@ -11476,7 +12011,7 @@ declare function createRelayClient(options: {
|
|
|
11476
12011
|
actor?: "member" | "staff" | undefined;
|
|
11477
12012
|
} | {
|
|
11478
12013
|
kind: "manual";
|
|
11479
|
-
input: "
|
|
12014
|
+
input: "none" | "quiz" | "photo";
|
|
11480
12015
|
actor?: "member" | "staff" | undefined;
|
|
11481
12016
|
};
|
|
11482
12017
|
requires: {
|
|
@@ -11496,7 +12031,7 @@ declare function createRelayClient(options: {
|
|
|
11496
12031
|
budgets: {
|
|
11497
12032
|
id: string;
|
|
11498
12033
|
scope: "project" | "member";
|
|
11499
|
-
period: "day" | "
|
|
12034
|
+
period: "day" | "lifetime" | "week";
|
|
11500
12035
|
limit: number;
|
|
11501
12036
|
cost: number | {
|
|
11502
12037
|
balance: string;
|
|
@@ -11507,7 +12042,7 @@ declare function createRelayClient(options: {
|
|
|
11507
12042
|
id: string;
|
|
11508
12043
|
createdAt: number;
|
|
11509
12044
|
legacy: boolean;
|
|
11510
|
-
lifecycle: "
|
|
12045
|
+
lifecycle: "paused" | "active" | "archived";
|
|
11511
12046
|
performance?: {
|
|
11512
12047
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11513
12048
|
maxAgeMs: number;
|
|
@@ -11581,12 +12116,12 @@ declare function createRelayClient(options: {
|
|
|
11581
12116
|
kind: "resource";
|
|
11582
12117
|
default: string;
|
|
11583
12118
|
source: {
|
|
11584
|
-
provider: "domino";
|
|
11585
|
-
resource: "point-ledger";
|
|
11586
|
-
} | {
|
|
11587
12119
|
provider: "discord";
|
|
11588
12120
|
resource: "channel";
|
|
11589
12121
|
types: ("text" | "announcement")[];
|
|
12122
|
+
} | {
|
|
12123
|
+
provider: "domino";
|
|
12124
|
+
resource: "point-ledger";
|
|
11590
12125
|
} | {
|
|
11591
12126
|
provider: "discord";
|
|
11592
12127
|
resource: "role";
|
|
@@ -11683,14 +12218,33 @@ declare function createRelayClient(options: {
|
|
|
11683
12218
|
start: number;
|
|
11684
12219
|
end?: number | undefined;
|
|
11685
12220
|
};
|
|
11686
|
-
enrollment: "
|
|
12221
|
+
enrollment: "none" | "required";
|
|
11687
12222
|
posts: "after-enrollment" | "since-start";
|
|
11688
12223
|
historical: "staff" | "automatic" | "claim";
|
|
11689
12224
|
} | undefined;
|
|
11690
12225
|
tracker?: {
|
|
11691
12226
|
tracker: string;
|
|
11692
12227
|
source: "custom" | "x-search";
|
|
11693
|
-
beneficiary:
|
|
12228
|
+
beneficiary: string;
|
|
12229
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
12230
|
+
where?: {
|
|
12231
|
+
path: string;
|
|
12232
|
+
gt?: number | {
|
|
12233
|
+
setting: string;
|
|
12234
|
+
} | undefined;
|
|
12235
|
+
gte?: number | {
|
|
12236
|
+
setting: string;
|
|
12237
|
+
} | undefined;
|
|
12238
|
+
lt?: number | {
|
|
12239
|
+
setting: string;
|
|
12240
|
+
} | undefined;
|
|
12241
|
+
lte?: number | {
|
|
12242
|
+
setting: string;
|
|
12243
|
+
} | undefined;
|
|
12244
|
+
} | {
|
|
12245
|
+
path: string;
|
|
12246
|
+
equals: string | number | boolean;
|
|
12247
|
+
} | undefined;
|
|
11694
12248
|
} | undefined;
|
|
11695
12249
|
} | {
|
|
11696
12250
|
kind: "manual";
|
|
@@ -11711,7 +12265,7 @@ declare function createRelayClient(options: {
|
|
|
11711
12265
|
actor?: "member" | "staff" | undefined;
|
|
11712
12266
|
} | {
|
|
11713
12267
|
kind: "manual";
|
|
11714
|
-
input: "
|
|
12268
|
+
input: "none" | "quiz" | "photo";
|
|
11715
12269
|
actor?: "member" | "staff" | undefined;
|
|
11716
12270
|
};
|
|
11717
12271
|
requires: {
|
|
@@ -11731,7 +12285,7 @@ declare function createRelayClient(options: {
|
|
|
11731
12285
|
budgets: {
|
|
11732
12286
|
id: string;
|
|
11733
12287
|
scope: "project" | "member";
|
|
11734
|
-
period: "day" | "
|
|
12288
|
+
period: "day" | "lifetime" | "week";
|
|
11735
12289
|
limit: number;
|
|
11736
12290
|
cost: number | {
|
|
11737
12291
|
balance: string;
|
|
@@ -11742,7 +12296,7 @@ declare function createRelayClient(options: {
|
|
|
11742
12296
|
id: string;
|
|
11743
12297
|
createdAt: number;
|
|
11744
12298
|
legacy: boolean;
|
|
11745
|
-
lifecycle: "
|
|
12299
|
+
lifecycle: "paused" | "active" | "archived";
|
|
11746
12300
|
performance?: {
|
|
11747
12301
|
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
11748
12302
|
maxAgeMs: number;
|
|
@@ -11801,7 +12355,7 @@ declare function createRelayClient(options: {
|
|
|
11801
12355
|
} | undefined;
|
|
11802
12356
|
} | undefined;
|
|
11803
12357
|
};
|
|
11804
|
-
connections: ("
|
|
12358
|
+
connections: ("x" | "discord" | "google" | "apple")[];
|
|
11805
12359
|
trigger: {
|
|
11806
12360
|
kind: "automatic";
|
|
11807
12361
|
observation?: {
|
|
@@ -11814,14 +12368,33 @@ declare function createRelayClient(options: {
|
|
|
11814
12368
|
start: number;
|
|
11815
12369
|
end?: number | undefined;
|
|
11816
12370
|
};
|
|
11817
|
-
enrollment: "
|
|
12371
|
+
enrollment: "none" | "required";
|
|
11818
12372
|
posts: "after-enrollment" | "since-start";
|
|
11819
12373
|
historical: "staff" | "automatic" | "claim";
|
|
11820
12374
|
} | undefined;
|
|
11821
12375
|
tracker?: {
|
|
11822
12376
|
tracker: string;
|
|
11823
12377
|
source: "custom" | "x-search";
|
|
11824
|
-
beneficiary:
|
|
12378
|
+
beneficiary: string;
|
|
12379
|
+
on?: "new-record" | "new-observation" | "data-changed" | undefined;
|
|
12380
|
+
where?: {
|
|
12381
|
+
path: string;
|
|
12382
|
+
gt?: number | {
|
|
12383
|
+
setting: string;
|
|
12384
|
+
} | undefined;
|
|
12385
|
+
gte?: number | {
|
|
12386
|
+
setting: string;
|
|
12387
|
+
} | undefined;
|
|
12388
|
+
lt?: number | {
|
|
12389
|
+
setting: string;
|
|
12390
|
+
} | undefined;
|
|
12391
|
+
lte?: number | {
|
|
12392
|
+
setting: string;
|
|
12393
|
+
} | undefined;
|
|
12394
|
+
} | {
|
|
12395
|
+
path: string;
|
|
12396
|
+
equals: string | number | boolean;
|
|
12397
|
+
} | undefined;
|
|
11825
12398
|
} | undefined;
|
|
11826
12399
|
} | {
|
|
11827
12400
|
kind: "manual";
|
|
@@ -11842,12 +12415,12 @@ declare function createRelayClient(options: {
|
|
|
11842
12415
|
actor?: "member" | "staff" | undefined;
|
|
11843
12416
|
} | {
|
|
11844
12417
|
kind: "manual";
|
|
11845
|
-
input: "
|
|
12418
|
+
input: "none" | "quiz" | "photo";
|
|
11846
12419
|
actor?: "member" | "staff" | undefined;
|
|
11847
12420
|
};
|
|
11848
12421
|
availability: {
|
|
11849
12422
|
kind: "available";
|
|
11850
|
-
input: "
|
|
12423
|
+
input: "text" | "url" | "none" | "quiz" | "photo";
|
|
11851
12424
|
} | {
|
|
11852
12425
|
kind: "completed";
|
|
11853
12426
|
} | {
|
|
@@ -11896,7 +12469,7 @@ declare function createRelayClient(options: {
|
|
|
11896
12469
|
quest: string;
|
|
11897
12470
|
member: string;
|
|
11898
12471
|
evidence: string | null;
|
|
11899
|
-
status: "
|
|
12472
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
11900
12473
|
reason: string | null;
|
|
11901
12474
|
retries: number;
|
|
11902
12475
|
generation: number;
|
|
@@ -11930,17 +12503,17 @@ declare function createRelayClient(options: {
|
|
|
11930
12503
|
})[] | null;
|
|
11931
12504
|
createdAt: number;
|
|
11932
12505
|
input?: {
|
|
11933
|
-
kind: "quiz";
|
|
11934
|
-
answers: {
|
|
11935
|
-
[k: string]: string;
|
|
11936
|
-
};
|
|
11937
|
-
release?: string | undefined;
|
|
11938
|
-
} | {
|
|
11939
12506
|
kind: "text";
|
|
11940
12507
|
value: string;
|
|
11941
12508
|
} | {
|
|
11942
12509
|
kind: "url";
|
|
11943
12510
|
value: string;
|
|
12511
|
+
} | {
|
|
12512
|
+
kind: "quiz";
|
|
12513
|
+
answers: {
|
|
12514
|
+
[k: string]: string;
|
|
12515
|
+
};
|
|
12516
|
+
release?: string | undefined;
|
|
11944
12517
|
} | undefined;
|
|
11945
12518
|
} | null;
|
|
11946
12519
|
key?: string | undefined;
|
|
@@ -12324,14 +12897,14 @@ declare function createRelayClient(options: {
|
|
|
12324
12897
|
content: {
|
|
12325
12898
|
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
12326
12899
|
current: {
|
|
12327
|
-
state: "
|
|
12900
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
|
|
12328
12901
|
reason: string | null;
|
|
12329
12902
|
contentAttempt: string;
|
|
12330
12903
|
attempt: string | null;
|
|
12331
12904
|
reward: {
|
|
12332
12905
|
attempt: string | null;
|
|
12333
12906
|
completion: string | null;
|
|
12334
|
-
state: "
|
|
12907
|
+
state: "excluded" | "unresolved" | "awarded";
|
|
12335
12908
|
};
|
|
12336
12909
|
};
|
|
12337
12910
|
items: {
|
|
@@ -12340,7 +12913,7 @@ declare function createRelayClient(options: {
|
|
|
12340
12913
|
observation: string;
|
|
12341
12914
|
observedAt: number;
|
|
12342
12915
|
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
12343
|
-
state: "
|
|
12916
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
|
|
12344
12917
|
reason: string | null;
|
|
12345
12918
|
}[];
|
|
12346
12919
|
next: number | null;
|
|
@@ -12355,12 +12928,12 @@ declare function createRelayClient(options: {
|
|
|
12355
12928
|
revision: string;
|
|
12356
12929
|
observation: string;
|
|
12357
12930
|
current: boolean;
|
|
12358
|
-
state: "
|
|
12931
|
+
state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
|
|
12359
12932
|
reason: string | null;
|
|
12360
12933
|
reward: {
|
|
12361
12934
|
attempt: string | null;
|
|
12362
12935
|
completion: string | null;
|
|
12363
|
-
state: "
|
|
12936
|
+
state: "excluded" | "unresolved" | "awarded";
|
|
12364
12937
|
};
|
|
12365
12938
|
}[];
|
|
12366
12939
|
next: number | null;
|
|
@@ -12370,7 +12943,7 @@ declare function createRelayClient(options: {
|
|
|
12370
12943
|
quest: string;
|
|
12371
12944
|
content: string;
|
|
12372
12945
|
release: string;
|
|
12373
|
-
state: "
|
|
12946
|
+
state: "admitted" | "pending" | "excluded";
|
|
12374
12947
|
reason: string | null;
|
|
12375
12948
|
attempt: string | null;
|
|
12376
12949
|
}[];
|
|
@@ -12385,7 +12958,7 @@ declare function createRelayClient(options: {
|
|
|
12385
12958
|
quest: string;
|
|
12386
12959
|
content: string;
|
|
12387
12960
|
release: string;
|
|
12388
|
-
state: "
|
|
12961
|
+
state: "admitted" | "pending" | "excluded";
|
|
12389
12962
|
reason: string | null;
|
|
12390
12963
|
attempt: string | null;
|
|
12391
12964
|
}>;
|
|
@@ -12396,7 +12969,7 @@ declare function createRelayClient(options: {
|
|
|
12396
12969
|
quest: string;
|
|
12397
12970
|
member: string;
|
|
12398
12971
|
evidence: string | null;
|
|
12399
|
-
status: "
|
|
12972
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
12400
12973
|
reason: string | null;
|
|
12401
12974
|
retries: number;
|
|
12402
12975
|
generation: number;
|
|
@@ -12430,17 +13003,17 @@ declare function createRelayClient(options: {
|
|
|
12430
13003
|
})[] | null;
|
|
12431
13004
|
createdAt: number;
|
|
12432
13005
|
input?: {
|
|
12433
|
-
kind: "quiz";
|
|
12434
|
-
answers: {
|
|
12435
|
-
[k: string]: string;
|
|
12436
|
-
};
|
|
12437
|
-
release?: string | undefined;
|
|
12438
|
-
} | {
|
|
12439
13006
|
kind: "text";
|
|
12440
13007
|
value: string;
|
|
12441
13008
|
} | {
|
|
12442
13009
|
kind: "url";
|
|
12443
13010
|
value: string;
|
|
13011
|
+
} | {
|
|
13012
|
+
kind: "quiz";
|
|
13013
|
+
answers: {
|
|
13014
|
+
[k: string]: string;
|
|
13015
|
+
};
|
|
13016
|
+
release?: string | undefined;
|
|
12444
13017
|
} | undefined;
|
|
12445
13018
|
}>;
|
|
12446
13019
|
retry: (id: string) => Promise<{
|
|
@@ -12449,7 +13022,7 @@ declare function createRelayClient(options: {
|
|
|
12449
13022
|
quest: string;
|
|
12450
13023
|
member: string;
|
|
12451
13024
|
evidence: string | null;
|
|
12452
|
-
status: "
|
|
13025
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
12453
13026
|
reason: string | null;
|
|
12454
13027
|
retries: number;
|
|
12455
13028
|
generation: number;
|
|
@@ -12483,17 +13056,17 @@ declare function createRelayClient(options: {
|
|
|
12483
13056
|
})[] | null;
|
|
12484
13057
|
createdAt: number;
|
|
12485
13058
|
input?: {
|
|
12486
|
-
kind: "quiz";
|
|
12487
|
-
answers: {
|
|
12488
|
-
[k: string]: string;
|
|
12489
|
-
};
|
|
12490
|
-
release?: string | undefined;
|
|
12491
|
-
} | {
|
|
12492
13059
|
kind: "text";
|
|
12493
13060
|
value: string;
|
|
12494
13061
|
} | {
|
|
12495
13062
|
kind: "url";
|
|
12496
13063
|
value: string;
|
|
13064
|
+
} | {
|
|
13065
|
+
kind: "quiz";
|
|
13066
|
+
answers: {
|
|
13067
|
+
[k: string]: string;
|
|
13068
|
+
};
|
|
13069
|
+
release?: string | undefined;
|
|
12497
13070
|
} | undefined;
|
|
12498
13071
|
}>;
|
|
12499
13072
|
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
@@ -12508,7 +13081,7 @@ declare function createRelayClient(options: {
|
|
|
12508
13081
|
quest: string;
|
|
12509
13082
|
member: string;
|
|
12510
13083
|
evidence: string | null;
|
|
12511
|
-
status: "
|
|
13084
|
+
status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
|
|
12512
13085
|
reason: string | null;
|
|
12513
13086
|
retries: number;
|
|
12514
13087
|
generation: number;
|
|
@@ -12542,17 +13115,17 @@ declare function createRelayClient(options: {
|
|
|
12542
13115
|
})[] | null;
|
|
12543
13116
|
createdAt: number;
|
|
12544
13117
|
input?: {
|
|
12545
|
-
kind: "quiz";
|
|
12546
|
-
answers: {
|
|
12547
|
-
[k: string]: string;
|
|
12548
|
-
};
|
|
12549
|
-
release?: string | undefined;
|
|
12550
|
-
} | {
|
|
12551
13118
|
kind: "text";
|
|
12552
13119
|
value: string;
|
|
12553
13120
|
} | {
|
|
12554
13121
|
kind: "url";
|
|
12555
13122
|
value: string;
|
|
13123
|
+
} | {
|
|
13124
|
+
kind: "quiz";
|
|
13125
|
+
answers: {
|
|
13126
|
+
[k: string]: string;
|
|
13127
|
+
};
|
|
13128
|
+
release?: string | undefined;
|
|
12556
13129
|
} | undefined;
|
|
12557
13130
|
}>;
|
|
12558
13131
|
};
|