@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.
- package/dist/authoring.d.ts +12 -12
- package/dist/authoring.js +1 -1
- package/dist/browser.d.ts +80 -80
- package/dist/browser.js +4 -4
- package/dist/{chunk-EZWNGI5B.js → chunk-F5OCJE52.js} +2 -2
- package/dist/{chunk-WQ24ILGO.js → chunk-FWRP6YAQ.js} +7 -3
- package/dist/{chunk-KS33GOUL.js → chunk-HAOW4ERY.js} +2 -2
- package/dist/{chunk-M64XHC42.js → chunk-K4ANDR6G.js} +1 -1
- package/dist/{chunk-OA2KMQVZ.js → chunk-TLGCEVG5.js} +10 -0
- package/dist/{deployments-CNCP0JnD.d.ts → deployments-gbA8IZCK.d.ts} +106 -106
- package/dist/index.js +3 -3
- package/dist/react/index.d.ts +434 -600
- package/dist/react/index.js +1187 -807
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +3 -3
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -3
- package/package.json +4 -2
package/dist/authoring.d.ts
CHANGED
|
@@ -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: "
|
|
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: "
|
|
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?: "
|
|
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?: "
|
|
910
|
+
actor?: "member" | "staff" | undefined;
|
|
911
911
|
} | {
|
|
912
912
|
kind: "manual";
|
|
913
|
-
input: "
|
|
914
|
-
actor?: "
|
|
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: "
|
|
927
|
+
visibility: "hidden" | "visible";
|
|
928
928
|
budgets: {
|
|
929
929
|
id: string;
|
|
930
930
|
scope: "member" | "project";
|
|
931
|
-
period: "
|
|
931
|
+
period: "day" | "lifetime" | "week" | "month";
|
|
932
932
|
limit: number;
|
|
933
933
|
cost: number | {
|
|
934
934
|
balance: string;
|