@domino-sdk/relay 1.0.0-next.10 → 1.0.0-next.13

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.
Files changed (46) hide show
  1. package/dist/authoring.d.ts +39 -36
  2. package/dist/authoring.js +10 -3
  3. package/dist/avatar.d.ts +2 -2
  4. package/dist/browser.d.ts +153 -129
  5. package/dist/browser.js +6 -6
  6. package/dist/{pages-D3titw5B.d.ts → catalog-C85V1NgW.d.ts} +178 -216
  7. package/dist/{chunk-ZWY3R6B3.js → chunk-6A2V4L3T.js} +4 -0
  8. package/dist/{chunk-YYD4QUBO.js → chunk-CRNQP7NV.js} +550 -470
  9. package/dist/{chunk-X2F2RAR3.js → chunk-EZWNGI5B.js} +23 -4
  10. package/dist/{chunk-7Q4BGGT6.js → chunk-FXYJ4OMX.js} +1 -1
  11. package/dist/{chunk-4LBUTHD6.js → chunk-II7DRZSL.js} +1 -1
  12. package/dist/chunk-KS33GOUL.js +83 -0
  13. package/dist/{chunk-QR7ZA2BJ.js → chunk-M64XHC42.js} +48 -4
  14. package/dist/chunk-MNQI35OG.js +100 -0
  15. package/dist/{chunk-PHU5VDLR.js → chunk-OA2KMQVZ.js} +41 -26
  16. package/dist/{chunk-P6FK43GG.js → chunk-WQ24ILGO.js} +140 -41
  17. package/dist/{client-CT4-S5vc.d.ts → client-Bf9PNUIi.d.ts} +61 -80
  18. package/dist/deployments-CNCP0JnD.d.ts +4250 -0
  19. package/dist/identity-integration-CBR8l3ju.d.ts +37 -0
  20. package/dist/images-BG4pdO4y.d.ts +234 -0
  21. package/dist/index.d.ts +10 -8
  22. package/dist/index.js +8 -5
  23. package/dist/{integrations-Ba5TtqTv.d.ts → integrations-EjQzIApL.d.ts} +1 -88
  24. package/dist/internal.d.ts +7 -38
  25. package/dist/internal.js +15 -88
  26. package/dist/observations-CQ6IcNuQ.d.ts +90 -0
  27. package/dist/pages-KYK1L60W.d.ts +152 -0
  28. package/dist/portal-proxy.js +5 -4
  29. package/dist/{profiles-DDMFBRKe.d.ts → profiles-BtOXMGcC.d.ts} +1 -1
  30. package/dist/react/index.d.ts +150 -31
  31. package/dist/react/index.js +149 -11
  32. package/dist/{submission-input-0OOGaq8c.d.ts → referrals-KQfP4pBf.d.ts} +189 -182
  33. package/dist/request-error-VnTiMXc3.d.ts +52 -0
  34. package/dist/{schema-Di3aLSiK.d.ts → schema-BF_TQsmT.d.ts} +338 -47
  35. package/dist/schema.d.ts +14 -4126
  36. package/dist/schema.js +46 -40
  37. package/dist/server/index.d.ts +19445 -0
  38. package/dist/server/index.js +1884 -0
  39. package/dist/{streaks-CwGReWGt.d.ts → streaks-CWyq8Px5.d.ts} +2 -4
  40. package/dist/submission-input-CccwAl5Z.d.ts +83 -0
  41. package/dist/{images-BTgk6OmC.d.ts → trackers-W7nRdRr7.d.ts} +1 -232
  42. package/dist/vite.d.ts +1 -1
  43. package/dist/vite.js +1 -0
  44. package/dist/{wallet-BGOfFkG9.d.ts → wallet-BtiG0Xhr.d.ts} +1 -1
  45. package/package.json +5 -1
  46. package/dist/point-ledgers-iS00Z_v0.d.ts +0 -37
