@domino-sdk/relay 1.10.0 → 1.11.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.
Files changed (31) hide show
  1. package/dist/authoring.d.ts +37 -37
  2. package/dist/authoring.js +3 -3
  3. package/dist/browser.d.ts +3 -3
  4. package/dist/browser.js +8 -8
  5. package/dist/{chunk-GFAFH7XR.js → chunk-7JHREQ2D.js} +1 -1
  6. package/dist/{chunk-GEPSEVQO.js → chunk-CFTTECZZ.js} +2 -2
  7. package/dist/{chunk-N2HXMTVA.js → chunk-DG4QQUH7.js} +1 -1
  8. package/dist/{chunk-MMWTHVXW.js → chunk-DJOGMLYT.js} +3 -3
  9. package/dist/{chunk-WRBPLXVP.js → chunk-FISNMJN3.js} +1 -1
  10. package/dist/{chunk-BKLGWPPD.js → chunk-GKTD36JW.js} +2 -2
  11. package/dist/{chunk-23JUD56J.js → chunk-GXT4S5IK.js} +15 -9
  12. package/dist/{chunk-UIR6NSYZ.js → chunk-KLF7XABH.js} +1 -1
  13. package/dist/{chunk-BUXNTVER.js → chunk-TV2GYBDZ.js} +1 -1
  14. package/dist/{chunk-7BRHUUVB.js → chunk-U4KTGJWU.js} +6 -6
  15. package/dist/{chunk-GPS546KR.js → chunk-UIBDEAP2.js} +5 -5
  16. package/dist/{chunk-QL77V77D.js → chunk-ULU5ZF6R.js} +1 -1
  17. package/dist/{client-Yq11HA_f.d.ts → client-Dz14Kuu8.d.ts} +1 -1
  18. package/dist/index.d.ts +2 -2
  19. package/dist/index.js +7 -7
  20. package/dist/internal.js +5 -5
  21. package/dist/{pages-D00JDZB-.d.ts → pages-tSpttGrI.d.ts} +9 -3
  22. package/dist/portal-proxy.js +3 -3
  23. package/dist/react/index.d.ts +4 -4
  24. package/dist/react/index.js +8 -8
  25. package/dist/schema.d.ts +304 -304
  26. package/dist/schema.js +8 -6
  27. package/dist/server/index.d.ts +1394 -27
  28. package/dist/server/index.js +895 -603
  29. package/dist/{sign-in-options-Coim0G1u.d.ts → sign-in-options-rPCsFr7w.d.ts} +1 -1
  30. package/package.json +1 -1
  31. package/dist/{activity-C0O3g7VJ.d.ts → activity-CNiPDPK6.d.ts} +114 -114
@@ -4862,8 +4862,8 @@ declare const memberEnrollmentInputSchema: z.ZodObject<{
4862
4862
  }, z.core.$strict>;
4863
4863
  type MemberEnrollmentInput = z.input<typeof memberEnrollmentInputSchema>;
4864
4864
  /**
4865
- * A member's enrollment in a quest. `enrolledAt` is the first enrollment: enrolling again changes
4866
- * nothing.
4865
+ * A member's active enrollment in a quest. Enrolling again changes nothing; an operator can
4866
+ * withdraw it, after which enrollment starts a new consent period.
4867
4867
  */
