@domino-sdk/relay 0.8.0 → 0.9.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.js +2 -2
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +4 -4
- package/dist/{chunk-2BN7XZH3.js → chunk-MVDE7WKB.js} +1 -1
- package/dist/{chunk-XVHWBZRG.js → chunk-Q5VDZVVO.js} +1 -1
- package/dist/{chunk-Z43O273V.js → chunk-XTFCKK2Y.js} +5 -3
- package/dist/{chunk-APMYDKEX.js → chunk-Y6H4HDQT.js} +5 -4
- package/dist/index.d.ts +25 -41
- package/dist/index.js +6 -4
- package/dist/portal-proxy.js +2 -2
- package/dist/schema.d.ts +13 -18
- package/dist/schema.js +3 -1
- package/package.json +1 -1
package/dist/authoring.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
authoringKey,
|
|
3
3
|
defineLeaderboard,
|
|
4
4
|
defineReferral
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Q5VDZVVO.js";
|
|
6
6
|
import {
|
|
7
7
|
budgetSchema,
|
|
8
8
|
decisionSchema,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
settings,
|
|
19
19
|
tierRewardSchema,
|
|
20
20
|
tieredRewardDefinitionSchema
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XTFCKK2Y.js";
|
|
22
22
|
|
|
23
23
|
// src/authoring.ts
|
|
24
24
|
import { z } from "zod";
|
package/dist/browser.d.ts
CHANGED
|
@@ -1940,7 +1940,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1940
1940
|
};
|
|
1941
1941
|
}[];
|
|
1942
1942
|
code: string;
|
|
1943
|
-
provider: "
|
|
1943
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
1944
1944
|
id: string;
|
|
1945
1945
|
createdAt: number;
|
|
1946
1946
|
legacy: boolean;
|
|
@@ -2277,7 +2277,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2277
2277
|
};
|
|
2278
2278
|
}[];
|
|
2279
2279
|
code: string;
|
|
2280
|
-
provider: "
|
|
2280
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2281
2281
|
id: string;
|
|
2282
2282
|
createdAt: number;
|
|
2283
2283
|
legacy: boolean;
|
|
@@ -2468,7 +2468,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2468
2468
|
};
|
|
2469
2469
|
}[];
|
|
2470
2470
|
code: string;
|
|
2471
|
-
provider: "
|
|
2471
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2472
2472
|
id: string;
|
|
2473
2473
|
createdAt: number;
|
|
2474
2474
|
legacy: boolean;
|
package/dist/browser.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Y6H4HDQT.js";
|
|
4
|
+
import "./chunk-Q5VDZVVO.js";
|
|
5
|
+
import "./chunk-MVDE7WKB.js";
|
|
6
|
+
import "./chunk-XTFCKK2Y.js";
|
|
7
7
|
|
|
8
8
|
// src/browser.ts
|
|
9
9
|
function createBrowserRelayClient(options) {
|
|
@@ -405,7 +405,8 @@ var decisionSchema = z8.discriminatedUnion("kind", [
|
|
|
405
405
|
completionKey: completionKeySchema.optional()
|
|
406
406
|
}).strict()
|
|
407
407
|
]);
|
|
408
|
-
var reviewModeSchema = z8.enum([
|
|
408
|
+
var reviewModeSchema = z8.enum(["workers-ai"]);
|
|
409
|
+
var storedReviewModeSchema = z8.enum([
|
|
409
410
|
"fixture-pass",
|
|
410
411
|
"fixture-fail",
|
|
411
412
|
"fixture-unclear",
|
|
@@ -470,7 +471,7 @@ var questSettingsInputSchema = z8.object({
|
|
|
470
471
|
var storedReleaseSchema = questDescriptionSchema.extend({
|
|
471
472
|
key: identifier.optional(),
|
|
472
473
|
code: z8.string(),
|
|
473
|
-
provider:
|
|
474
|
+
provider: storedReviewModeSchema,
|
|
474
475
|
id: identifier,
|
|
475
476
|
createdAt: z8.number(),
|
|
476
477
|
legacy: z8.boolean().default(false),
|
|
@@ -489,7 +490,7 @@ var legacyReleaseSchema = z8.object({
|
|
|
489
490
|
humanReview: z8.boolean(),
|
|
490
491
|
rewards: rewardBundleSchema,
|
|
491
492
|
code: z8.string(),
|
|
492
|
-
provider:
|
|
493
|
+
provider: storedReviewModeSchema,
|
|
493
494
|
id: identifier,
|
|
494
495
|
createdAt: z8.number()
|
|
495
496
|
}).transform((r) => {
|
|
@@ -818,6 +819,7 @@ export {
|
|
|
818
819
|
photoResultSchema,
|
|
819
820
|
decisionSchema,
|
|
820
821
|
reviewModeSchema,
|
|
822
|
+
storedReviewModeSchema,
|
|
821
823
|
rewardBundleSchema,
|
|
822
824
|
mediaUrlSchema,
|
|
823
825
|
questPresentationSchema,
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
referralHistorySchema,
|
|
14
14
|
referralSummarySchema,
|
|
15
15
|
validateAuthoringIdentity
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q5VDZVVO.js";
|
|
17
17
|
import {
|
|
18
18
|
authScopeSchema,
|
|
19
19
|
exchangeResultSchema,
|
|
20
20
|
sessionSchema
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MVDE7WKB.js";
|
|
22
22
|
import {
|
|
23
23
|
accountConnectionSchema,
|
|
24
24
|
attemptSchema,
|
|
@@ -41,8 +41,9 @@ import {
|
|
|
41
41
|
reviewPageSchema,
|
|
42
42
|
settingsValuesSchema,
|
|
43
43
|
snapshotSchema,
|
|
44
|
+
storedReviewModeSchema,
|
|
44
45
|
templateSchema
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XTFCKK2Y.js";
|
|
46
47
|
|
|
47
48
|
// src/point-ledgers.ts
|
|
48
49
|
import { z } from "zod";
|
|
@@ -95,7 +96,7 @@ var questTypeVersionSchema = z3.object({
|
|
|
95
96
|
version: identifier,
|
|
96
97
|
code: z3.string(),
|
|
97
98
|
definition: questDescriptionSchema,
|
|
98
|
-
provider:
|
|
99
|
+
provider: storedReviewModeSchema,
|
|
99
100
|
createdAt: z3.number()
|
|
100
101
|
});
|
|
101
102
|
var collectionSlotSchema = z3.object({
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema } from './schema.js';
|
|
3
|
-
export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
3
|
+
export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
4
4
|
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, e as walletProofSchema, f as AuthProvider } from './settings-BA8XjT4m.js';
|
|
5
5
|
export { g as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, h as LeaderboardDefinition, i as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, j as ResourceOption, k as ResourceSource, l as SettingField, m as SettingsValues, S as SolanaBalance, W as WalletConnection, n as accountConnectionSchema, q as authProviderSchema, t as budgetSchema, u as compatibleSettingKinds, v as completionKeySchema, x as completionPolicySchema, d as defineLeaderboard, b as defineReferral, c as discord, y as discordMemberInputSchema, z as discordMemberSchema, C as discordMessageInputSchema, E as discordMessageSchema, F as discordReactionSchema, G as discordServerSchema, H as integrationProviderSchema, J as leaderboardArtifactSchema, K as leaderboardAuthoringSchema, M as leaderboardDefinitionSchema, N as leaderboardExclusionSchema, T as leaderboardGroupSchema, U as leaderboardPageSchema, V as leaderboardPreviewSchema, X as leaderboardQuerySchema, Y as leaderboardRowSchema, Z as leaderboardWindowSchema, _ as missingResourceSettings, $ as observationInputSchema, a0 as observationReceiptSchema, a1 as observationSchema, o as observationTriggerSchema, a2 as parseSettings, p as pointLedgers, a3 as pointsAccountSchema, a4 as pointsEntrySchema, a5 as pointsMutationSchema, a6 as pointsResultSchema, a7 as projectIntegrationSchema, a8 as publishedLeaderboardSchema, a9 as publishedReferralSchema, aa as quizChoiceSchema, ab as quizContentSchema, ac as quizQuestionSchema, ad as quizQuestionsSchema, ae as referralAccountSchema, af as referralArtifactSchema, ag as referralAuthoringSchema, ah as referralControlSchema, ai as referralDefinitionSchema, aj as referralHistorySchema, ak as referralManagementSchema, al as referralRelationshipSchema, am as referralSummarySchema, an as resourceOptionsSchema, ao as resourceRequestSchema, ap as resourceSourceSchema, aq as settingFieldSchema, s as settings, ar as settingsFieldsSchema, as as settingsValuesSchema, at as solanaAddressSchema, au as solanaBalanceSchema, av as walletChallengeSchema, aw as walletConnectionSchema } from './settings-BA8XjT4m.js';
|
|
6
6
|
|
|
@@ -385,11 +385,11 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
385
385
|
}, z.core.$strict>>>;
|
|
386
386
|
}, z.core.$strict>;
|
|
387
387
|
provider: z.ZodEnum<{
|
|
388
|
+
"workers-ai": "workers-ai";
|
|
388
389
|
"fixture-pass": "fixture-pass";
|
|
389
390
|
"fixture-fail": "fixture-fail";
|
|
390
391
|
"fixture-unclear": "fixture-unclear";
|
|
391
392
|
"fixture-error": "fixture-error";
|
|
392
|
-
"workers-ai": "workers-ai";
|
|
393
393
|
}>;
|
|
394
394
|
createdAt: z.ZodNumber;
|
|
395
395
|
}, z.core.$strip>;
|
|
@@ -727,11 +727,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
727
727
|
}, z.core.$strict>>>;
|
|
728
728
|
}, z.core.$strict>;
|
|
729
729
|
provider: z.ZodEnum<{
|
|
730
|
+
"workers-ai": "workers-ai";
|
|
730
731
|
"fixture-pass": "fixture-pass";
|
|
731
732
|
"fixture-fail": "fixture-fail";
|
|
732
733
|
"fixture-unclear": "fixture-unclear";
|
|
733
734
|
"fixture-error": "fixture-error";
|
|
734
|
-
"workers-ai": "workers-ai";
|
|
735
735
|
}>;
|
|
736
736
|
createdAt: z.ZodNumber;
|
|
737
737
|
}, z.core.$strip>>;
|
|
@@ -1014,11 +1014,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1014
1014
|
key: z.ZodOptional<z.ZodString>;
|
|
1015
1015
|
code: z.ZodString;
|
|
1016
1016
|
provider: z.ZodEnum<{
|
|
1017
|
+
"workers-ai": "workers-ai";
|
|
1017
1018
|
"fixture-pass": "fixture-pass";
|
|
1018
1019
|
"fixture-fail": "fixture-fail";
|
|
1019
1020
|
"fixture-unclear": "fixture-unclear";
|
|
1020
1021
|
"fixture-error": "fixture-error";
|
|
1021
|
-
"workers-ai": "workers-ai";
|
|
1022
1022
|
}>;
|
|
1023
1023
|
id: z.ZodString;
|
|
1024
1024
|
createdAt: z.ZodNumber;
|
|
@@ -1086,11 +1086,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1086
1086
|
}, z.core.$strict>]>>;
|
|
1087
1087
|
code: z.ZodString;
|
|
1088
1088
|
provider: z.ZodEnum<{
|
|
1089
|
+
"workers-ai": "workers-ai";
|
|
1089
1090
|
"fixture-pass": "fixture-pass";
|
|
1090
1091
|
"fixture-fail": "fixture-fail";
|
|
1091
1092
|
"fixture-unclear": "fixture-unclear";
|
|
1092
1093
|
"fixture-error": "fixture-error";
|
|
1093
|
-
"workers-ai": "workers-ai";
|
|
1094
1094
|
}>;
|
|
1095
1095
|
id: z.ZodString;
|
|
1096
1096
|
createdAt: z.ZodNumber;
|
|
@@ -1254,7 +1254,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1254
1254
|
};
|
|
1255
1255
|
}[];
|
|
1256
1256
|
code: string;
|
|
1257
|
-
provider: "
|
|
1257
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
1258
1258
|
id: string;
|
|
1259
1259
|
createdAt: number;
|
|
1260
1260
|
legacy: boolean;
|
|
@@ -1317,7 +1317,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1317
1317
|
roleId: string;
|
|
1318
1318
|
})[];
|
|
1319
1319
|
code: string;
|
|
1320
|
-
provider: "
|
|
1320
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
1321
1321
|
id: string;
|
|
1322
1322
|
createdAt: number;
|
|
1323
1323
|
}>>]>>>;
|
|
@@ -1334,10 +1334,6 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1334
1334
|
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1335
1335
|
code: z.ZodString;
|
|
1336
1336
|
provider: z.ZodEnum<{
|
|
1337
|
-
"fixture-pass": "fixture-pass";
|
|
1338
|
-
"fixture-fail": "fixture-fail";
|
|
1339
|
-
"fixture-unclear": "fixture-unclear";
|
|
1340
|
-
"fixture-error": "fixture-error";
|
|
1341
1337
|
"workers-ai": "workers-ai";
|
|
1342
1338
|
}>;
|
|
1343
1339
|
}, z.core.$strip>>>;
|
|
@@ -1553,11 +1549,11 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1553
1549
|
}, z.core.$strict>>>;
|
|
1554
1550
|
}, z.core.$strict>;
|
|
1555
1551
|
provider: z.ZodEnum<{
|
|
1552
|
+
"workers-ai": "workers-ai";
|
|
1556
1553
|
"fixture-pass": "fixture-pass";
|
|
1557
1554
|
"fixture-fail": "fixture-fail";
|
|
1558
1555
|
"fixture-unclear": "fixture-unclear";
|
|
1559
1556
|
"fixture-error": "fixture-error";
|
|
1560
|
-
"workers-ai": "workers-ai";
|
|
1561
1557
|
}>;
|
|
1562
1558
|
createdAt: z.ZodNumber;
|
|
1563
1559
|
}, z.core.$strip>>;
|
|
@@ -2552,11 +2548,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2552
2548
|
key: z.ZodOptional<z.ZodString>;
|
|
2553
2549
|
code: z.ZodString;
|
|
2554
2550
|
provider: z.ZodEnum<{
|
|
2551
|
+
"workers-ai": "workers-ai";
|
|
2555
2552
|
"fixture-pass": "fixture-pass";
|
|
2556
2553
|
"fixture-fail": "fixture-fail";
|
|
2557
2554
|
"fixture-unclear": "fixture-unclear";
|
|
2558
2555
|
"fixture-error": "fixture-error";
|
|
2559
|
-
"workers-ai": "workers-ai";
|
|
2560
2556
|
}>;
|
|
2561
2557
|
id: z.ZodString;
|
|
2562
2558
|
createdAt: z.ZodNumber;
|
|
@@ -2624,11 +2620,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2624
2620
|
}, z.core.$strict>]>>;
|
|
2625
2621
|
code: z.ZodString;
|
|
2626
2622
|
provider: z.ZodEnum<{
|
|
2623
|
+
"workers-ai": "workers-ai";
|
|
2627
2624
|
"fixture-pass": "fixture-pass";
|
|
2628
2625
|
"fixture-fail": "fixture-fail";
|
|
2629
2626
|
"fixture-unclear": "fixture-unclear";
|
|
2630
2627
|
"fixture-error": "fixture-error";
|
|
2631
|
-
"workers-ai": "workers-ai";
|
|
2632
2628
|
}>;
|
|
2633
2629
|
id: z.ZodString;
|
|
2634
2630
|
createdAt: z.ZodNumber;
|
|
@@ -2792,7 +2788,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2792
2788
|
};
|
|
2793
2789
|
}[];
|
|
2794
2790
|
code: string;
|
|
2795
|
-
provider: "
|
|
2791
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2796
2792
|
id: string;
|
|
2797
2793
|
createdAt: number;
|
|
2798
2794
|
legacy: boolean;
|
|
@@ -2855,7 +2851,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2855
2851
|
roleId: string;
|
|
2856
2852
|
})[];
|
|
2857
2853
|
code: string;
|
|
2858
|
-
provider: "
|
|
2854
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2859
2855
|
id: string;
|
|
2860
2856
|
createdAt: number;
|
|
2861
2857
|
}>>]>>;
|
|
@@ -3104,10 +3100,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3104
3100
|
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3105
3101
|
code: z.ZodString;
|
|
3106
3102
|
provider: z.ZodEnum<{
|
|
3107
|
-
"fixture-pass": "fixture-pass";
|
|
3108
|
-
"fixture-fail": "fixture-fail";
|
|
3109
|
-
"fixture-unclear": "fixture-unclear";
|
|
3110
|
-
"fixture-error": "fixture-error";
|
|
3111
3103
|
"workers-ai": "workers-ai";
|
|
3112
3104
|
}>;
|
|
3113
3105
|
}, z.core.$strip>>>;
|
|
@@ -3579,10 +3571,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3579
3571
|
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3580
3572
|
code: z.ZodString;
|
|
3581
3573
|
provider: z.ZodEnum<{
|
|
3582
|
-
"fixture-pass": "fixture-pass";
|
|
3583
|
-
"fixture-fail": "fixture-fail";
|
|
3584
|
-
"fixture-unclear": "fixture-unclear";
|
|
3585
|
-
"fixture-error": "fixture-error";
|
|
3586
3574
|
"workers-ai": "workers-ai";
|
|
3587
3575
|
}>;
|
|
3588
3576
|
}, z.core.$strip>>>;
|
|
@@ -4060,10 +4048,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4060
4048
|
correct: z.ZodString;
|
|
4061
4049
|
}, z.core.$strict>>]>>;
|
|
4062
4050
|
provider: z.ZodEnum<{
|
|
4063
|
-
"fixture-pass": "fixture-pass";
|
|
4064
|
-
"fixture-fail": "fixture-fail";
|
|
4065
|
-
"fixture-unclear": "fixture-unclear";
|
|
4066
|
-
"fixture-error": "fixture-error";
|
|
4067
4051
|
"workers-ai": "workers-ai";
|
|
4068
4052
|
}>;
|
|
4069
4053
|
expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4261,11 +4245,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4261
4245
|
key: z.ZodOptional<z.ZodString>;
|
|
4262
4246
|
code: z.ZodString;
|
|
4263
4247
|
provider: z.ZodEnum<{
|
|
4248
|
+
"workers-ai": "workers-ai";
|
|
4264
4249
|
"fixture-pass": "fixture-pass";
|
|
4265
4250
|
"fixture-fail": "fixture-fail";
|
|
4266
4251
|
"fixture-unclear": "fixture-unclear";
|
|
4267
4252
|
"fixture-error": "fixture-error";
|
|
4268
|
-
"workers-ai": "workers-ai";
|
|
4269
4253
|
}>;
|
|
4270
4254
|
id: z.ZodString;
|
|
4271
4255
|
createdAt: z.ZodNumber;
|
|
@@ -4333,11 +4317,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4333
4317
|
}, z.core.$strict>]>>;
|
|
4334
4318
|
code: z.ZodString;
|
|
4335
4319
|
provider: z.ZodEnum<{
|
|
4320
|
+
"workers-ai": "workers-ai";
|
|
4336
4321
|
"fixture-pass": "fixture-pass";
|
|
4337
4322
|
"fixture-fail": "fixture-fail";
|
|
4338
4323
|
"fixture-unclear": "fixture-unclear";
|
|
4339
4324
|
"fixture-error": "fixture-error";
|
|
4340
|
-
"workers-ai": "workers-ai";
|
|
4341
4325
|
}>;
|
|
4342
4326
|
id: z.ZodString;
|
|
4343
4327
|
createdAt: z.ZodNumber;
|
|
@@ -4501,7 +4485,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4501
4485
|
};
|
|
4502
4486
|
}[];
|
|
4503
4487
|
code: string;
|
|
4504
|
-
provider: "
|
|
4488
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
4505
4489
|
id: string;
|
|
4506
4490
|
createdAt: number;
|
|
4507
4491
|
legacy: boolean;
|
|
@@ -4564,7 +4548,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4564
4548
|
roleId: string;
|
|
4565
4549
|
})[];
|
|
4566
4550
|
code: string;
|
|
4567
|
-
provider: "
|
|
4551
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
4568
4552
|
id: string;
|
|
4569
4553
|
createdAt: number;
|
|
4570
4554
|
}>>]>>;
|
|
@@ -4755,11 +4739,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4755
4739
|
}, z.core.$strict>>>;
|
|
4756
4740
|
}, z.core.$strict>;
|
|
4757
4741
|
provider: z.ZodEnum<{
|
|
4742
|
+
"workers-ai": "workers-ai";
|
|
4758
4743
|
"fixture-pass": "fixture-pass";
|
|
4759
4744
|
"fixture-fail": "fixture-fail";
|
|
4760
4745
|
"fixture-unclear": "fixture-unclear";
|
|
4761
4746
|
"fixture-error": "fixture-error";
|
|
4762
|
-
"workers-ai": "workers-ai";
|
|
4763
4747
|
}>;
|
|
4764
4748
|
createdAt: z.ZodNumber;
|
|
4765
4749
|
}, z.core.$strip>>;
|
|
@@ -5212,11 +5196,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5212
5196
|
key: z.ZodOptional<z.ZodString>;
|
|
5213
5197
|
code: z.ZodString;
|
|
5214
5198
|
provider: z.ZodEnum<{
|
|
5199
|
+
"workers-ai": "workers-ai";
|
|
5215
5200
|
"fixture-pass": "fixture-pass";
|
|
5216
5201
|
"fixture-fail": "fixture-fail";
|
|
5217
5202
|
"fixture-unclear": "fixture-unclear";
|
|
5218
5203
|
"fixture-error": "fixture-error";
|
|
5219
|
-
"workers-ai": "workers-ai";
|
|
5220
5204
|
}>;
|
|
5221
5205
|
id: z.ZodString;
|
|
5222
5206
|
createdAt: z.ZodNumber;
|
|
@@ -5284,11 +5268,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5284
5268
|
}, z.core.$strict>]>>;
|
|
5285
5269
|
code: z.ZodString;
|
|
5286
5270
|
provider: z.ZodEnum<{
|
|
5271
|
+
"workers-ai": "workers-ai";
|
|
5287
5272
|
"fixture-pass": "fixture-pass";
|
|
5288
5273
|
"fixture-fail": "fixture-fail";
|
|
5289
5274
|
"fixture-unclear": "fixture-unclear";
|
|
5290
5275
|
"fixture-error": "fixture-error";
|
|
5291
|
-
"workers-ai": "workers-ai";
|
|
5292
5276
|
}>;
|
|
5293
5277
|
id: z.ZodString;
|
|
5294
5278
|
createdAt: z.ZodNumber;
|
|
@@ -5452,7 +5436,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5452
5436
|
};
|
|
5453
5437
|
}[];
|
|
5454
5438
|
code: string;
|
|
5455
|
-
provider: "
|
|
5439
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
5456
5440
|
id: string;
|
|
5457
5441
|
createdAt: number;
|
|
5458
5442
|
legacy: boolean;
|
|
@@ -5515,7 +5499,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5515
5499
|
roleId: string;
|
|
5516
5500
|
})[];
|
|
5517
5501
|
code: string;
|
|
5518
|
-
provider: "
|
|
5502
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
5519
5503
|
id: string;
|
|
5520
5504
|
createdAt: number;
|
|
5521
5505
|
}>>]>>;
|
|
@@ -5706,11 +5690,11 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5706
5690
|
}, z.core.$strict>>>;
|
|
5707
5691
|
}, z.core.$strict>;
|
|
5708
5692
|
provider: z.ZodEnum<{
|
|
5693
|
+
"workers-ai": "workers-ai";
|
|
5709
5694
|
"fixture-pass": "fixture-pass";
|
|
5710
5695
|
"fixture-fail": "fixture-fail";
|
|
5711
5696
|
"fixture-unclear": "fixture-unclear";
|
|
5712
5697
|
"fixture-error": "fixture-error";
|
|
5713
|
-
"workers-ai": "workers-ai";
|
|
5714
5698
|
}>;
|
|
5715
5699
|
createdAt: z.ZodNumber;
|
|
5716
5700
|
}, z.core.$strip>>;
|
|
@@ -7950,7 +7934,7 @@ declare function createRelayClient(options: {
|
|
|
7950
7934
|
};
|
|
7951
7935
|
}[];
|
|
7952
7936
|
code: string;
|
|
7953
|
-
provider: "
|
|
7937
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
7954
7938
|
id: string;
|
|
7955
7939
|
createdAt: number;
|
|
7956
7940
|
legacy: boolean;
|
|
@@ -8287,7 +8271,7 @@ declare function createRelayClient(options: {
|
|
|
8287
8271
|
};
|
|
8288
8272
|
}[];
|
|
8289
8273
|
code: string;
|
|
8290
|
-
provider: "
|
|
8274
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
8291
8275
|
id: string;
|
|
8292
8276
|
createdAt: number;
|
|
8293
8277
|
legacy: boolean;
|
|
@@ -8478,7 +8462,7 @@ declare function createRelayClient(options: {
|
|
|
8478
8462
|
};
|
|
8479
8463
|
}[];
|
|
8480
8464
|
code: string;
|
|
8481
|
-
provider: "
|
|
8465
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
8482
8466
|
id: string;
|
|
8483
8467
|
createdAt: number;
|
|
8484
8468
|
legacy: boolean;
|
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
walletChallengeSchema,
|
|
52
52
|
walletConnectionSchema,
|
|
53
53
|
walletProofSchema
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-Y6H4HDQT.js";
|
|
55
55
|
import {
|
|
56
56
|
defineLeaderboard,
|
|
57
57
|
defineReferral,
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
referralManagementSchema,
|
|
82
82
|
referralRelationshipSchema,
|
|
83
83
|
referralSummarySchema
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-Q5VDZVVO.js";
|
|
85
85
|
import {
|
|
86
86
|
authScopeSchema,
|
|
87
87
|
exchangeResultSchema,
|
|
88
88
|
exchangeSchema,
|
|
89
89
|
principalSchema,
|
|
90
90
|
sessionSchema
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-MVDE7WKB.js";
|
|
92
92
|
import {
|
|
93
93
|
accountConnectionSchema,
|
|
94
94
|
artifactSchema,
|
|
@@ -170,12 +170,13 @@ import {
|
|
|
170
170
|
staffDecisionSchema,
|
|
171
171
|
stockItemSchema,
|
|
172
172
|
stockSchema,
|
|
173
|
+
storedReviewModeSchema,
|
|
173
174
|
submitSchema,
|
|
174
175
|
templateSchema,
|
|
175
176
|
tierRewardSchema,
|
|
176
177
|
tieredRewardDefinitionSchema,
|
|
177
178
|
triggerSchema
|
|
178
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-XTFCKK2Y.js";
|
|
179
180
|
export {
|
|
180
181
|
QuestUpdatedError,
|
|
181
182
|
RelayError,
|
|
@@ -338,6 +339,7 @@ export {
|
|
|
338
339
|
staffDecisionSchema,
|
|
339
340
|
stockItemSchema,
|
|
340
341
|
stockSchema,
|
|
342
|
+
storedReviewModeSchema,
|
|
341
343
|
submitSchema,
|
|
342
344
|
templateSchema,
|
|
343
345
|
tierRewardSchema,
|
package/dist/portal-proxy.js
CHANGED
package/dist/schema.d.ts
CHANGED
|
@@ -173,11 +173,14 @@ declare const decisionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
173
173
|
}, z.core.$strict>], "kind">;
|
|
174
174
|
type Decision = z.infer<typeof decisionSchema>;
|
|
175
175
|
declare const reviewModeSchema: z.ZodEnum<{
|
|
176
|
+
"workers-ai": "workers-ai";
|
|
177
|
+
}>;
|
|
178
|
+
declare const storedReviewModeSchema: z.ZodEnum<{
|
|
179
|
+
"workers-ai": "workers-ai";
|
|
176
180
|
"fixture-pass": "fixture-pass";
|
|
177
181
|
"fixture-fail": "fixture-fail";
|
|
178
182
|
"fixture-unclear": "fixture-unclear";
|
|
179
183
|
"fixture-error": "fixture-error";
|
|
180
|
-
"workers-ai": "workers-ai";
|
|
181
184
|
}>;
|
|
182
185
|
declare const rewardBundleSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
183
186
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -425,10 +428,6 @@ declare const releaseSchema: z.ZodObject<{
|
|
|
425
428
|
correct: z.ZodString;
|
|
426
429
|
}, z.core.$strict>>]>>;
|
|
427
430
|
provider: z.ZodEnum<{
|
|
428
|
-
"fixture-pass": "fixture-pass";
|
|
429
|
-
"fixture-fail": "fixture-fail";
|
|
430
|
-
"fixture-unclear": "fixture-unclear";
|
|
431
|
-
"fixture-error": "fixture-error";
|
|
432
431
|
"workers-ai": "workers-ai";
|
|
433
432
|
}>;
|
|
434
433
|
expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -447,10 +446,6 @@ declare const batchReleaseSchema: z.ZodObject<{
|
|
|
447
446
|
correct: z.ZodString;
|
|
448
447
|
}, z.core.$strict>>]>>;
|
|
449
448
|
provider: z.ZodEnum<{
|
|
450
|
-
"fixture-pass": "fixture-pass";
|
|
451
|
-
"fixture-fail": "fixture-fail";
|
|
452
|
-
"fixture-unclear": "fixture-unclear";
|
|
453
|
-
"fixture-error": "fixture-error";
|
|
454
449
|
"workers-ai": "workers-ai";
|
|
455
450
|
}>;
|
|
456
451
|
expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -656,11 +651,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
656
651
|
key: z.ZodOptional<z.ZodString>;
|
|
657
652
|
code: z.ZodString;
|
|
658
653
|
provider: z.ZodEnum<{
|
|
654
|
+
"workers-ai": "workers-ai";
|
|
659
655
|
"fixture-pass": "fixture-pass";
|
|
660
656
|
"fixture-fail": "fixture-fail";
|
|
661
657
|
"fixture-unclear": "fixture-unclear";
|
|
662
658
|
"fixture-error": "fixture-error";
|
|
663
|
-
"workers-ai": "workers-ai";
|
|
664
659
|
}>;
|
|
665
660
|
id: z.ZodString;
|
|
666
661
|
createdAt: z.ZodNumber;
|
|
@@ -728,11 +723,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
728
723
|
}, z.core.$strict>]>>;
|
|
729
724
|
code: z.ZodString;
|
|
730
725
|
provider: z.ZodEnum<{
|
|
726
|
+
"workers-ai": "workers-ai";
|
|
731
727
|
"fixture-pass": "fixture-pass";
|
|
732
728
|
"fixture-fail": "fixture-fail";
|
|
733
729
|
"fixture-unclear": "fixture-unclear";
|
|
734
730
|
"fixture-error": "fixture-error";
|
|
735
|
-
"workers-ai": "workers-ai";
|
|
736
731
|
}>;
|
|
737
732
|
id: z.ZodString;
|
|
738
733
|
createdAt: z.ZodNumber;
|
|
@@ -896,7 +891,7 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
896
891
|
};
|
|
897
892
|
}[];
|
|
898
893
|
code: string;
|
|
899
|
-
provider: "
|
|
894
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
900
895
|
id: string;
|
|
901
896
|
createdAt: number;
|
|
902
897
|
legacy: boolean;
|
|
@@ -959,7 +954,7 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
959
954
|
roleId: string;
|
|
960
955
|
})[];
|
|
961
956
|
code: string;
|
|
962
|
-
provider: "
|
|
957
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
963
958
|
id: string;
|
|
964
959
|
createdAt: number;
|
|
965
960
|
}>>]>;
|
|
@@ -1862,11 +1857,11 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1862
1857
|
key: z.ZodOptional<z.ZodString>;
|
|
1863
1858
|
code: z.ZodString;
|
|
1864
1859
|
provider: z.ZodEnum<{
|
|
1860
|
+
"workers-ai": "workers-ai";
|
|
1865
1861
|
"fixture-pass": "fixture-pass";
|
|
1866
1862
|
"fixture-fail": "fixture-fail";
|
|
1867
1863
|
"fixture-unclear": "fixture-unclear";
|
|
1868
1864
|
"fixture-error": "fixture-error";
|
|
1869
|
-
"workers-ai": "workers-ai";
|
|
1870
1865
|
}>;
|
|
1871
1866
|
id: z.ZodString;
|
|
1872
1867
|
createdAt: z.ZodNumber;
|
|
@@ -1934,11 +1929,11 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1934
1929
|
}, z.core.$strict>]>>;
|
|
1935
1930
|
code: z.ZodString;
|
|
1936
1931
|
provider: z.ZodEnum<{
|
|
1932
|
+
"workers-ai": "workers-ai";
|
|
1937
1933
|
"fixture-pass": "fixture-pass";
|
|
1938
1934
|
"fixture-fail": "fixture-fail";
|
|
1939
1935
|
"fixture-unclear": "fixture-unclear";
|
|
1940
1936
|
"fixture-error": "fixture-error";
|
|
1941
|
-
"workers-ai": "workers-ai";
|
|
1942
1937
|
}>;
|
|
1943
1938
|
id: z.ZodString;
|
|
1944
1939
|
createdAt: z.ZodNumber;
|
|
@@ -2102,7 +2097,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
2102
2097
|
};
|
|
2103
2098
|
}[];
|
|
2104
2099
|
code: string;
|
|
2105
|
-
provider: "
|
|
2100
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2106
2101
|
id: string;
|
|
2107
2102
|
createdAt: number;
|
|
2108
2103
|
legacy: boolean;
|
|
@@ -2165,7 +2160,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
2165
2160
|
roleId: string;
|
|
2166
2161
|
})[];
|
|
2167
2162
|
code: string;
|
|
2168
|
-
provider: "
|
|
2163
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2169
2164
|
id: string;
|
|
2170
2165
|
createdAt: number;
|
|
2171
2166
|
}>>]>>;
|
|
@@ -2533,4 +2528,4 @@ declare const stockItemSchema: z.ZodObject<{
|
|
|
2533
2528
|
name: z.ZodString;
|
|
2534
2529
|
}, z.core.$strip>;
|
|
2535
2530
|
|
|
2536
|
-
export { type Attempt, type Decision, type Entitlement, type MemberListOptions, type MemberPage, type MemberProgress, type PhotoResult, type PickupAvailability, type PublishedRelease, type QuestAvailability, type QuestDescription, type QuestPresentation, type QuestSettingsInput, type QuizEvidence, type ReleaseInput, type ReviewListOptions, type ReviewPage, type Reward, type Snapshot, type SubmitInput, type TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, beginHandoverSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, errorSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questDescriptionSchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema };
|
|
2531
|
+
export { type Attempt, type Decision, type Entitlement, type MemberListOptions, type MemberPage, type MemberProgress, type PhotoResult, type PickupAvailability, type PublishedRelease, type QuestAvailability, type QuestDescription, type QuestPresentation, type QuestSettingsInput, type QuizEvidence, type ReleaseInput, type ReviewListOptions, type ReviewPage, type Reward, type Snapshot, type SubmitInput, type TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, beginHandoverSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, errorSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questDescriptionSchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema };
|
package/dist/schema.js
CHANGED
|
@@ -46,12 +46,13 @@ import {
|
|
|
46
46
|
staffDecisionSchema,
|
|
47
47
|
stockItemSchema,
|
|
48
48
|
stockSchema,
|
|
49
|
+
storedReviewModeSchema,
|
|
49
50
|
submitSchema,
|
|
50
51
|
templateSchema,
|
|
51
52
|
tierRewardSchema,
|
|
52
53
|
tieredRewardDefinitionSchema,
|
|
53
54
|
triggerSchema
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-XTFCKK2Y.js";
|
|
55
56
|
export {
|
|
56
57
|
artifactSchema,
|
|
57
58
|
attemptSchema,
|
|
@@ -100,6 +101,7 @@ export {
|
|
|
100
101
|
staffDecisionSchema,
|
|
101
102
|
stockItemSchema,
|
|
102
103
|
stockSchema,
|
|
104
|
+
storedReviewModeSchema,
|
|
103
105
|
submitSchema,
|
|
104
106
|
templateSchema,
|
|
105
107
|
tierRewardSchema,
|