@merkl/api 1.0.32 → 1.0.33
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/src/eden/index.d.ts +2 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +2 -2
- package/dist/src/modules/v4/router.d.ts +1 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +1 -0
- package/dist/src/modules/v4/user/user.model.d.ts +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -5113,6 +5113,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5113
5113
|
address: string;
|
5114
5114
|
};
|
5115
5115
|
query: {
|
5116
|
+
tags?: string | undefined;
|
5116
5117
|
test?: boolean | undefined;
|
5117
5118
|
chainIds?: string[] | undefined;
|
5118
5119
|
reloadChainId?: number | undefined;
|
@@ -14469,6 +14470,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14469
14470
|
get: (options: {
|
14470
14471
|
headers?: Record<string, unknown> | undefined;
|
14471
14472
|
query: {
|
14473
|
+
tags?: string | undefined;
|
14472
14474
|
test?: boolean | undefined;
|
14473
14475
|
chainIds?: string[] | undefined;
|
14474
14476
|
reloadChainId?: number | undefined;
|
package/dist/src/index.d.ts
CHANGED
@@ -4,7 +4,7 @@ import type { BreakdownForCampaignsRaw, CampaignIdModel, CampaignIdWithoutPageMo
|
|
4
4
|
export declare abstract class RewardRepository {
|
5
5
|
static createManyReward(rewards: CreateManyRewardModel): Promise<Prisma.BatchPayload>;
|
6
6
|
static createManyBreakdown(data: CreateManyBreakdownModel): Promise<Prisma.BatchPayload>;
|
7
|
-
static getByRecipient(recipient: string, roots: string[], withToken: boolean, withTestTokens: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
7
|
+
static getByRecipient(recipient: string, roots: string[], withToken: boolean, withTestTokens: boolean, tags: string[], breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
8
8
|
RewardToken: {
|
9
9
|
symbol: string;
|
10
10
|
name: string | null;
|
@@ -362,7 +362,7 @@ export declare abstract class RewardService {
|
|
362
362
|
proofs: string[];
|
363
363
|
}[];
|
364
364
|
static createManyBreakdown(data: CreateManyBreakdownModel): Promise<import("@package/databases").BatchPayload | undefined>;
|
365
|
-
static getByRecipient(recipient: string, roots: string[], withToken?: boolean, withTestTokens?: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
365
|
+
static getByRecipient(recipient: string, roots: string[], tags: string[], withToken?: boolean, withTestTokens?: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
366
366
|
RewardToken: {
|
367
367
|
symbol: string;
|
368
368
|
name: string | null;
|
@@ -788,7 +788,7 @@ export declare abstract class RewardService {
|
|
788
788
|
pending: string;
|
789
789
|
rewardTokenId: string;
|
790
790
|
})[]>;
|
791
|
-
static getUserRewardsByChain(user: string, withToken: boolean, breakdownPage?: number, chainFilter?: ChainId[], connectedChainId?: MerklChainId | null, withTestTokens?: boolean, claimableOnly?: boolean): Promise<{
|
791
|
+
static getUserRewardsByChain(user: string, withToken: boolean, breakdownPage?: number, chainFilter?: ChainId[], connectedChainId?: MerklChainId | null, withTestTokens?: boolean, claimableOnly?: boolean, tags?: string[]): Promise<{
|
792
792
|
chain: Chain;
|
793
793
|
rewards: Awaited<ReturnType<(typeof RewardService)["format"]>>;
|
794
794
|
}[]>;
|
@@ -52,7 +52,8 @@ export declare const UserRewardsResourceDto: import("@sinclair/typebox").TObject
|
|
52
52
|
export declare const UserUniqueDto: import("@sinclair/typebox").TObject<{
|
53
53
|
address: import("@sinclair/typebox").TString;
|
54
54
|
}>;
|
55
|
-
export declare const
|
55
|
+
export declare const GetRewardBreakdownsDto: import("@sinclair/typebox").TObject<{
|
56
|
+
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
56
57
|
chainIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
57
58
|
reloadChainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
58
59
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
@@ -80,5 +81,5 @@ export declare const UserTagsDto: import("@sinclair/typebox").TObject<{
|
|
80
81
|
}>;
|
81
82
|
export type UserUniqueModel = typeof UserUniqueDto.static;
|
82
83
|
export type UserModel = typeof UserDto.static;
|
83
|
-
export type OptionalChainIdModel = typeof
|
84
|
+
export type OptionalChainIdModel = typeof GetRewardBreakdownsDto.static;
|
84
85
|
export type GetManyUserModel = typeof GetManyUserQuery.static;
|