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

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.
@@ -68,7 +68,7 @@ declare function defineEngagementReward<const M extends readonly [ContentMetric,
68
68
  maxAgeMs: number;
69
69
  budgets: {
70
70
  scope: "member" | "project";
71
- period: "lifetime" | "day" | "week" | "month";
71
+ period: "day" | "lifetime" | "week" | "month";
72
72
  limit: number;
73
73
  }[];
74
74
  };
@@ -186,8 +186,8 @@ declare function defineReferral(input: Omit<z.input<typeof referralAuthoringSche
186
186
  };
187
187
  declare function defineLeaderboard(input: Omit<z.input<typeof leaderboardDefinitionSchema>, "key" | "id"> & AuthoringIdentity): {
188
188
  id: string;
189
- balance: string;
190
189
  title: string;
190
+ balance: string;
191
191
  group?: string | undefined;
192
192
  score: {
193
193
  kind: "balance";
@@ -450,7 +450,7 @@ type KeyedContext = {
450
450
  declare const budget: (definition: Budget) => {
451
451
  id: string;
452
452
  scope: "member" | "project";
453
- period: "lifetime" | "day" | "week" | "month";
453
+ period: "day" | "lifetime" | "week" | "month";
454
454
  limit: number;
455
455
  cost: number | {
456
456
  balance: string;
@@ -744,12 +744,12 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
744
744
  kind: "resource";
745
745
  default: string;
746
746
  source: {
747
- provider: "domino";
748
- resource: "point-ledger";
749
- } | {
750
747
  provider: "discord";
751
748
  resource: "channel";
752
749
  types: ("text" | "announcement")[];
750
+ } | {
751
+ provider: "domino";
752
+ resource: "point-ledger";
753
753
  } | {
754
754
  provider: "discord";
755
755
  resource: "role";
@@ -899,7 +899,7 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
899
899
  minLength: number;
900
900
  maxLength: number;
901
901
  };
902
- actor?: "staff" | "member" | undefined;
902
+ actor?: "member" | "staff" | undefined;
903
903
  } | {
904
904
  kind: "manual";
905
905
  input: "url";
@@ -907,11 +907,11 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
907
907
  required: boolean;
908
908
  allowedHosts?: string[] | undefined;
909
909
  };
910
- actor?: "staff" | "member" | undefined;
910
+ actor?: "member" | "staff" | undefined;
911
911
  } | {
912
912
  kind: "manual";
913
- input: "photo" | "quiz" | "none";
914
- actor?: "staff" | "member" | undefined;
913
+ input: "quiz" | "photo" | "none";
914
+ actor?: "member" | "staff" | undefined;
915
915
  };
916
916
  requires: {
917
917
  quest: string;
@@ -924,11 +924,11 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
924
924
  } | {
925
925
  kind: "keyed";
926
926
  };
927
- visibility: "visible" | "hidden";
927
+ visibility: "hidden" | "visible";
928
928
  budgets: {
929
929
  id: string;
930
930
  scope: "member" | "project";
931
- period: "lifetime" | "day" | "week" | "month";
931
+ period: "day" | "lifetime" | "week" | "month";
932
932
  limit: number;
933
933
  cost: number | {
934
934
  balance: string;
package/dist/authoring.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  isEvmChainId,
11
11
  leaderboardAuthoringSchema,
12
12
  referralAuthoringSchema
13
- } from "./chunk-OA2KMQVZ.js";
13
+ } from "./chunk-TLGCEVG5.js";
14
14
  import {
15
15
  admittedContentSchema,
16
16
  budgetSchema,