@domino-sdk/relay 0.7.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.d.ts +13 -9
- package/dist/authoring.js +19 -9
- package/dist/browser.d.ts +38 -9
- package/dist/browser.js +4 -4
- package/dist/{chunk-36LZ3IOO.js → chunk-MVDE7WKB.js} +1 -1
- package/dist/chunk-Q5VDZVVO.js +388 -0
- package/dist/{chunk-6QUCADMF.js → chunk-XTFCKK2Y.js} +37 -5
- package/dist/{chunk-LXLNC4CN.js → chunk-Y6H4HDQT.js} +42 -28
- package/dist/index.d.ts +854 -114
- package/dist/index.js +28 -6
- package/dist/portal-proxy.js +2 -2
- package/dist/schema.d.ts +45 -19
- package/dist/schema.js +7 -1
- package/dist/{settings-CU_oBcx0.d.ts → settings-BA8XjT4m.d.ts} +766 -23
- package/package.json +1 -1
- package/dist/chunk-TYVT5BPZ.js +0 -337
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
QuestUpdatedError,
|
|
3
3
|
RelayError,
|
|
4
|
+
allocateQuestSchema,
|
|
5
|
+
allocatedQuestSchema,
|
|
4
6
|
catalogDeploymentPreviewSchema,
|
|
5
7
|
catalogDeploymentSchema,
|
|
6
8
|
collectionBeginSchema,
|
|
@@ -8,8 +10,10 @@ import {
|
|
|
8
10
|
collectionPassSchema,
|
|
9
11
|
collectionPreviewSchema,
|
|
10
12
|
collectionResolveSchema,
|
|
13
|
+
collectionSlotDeclarationSchema,
|
|
11
14
|
collectionSlotSchema,
|
|
12
15
|
collectionViewSchema,
|
|
16
|
+
createPointLedgerSchema,
|
|
13
17
|
createRelayClient,
|
|
14
18
|
deploymentPreviewSchema,
|
|
15
19
|
deploymentResultSchema,
|
|
@@ -18,6 +22,8 @@ import {
|
|
|
18
22
|
identityIntegrationSecretSchema,
|
|
19
23
|
interactionSchema,
|
|
20
24
|
participantExchangeSchema,
|
|
25
|
+
pointLedgerDeclarationSchema,
|
|
26
|
+
pointLedgerPropertiesSchema,
|
|
21
27
|
pointLedgerSchema,
|
|
22
28
|
projectCatalogArtifactSchema,
|
|
23
29
|
projectDeploymentSchema,
|
|
@@ -36,7 +42,6 @@ import {
|
|
|
36
42
|
questTypeVersionSchema,
|
|
37
43
|
questViewSchema,
|
|
38
44
|
reconcileQuestDraft,
|
|
39
|
-
resourceId,
|
|
40
45
|
rewardDeliveriesSchema,
|
|
41
46
|
rewardDeliverySchema,
|
|
42
47
|
saveQuestDraftSchema,
|
|
@@ -46,11 +51,12 @@ import {
|
|
|
46
51
|
walletChallengeSchema,
|
|
47
52
|
walletConnectionSchema,
|
|
48
53
|
walletProofSchema
|
|
49
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-Y6H4HDQT.js";
|
|
50
55
|
import {
|
|
51
56
|
defineLeaderboard,
|
|
52
57
|
defineReferral,
|
|
53
58
|
leaderboardArtifactSchema,
|
|
59
|
+
leaderboardAuthoringSchema,
|
|
54
60
|
leaderboardDefinitionSchema,
|
|
55
61
|
leaderboardExclusionSchema,
|
|
56
62
|
leaderboardGroupSchema,
|
|
@@ -68,20 +74,21 @@ import {
|
|
|
68
74
|
referralAcceptSchema,
|
|
69
75
|
referralAccountSchema,
|
|
70
76
|
referralArtifactSchema,
|
|
77
|
+
referralAuthoringSchema,
|
|
71
78
|
referralControlSchema,
|
|
72
79
|
referralDefinitionSchema,
|
|
73
80
|
referralHistorySchema,
|
|
74
81
|
referralManagementSchema,
|
|
75
82
|
referralRelationshipSchema,
|
|
76
83
|
referralSummarySchema
|
|
77
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-Q5VDZVVO.js";
|
|
78
85
|
import {
|
|
79
86
|
authScopeSchema,
|
|
80
87
|
exchangeResultSchema,
|
|
81
88
|
exchangeSchema,
|
|
82
89
|
principalSchema,
|
|
83
90
|
sessionSchema
|
|
84
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-MVDE7WKB.js";
|
|
85
92
|
import {
|
|
86
93
|
accountConnectionSchema,
|
|
87
94
|
artifactSchema,
|
|
@@ -96,6 +103,7 @@ import {
|
|
|
96
103
|
completionRecordSchema,
|
|
97
104
|
configurePickupSchema,
|
|
98
105
|
confirmHandoverSchema,
|
|
106
|
+
createStockItemSchema,
|
|
99
107
|
decisionSchema,
|
|
100
108
|
discord,
|
|
101
109
|
discordMemberInputSchema,
|
|
@@ -127,6 +135,7 @@ import {
|
|
|
127
135
|
pickupCatalogSchema,
|
|
128
136
|
pickupPolicySchema,
|
|
129
137
|
pickupSelectionSchema,
|
|
138
|
+
pointLedgers,
|
|
130
139
|
pointsRewardSchema,
|
|
131
140
|
prerequisiteSchema,
|
|
132
141
|
projectIntegrationSchema,
|
|
@@ -159,17 +168,21 @@ import {
|
|
|
159
168
|
settingsValuesSchema,
|
|
160
169
|
snapshotSchema,
|
|
161
170
|
staffDecisionSchema,
|
|
171
|
+
stockItemSchema,
|
|
162
172
|
stockSchema,
|
|
173
|
+
storedReviewModeSchema,
|
|
163
174
|
submitSchema,
|
|
164
175
|
templateSchema,
|
|
165
176
|
tierRewardSchema,
|
|
166
177
|
tieredRewardDefinitionSchema,
|
|
167
178
|
triggerSchema
|
|
168
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-XTFCKK2Y.js";
|
|
169
180
|
export {
|
|
170
181
|
QuestUpdatedError,
|
|
171
182
|
RelayError,
|
|
172
183
|
accountConnectionSchema,
|
|
184
|
+
allocateQuestSchema,
|
|
185
|
+
allocatedQuestSchema,
|
|
173
186
|
artifactSchema,
|
|
174
187
|
attemptSchema,
|
|
175
188
|
authProviderSchema,
|
|
@@ -184,6 +197,7 @@ export {
|
|
|
184
197
|
collectionPassSchema,
|
|
185
198
|
collectionPreviewSchema,
|
|
186
199
|
collectionResolveSchema,
|
|
200
|
+
collectionSlotDeclarationSchema,
|
|
187
201
|
collectionSlotSchema,
|
|
188
202
|
collectionViewSchema,
|
|
189
203
|
compatibleSettingKinds,
|
|
@@ -192,7 +206,9 @@ export {
|
|
|
192
206
|
completionRecordSchema,
|
|
193
207
|
configurePickupSchema,
|
|
194
208
|
confirmHandoverSchema,
|
|
209
|
+
createPointLedgerSchema,
|
|
195
210
|
createRelayClient,
|
|
211
|
+
createStockItemSchema,
|
|
196
212
|
decisionSchema,
|
|
197
213
|
defineLeaderboard,
|
|
198
214
|
defineReferral,
|
|
@@ -219,6 +235,7 @@ export {
|
|
|
219
235
|
integrationRewardSchema,
|
|
220
236
|
interactionSchema,
|
|
221
237
|
leaderboardArtifactSchema,
|
|
238
|
+
leaderboardAuthoringSchema,
|
|
222
239
|
leaderboardDefinitionSchema,
|
|
223
240
|
leaderboardExclusionSchema,
|
|
224
241
|
leaderboardGroupSchema,
|
|
@@ -244,7 +261,10 @@ export {
|
|
|
244
261
|
pickupCatalogSchema,
|
|
245
262
|
pickupPolicySchema,
|
|
246
263
|
pickupSelectionSchema,
|
|
264
|
+
pointLedgerDeclarationSchema,
|
|
265
|
+
pointLedgerPropertiesSchema,
|
|
247
266
|
pointLedgerSchema,
|
|
267
|
+
pointLedgers,
|
|
248
268
|
pointsAccountSchema,
|
|
249
269
|
pointsEntrySchema,
|
|
250
270
|
pointsMutationSchema,
|
|
@@ -286,6 +306,7 @@ export {
|
|
|
286
306
|
referralAcceptSchema,
|
|
287
307
|
referralAccountSchema,
|
|
288
308
|
referralArtifactSchema,
|
|
309
|
+
referralAuthoringSchema,
|
|
289
310
|
referralControlSchema,
|
|
290
311
|
referralDefinitionSchema,
|
|
291
312
|
referralHistorySchema,
|
|
@@ -294,7 +315,6 @@ export {
|
|
|
294
315
|
referralSummarySchema,
|
|
295
316
|
releaseSchema,
|
|
296
317
|
reservationSchema,
|
|
297
|
-
resourceId,
|
|
298
318
|
resourceOptionsSchema,
|
|
299
319
|
resourceRequestSchema,
|
|
300
320
|
resourceSourceSchema,
|
|
@@ -317,7 +337,9 @@ export {
|
|
|
317
337
|
solanaAddressSchema,
|
|
318
338
|
solanaBalanceSchema,
|
|
319
339
|
staffDecisionSchema,
|
|
340
|
+
stockItemSchema,
|
|
320
341
|
stockSchema,
|
|
342
|
+
storedReviewModeSchema,
|
|
321
343
|
submitSchema,
|
|
322
344
|
templateSchema,
|
|
323
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">>;
|
|
@@ -269,6 +272,9 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
269
272
|
kind: z.ZodLiteral<"resource">;
|
|
270
273
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
271
274
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
275
|
+
provider: z.ZodLiteral<"domino">;
|
|
276
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
272
278
|
provider: z.ZodLiteral<"discord">;
|
|
273
279
|
resource: z.ZodLiteral<"channel">;
|
|
274
280
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -422,10 +428,6 @@ declare const releaseSchema: z.ZodObject<{
|
|
|
422
428
|
correct: z.ZodString;
|
|
423
429
|
}, z.core.$strict>>]>>;
|
|
424
430
|
provider: z.ZodEnum<{
|
|
425
|
-
"fixture-pass": "fixture-pass";
|
|
426
|
-
"fixture-fail": "fixture-fail";
|
|
427
|
-
"fixture-unclear": "fixture-unclear";
|
|
428
|
-
"fixture-error": "fixture-error";
|
|
429
431
|
"workers-ai": "workers-ai";
|
|
430
432
|
}>;
|
|
431
433
|
expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -444,10 +446,6 @@ declare const batchReleaseSchema: z.ZodObject<{
|
|
|
444
446
|
correct: z.ZodString;
|
|
445
447
|
}, z.core.$strict>>]>>;
|
|
446
448
|
provider: z.ZodEnum<{
|
|
447
|
-
"fixture-pass": "fixture-pass";
|
|
448
|
-
"fixture-fail": "fixture-fail";
|
|
449
|
-
"fixture-unclear": "fixture-unclear";
|
|
450
|
-
"fixture-error": "fixture-error";
|
|
451
449
|
"workers-ai": "workers-ai";
|
|
452
450
|
}>;
|
|
453
451
|
expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -511,6 +509,9 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
511
509
|
kind: z.ZodLiteral<"resource">;
|
|
512
510
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
513
511
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
512
|
+
provider: z.ZodLiteral<"domino">;
|
|
513
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
514
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
514
515
|
provider: z.ZodLiteral<"discord">;
|
|
515
516
|
resource: z.ZodLiteral<"channel">;
|
|
516
517
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -647,13 +648,14 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
647
648
|
balance: z.ZodString;
|
|
648
649
|
}, z.core.$strict>]>;
|
|
649
650
|
}, z.core.$strict>>>;
|
|
651
|
+
key: z.ZodOptional<z.ZodString>;
|
|
650
652
|
code: z.ZodString;
|
|
651
653
|
provider: z.ZodEnum<{
|
|
654
|
+
"workers-ai": "workers-ai";
|
|
652
655
|
"fixture-pass": "fixture-pass";
|
|
653
656
|
"fixture-fail": "fixture-fail";
|
|
654
657
|
"fixture-unclear": "fixture-unclear";
|
|
655
658
|
"fixture-error": "fixture-error";
|
|
656
|
-
"workers-ai": "workers-ai";
|
|
657
659
|
}>;
|
|
658
660
|
id: z.ZodString;
|
|
659
661
|
createdAt: z.ZodNumber;
|
|
@@ -721,11 +723,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
721
723
|
}, z.core.$strict>]>>;
|
|
722
724
|
code: z.ZodString;
|
|
723
725
|
provider: z.ZodEnum<{
|
|
726
|
+
"workers-ai": "workers-ai";
|
|
724
727
|
"fixture-pass": "fixture-pass";
|
|
725
728
|
"fixture-fail": "fixture-fail";
|
|
726
729
|
"fixture-unclear": "fixture-unclear";
|
|
727
730
|
"fixture-error": "fixture-error";
|
|
728
|
-
"workers-ai": "workers-ai";
|
|
729
731
|
}>;
|
|
730
732
|
id: z.ZodString;
|
|
731
733
|
createdAt: z.ZodNumber;
|
|
@@ -768,6 +770,9 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
768
770
|
kind: "resource";
|
|
769
771
|
default: string;
|
|
770
772
|
source: {
|
|
773
|
+
provider: "domino";
|
|
774
|
+
resource: "point-ledger";
|
|
775
|
+
} | {
|
|
771
776
|
provider: "discord";
|
|
772
777
|
resource: "channel";
|
|
773
778
|
types: ("text" | "announcement")[];
|
|
@@ -886,11 +891,12 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
886
891
|
};
|
|
887
892
|
}[];
|
|
888
893
|
code: string;
|
|
889
|
-
provider: "
|
|
894
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
890
895
|
id: string;
|
|
891
896
|
createdAt: number;
|
|
892
897
|
legacy: boolean;
|
|
893
898
|
lifecycle: "active" | "paused" | "archived";
|
|
899
|
+
key?: string | undefined;
|
|
894
900
|
origin?: {
|
|
895
901
|
typeVersion: string;
|
|
896
902
|
} | undefined;
|
|
@@ -948,7 +954,7 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
948
954
|
roleId: string;
|
|
949
955
|
})[];
|
|
950
956
|
code: string;
|
|
951
|
-
provider: "
|
|
957
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
952
958
|
id: string;
|
|
953
959
|
createdAt: number;
|
|
954
960
|
}>>]>;
|
|
@@ -996,6 +1002,9 @@ declare const templateSchema: z.ZodObject<{
|
|
|
996
1002
|
kind: z.ZodLiteral<"resource">;
|
|
997
1003
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
998
1004
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
1005
|
+
provider: z.ZodLiteral<"domino">;
|
|
1006
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
1007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
999
1008
|
provider: z.ZodLiteral<"discord">;
|
|
1000
1009
|
resource: z.ZodLiteral<"channel">;
|
|
1001
1010
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -1296,8 +1305,8 @@ declare const configurePickupSchema: z.ZodObject<{
|
|
|
1296
1305
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1297
1306
|
tier: z.ZodString;
|
|
1298
1307
|
variants: z.ZodArray<z.ZodObject<{
|
|
1299
|
-
item: z.ZodString;
|
|
1300
1308
|
label: z.ZodString;
|
|
1309
|
+
item: z.ZodOptional<z.ZodString>;
|
|
1301
1310
|
}, z.core.$strict>>;
|
|
1302
1311
|
}, z.core.$strict>>;
|
|
1303
1312
|
}, z.core.$strict>], "kind">;
|
|
@@ -1436,6 +1445,7 @@ declare const memberProgressSchema: z.ZodObject<{
|
|
|
1436
1445
|
member: z.ZodString;
|
|
1437
1446
|
quests: z.ZodArray<z.ZodObject<{
|
|
1438
1447
|
quest: z.ZodString;
|
|
1448
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1439
1449
|
release: z.ZodOptional<z.ZodString>;
|
|
1440
1450
|
title: z.ZodString;
|
|
1441
1451
|
presentation: z.ZodDefault<z.ZodObject<{
|
|
@@ -1705,6 +1715,9 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1705
1715
|
kind: z.ZodLiteral<"resource">;
|
|
1706
1716
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
1707
1717
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
1718
|
+
provider: z.ZodLiteral<"domino">;
|
|
1719
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
1720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1708
1721
|
provider: z.ZodLiteral<"discord">;
|
|
1709
1722
|
resource: z.ZodLiteral<"channel">;
|
|
1710
1723
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -1841,13 +1854,14 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1841
1854
|
balance: z.ZodString;
|
|
1842
1855
|
}, z.core.$strict>]>;
|
|
1843
1856
|
}, z.core.$strict>>>;
|
|
1857
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1844
1858
|
code: z.ZodString;
|
|
1845
1859
|
provider: z.ZodEnum<{
|
|
1860
|
+
"workers-ai": "workers-ai";
|
|
1846
1861
|
"fixture-pass": "fixture-pass";
|
|
1847
1862
|
"fixture-fail": "fixture-fail";
|
|
1848
1863
|
"fixture-unclear": "fixture-unclear";
|
|
1849
1864
|
"fixture-error": "fixture-error";
|
|
1850
|
-
"workers-ai": "workers-ai";
|
|
1851
1865
|
}>;
|
|
1852
1866
|
id: z.ZodString;
|
|
1853
1867
|
createdAt: z.ZodNumber;
|
|
@@ -1915,11 +1929,11 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1915
1929
|
}, z.core.$strict>]>>;
|
|
1916
1930
|
code: z.ZodString;
|
|
1917
1931
|
provider: z.ZodEnum<{
|
|
1932
|
+
"workers-ai": "workers-ai";
|
|
1918
1933
|
"fixture-pass": "fixture-pass";
|
|
1919
1934
|
"fixture-fail": "fixture-fail";
|
|
1920
1935
|
"fixture-unclear": "fixture-unclear";
|
|
1921
1936
|
"fixture-error": "fixture-error";
|
|
1922
|
-
"workers-ai": "workers-ai";
|
|
1923
1937
|
}>;
|
|
1924
1938
|
id: z.ZodString;
|
|
1925
1939
|
createdAt: z.ZodNumber;
|
|
@@ -1962,6 +1976,9 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1962
1976
|
kind: "resource";
|
|
1963
1977
|
default: string;
|
|
1964
1978
|
source: {
|
|
1979
|
+
provider: "domino";
|
|
1980
|
+
resource: "point-ledger";
|
|
1981
|
+
} | {
|
|
1965
1982
|
provider: "discord";
|
|
1966
1983
|
resource: "channel";
|
|
1967
1984
|
types: ("text" | "announcement")[];
|
|
@@ -2080,11 +2097,12 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
2080
2097
|
};
|
|
2081
2098
|
}[];
|
|
2082
2099
|
code: string;
|
|
2083
|
-
provider: "
|
|
2100
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2084
2101
|
id: string;
|
|
2085
2102
|
createdAt: number;
|
|
2086
2103
|
legacy: boolean;
|
|
2087
2104
|
lifecycle: "active" | "paused" | "archived";
|
|
2105
|
+
key?: string | undefined;
|
|
2088
2106
|
origin?: {
|
|
2089
2107
|
typeVersion: string;
|
|
2090
2108
|
} | undefined;
|
|
@@ -2142,7 +2160,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
2142
2160
|
roleId: string;
|
|
2143
2161
|
})[];
|
|
2144
2162
|
code: string;
|
|
2145
|
-
provider: "
|
|
2163
|
+
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
2146
2164
|
id: string;
|
|
2147
2165
|
createdAt: number;
|
|
2148
2166
|
}>>]>>;
|
|
@@ -2501,5 +2519,13 @@ declare const memberPageSchema: z.ZodObject<{
|
|
|
2501
2519
|
}, z.core.$strip>;
|
|
2502
2520
|
type ReviewPage = z.infer<typeof reviewPageSchema>;
|
|
2503
2521
|
type MemberPage = z.infer<typeof memberPageSchema>;
|
|
2522
|
+
declare const createStockItemSchema: z.ZodObject<{
|
|
2523
|
+
actionId: z.ZodString;
|
|
2524
|
+
name: z.ZodString;
|
|
2525
|
+
}, z.core.$strict>;
|
|
2526
|
+
declare const stockItemSchema: z.ZodObject<{
|
|
2527
|
+
id: z.ZodString;
|
|
2528
|
+
name: z.ZodString;
|
|
2529
|
+
}, z.core.$strip>;
|
|
2504
2530
|
|
|
2505
|
-
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, 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, 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
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
completionRecordSchema,
|
|
7
7
|
configurePickupSchema,
|
|
8
8
|
confirmHandoverSchema,
|
|
9
|
+
createStockItemSchema,
|
|
9
10
|
decisionSchema,
|
|
10
11
|
entitlementSchema,
|
|
11
12
|
errorSchema,
|
|
@@ -43,13 +44,15 @@ import {
|
|
|
43
44
|
rewardSchema,
|
|
44
45
|
snapshotSchema,
|
|
45
46
|
staffDecisionSchema,
|
|
47
|
+
stockItemSchema,
|
|
46
48
|
stockSchema,
|
|
49
|
+
storedReviewModeSchema,
|
|
47
50
|
submitSchema,
|
|
48
51
|
templateSchema,
|
|
49
52
|
tierRewardSchema,
|
|
50
53
|
tieredRewardDefinitionSchema,
|
|
51
54
|
triggerSchema
|
|
52
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-XTFCKK2Y.js";
|
|
53
56
|
export {
|
|
54
57
|
artifactSchema,
|
|
55
58
|
attemptSchema,
|
|
@@ -58,6 +61,7 @@ export {
|
|
|
58
61
|
completionRecordSchema,
|
|
59
62
|
configurePickupSchema,
|
|
60
63
|
confirmHandoverSchema,
|
|
64
|
+
createStockItemSchema,
|
|
61
65
|
decisionSchema,
|
|
62
66
|
entitlementSchema,
|
|
63
67
|
errorSchema,
|
|
@@ -95,7 +99,9 @@ export {
|
|
|
95
99
|
rewardSchema,
|
|
96
100
|
snapshotSchema,
|
|
97
101
|
staffDecisionSchema,
|
|
102
|
+
stockItemSchema,
|
|
98
103
|
stockSchema,
|
|
104
|
+
storedReviewModeSchema,
|
|
99
105
|
submitSchema,
|
|
100
106
|
templateSchema,
|
|
101
107
|
tierRewardSchema,
|