@domino-sdk/relay 1.0.0-next.10 → 1.0.0-next.12
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 +22 -19
- package/dist/authoring.js +1 -1
- package/dist/avatar.d.ts +2 -2
- package/dist/browser.d.ts +138 -107
- package/dist/browser.js +4 -4
- package/dist/{pages-D3titw5B.d.ts → catalog-qrYne8qV.d.ts} +106 -138
- package/dist/{chunk-X2F2RAR3.js → chunk-22J4K7ED.js} +21 -2
- package/dist/{chunk-PHU5VDLR.js → chunk-5L7XZA4Y.js} +10 -1
- package/dist/{chunk-ZWY3R6B3.js → chunk-6A2V4L3T.js} +4 -0
- package/dist/{chunk-P6FK43GG.js → chunk-EWFB35JW.js} +140 -41
- package/dist/{chunk-QR7ZA2BJ.js → chunk-LY7SXUNW.js} +45 -1
- package/dist/chunk-NZA2TLBF.js +68 -0
- package/dist/chunk-UW5CQHPQ.js +100 -0
- package/dist/{client-CT4-S5vc.d.ts → client-CW72TaAs.d.ts} +46 -58
- package/dist/deployments-Bc0dPSXN.d.ts +4119 -0
- package/dist/identity-integration-CBR8l3ju.d.ts +37 -0
- package/dist/images-D0Txfte6.d.ts +234 -0
- package/dist/index.d.ts +9 -7
- package/dist/index.js +6 -3
- package/dist/{integrations-Ba5TtqTv.d.ts → integrations-EjQzIApL.d.ts} +1 -88
- package/dist/internal.d.ts +7 -38
- package/dist/internal.js +14 -87
- package/dist/observations-bFY4yv2K.d.ts +90 -0
- package/dist/pages-KYK1L60W.d.ts +152 -0
- package/dist/portal-proxy.js +3 -2
- package/dist/{profiles-DDMFBRKe.d.ts → profiles-BtOXMGcC.d.ts} +1 -1
- package/dist/react/index.d.ts +135 -8
- package/dist/react/index.js +146 -8
- package/dist/{submission-input-0OOGaq8c.d.ts → referrals-CvSmxvjm.d.ts} +1 -81
- package/dist/request-error-VnTiMXc3.d.ts +52 -0
- package/dist/{schema-Di3aLSiK.d.ts → schema-ZfjL-d1N.d.ts} +1 -1
- package/dist/schema.d.ts +14 -4126
- package/dist/schema.js +21 -35
- package/dist/server/index.d.ts +19411 -0
- package/dist/server/index.js +1860 -0
- package/dist/submission-input-CccwAl5Z.d.ts +83 -0
- package/dist/{images-BTgk6OmC.d.ts → trackers-BsUh5Ky0.d.ts} +1 -232
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1 -0
- package/dist/{wallet-BGOfFkG9.d.ts → wallet-BtiG0Xhr.d.ts} +1 -1
- package/package.json +5 -1
- package/dist/point-ledgers-iS00Z_v0.d.ts +0 -37
package/dist/authoring.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { e as ContentPolicy, C as ContentMetric, E as EngagementDefinition, P as leaderboardAuthoringSchema, a7 as referralAuthoringSchema, A as AdmittedContent } from './referrals-CvSmxvjm.js';
|
|
4
4
|
import { Q as QuizContent, a as StreakPolicy } from './streaks-CwGReWGt.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
5
|
+
import { b as ResourceSource, S as Setting, g as XReader, I as IntegerSettings, a as IntegrationProvider } from './integrations-EjQzIApL.js';
|
|
6
|
+
import { j as TrackerDefinition, I as IdentityKind, J as customSourceSchema, F as WithRecordData, t as TrackerSource, a1 as trackerDefinitionSchema, a as Tracker, h as TrackerData, au as xSearchSourceSchema, X as XTweet, v as TrackerTriggerContext, x as TrackerTriggerPolicy, q as TrackerReader, W as Where, w as TrackerTriggerMode, E as WhereSetting } from './trackers-BsUh5Ky0.js';
|
|
7
|
+
export { T as TrackerDataSchema, m as TrackerPage, aw as trackerDataSchema, ak as trackerTriggerContextSchema } from './trackers-BsUh5Ky0.js';
|
|
8
|
+
import { e as ImageReader } from './images-D0Txfte6.js';
|
|
9
|
+
import { O as Observation, D as DiscordMessage, h as observationTriggerSchema, B as Budget } from './observations-bFY4yv2K.js';
|
|
10
|
+
import { D as DiscordMember, T as TextEvidence, U as UrlEvidence, b as TextOptions, c as UrlOptions } from './submission-input-CccwAl5Z.js';
|
|
11
|
+
import { n as TextReviewInput, m as TextResult, P as PhotoResult, ag as rewardSchema, au as triggerSchema, Q as QuestPresentation, a as QuestProfile, b as QuizEvidence, D as Decision, o as TieredRewardDefinition } from './schema-ZfjL-d1N.js';
|
|
12
|
+
import { k as WalletConnection, S as SolanaBalance, L as LinkedWallet, j as WalletBalanceQuery, i as WalletBalance } from './wallet-BtiG0Xhr.js';
|
|
13
|
+
export { E as EvmChainId, r as isEvmChainId } from './wallet-BtiG0Xhr.js';
|
|
11
14
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
12
15
|
|
|
13
16
|
/** Legacy `id` names an authoring key, never a server resource ID. */
|
|
@@ -30,7 +33,7 @@ declare function content(tracker: TrackerDefinition, policy?: Partial<Pick<Conte
|
|
|
30
33
|
};
|
|
31
34
|
enrollment: "required" | "none";
|
|
32
35
|
posts: "after-enrollment" | "since-start";
|
|
33
|
-
historical: "
|
|
36
|
+
historical: "staff" | "automatic" | "claim";
|
|
34
37
|
};
|
|
35
38
|
};
|
|
36
39
|
declare function perContent(): {
|
|
@@ -180,8 +183,8 @@ declare function defineReferral(input: Omit<z.input<typeof referralAuthoringSche
|
|
|
180
183
|
};
|
|
181
184
|
declare function defineLeaderboard(input: Omit<z.input<typeof leaderboardAuthoringSchema>, "key" | "id"> & AuthoringIdentity): {
|
|
182
185
|
id: string;
|
|
183
|
-
title: string;
|
|
184
186
|
balance: string;
|
|
187
|
+
title: string;
|
|
185
188
|
group?: string | undefined;
|
|
186
189
|
score: {
|
|
187
190
|
kind: "balance";
|
|
@@ -446,7 +449,7 @@ type KeyedContext = {
|
|
|
446
449
|
declare const budget: (definition: Budget) => {
|
|
447
450
|
id: string;
|
|
448
451
|
scope: "member" | "project";
|
|
449
|
-
period: "
|
|
452
|
+
period: "lifetime" | "day" | "week";
|
|
450
453
|
limit: number;
|
|
451
454
|
cost: number | {
|
|
452
455
|
balance: string;
|
|
@@ -740,12 +743,12 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
|
|
|
740
743
|
kind: "resource";
|
|
741
744
|
default: string;
|
|
742
745
|
source: {
|
|
746
|
+
provider: "domino";
|
|
747
|
+
resource: "point-ledger";
|
|
748
|
+
} | {
|
|
743
749
|
provider: "discord";
|
|
744
750
|
resource: "channel";
|
|
745
751
|
types: ("text" | "announcement")[];
|
|
746
|
-
} | {
|
|
747
|
-
provider: "domino";
|
|
748
|
-
resource: "point-ledger";
|
|
749
752
|
} | {
|
|
750
753
|
provider: "discord";
|
|
751
754
|
resource: "role";
|
|
@@ -844,7 +847,7 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
|
|
|
844
847
|
};
|
|
845
848
|
enrollment: "required" | "none";
|
|
846
849
|
posts: "after-enrollment" | "since-start";
|
|
847
|
-
historical: "
|
|
850
|
+
historical: "staff" | "automatic" | "claim";
|
|
848
851
|
} | undefined;
|
|
849
852
|
tracker?: {
|
|
850
853
|
tracker: string;
|
|
@@ -895,7 +898,7 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
|
|
|
895
898
|
minLength: number;
|
|
896
899
|
maxLength: number;
|
|
897
900
|
};
|
|
898
|
-
actor?: "
|
|
901
|
+
actor?: "staff" | "member" | undefined;
|
|
899
902
|
} | {
|
|
900
903
|
kind: "manual";
|
|
901
904
|
input: "url";
|
|
@@ -903,11 +906,11 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
|
|
|
903
906
|
required: boolean;
|
|
904
907
|
allowedHosts?: string[] | undefined;
|
|
905
908
|
};
|
|
906
|
-
actor?: "
|
|
909
|
+
actor?: "staff" | "member" | undefined;
|
|
907
910
|
} | {
|
|
908
911
|
kind: "manual";
|
|
909
|
-
input: "
|
|
910
|
-
actor?: "
|
|
912
|
+
input: "photo" | "quiz" | "none";
|
|
913
|
+
actor?: "staff" | "member" | undefined;
|
|
911
914
|
};
|
|
912
915
|
requires: {
|
|
913
916
|
quest: string;
|
|
@@ -925,7 +928,7 @@ declare function defineQuest<T extends Record<string, Setting>, const G extends
|
|
|
925
928
|
budgets: {
|
|
926
929
|
id: string;
|
|
927
930
|
scope: "member" | "project";
|
|
928
|
-
period: "
|
|
931
|
+
period: "lifetime" | "day" | "week";
|
|
929
932
|
limit: number;
|
|
930
933
|
cost: number | {
|
|
931
934
|
balance: string;
|
package/dist/authoring.js
CHANGED
package/dist/avatar.d.ts
CHANGED