package/dist/schema.js CHANGED
@@ -1,3 +1,10 @@
1
+ import {
2
+ deploymentPreviewSchema,
3
+ deploymentResultSchema,
4
+ projectCatalogArtifactSchema,
5
+ projectDeploymentSchema,
6
+ publishDeploymentSchema
7
+ } from "./chunk-KS33GOUL.js";
1
8
  import {
2
9
  imageAssetArtifactSchema,
3
10
  imageComparisonSchema,
@@ -16,8 +23,9 @@ import {
16
23
  xPostSchema,
17
24
  xProfileSchema,
18
25
  xRequestSchema
19
- } from "./chunk-4LBUTHD6.js";
26
+ } from "./chunk-II7DRZSL.js";
20
27
  import {
28
+ PointEntryKind,
21
29
  allocateQuestSchema,
22
30
  allocatedQuestSchema,
23
31
  catalogDeploymentPreviewSchema,
@@ -32,6 +40,11 @@ import {
32
40
  collectionViewSchema,
33
41
  createPointLedgerSchema,
34
42
  interactionSchema,
43
+ pointBalanceSchema,
44
+ pointBalancesSchema,
45
+ pointEntrySchema,
46
+ pointHistoryPageSchema,
47
+ pointHistoryQuerySchema,
35
48
  pointLedgerDeclarationSchema,
36
49
  pointLedgerPropertiesSchema,
37
50
  pointLedgerReferenceSchema,
@@ -51,7 +64,7 @@ import {
51
64
  rewardDeliveriesSchema,
52
65
  rewardDeliverySchema,
53
66
  saveQuestDraftSchema
54
- } from "./chunk-QR7ZA2BJ.js";
67
+ } from "./chunk-M64XHC42.js";
55
68
  import {
56
69
  AVATAR_UPLOAD_LIMIT,
57
70
  WALLETS_PER_CHAIN,
@@ -65,6 +78,7 @@ import {
65
78
  displayNameSchema,
66
79
  engagementArtifactSchema,
67
80
  engagementBoundaryPageSchema,
81
+ engagementBudgetSchema,
68
82
  engagementChangePreviewInputSchema,
69
83
  engagementChangePreviewSchema,
70
84
  engagementChangeSchema,
@@ -143,7 +157,7 @@ import {
143
157
  walletSignInNetworksSchema,
144
158
  walletSignatureSchema,
145
159
  walletUnlinkInputSchema
146
- } from "./chunk-PHU5VDLR.js";
160
+ } from "./chunk-OA2KMQVZ.js";
147
161
  import {
148
162
  authScopeSchema,
149
163
  exchangeResultSchema,
@@ -154,7 +168,7 @@ import {
154
168
  principalSchema,
155
169
  sessionMember,
156
170
  sessionSchema
157
- } from "./chunk-7Q4BGGT6.js";
171
+ } from "./chunk-FXYJ4OMX.js";
158
172
  import {
159
173
  accountConnectionSchema,
160
174
  accountRoleSchema,
@@ -166,7 +180,8 @@ import {
166
180
  beginHandoverSchema,
167
181
  beneficiaryRole,
168
182
  budgetSchema,
169
- communityTimeZoneSchema,
183
+ calendarPeriodSchema,
184
+ canonicalTimeZone,
170
185
  compatibleSettingKinds,
171
186
  completionKeySchema,
172
187
  completionPolicySchema,
@@ -228,6 +243,9 @@ import {
228
243
  pickupSelectionSchema,
229
244
  pointsRewardSchema,
230
245
  prerequisiteSchema,
246
+ projectCalendarDeclarationSchema,
247
+ projectCalendarInputSchema,
248
+ projectCalendarSchema,
231
249
  projectIntegrationSchema,
232
250
  publishedReleaseSchema,
233
251
  publishedTrackerSchema,
@@ -242,6 +260,8 @@ import {
242
260
  quizEvidenceSchema,
243
261
  quizQuestionSchema,
244
262
  quizQuestionsSchema,
263
+ refuseStreakTimeZone,
264
+ refuseWindowTimeZone,
245
265
  releaseSchema,
246
266
  reservationSchema,
247
267
  resourceOptionsSchema,
@@ -262,6 +282,7 @@ import {
262
282
  staffDecisionSchema,
263
283
  stockItemSchema,
264
284
  stockSchema,
285
+ storedQuestDescriptionSchema,
265
286
  storedReviewModeSchema,
266
287
  streakPolicySchema,
267
288
  streakProgressSchema,
@@ -275,6 +296,8 @@ import {
275
296
  tierRewardSchema,
276
297
  tieredRewardDefinitionSchema,
277
298
  tieredRewardReferenceSchema,
299
+ timeZoneNameSchema,
300
+ timeZoneSchema,
278
301
  trackerAccountSchema,
279
302
  trackerArtifactSchema,
280
303
  trackerAttributionSchema,
@@ -324,42 +347,10 @@ import {
324
347
  xPostId,
325
348
  xSearchSourceSchema,
326
349
  xTweetSchema
327
- } from "./chunk-YYD4QUBO.js";
328
-
329
- // src/deployments.ts
330
- import { z } from "zod";
331
- var projectCatalogArtifactSchema = catalogDeploymentSchema.omit({ expectedRevision: true }).extend({
332
- engagement: z.array(engagementArtifactSchema).max(50).default([]),
333
- trackers: z.array(trackerArtifactSchema).max(50).default([]),
334
- pointLedgers: z.array(pointLedgerDeclarationSchema).max(50).default([]),
335
- referrals: z.array(referralArtifactSchema).max(50).default([]),
336
- leaderboards: z.array(leaderboardArtifactSchema).max(50).default([]),
337
- images: z.array(imageAssetArtifactSchema).max(10).default([])
338
- });
339
- var projectDeploymentSchema = projectCatalogArtifactSchema.extend({ releases: z.array(releaseSchema).max(50).default([]) }).refine(
340
- (value) => value.engagement.length > 0 || value.trackers.length > 0 || value.pointLedgers.length > 0 || value.releases.length > 0 || value.leaderboards.length > 0 || value.referrals.length > 0 || value.images.length > 0 || value.types.length > 0 || value.collections.length > 0 || value.supportedInteractions !== void 0,
341
- "No resources configured. Add engagement, trackers, quests, questTypes, pointLedgers, leaderboards, referrals, images, collections, or supportedInteractions to relay.json."
342
- );
343
- var deploymentPreviewSchema = z.object({
344
- id: identifier,
345
- engagement: z.array(engagementDeploymentEntrySchema).default([]),
346
- trackers: z.array(publishedTrackerSchema).default([]),
347
- baseRevision: z.number().int().nonnegative(),
348
- pointLedgers: z.array(pointLedgerSchema).default([]),
349
- releases: z.array(publishedReleaseSchema),
350
- types: z.array(questTypeVersionSchema),
351
- collections: z.array(questCollectionSchema),
352
- supportedInteractions: z.array(interactionSchema),
353
- referrals: z.array(publishedReferralSchema).default([]),
354
- leaderboards: z.array(leaderboardPreviewSchema).default([]),
355
- images: z.array(publishedImageSchema).default([])
356
- });
357
- var publishDeploymentSchema = z.object({ id: identifier }).strict();
358
- var deploymentResultSchema = deploymentPreviewSchema.extend({
359
- revision: z.number().int().positive()
360
- });
350
+ } from "./chunk-CRNQP7NV.js";
361
351
  export {
362
352
  AVATAR_UPLOAD_LIMIT,
353
+ PointEntryKind,
363
354
  WALLETS_PER_CHAIN,
364
355
  accountConnectionSchema,
365
356
  accountRoleSchema,
@@ -378,6 +369,8 @@ export {
378
369
  beneficiaryRole,
379
370
  budgetSchema,
380
371
  caip10,
372
+ calendarPeriodSchema,
373
+ canonicalTimeZone,
381
374
  catalogDeploymentPreviewSchema,
382
375
  catalogDeploymentSchema,
383
376
  collectionBeginSchema,
@@ -388,7 +381,6 @@ export {
388
381
  collectionSlotDeclarationSchema,
389
382
  collectionSlotSchema,
390
383
  collectionViewSchema,
391
- communityTimeZoneSchema,
392
384
  compatibleSettingKinds,
393
385
  completionKeySchema,
394
386
  completionPolicySchema,
@@ -431,6 +423,7 @@ export {
431
423
  displayNameSchema,
432
424
  engagementArtifactSchema,
433
425
  engagementBoundaryPageSchema,
426
+ engagementBudgetSchema,
434
427
  engagementChangePreviewInputSchema,
435
428
  engagementChangePreviewSchema,
436
429
  engagementChangeSchema,
@@ -505,6 +498,11 @@ export {
505
498
  pickupCatalogSchema,
506
499
  pickupPolicySchema,
507
500
  pickupSelectionSchema,
501
+ pointBalanceSchema,
502
+ pointBalancesSchema,
503
+ pointEntrySchema,
504
+ pointHistoryPageSchema,
505
+ pointHistoryQuerySchema,
508
506
  pointLedgerDeclarationSchema,
509
507
  pointLedgerPropertiesSchema,
510
508
  pointLedgerReferenceSchema,
@@ -529,6 +527,9 @@ export {
529
527
  profileSummarySchema,
530
528
  profileUpdateSchema,
531
529
  profileVisibilitySchema,
530
+ projectCalendarDeclarationSchema,
531
+ projectCalendarInputSchema,
532
+ projectCalendarSchema,
532
533
  projectCatalogArtifactSchema,
533
534
  projectDeploymentSchema,
534
535
  projectIntegrationSchema,
@@ -571,6 +572,8 @@ export {
571
572
  referralManagementSchema,
572
573
  referralRelationshipSchema,
573
574
  referralSummarySchema,
575
+ refuseStreakTimeZone,
576
+ refuseWindowTimeZone,
574
577
  releaseSchema,
575
578
  reservationSchema,
576
579
  resourceOptionsSchema,
@@ -599,6 +602,7 @@ export {
599
602
  staffDecisionSchema,
600
603
  stockItemSchema,
601
604
  stockSchema,
605
+ storedQuestDescriptionSchema,
602
606
  storedReviewModeSchema,
603
607
  streakPolicySchema,
604
608
  streakProgressSchema,
@@ -612,6 +616,8 @@ export {
612
616
  tierRewardSchema,
613
617
  tieredRewardDefinitionSchema,
614
618
  tieredRewardReferenceSchema,
619
+ timeZoneNameSchema,
620
+ timeZoneSchema,
615
621
  trackerAccountSchema,
616
622
  trackerArtifactSchema,
617
623
  trackerAttributionSchema,