4868
4868
  declare const questEnrollmentSchema: z.ZodObject<{
4869
4869
  quest: z.ZodString;
@@ -4972,5 +4972,11 @@ type Page<T> = {
4972
4972
  items: T[];
4973
4973
  nextCursor: string | null;
4974
4974
  };
4975
+ /** A management state page with an operator-selected size. */
4976
+ declare const managementStateQuerySchema: z.ZodObject<{
4977
+ cursor: z.ZodOptional<z.ZodString>;
4978
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
4979
+ }, z.core.$strict>;
4980
+ type ManagementStateQuery = z.input<typeof managementStateQuerySchema>;
4975
4981
 
4976
- export { questOutcomePageSchema as $, contentPerformancePolicySchema as A, contentQualificationDecisionSchema as B, type ContentMetric as C, contentQualificationPageSchema as D, contentQualificationQuerySchema as E, contentQualificationSchema as F, interactionSchema as G, knownRewardDeliverySchema as H, memberEnrollmentInputSchema as I, pageCursorSchema as J, pageQuerySchema as K, publishQuestDraftSchema as L, type MemberEnrollmentInput as M, questCatalogSchema as N, questClaimInputSchema as O, type Page as P, type QuestClaimInput as Q, type ResponseResult as R, questCollectionSchema as S, questDraftChangesSchema as T, type UnsupportedResponse as U, questDraftSchema as V, questEnrollmentInputSchema as W, questEnrollmentSchema as X, questExperienceSchema as Y, questInstanceSchema as Z, questInteraction as _, type PageQuery as a, questOutcomeQuerySchema as a0, questOutcomeSchema as a1, questPublicationPreviewSchema as a2, questRewardViewSchema as a3, questTypeVersionSchema as a4, questViewSchema as a5, responseListSchema as a6, responseSchema as a7, responseShape as a8, rewardDeliveriesSchema as a9, rewardDeliverySchema as aa, roleReconciliationSchema as ab, saveQuestDraftSchema as ac, type QuestEnrollment as b, type QuestEnrollmentInput as c, type QuestInteraction as d, type QuestOutcome as e, type QuestOutcomePage as f, type QuestOutcomeQuery as g, QuestOutcomeState as h, type QuestRewardView as i, type QuestView as j, type ResponseSchema as k, RewardDeliveryAction as l, type ContentPerformancePolicy as m, type QuestCatalog as n, type QuestDraft as o, type QuestInstance as p, type RewardDelivery as q, allocateQuestSchema as r, allocatedQuestSchema as s, catalogDeploymentPreviewSchema as t, catalogDeploymentSchema as u, collectionSlotDeclarationSchema as v, collectionSlotSchema as w, collectionViewSchema as x, contentMetricSchema as y, contentMetricsSchema as z };
4982
+ export { questInstanceSchema as $, contentMetricsSchema as A, contentPerformancePolicySchema as B, type ContentMetric as C, contentQualificationDecisionSchema as D, contentQualificationPageSchema as E, contentQualificationQuerySchema as F, contentQualificationSchema as G, interactionSchema as H, knownRewardDeliverySchema as I, managementStateQuerySchema as J, memberEnrollmentInputSchema as K, pageCursorSchema as L, type ManagementStateQuery as M, pageQuerySchema as N, publishQuestDraftSchema as O, type Page as P, type QuestClaimInput as Q, type ResponseResult as R, questCatalogSchema as S, questClaimInputSchema as T, type UnsupportedResponse as U, questCollectionSchema as V, questDraftChangesSchema as W, questDraftSchema as X, questEnrollmentInputSchema as Y, questEnrollmentSchema as Z, questExperienceSchema as _, type PageQuery as a, questInteraction as a0, questOutcomePageSchema as a1, questOutcomeQuerySchema as a2, questOutcomeSchema as a3, questPublicationPreviewSchema as a4, questRewardViewSchema as a5, questTypeVersionSchema as a6, questViewSchema as a7, responseListSchema as a8, responseSchema as a9, responseShape as aa, rewardDeliveriesSchema as ab, rewardDeliverySchema as ac, roleReconciliationSchema as ad, saveQuestDraftSchema as ae, type QuestEnrollment as b, type QuestEnrollmentInput as c, type QuestInteraction as d, type QuestOutcome as e, type QuestOutcomePage as f, type QuestOutcomeQuery as g, QuestOutcomeState as h, type QuestRewardView as i, type QuestView as j, type ResponseSchema as k, RewardDeliveryAction as l, type ContentPerformancePolicy as m, type MemberEnrollmentInput as n, type QuestCatalog as o, type QuestDraft as p, type QuestInstance as q, type RewardDelivery as r, allocateQuestSchema as s, allocatedQuestSchema as t, catalogDeploymentPreviewSchema as u, catalogDeploymentSchema as v, collectionSlotDeclarationSchema as w, collectionSlotSchema as x, collectionViewSchema as y, contentMetricSchema as z };
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-AXRMT33W.js";
4
4
  import {
5
5
  clientIdentity
6
- } from "./chunk-N2HXMTVA.js";
6
+ } from "./chunk-DG4QQUH7.js";
7
7
  import {
8
8
  exchangeResultSchema
9
- } from "./chunk-BUXNTVER.js";
10
- import "./chunk-23JUD56J.js";
9
+ } from "./chunk-TV2GYBDZ.js";
10
+ import "./chunk-GXT4S5IK.js";
11
11
 
