@domino-sdk/relay 1.7.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-9Xl0StBg.d.ts +33 -0
- package/dist/{activity-Br6vyYze.d.ts → activity-C0O3g7VJ.d.ts} +9 -9
- package/dist/authoring.d.ts +12 -12
- package/dist/authoring.js +3 -3
- package/dist/{automatic-outcomes-C1Q9LrDb.d.ts → automatic-outcomes-kPIDv6X_.d.ts} +1 -1
- package/dist/avatar.d.ts +2 -2
- package/dist/browser.d.ts +9 -8
- package/dist/browser.js +8 -6
- package/dist/{capability-error-Bv996M-h.d.ts → capability-error-ty3SqD_b.d.ts} +1 -1
- package/dist/{chunk-KGJSKGKI.js → chunk-23JUD56J.js} +1119 -910
- package/dist/{chunk-ZOUEEK5L.js → chunk-7BRHUUVB.js} +83 -26
- package/dist/{chunk-C25TDFHN.js → chunk-BKLGWPPD.js} +48 -37
- package/dist/{chunk-6ON4RMEN.js → chunk-BUXNTVER.js} +1 -1
- package/dist/{chunk-BFZHJA2B.js → chunk-GEPSEVQO.js} +2 -2
- package/dist/chunk-GFAFH7XR.js +98 -0
- package/dist/{chunk-6RBF3UDA.js → chunk-GPS546KR.js} +232 -7
- package/dist/{chunk-5ECM6AWV.js → chunk-MMWTHVXW.js} +3 -3
- package/dist/chunk-N2HXMTVA.js +13 -0
- package/dist/{chunk-23QJ7WH4.js → chunk-QL77V77D.js} +1 -1
- package/dist/{chunk-GMPPLZKH.js → chunk-UIR6NSYZ.js} +243 -228
- package/dist/{chunk-JW4G3SY5.js → chunk-WRBPLXVP.js} +60 -47
- package/dist/{client-pfml_XAa.d.ts → client-Yq11HA_f.d.ts} +64 -43
- package/dist/{groups-BpWEqaPn.d.ts → groups-BK8ts2yK.d.ts} +94 -6
- package/dist/{images-BaKYd0fl.d.ts → images-aw6W7vFZ.d.ts} +2 -2
- package/dist/index.d.ts +10 -9
- package/dist/index.js +10 -5
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +5 -5
- package/dist/{offers-CYtal8jO.d.ts → offers-C2FANzrG.d.ts} +3 -3
- package/dist/{pages-CixTNnF4.d.ts → pages-D00JDZB-.d.ts} +70 -39
- package/dist/portal-proxy.js +8 -2
- package/dist/react/index.d.ts +203 -19
- package/dist/react/index.js +256 -113
- package/dist/{referral-reward-kinds-ClxAuCGx.d.ts → referral-reward-kinds-M3f0PdiR.d.ts} +2 -2
- package/dist/{schema-CQydLqw4.d.ts → schema-DEM8y8Fm.d.ts} +16 -16
- package/dist/schema.d.ts +11239 -13
- package/dist/schema.js +38 -6
- package/dist/server/index.d.ts +43693 -52
- package/dist/server/index.js +465 -53
- package/dist/{sign-in-options-CtXUFV7E.d.ts → sign-in-options-Coim0G1u.d.ts} +3 -3
- package/dist/{submission-input-CLefHTrj.d.ts → submission-input-BbBJTVlT.d.ts} +3 -3
- package/dist/util.d-w9f9t3ua.d.ts +5 -0
- package/dist/{wallet-YssWxGg8.d.ts → wallet-CDyo-U4n.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/{profiles-D2aFcOxu.d.ts → profiles-BHMVj0kM.d.ts} +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ar as PublishedRelease, ac as OpenIdentityKind, u as TrackerSource, a7 as TrackerDataSchema, aO as TrackerSourceResponse, at as QuestDescription } from './schema-DEM8y8Fm.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { d as ImageFields, g as ImageRequest } from './images-aw6W7vFZ.js';
|
|
4
4
|
|
|
5
5
|
/** Older releases did not record ownership. Preserve every value, including defaults. */
|
|
6
6
|
declare function questConfiguration(release: PublishedRelease): {
|
|
@@ -186,8 +186,8 @@ type TriggerEnrollment = z.infer<typeof triggerEnrollmentSchema>;
|
|
|
186
186
|
* `before-enrollment`.
|
|
187
187
|
*/
|
|
188
188
|
declare const triggerSinceSchema: z.ZodEnum<{
|
|
189
|
-
activation: "activation";
|
|
190
189
|
window: "window";
|
|
190
|
+
activation: "activation";
|
|
191
191
|
enrollment: "enrollment";
|
|
192
192
|
}>;
|
|
193
193
|
type TriggerSince = z.infer<typeof triggerSinceSchema>;
|
|
@@ -269,8 +269,8 @@ declare const trackerTriggerPolicySchema: z.ZodObject<{
|
|
|
269
269
|
}>>;
|
|
270
270
|
/** Absent means `"activation"`. */
|
|
271
271
|
since: z.ZodOptional<z.ZodEnum<{
|
|
272
|
-
activation: "activation";
|
|
273
272
|
window: "window";
|
|
273
|
+
activation: "activation";
|
|
274
274
|
enrollment: "enrollment";
|
|
275
275
|
}>>;
|
|
276
276
|
/** Absent means `"staff"`, or `"claim"` on a content quest. */
|
|
@@ -1813,8 +1813,8 @@ declare const triggerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1813
1813
|
required: "required";
|
|
1814
1814
|
}>>;
|
|
1815
1815
|
since: z.ZodOptional<z.ZodEnum<{
|
|
1816
|
-
activation: "activation";
|
|
1817
1816
|
window: "window";
|
|
1817
|
+
activation: "activation";
|
|
1818
1818
|
enrollment: "enrollment";
|
|
1819
1819
|
}>>;
|
|
1820
1820
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2245,8 +2245,8 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2245
2245
|
required: "required";
|
|
2246
2246
|
}>>;
|
|
2247
2247
|
since: z.ZodOptional<z.ZodEnum<{
|
|
2248
|
-
activation: "activation";
|
|
2249
2248
|
window: "window";
|
|
2249
|
+
activation: "activation";
|
|
2250
2250
|
enrollment: "enrollment";
|
|
2251
2251
|
}>>;
|
|
2252
2252
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2638,8 +2638,8 @@ declare const storedQuestDescriptionSchema: z.ZodObject<{
|
|
|
2638
2638
|
required: "required";
|
|
2639
2639
|
}>>;
|
|
2640
2640
|
since: z.ZodOptional<z.ZodEnum<{
|
|
2641
|
-
activation: "activation";
|
|
2642
2641
|
window: "window";
|
|
2642
|
+
activation: "activation";
|
|
2643
2643
|
enrollment: "enrollment";
|
|
2644
2644
|
}>>;
|
|
2645
2645
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2971,8 +2971,8 @@ declare const publishedReleaseSchema: z.ZodObject<{
|
|
|
2971
2971
|
required: "required";
|
|
2972
2972
|
}>>;
|
|
2973
2973
|
since: z.ZodOptional<z.ZodEnum<{
|
|
2974
|
-
activation: "activation";
|
|
2975
2974
|
window: "window";
|
|
2975
|
+
activation: "activation";
|
|
2976
2976
|
enrollment: "enrollment";
|
|
2977
2977
|
}>>;
|
|
2978
2978
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3347,8 +3347,8 @@ declare const templateSchema: z.ZodObject<{
|
|
|
3347
3347
|
required: "required";
|
|
3348
3348
|
}>>;
|
|
3349
3349
|
since: z.ZodOptional<z.ZodEnum<{
|
|
3350
|
-
activation: "activation";
|
|
3351
3350
|
window: "window";
|
|
3351
|
+
activation: "activation";
|
|
3352
3352
|
enrollment: "enrollment";
|
|
3353
3353
|
}>>;
|
|
3354
3354
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4032,9 +4032,9 @@ declare const completionRecordSchema: z.ZodObject<{
|
|
|
4032
4032
|
declare const questAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4033
4033
|
kind: z.ZodLiteral<"available">;
|
|
4034
4034
|
input: z.ZodEnum<{
|
|
4035
|
+
url: "url";
|
|
4035
4036
|
text: "text";
|
|
4036
4037
|
none: "none";
|
|
4037
|
-
url: "url";
|
|
4038
4038
|
quiz: "quiz";
|
|
4039
4039
|
photo: "photo";
|
|
4040
4040
|
}>;
|
|
@@ -4072,12 +4072,12 @@ declare const questAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4072
4072
|
}, z.core.$strict>, z.ZodObject<{
|
|
4073
4073
|
kind: z.ZodLiteral<"blocked">;
|
|
4074
4074
|
reason: z.ZodEnum<{
|
|
4075
|
-
paused: "paused";
|
|
4076
4075
|
"outside-window": "outside-window";
|
|
4076
|
+
"enrollment-required": "enrollment-required";
|
|
4077
4077
|
"budget-exhausted": "budget-exhausted";
|
|
4078
|
+
paused: "paused";
|
|
4078
4079
|
"connection-required": "connection-required";
|
|
4079
4080
|
"wallet-required": "wallet-required";
|
|
4080
|
-
"enrollment-required": "enrollment-required";
|
|
4081
4081
|
}>;
|
|
4082
4082
|
window: z.ZodOptional<z.ZodEnum<{
|
|
4083
4083
|
quest: "quest";
|
|
@@ -4233,8 +4233,8 @@ declare const memberProgressSchema: z.ZodObject<{
|
|
|
4233
4233
|
required: "required";
|
|
4234
4234
|
}>>;
|
|
4235
4235
|
since: z.ZodOptional<z.ZodEnum<{
|
|
4236
|
-
activation: "activation";
|
|
4237
4236
|
window: "window";
|
|
4237
|
+
activation: "activation";
|
|
4238
4238
|
enrollment: "enrollment";
|
|
4239
4239
|
}>>;
|
|
4240
4240
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4248,9 +4248,9 @@ declare const memberProgressSchema: z.ZodObject<{
|
|
|
4248
4248
|
availability: z.ZodUnion<(z.ZodObject<{
|
|
4249
4249
|
kind: z.ZodLiteral<"available">;
|
|
4250
4250
|
input: z.ZodEnum<{
|
|
4251
|
+
url: "url";
|
|
4251
4252
|
text: "text";
|
|
4252
4253
|
none: "none";
|
|
4253
|
-
url: "url";
|
|
4254
4254
|
quiz: "quiz";
|
|
4255
4255
|
photo: "photo";
|
|
4256
4256
|
}>;
|
|
@@ -4288,12 +4288,12 @@ declare const memberProgressSchema: z.ZodObject<{
|
|
|
4288
4288
|
}, z.core.$strip> | z.ZodObject<{
|
|
4289
4289
|
kind: z.ZodLiteral<"blocked">;
|
|
4290
4290
|
reason: z.ZodEnum<{
|
|
4291
|
-
paused: "paused";
|
|
4292
4291
|
"outside-window": "outside-window";
|
|
4292
|
+
"enrollment-required": "enrollment-required";
|
|
4293
4293
|
"budget-exhausted": "budget-exhausted";
|
|
4294
|
+
paused: "paused";
|
|
4294
4295
|
"connection-required": "connection-required";
|
|
4295
4296
|
"wallet-required": "wallet-required";
|
|
4296
|
-
"enrollment-required": "enrollment-required";
|
|
4297
4297
|
}>;
|
|
4298
4298
|
window: z.ZodOptional<z.ZodEnum<{
|
|
4299
4299
|
quest: "quest";
|
|
@@ -4954,8 +4954,8 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
4954
4954
|
required: "required";
|
|
4955
4955
|
}>>;
|
|
4956
4956
|
since: z.ZodOptional<z.ZodEnum<{
|
|
4957
|
-
activation: "activation";
|
|
4958
4957
|
window: "window";
|
|
4958
|
+
activation: "activation";
|
|
4959
4959
|
enrollment: "enrollment";
|
|
4960
4960
|
}>>;
|
|
4961
4961
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5726,4 +5726,4 @@ declare const contentPerformancePageSchema: z.ZodObject<{
|
|
|
5726
5726
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
5727
5727
|
}, z.core.$strict>;
|
|
5728
5728
|
|
|
5729
|
-
export { type
|
|
5729
|
+
export { type TrackerTriggerMode as $, type Attempt as A, type SourceRoles as B, type LedgerHandle as C, xSearchSourceSchema as D, type Entitlement as E, type XContentMetric as F, type GroupHandle as G, type TrackerTriggerPolicy as H, type IdentityKind as I, type Where as J, type KnownAttemptStatus as K, type LedgerReference as L, type MemberProgress as M, type MemberIdentity as N, type TrackerTriggerContext as O, type PhotoResult as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type TrackerReader as U, type TextReviewInput as V, type WithRecordData as W, type XTweet as X, type TextResult as Y, type Decision as Z, rewardSchema as _, AttemptStatus as a, batchReleaseSchema as a$, type RoleOf as a0, type WhereSetting as a1, type ContentBody as a2, type ContentMetricName as a3, triggerSchema as a4, type TieredRewardDefinition as a5, type LedgerSetting as a6, type TrackerDataSchema as a7, type TrackerPage as a8, type TrackerReadQuery as a9, type TrackerBound as aA, type TrackerCondition as aB, type TrackerContent as aC, type TrackerContentQuery as aD, type TrackerDataIssue as aE, type TrackerDefinition as aF, type TrackerDefinitionResponse as aG, type TrackerOutcome as aH, type TrackerOutcomeQuery as aI, type TrackerPreview as aJ, type TrackerPreviewInput as aK, type TrackerQuery as aL, type TrackerRecord as aM, type TrackerSourceKind as aN, type TrackerSourceResponse as aO, type TrackerStatus as aP, type TrackerTriggerOutcomePage as aQ, type TrackerTriggerOutcomeQuery as aR, type TrackerWhere as aS, type TriggerEnrollment as aT, type TriggerHistorical as aU, type TriggerSince as aV, type TypedTrackerRecord as aW, accountRoleSchema as aX, appIdentityKindSchema as aY, artifactSchema as aZ, attemptSchema as a_, trackerDataSchema as aa, trackerTriggerContextSchema as ab, type OpenIdentityKind as ac, type AccountRole as ad, type AppIdentityKind as ae, type Bound as af, type CompletionSource as ag, CompletionSourceKind as ah, type Condition as ai, type ContentPerformanceSnapshot as aj, type DataLeaves as ak, type EntitlementCorrection as al, type EntitlementState as am, type KnownCompletionSourceKind as an, type KnownIdentityKind as ao, type MemberPage as ap, type PickupAvailability as aq, type PublishedRelease as ar, type QuestAvailability as as, type QuestDescription as at, type QuestSettingsInput as au, type ReleaseInput as av, type ReviewPage as aw, type Snapshot as ax, type TrackerAccount as ay, type TrackerAttribution as az, type EvaluatorProgress as b, sourceIdentities as b$, beginHandoverSchema as b0, beneficiaryRole as b1, completionRecordSchema as b2, completionSourceSchema as b3, configurePickupSchema as b4, confirmHandoverSchema as b5, contentMetricNameSchema as b6, contentPerformancePageSchema as b7, contentPerformanceQuerySchema as b8, contentPerformanceSnapshotSchema as b9, photoResultSchema as bA, pickupAllocationSchema as bB, pickupAvailabilitySchema as bC, pickupCatalogSchema as bD, pickupPolicySchema as bE, pickupSelectionSchema as bF, pointsRewardSchema as bG, publishedReleaseSchema as bH, publishedTrackerSchema as bI, questAvailabilitySchema as bJ, questBudgetViewSchema as bK, questDescriptionSchema as bL, questPresentationSchema as bM, questProfileSchema as bN, questSettingsInputSchema as bO, quizAnswersSchema as bP, quizEvidenceSchema as bQ, releaseSchema as bR, reservationSchema as bS, reviewItemSchema as bT, reviewListSchema as bU, reviewModeSchema as bV, reviewPageSchema as bW, rewardBundleSchema as bX, rewardKey as bY, snapshotSchema as bZ, sourceContent as b_, createStockItemSchema as ba, customContentSchema as bb, decisionSchema as bc, defaultTriggerMode as bd, deferPolicy as be, entitlementCorrectionSchema as bf, entitlementRecoverySchema as bg, entitlementSchema as bh, entitlementStateSchema as bi, errorSchema as bj, evaluatorProgressSchema as bk, evaluatorProtocol as bl, evaluatorProtocolSchema as bm, eventSchema as bn, evidenceSchema as bo, identityKindSchema as bp, integrationRewardSchema as bq, isAppIdentityKind as br, isKnownTrackerSource as bs, knownIdentityKinds as bt, mediaUrlSchema as bu, memberIdentitySchema as bv, memberListSchema as bw, memberPageSchema as bx, memberProgressSchema as by, openIdentityKindSchema as bz, type KnownTrackerSkipCode as c, xTweetSchema as c$, staffDecisionSchema as c0, stockItemSchema as c1, stockSchema as c2, storedQuestDescriptionSchema as c3, storedReviewModeSchema as c4, submissionEvidenceSchema as c5, submitSchema as c6, templateSchema as c7, textResultSchema as c8, textReviewInputSchema as c9, trackerPreviewLimits as cA, trackerPreviewSchema as cB, trackerQuerySchema as cC, trackerRecordAccountSchema as cD, trackerRecordInputSchema as cE, trackerRecordSchema as cF, trackerSkipCodes as cG, trackerSourceKinds as cH, trackerSourceResponseSchema as cI, trackerSourceSchema as cJ, trackerStatusSchema as cK, trackerSummarySchema as cL, trackerTriggerModeSchema as cM, trackerTriggerOutcomePageSchema as cN, trackerTriggerOutcomeQuerySchema as cO, trackerTriggerPolicySchema as cP, trackerTriggerRecordSchema as cQ, trackerWhereSchema as cR, triggerAdmission as cS, triggerEnrollmentSchema as cT, triggerHistoricalSchema as cU, triggerMode as cV, triggerSinceSchema as cW, whereConditions as cX, whereSettings as cY, xAccountRoles as cZ, xContentMetrics as c_, tierRewardSchema as ca, tieredRewardDefinitionSchema as cb, tieredRewardReferenceSchema as cc, trackerAccountSchema as cd, trackerArtifactSchema as ce, trackerAttributionSchema as cf, trackerBoundSchema as cg, trackerConditionSchema as ch, trackerContentQuerySchema as ci, trackerContentReadSchema as cj, trackerContentSchema as ck, trackerContentStageSchema as cl, trackerControlSchema as cm, trackerDataMaxBranches as cn, trackerDataMaxEntries as co, trackerDataSchemaSchema as cp, trackerDefinitionResponseSchema as cq, trackerEvidenceSchema as cr, trackerIngestResultSchema as cs, trackerIngestSchema as ct, trackerOutcomePageSchema as cu, trackerOutcomeQuerySchema as cv, trackerOutcomeRetrySchema as cw, trackerOutcomeSchema as cx, trackerPageSchema as cy, trackerPreviewInputSchema as cz, type QuestPresentation as d, type QuestProfile as e, type QuizEvidence as f, type SubmitInput as g, type TrackerSkipCode as h, type TrackerDataBudget as i, trackerDataIssue as j, trackerDataIssues as k, trackerDataPathTypes as l, trackerDataRecordSteps as m, type ResourceHandle as n, customSourceSchema as o, type WithContent as p, type WithAccountRoles as q, type QuestHandle as r, schemaCheckedReader as s, trackerDataBatchSteps as t, type TrackerSource as u, trackerDefinitionSchema as v, whereSchemaIssue as w, xContentBodySchema as x, type Tracker as y, type TrackerData as z };
|