@domino-sdk/relay 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring.d.ts +42 -42
- package/dist/{browser-J7tUpXxy.d.ts → browser-Cho1duR6.d.ts} +174 -174
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +2 -2
- package/dist/{chunk-ZVIRG24J.js → chunk-24AFCBZN.js} +1 -1
- package/dist/{chunk-GZ6FJAXN.js → chunk-DGWMLN35.js} +52 -11
- package/dist/{client-XiuFnug_.d.ts → client-gqnRUHpC.d.ts} +12 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.d.ts +5 -3
- package/dist/react/index.js +25 -4
- package/dist/schema.d.ts +1 -1
- package/dist/server/index.d.ts +229 -4
- package/dist/server/index.js +204 -7
- package/package.json +1 -1
- package/dist/{activity-B8k9Sa_a.d.ts → activity-o1E-Hqyt.d.ts} +198 -198
package/dist/browser.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './outcomes-kVB-Juzs.js';
|
|
2
2
|
import './groups-Ck-OxzjD.js';
|
|
3
|
-
import './client-
|
|
3
|
+
import './client-gqnRUHpC.js';
|
|
4
4
|
import './pages-BBYD21IE.js';
|
|
5
5
|
import './submission-input-BZkm6ohU.js';
|
|
6
6
|
import './wallet-YssWxGg8.js';
|
|
7
7
|
import './schema-DfJzH2ci.js';
|
|
8
8
|
import './profiles-D2aFcOxu.js';
|
|
9
|
-
export { C as CosmosChains, D as DiscoveredWallet, f as Eip1193Provider, E as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, g as SignInClient, e as SignInIcon, S as SignInMethods, a as SignInOption, h as SignInOptions, b as SignInUnavailable, d as SignInWallet, i as SolanaInjectedProvider, j as StandardWallet, k as StandardWalletAccount, W as WalletSignInOption, l as browserSubmissionStore, m as cosmosChainList, n as cosmosSigner, c as createBrowserRelayClient, o as discoverCosmosWallets, p as discoverEvmWallets, q as discoverSignInWallets, r as discoverSolanaWallets, s as evmSigner, t as signInOptions, u as solanaSigner, w as walletStandardSolanaSigner } from './browser-
|
|
9
|
+
export { C as CosmosChains, D as DiscoveredWallet, f as Eip1193Provider, E as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, g as SignInClient, e as SignInIcon, S as SignInMethods, a as SignInOption, h as SignInOptions, b as SignInUnavailable, d as SignInWallet, i as SolanaInjectedProvider, j as StandardWallet, k as StandardWalletAccount, W as WalletSignInOption, l as browserSubmissionStore, m as cosmosChainList, n as cosmosSigner, c as createBrowserRelayClient, o as discoverCosmosWallets, p as discoverEvmWallets, q as discoverSignInWallets, r as discoverSolanaWallets, s as evmSigner, t as signInOptions, u as solanaSigner, w as walletStandardSolanaSigner } from './browser-Cho1duR6.js';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import './request-error-DWduJCGV.js';
|
package/dist/browser.js
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
signInOptions,
|
|
12
12
|
solanaSigner,
|
|
13
13
|
walletStandardSolanaSigner
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-24AFCBZN.js";
|
|
15
|
+
import "./chunk-DGWMLN35.js";
|
|
16
16
|
import "./chunk-EYH5RDIE.js";
|
|
17
17
|
import "./chunk-36HTX2BM.js";
|
|
18
18
|
import "./chunk-6QJ3LADK.js";
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
engagementBoundaryPageSchema,
|
|
23
23
|
engagementPageQuerySchema,
|
|
24
24
|
engagementPageSchema,
|
|
25
|
+
isRelayError,
|
|
25
26
|
leaderboardDefinitionSchema,
|
|
26
27
|
leaderboardPageSchema,
|
|
27
28
|
leaderboardPlacementSchema,
|
|
@@ -104,7 +105,7 @@ var draftSchema = z.union([
|
|
|
104
105
|
claimInputSchema,
|
|
105
106
|
z.object({ kind: z.literal("photo"), file: z.instanceof(Blob) })
|
|
106
107
|
]);
|
|
107
|
-
var
|
|
108
|
+
var activeRecordSchema = z.union([
|
|
108
109
|
z.object({
|
|
109
110
|
...common,
|
|
110
111
|
stage: z.literal("review"),
|
|
@@ -131,6 +132,14 @@ var recordSchema = z.union([
|
|
|
131
132
|
attempt: identifier
|
|
132
133
|
})
|
|
133
134
|
]);
|
|
135
|
+
var recordSchema = z.union([
|
|
136
|
+
activeRecordSchema,
|
|
137
|
+
z.object({
|
|
138
|
+
...common,
|
|
139
|
+
stage: z.literal("retired"),
|
|
140
|
+
previous: activeRecordSchema
|
|
141
|
+
})
|
|
142
|
+
]);
|
|
134
143
|
function submissions(transport, configuredStore, namespace) {
|
|
135
144
|
async function open(quest, options = {
|
|
136
145
|
input: "photo"
|
|
@@ -184,7 +193,7 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
184
193
|
}
|
|
185
194
|
const record = parsed.data;
|
|
186
195
|
const input = record.stage === "review" ? record.draft?.kind : "input" in record ? record.input.kind : "photo";
|
|
187
|
-
if (!options.recoverPrevious && input !== options.input) {
|
|
196
|
+
if (record.stage !== "retired" && !options.recoverPrevious && input !== options.input) {
|
|
188
197
|
throw clientError(
|
|
189
198
|
"Saved submission uses a different input type. Reopen it with its original type to recover it.",
|
|
190
199
|
RelayErrorCode.SubmissionConflict
|
|
@@ -192,18 +201,40 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
192
201
|
}
|
|
193
202
|
return record;
|
|
194
203
|
}
|
|
195
|
-
function claim(record) {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
+
async function claim(record) {
|
|
205
|
+
try {
|
|
206
|
+
return await transport.claim(
|
|
207
|
+
{
|
|
208
|
+
quest,
|
|
209
|
+
actionId: record.id,
|
|
210
|
+
...record.release ? { release: record.release } : {},
|
|
211
|
+
..."evidence" in record ? { evidence: record.evidence } : record.input.kind !== "none" ? { input: record.input } : {}
|
|
212
|
+
},
|
|
213
|
+
sessionId
|
|
214
|
+
);
|
|
215
|
+
} catch (error) {
|
|
216
|
+
if (isRelayError(error) && error.kind === "http" && !error.uncertain && error.status === 409 && error.code === "operation-retired") {
|
|
217
|
+
await store.write(key, {
|
|
218
|
+
id: record.id,
|
|
219
|
+
quest,
|
|
220
|
+
release: record.release,
|
|
221
|
+
stage: "retired",
|
|
222
|
+
previous: record
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
throw error;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function retiredError() {
|
|
229
|
+
return clientError(
|
|
230
|
+
"This saved submission was retired. Review the current quest, then discard it before starting a new submission.",
|
|
231
|
+
"operation-retired"
|
|
204
232
|
);
|
|
205
233
|
}
|
|
206
234
|
async function resumeRecord(saved) {
|
|
235
|
+
if (saved.stage === "retired") {
|
|
236
|
+
throw retiredError();
|
|
237
|
+
}
|
|
207
238
|
if (saved.stage === "review") {
|
|
208
239
|
throw new QuestUpdatedError(
|
|
209
240
|
"This quest changed. Review it before submitting again.",
|
|
@@ -267,6 +298,9 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
267
298
|
return store.exclusive(key, async () => {
|
|
268
299
|
await currentSession();
|
|
269
300
|
const existing = await read();
|
|
301
|
+
if (existing?.stage === "retired") {
|
|
302
|
+
throw retiredError();
|
|
303
|
+
}
|
|
270
304
|
if (existing?.stage === "review" && existing.release === record.release) {
|
|
271
305
|
throw new QuestUpdatedError(
|
|
272
306
|
"Review the latest quest before submitting again.",
|
|
@@ -301,6 +335,10 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
301
335
|
if (!record) {
|
|
302
336
|
return;
|
|
303
337
|
}
|
|
338
|
+
if (record.stage === "retired") {
|
|
339
|
+
await store.write(key, null);
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
304
342
|
if (record.stage !== "submitted") {
|
|
305
343
|
throw clientError(
|
|
306
344
|
"Resume the unfinished submission before starting over.",
|
|
@@ -323,6 +361,9 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
323
361
|
if (!record) {
|
|
324
362
|
return { kind: "empty" };
|
|
325
363
|
}
|
|
364
|
+
if (record.stage === "retired") {
|
|
365
|
+
return { kind: "needs-review", reason: "operation-retired" };
|
|
366
|
+
}
|
|
326
367
|
if (record.stage === "review") {
|
|
327
368
|
return { kind: "needs-review" };
|
|
328
369
|
}
|
|
@@ -99,6 +99,7 @@ type SubmissionStatus = {
|
|
|
99
99
|
kind: "empty";
|
|
100
100
|
} | {
|
|
101
101
|
kind: "needs-review";
|
|
102
|
+
reason?: "operation-retired";
|
|
102
103
|
} | {
|
|
103
104
|
kind: "pending";
|
|
104
105
|
stage: "upload" | "claim";
|
|
@@ -3415,7 +3416,17 @@ declare function createRelayClient(options: RelayClientOptions): {
|
|
|
3415
3416
|
(quest: string, options?: {
|
|
3416
3417
|
input: "photo";
|
|
3417
3418
|
release?: string;
|
|
3418
|
-
recoverPrevious
|
|
3419
|
+
recoverPrevious
|
|
3420
|
+
/**
|
|
3421
|
+
* The session ID the app read (`auth.session()`). Relay refuses the call with a `RelayError`
|
|
3422
|
+
* whose code is `stale-session` if the member's session changed since. Calls Relay binds to a
|
|
3423
|
+
* session (wallet linking, collection passes, retries) read the current session when omitted.
|
|
3424
|
+
*/
|
|
3425
|
+
? /**
|
|
3426
|
+
* The session ID the app read (`auth.session()`). Relay refuses the call with a `RelayError`
|
|
3427
|
+
* whose code is `stale-session` if the member's session changed since. Calls Relay binds to a
|
|
3428
|
+
* session (wallet linking, collection passes, retries) read the current session when omitted.
|
|
3429
|
+
*/: boolean;
|
|
3419
3430
|
repeatable?: boolean;
|
|
3420
3431
|
}): Promise<PhotoSubmission>;
|
|
3421
3432
|
(quest: string, options: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, S as SubmissionDraft, l as SubmissionStatus, m as SubmissionStore, V as ValueSubmission, n as createRelayClient, o as isRelayError } from './client-
|
|
1
|
+
export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, S as SubmissionDraft, l as SubmissionStatus, m as SubmissionStore, V as ValueSubmission, n as createRelayClient, o as isRelayError } from './client-gqnRUHpC.js';
|
|
2
2
|
export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-DWduJCGV.js';
|
|
3
3
|
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-DfJzH2ci.js';
|
|
4
4
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
package/dist/index.js
CHANGED
package/dist/react/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as Page, d as ParticipantSession, R as RelayEvent, b as ParticipantActivity, a as PageQuery, g as exchangeSchema, M as MemberSummary } from '../pages-BBYD21IE.js';
|
|
2
|
-
import { g as RelayError, k as RelayRequestOptions, c as QuestController, a as ProgressObservation, b as ProgressObserver, P as PhotoSubmission, e as QuizSubmission, C as ClaimSubmission, V as ValueSubmission, S as SubmissionDraft } from '../client-
|
|
2
|
+
import { g as RelayError, k as RelayRequestOptions, c as QuestController, a as ProgressObservation, b as ProgressObserver, P as PhotoSubmission, e as QuizSubmission, C as ClaimSubmission, V as ValueSubmission, S as SubmissionDraft } from '../client-gqnRUHpC.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import { i as QuestView, b as QuestEnrollmentInput, Q as QuestClaimInput, f as QuestOutcomeQuery, P as questExperienceSchema, n as RewardDeliveryAction, A as contentQualificationQuerySchema, d as QuestOutcome } from '../outcomes-kVB-Juzs.js';
|
|
@@ -7,8 +7,8 @@ import { aG as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollm
|
|
|
7
7
|
import { E as Entitlement, a as AttemptStatus, h as TrackerSkipCode, bI as submitSchema, aI as contentPerformanceQuerySchema, T as TieredRewardReference } from '../schema-DfJzH2ci.js';
|
|
8
8
|
import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner, d as WalletSignInNetwork } from '../wallet-YssWxGg8.js';
|
|
9
9
|
import { F as profileUpdateSchema, c as ProfileCompletionQuery, f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-D2aFcOxu.js';
|
|
10
|
-
import { c as createBrowserRelayClient, J as JSONType, S as SignInMethods, C as CosmosChains, a as SignInOption, b as SignInUnavailable, d as SignInWallet, D as DiscoveredWallet } from '../browser-
|
|
11
|
-
export { E as EmailSignInOption, O as OAuthSignInOption, e as SignInIcon, W as WalletSignInOption } from '../browser-
|
|
10
|
+
import { c as createBrowserRelayClient, J as JSONType, S as SignInMethods, C as CosmosChains, a as SignInOption, b as SignInUnavailable, d as SignInWallet, D as DiscoveredWallet } from '../browser-Cho1duR6.js';
|
|
11
|
+
export { E as EmailSignInOption, O as OAuthSignInOption, e as SignInIcon, W as WalletSignInOption } from '../browser-Cho1duR6.js';
|
|
12
12
|
import * as zod from 'zod';
|
|
13
13
|
import { z } from 'zod';
|
|
14
14
|
import { a as AuthProvider, A as AccountConnection } from '../submission-input-BZkm6ohU.js';
|
|
@@ -4971,6 +4971,8 @@ declare function useQuest(observed: QuestView): {
|
|
|
4971
4971
|
error: RelayError | null;
|
|
4972
4972
|
busy: boolean;
|
|
4973
4973
|
saved: SavedSubmission;
|
|
4974
|
+
/** Review and explicitly restart this terminally retired saved submission. */
|
|
4975
|
+
retired: boolean;
|
|
4974
4976
|
/** The attempt the last "received" notice is about. */
|
|
4975
4977
|
receipt: string | null;
|
|
4976
4978
|
startingFresh: boolean;
|
package/dist/react/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
discoverSolanaWallets,
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-24AFCBZN.js";
|
|
12
|
+
import "../chunk-DGWMLN35.js";
|
|
13
13
|
import "../chunk-EYH5RDIE.js";
|
|
14
14
|
import {
|
|
15
15
|
RelayErrorCode,
|
|
@@ -1447,6 +1447,8 @@ function useQuest(observed) {
|
|
|
1447
1447
|
const [busy, setBusy] = useState4(false);
|
|
1448
1448
|
const [discardedAttempt, setDiscardedAttempt] = useState4(null);
|
|
1449
1449
|
const [saved, setSaved] = useState4("none");
|
|
1450
|
+
const [recoveryRevision, setRecoveryRevision] = useState4(0);
|
|
1451
|
+
const [retired, setRetired] = useState4(false);
|
|
1450
1452
|
const [receipt, setReceipt] = useState4(null);
|
|
1451
1453
|
useEffect5(() => setLatest(null), [observed.release]);
|
|
1452
1454
|
const view = latest ?? observed;
|
|
@@ -1459,6 +1461,9 @@ function useQuest(observed) {
|
|
|
1459
1461
|
if (!active) {
|
|
1460
1462
|
return;
|
|
1461
1463
|
}
|
|
1464
|
+
setRetired(
|
|
1465
|
+
!completed && status.kind === "needs-review" && status.reason === "operation-retired"
|
|
1466
|
+
);
|
|
1462
1467
|
setSaved(
|
|
1463
1468
|
completed || status.kind === "empty" || status.kind === "submitted" ? "none" : status.kind === "needs-review" ? "outdated" : "interrupted"
|
|
1464
1469
|
);
|
|
@@ -1467,7 +1472,7 @@ function useQuest(observed) {
|
|
|
1467
1472
|
return () => {
|
|
1468
1473
|
active = false;
|
|
1469
1474
|
};
|
|
1470
|
-
}, [relay, quest, release, completed, attempt, busy]);
|
|
1475
|
+
}, [relay, quest, release, completed, attempt, busy, recoveryRevision]);
|
|
1471
1476
|
const run = useCallback4(
|
|
1472
1477
|
async (action) => {
|
|
1473
1478
|
setBusy(true);
|
|
@@ -1489,6 +1494,7 @@ function useQuest(observed) {
|
|
|
1489
1494
|
setError(asRelayError(cause, "Something went wrong."));
|
|
1490
1495
|
} finally {
|
|
1491
1496
|
setBusy(false);
|
|
1497
|
+
setRecoveryRevision((revision) => revision + 1);
|
|
1492
1498
|
}
|
|
1493
1499
|
},
|
|
1494
1500
|
[store]
|
|
@@ -1507,12 +1513,14 @@ function useQuest(observed) {
|
|
|
1507
1513
|
await (await relay.quests.open(current)).discard();
|
|
1508
1514
|
setDiscardedAttempt(current.attempt?.id ?? null);
|
|
1509
1515
|
setSaved("none");
|
|
1516
|
+
setRetired(false);
|
|
1510
1517
|
setDraft(null);
|
|
1511
1518
|
setNotice(null);
|
|
1512
1519
|
} catch (cause) {
|
|
1513
1520
|
setError(asRelayError(cause, "Could not start a new submission."));
|
|
1514
1521
|
} finally {
|
|
1515
1522
|
setBusy(false);
|
|
1523
|
+
setRecoveryRevision((revision) => revision + 1);
|
|
1516
1524
|
}
|
|
1517
1525
|
},
|
|
1518
1526
|
submit: (input) => run(async () => {
|
|
@@ -1573,12 +1581,25 @@ function useQuest(observed) {
|
|
|
1573
1581
|
error,
|
|
1574
1582
|
busy,
|
|
1575
1583
|
saved,
|
|
1584
|
+
/** Review and explicitly restart this terminally retired saved submission. */
|
|
1585
|
+
retired,
|
|
1576
1586
|
/** The attempt the last "received" notice is about. */
|
|
1577
1587
|
receipt,
|
|
1578
1588
|
startingFresh,
|
|
1579
1589
|
...actions
|
|
1580
1590
|
}),
|
|
1581
|
-
[
|
|
1591
|
+
[
|
|
1592
|
+
view,
|
|
1593
|
+
draft,
|
|
1594
|
+
notice,
|
|
1595
|
+
error,
|
|
1596
|
+
busy,
|
|
1597
|
+
saved,
|
|
1598
|
+
retired,
|
|
1599
|
+
receipt,
|
|
1600
|
+
startingFresh,
|
|
1601
|
+
actions
|
|
1602
|
+
]
|
|
1582
1603
|
);
|
|
1583
1604
|
}
|
|
1584
1605
|
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as AccountRole, j as AppIdentityKind, A as Attempt, a as AttemptStatus, B as Bound, C as Condition, k as ContentBody, l as ContentMetricName, m as ContentPerformanceSnapshot, D as DataLeaves, n as Decision, E as Entitlement, o as EntitlementCorrection, p as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, q as KnownIdentityKind, c as KnownTrackerSkipCode, r as MemberIdentity, s as MemberPage, M as MemberProgress, O as OpenIdentityKind, P as PhotoResult, t as PickupAvailability, u as PublishedRelease, v as QuestAvailability, Q as QuestBudgetView, w as QuestDescription, d as QuestPresentation, e as QuestProfile, x as QuestSettingsInput, f as QuizEvidence, y as ReleaseInput, z as ReviewPage, R as Reward, F as RoleOf, G as Snapshot, H as SourceRoles, S as SubmissionEvidence, g as SubmitInput, J as TextResult, L as TextReviewInput, N as TieredRewardDefinition, T as TieredRewardReference, U as Tracker, V as TrackerAccount, W as TrackerAttribution, X as TrackerBound, Y as TrackerCondition, Z as TrackerContent, _ as TrackerContentQuery, $ as TrackerData, a0 as TrackerDataIssue, a1 as TrackerDataSchema, a2 as TrackerDefinition, a3 as TrackerDefinitionResponse, a4 as TrackerOutcome, a5 as TrackerOutcomeQuery, a6 as TrackerPage, a7 as TrackerPreview, a8 as TrackerPreviewInput, a9 as TrackerQuery, aa as TrackerReadQuery, ab as TrackerReader, ac as TrackerRecord, h as TrackerSkipCode, ad as TrackerSource, ae as TrackerSourceKind, af as TrackerSourceResponse, ag as TrackerStatus, ah as TrackerTriggerContext, ai as TrackerTriggerMode, aj as TrackerTriggerPolicy, ak as TrackerWhere, al as TriggerEnrollment, am as TriggerHistorical, an as TriggerSince, ao as TypedTrackerRecord, ap as Where, aq as WhereSetting, ar as WithAccountRoles, as as WithContent, at as WithRecordData, au as XContentMetric, av as XTweet, aw as accountRoleSchema, ax as appIdentityKindSchema, ay as artifactSchema, az as attemptSchema, aA as batchReleaseSchema, aB as beginHandoverSchema, aC as beneficiaryRole, aD as completionRecordSchema, aE as configurePickupSchema, aF as confirmHandoverSchema, aG as contentMetricNameSchema, aH as contentPerformancePageSchema, aI as contentPerformanceQuerySchema, aJ as contentPerformanceSnapshotSchema, aK as createStockItemSchema, aL as customContentSchema, aM as customSourceSchema, aN as decisionSchema, aO as defaultTriggerMode, aP as deferPolicy, aQ as entitlementCorrectionSchema, aR as entitlementRecoverySchema, aS as entitlementSchema, aT as entitlementStateSchema, aU as errorSchema, aV as evaluatorProgressSchema, aW as evaluatorProtocol, aX as evaluatorProtocolSchema, aY as eventSchema, aZ as evidenceSchema, a_ as identityKindSchema, a$ as integrationRewardSchema, b0 as isAppIdentityKind, b1 as isKnownTrackerSource, b2 as knownIdentityKinds, b3 as mediaUrlSchema, b4 as memberIdentitySchema, b5 as memberListSchema, b6 as memberPageSchema, b7 as memberProgressSchema, b8 as openIdentityKindSchema, b9 as photoResultSchema, ba as pickupAllocationSchema, bb as pickupAvailabilitySchema, bc as pickupCatalogSchema, bd as pickupPolicySchema, be as pickupSelectionSchema, bf as pointsRewardSchema, bg as publishedReleaseSchema, bh as publishedTrackerSchema, bi as questAvailabilitySchema, bj as questBudgetViewSchema, bk as questDescriptionSchema, bl as questPresentationSchema, bm as questProfileSchema, bn as questSettingsInputSchema, bo as quizAnswersSchema, bp as quizEvidenceSchema, bq as releaseSchema, br as reservationSchema, bs as reviewItemSchema, bt as reviewListSchema, bu as reviewModeSchema, bv as reviewPageSchema, bw as rewardBundleSchema, bx as rewardKey, by as rewardSchema, bz as snapshotSchema, bA as sourceContent, bB as sourceIdentities, bC as staffDecisionSchema, bD as stockItemSchema, bE as stockSchema, bF as storedQuestDescriptionSchema, bG as storedReviewModeSchema, bH as submissionEvidenceSchema, bI as submitSchema, bJ as templateSchema, bK as textResultSchema, bL as textReviewInputSchema, bM as tierRewardSchema, bN as tieredRewardDefinitionSchema, bO as tieredRewardReferenceSchema, bP as trackerAccountSchema, bQ as trackerArtifactSchema, bR as trackerAttributionSchema, bS as trackerBoundSchema, bT as trackerConditionSchema, bU as trackerContentQuerySchema, bV as trackerContentReadSchema, bW as trackerContentSchema, bX as trackerContentStageSchema, bY as trackerControlSchema, bZ as trackerDataMaxBranches, b_ as trackerDataMaxEntries, b$ as trackerDataSchemaSchema, c0 as trackerDefinitionResponseSchema, c1 as trackerDefinitionSchema, c2 as trackerEvidenceSchema, c3 as trackerIngestResultSchema, c4 as trackerIngestSchema, c5 as trackerOutcomePageSchema, c6 as trackerOutcomeQuerySchema, c7 as trackerOutcomeRetrySchema, c8 as trackerOutcomeSchema, c9 as trackerPageSchema, ca as trackerPreviewInputSchema, cb as trackerPreviewLimits, cc as trackerPreviewSchema, cd as trackerQuerySchema, ce as trackerRecordAccountSchema, cf as trackerRecordInputSchema, cg as trackerRecordSchema, ch as trackerSkipCodes, ci as trackerSourceKinds, cj as trackerSourceResponseSchema, ck as trackerSourceSchema, cl as trackerStatusSchema, cm as trackerSummarySchema, cn as trackerTriggerContextSchema, co as trackerTriggerModeSchema, cp as trackerTriggerPolicySchema, cq as trackerTriggerRecordSchema, cr as trackerWhereSchema, cs as triggerAdmission, ct as triggerEnrollmentSchema, cu as triggerHistoricalSchema, cv as triggerMode, cw as triggerSchema, cx as triggerSinceSchema, cy as whereConditions, cz as whereSettings, cA as xAccountRoles, cB as xContentBodySchema, cC as xContentMetrics, cD as xSearchSourceSchema, cE as xTweetSchema } from './schema-DfJzH2ci.js';
|
|
2
2
|
export { A as AccountConnection, a as AuthProvider, D as DiscordMember, d as DiscordMessage, e as DiscordMessageData, f as DiscordMessageTextData, g as DiscordReactionData, h as DiscordReader, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence, i as accountConnectionSchema, j as authProviderSchema, k as balanceAtLeast, l as balancePrerequisiteSchema, m as completed, n as completionPrerequisiteSchema, o as discordMemberInputSchema, p as discordMemberSchema, q as discordMessageDataSchema, r as discordMessageInputSchema, s as discordMessageSchema, t as discordMessageTextDataSchema, u as discordMessagesSourceSchema, v as discordReactionDataSchema, w as discordReactionsSourceSchema, x as discordResourceSourceSchema, y as discordRewardSchema, z as groupPrerequisiteSchema, B as inGroup, C as missingPrerequisiteSchema, E as prerequisiteSchema, F as textEvidenceSchema, G as textOptionsSchema, H as urlEvidenceSchema, I as urlOptionsSchema, J as validateSubmissionValue, K as valueEvidenceSchema, L as xPostId } from './submission-input-BZkm6ohU.js';
|
|
3
3
|
export { E as ExchangeInput, M as MemberSummary, P as Page, a as PageQuery, b as ParticipantActivity, c as ParticipantPrincipal, d as ParticipantSession, R as RelayEvent, S as Session, e as authScopeSchema, f as exchangeResultSchema, g as exchangeSchema, k as knownRelayEventSchema, m as memberSummarySchema, p as pageCursorSchema, h as pageQuerySchema, i as participantActivityQuerySchema, j as participantActivitySchema, l as participantPrincipalSchema, n as participantSessionSchema, o as principalSchema, r as relayEventSchema, s as sessionMember, q as sessionSchema } from './pages-BBYD21IE.js';
|
|
4
|
-
export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentPreviewSchema, h as deploymentRecordSchema, i as deploymentResultSchema, j as deploymentSourceSchema, p as projectCalendarDeclarationSchema, k as projectCalendarInputSchema, l as projectCalendarSchema, m as projectCatalogArtifactSchema, n as projectDeploymentSchema, o as promoteDeploymentSchema, q as publishDeploymentSchema, r as refuseStreakTimeZone, s as refuseWindowTimeZone, t as rejectDeploymentSchema, u as rollbackDeploymentSchema, v as submitDeploymentSchema, w as timeZoneNameSchema, x as timeZoneSchema } from './activity-
|
|
4
|
+
export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentPreviewSchema, h as deploymentRecordSchema, i as deploymentResultSchema, j as deploymentSourceSchema, p as projectCalendarDeclarationSchema, k as projectCalendarInputSchema, l as projectCalendarSchema, m as projectCatalogArtifactSchema, n as projectDeploymentSchema, o as promoteDeploymentSchema, q as publishDeploymentSchema, r as refuseStreakTimeZone, s as refuseWindowTimeZone, t as rejectDeploymentSchema, u as rollbackDeploymentSchema, v as submitDeploymentSchema, w as timeZoneNameSchema, x as timeZoneSchema } from './activity-o1E-Hqyt.js';
|
|
5
5
|
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, q as EngagementDefinition, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, r as LeaderboardSettlement, s as LeaderboardSettlementPolicy, t as LeaderboardSettlementSummary, u as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, v as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, w as availabilityWindowSchema, x as campaignDefinitionSchema, y as campaignEnrollmentInputSchema, z as campaignEnrollmentSchema, B as campaignViewSchema, D as campaignWithdrawalInputSchema, F as createPointLedgerSchema, G as defineCampaign, H as defineGroup, I as engagementArtifactSchema, J as engagementBoundaryPageSchema, N as engagementBudgetSchema, O as engagementChangePreviewInputSchema, Q as engagementChangePreviewSchema, S as engagementChangeSchema, T as engagementDefinitionSchema, U as engagementDeploymentEntrySchema, V as engagementPageQuerySchema, W as engagementPageSchema, X as engagementPublishSchema, Y as engagementRuleSchema, Z as engagementScoreInputSchema, _ as engagementScoreSchema, $ as engagementSettlementSchema, a0 as engagementVersionPageSchema, a1 as engagementVersionQuerySchema, a2 as leaderboardArtifactSchema, a3 as leaderboardAuthoringSchema, a4 as leaderboardDefinitionSchema, a5 as leaderboardExclusionSchema, a6 as leaderboardGroupSchema, a7 as leaderboardPageSchema, a8 as leaderboardPlacementSchema, a9 as leaderboardPreviewSchema, aa as leaderboardPrizeRewardSchema, ab as leaderboardPrizeSchema, ac as leaderboardQuerySchema, ad as leaderboardRowSchema, ae as leaderboardSettlementApprovalSchema, af as leaderboardSettlementPolicySchema, ag as leaderboardSettlementRowSchema, ah as leaderboardSettlementSchema, ai as leaderboardSettlementStatusSchema, aj as leaderboardSettlementSummarySchema, ak as leaderboardWindowSchema, al as managedPointLedgerSchema, am as memberCampaignEnrollmentInputSchema, an as memberCampaignWithdrawalInputSchema, ao as pointBalanceSchema, ap as pointBalancesSchema, aq as pointEntrySchema, ar as pointHistoryPageSchema, as as pointHistoryQuerySchema, at as pointLedgerArtifactSchema, au as pointLedgerDeclarationSchema, av as pointLedgerPropertiesSchema, aw as pointLedgerReferenceSchema, ax as pointLedgerSchema, ay as pointsAccountSchema, az as pointsEntrySchema, aA as pointsMutationSchema, aB as pointsResultSchema, aC as projectGroupKey, aD as projectGroupSchema, aE as publishedLeaderboardSchema, aF as publishedReferralSchema, aG as referralAcceptSchema, aH as referralAccountSchema, aI as referralArtifactSchema, aJ as referralAuthoringSchema, aK as referralControlSchema, aL as referralDefinitionSchema, aM as referralHistorySchema, aN as referralManagementSchema, aO as referralRelationshipSchema, aP as referralSummarySchema } from './groups-Ck-OxzjD.js';
|
|
6
6
|
export { C as ContentMetric, j as ContentPerformancePolicy, M as MemberEnrollmentInput, k as QuestCatalog, Q as QuestClaimInput, l as QuestDraft, a as QuestEnrollment, b as QuestEnrollmentInput, m as QuestInstance, c as QuestInteraction, d as QuestOutcome, e as QuestOutcomePage, f as QuestOutcomeQuery, g as QuestOutcomeState, h as QuestRewardView, i as QuestView, R as RewardDelivery, n as RewardDeliveryAction, o as allocateQuestSchema, p as allocatedQuestSchema, q as catalogDeploymentPreviewSchema, r as catalogDeploymentSchema, s as collectionSlotDeclarationSchema, t as collectionSlotSchema, u as collectionViewSchema, v as contentMetricSchema, w as contentMetricsSchema, x as contentPerformancePolicySchema, y as contentQualificationDecisionSchema, z as contentQualificationPageSchema, A as contentQualificationQuerySchema, B as contentQualificationSchema, D as interactionSchema, E as knownRewardDeliverySchema, F as memberEnrollmentInputSchema, G as publishQuestDraftSchema, H as questCatalogSchema, I as questClaimInputSchema, J as questCollectionSchema, K as questDraftChangesSchema, L as questDraftSchema, N as questEnrollmentInputSchema, O as questEnrollmentSchema, P as questExperienceSchema, S as questInstanceSchema, T as questInteraction, U as questOutcomePageSchema, V as questOutcomeQuerySchema, W as questOutcomeSchema, X as questPublicationPreviewSchema, Y as questRewardViewSchema, Z as questTypeVersionSchema, _ as questViewSchema, $ as rewardDeliveriesSchema, a0 as rewardDeliverySchema, a1 as roleReconciliationSchema, a2 as saveQuestDraftSchema } from './outcomes-kVB-Juzs.js';
|
|
7
7
|
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress, f as automaticCatchUpConfirmSchema, g as automaticCatchUpInputSchema, h as automaticCatchUpPreviewSchema, i as automaticCatchUpResultSchema, j as automaticEventSchema, k as automaticOutcomePageSchema, l as automaticOutcomeQuerySchema, m as automaticOutcomeSchema, n as automaticSchedulingPageSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, q as automaticSchedulingSchema, r as collectionBeginSchema, s as collectionCodeSchema, t as collectionPassSchema, u as collectionPreviewSchema, v as collectionResolveSchema, w as counterAchievementSchema, x as counterContributionSchema, y as counterGoalSchema, z as counterHistoryQuerySchema, B as counterHistorySchema, D as counterModerationResultSchema, E as counterModerationSchema, F as counterPolicySchema, G as counterProgressSchema, H as counterWindowSchema } from './automatic-outcomes-B1xrETxm.js';
|