@merkl/api 0.15.39 → 0.15.41
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 +177 -0
- package/dist/src/index.d.ts +41 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +5 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +5 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js +2 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +10 -0
- package/dist/src/modules/v4/chain/chain.controller.d.ts +26 -0
- package/dist/src/modules/v4/chain/chain.controller.js +7 -1
- package/dist/src/modules/v4/chain/chain.model.d.ts +11 -0
- package/dist/src/modules/v4/chain/chain.model.js +8 -0
- package/dist/src/modules/v4/chain/chain.repository.d.ts +2 -2
- package/dist/src/modules/v4/chain/chain.repository.js +11 -2
- package/dist/src/modules/v4/chain/chain.service.d.ts +6 -1
- package/dist/src/modules/v4/chain/chain.service.js +3 -4
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +10 -0
- package/dist/src/modules/v4/router.d.ts +41 -0
- package/dist/src/modules/v4/status/status.controller.d.ts +5 -0
- package/dist/src/modules/v4/status/status.repository.d.ts +5 -0
- package/dist/src/modules/v4/status/status.repository.js +7 -0
- package/dist/src/modules/v4/status/status.service.d.ts +5 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -516,6 +516,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
516
516
|
computedUntil: bigint;
|
517
517
|
processingStarted: bigint;
|
518
518
|
};
|
519
|
+
Creator: {
|
520
|
+
tags: string[];
|
521
|
+
address: string;
|
522
|
+
creatorId: string | null;
|
523
|
+
};
|
519
524
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
520
525
|
id: string;
|
521
526
|
subType: number | null;
|
@@ -1003,6 +1008,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1003
1008
|
computedUntil: bigint;
|
1004
1009
|
processingStarted: bigint;
|
1005
1010
|
};
|
1011
|
+
Creator: {
|
1012
|
+
tags: string[];
|
1013
|
+
address: string;
|
1014
|
+
creatorId: string | null;
|
1015
|
+
};
|
1006
1016
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1007
1017
|
id: string;
|
1008
1018
|
subType: number | null;
|
@@ -1968,6 +1978,32 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1968
1978
|
};
|
1969
1979
|
};
|
1970
1980
|
};
|
1981
|
+
} & {
|
1982
|
+
chains: {
|
1983
|
+
index: {
|
1984
|
+
post: {
|
1985
|
+
body: {
|
1986
|
+
name: string;
|
1987
|
+
id: number;
|
1988
|
+
icon: string;
|
1989
|
+
explorerType: "ETHERSCAN" | "BLOCKSCOUT";
|
1990
|
+
explorerUrl: string;
|
1991
|
+
};
|
1992
|
+
params: {};
|
1993
|
+
query: unknown;
|
1994
|
+
headers: {
|
1995
|
+
authorization: string;
|
1996
|
+
};
|
1997
|
+
response: {
|
1998
|
+
200: {
|
1999
|
+
name: string;
|
2000
|
+
id: number;
|
2001
|
+
icon: string;
|
2002
|
+
};
|
2003
|
+
};
|
2004
|
+
};
|
2005
|
+
};
|
2006
|
+
};
|
1971
2007
|
};
|
1972
2008
|
} & {
|
1973
2009
|
v4: {
|
@@ -3197,6 +3233,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3197
3233
|
computeChainId: number;
|
3198
3234
|
distributionChainId: number;
|
3199
3235
|
campaignId: string;
|
3236
|
+
RewardToken: {
|
3237
|
+
symbol: string;
|
3238
|
+
address: string;
|
3239
|
+
isTest: boolean;
|
3240
|
+
};
|
3200
3241
|
}[];
|
3201
3242
|
};
|
3202
3243
|
};
|
@@ -146,6 +146,11 @@ export declare const StatusController: Elysia<"/campaign-status", false, {
|
|
146
146
|
computeChainId: number;
|
147
147
|
distributionChainId: number;
|
148
148
|
campaignId: string;
|
149
|
+
RewardToken: {
|
150
|
+
symbol: string;
|
151
|
+
address: string;
|
152
|
+
isTest: boolean;
|
153
|
+
};
|
149
154
|
}[];
|
150
155
|
};
|
151
156
|
};
|
@@ -97,6 +97,13 @@ export class StatusRepository {
|
|
97
97
|
startTimestamp: true,
|
98
98
|
endTimestamp: true,
|
99
99
|
distributionChainId: true,
|
100
|
+
RewardToken: {
|
101
|
+
select: {
|
102
|
+
address: true,
|
103
|
+
symbol: true,
|
104
|
+
isTest: true,
|
105
|
+
},
|
106
|
+
},
|
100
107
|
Opportunity: {
|
101
108
|
select: {
|
102
109
|
name: true,
|