12
12
  // src/portal-proxy.ts
13
13
  var statusCode = (status) => ({
@@ -1,13 +1,13 @@
1
1
  import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-DkL3nY5a.js';
2
- import { g as RelayError, R as RelayClient, S as SubmissionDraft } from '../client-Yq11HA_f.js';
3
- import { P as Page, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-D00JDZB-.js';
2
+ import { g as RelayError, R as RelayClient, S as SubmissionDraft } from '../client-Dz14Kuu8.js';
3
+ import { P as Page, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-tSpttGrI.js';
4
4
  import * as react from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { J as JSONType } from '../util.d-w9f9t3ua.js';
7
7
  import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-DEM8y8Fm.js';
8
8
  import { a as AuthProvider, A as AccountConnection } from '../submission-input-BbBJTVlT.js';
9
- import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, g as SignInWallet, D as DiscoveredWallet } from '../sign-in-options-Coim0G1u.js';
10
- export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption } from '../sign-in-options-Coim0G1u.js';
9
+ import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, g as SignInWallet, D as DiscoveredWallet } from '../sign-in-options-rPCsFr7w.js';
10
+ export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption } from '../sign-in-options-rPCsFr7w.js';
11
11
  import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-CDyo-U4n.js';
12
12
  import { f as LeaderboardPlacement, b7 as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-BK8ts2yK.js';
13
13
  import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-BHMVj0kM.js';
@@ -8,27 +8,27 @@ import {
8
8
  discoverSolanaWallets,
9
9
  readSignInMethods,
10
10
  signInOptionsFrom
11
- } from "../chunk-GEPSEVQO.js";
12
- import "../chunk-7BRHUUVB.js";
11
+ } from "../chunk-CFTTECZZ.js";
12
+ import "../chunk-U4KTGJWU.js";
13
13
  import {
14
14
  createRelayAction
15
- } from "../chunk-GFAFH7XR.js";
16
- import "../chunk-BKLGWPPD.js";
15
+ } from "../chunk-7JHREQ2D.js";
16
+ import "../chunk-GKTD36JW.js";
17
17
  import {
18
18
  RelayError,
19
19
  RelayErrorCode,
20
20
  asRelayError,
21
21
  isRelayError
22
- } from "../chunk-UIR6NSYZ.js";
22
+ } from "../chunk-KLF7XABH.js";
23
23
  import "../chunk-6QJ3LADK.js";
24
24
  import {
25
25
  isRequestError
26
26
  } from "../chunk-NPGENI7K.js";
27
- import "../chunk-N2HXMTVA.js";
27
+ import "../chunk-DG4QQUH7.js";
28
28
  import {
29
29
  sessionMember
30
- } from "../chunk-BUXNTVER.js";
31
- import "../chunk-23JUD56J.js";
30
+ } from "../chunk-TV2GYBDZ.js";
31
+ import "../chunk-GXT4S5IK.js";
32
32
 
33
33
  // src/react/activity.ts
34
34
  import {