@merkl/api 0.10.345 → 0.10.346
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 +3 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.model.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.js +2 -2
- package/dist/src/routes/v3/campaigns.d.ts +1 -1
- package/dist/src/routes/v3/router.d.ts +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -2612,8 +2612,8 @@ declare const eden: {
|
|
2612
2612
|
query: {
|
2613
2613
|
types?: string | number | string[] | number[] | undefined;
|
2614
2614
|
chainIds?: string | string[] | undefined;
|
2615
|
-
live?: boolean | undefined;
|
2616
2615
|
creatorTag?: string | undefined;
|
2616
|
+
live?: boolean | undefined;
|
2617
2617
|
hideTestTokens?: string | undefined;
|
2618
2618
|
};
|
2619
2619
|
fetch?: RequestInit | undefined;
|
@@ -6393,8 +6393,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6393
6393
|
query: {
|
6394
6394
|
types?: string | number | string[] | number[] | undefined;
|
6395
6395
|
chainIds?: string | string[] | undefined;
|
6396
|
-
live?: boolean | undefined;
|
6397
6396
|
creatorTag?: string | undefined;
|
6397
|
+
live?: boolean | undefined;
|
6398
6398
|
hideTestTokens?: string | undefined;
|
6399
6399
|
};
|
6400
6400
|
headers: unknown;
|
@@ -9688,8 +9688,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9688
9688
|
query: {
|
9689
9689
|
types?: string | number | string[] | number[] | undefined;
|
9690
9690
|
chainIds?: string | string[] | undefined;
|
9691
|
-
live?: boolean | undefined;
|
9692
9691
|
creatorTag?: string | undefined;
|
9692
|
+
live?: boolean | undefined;
|
9693
9693
|
hideTestTokens?: string | undefined;
|
9694
9694
|
};
|
9695
9695
|
fetch?: RequestInit | undefined;
|
package/dist/src/index.d.ts
CHANGED
@@ -3252,8 +3252,8 @@ declare const app: Elysia<"", false, {
|
|
3252
3252
|
query: {
|
3253
3253
|
types?: string | number | string[] | number[] | undefined;
|
3254
3254
|
chainIds?: string | string[] | undefined;
|
3255
|
-
live?: boolean | undefined;
|
3256
3255
|
creatorTag?: string | undefined;
|
3256
|
+
live?: boolean | undefined;
|
3257
3257
|
hideTestTokens?: string | undefined;
|
3258
3258
|
};
|
3259
3259
|
headers: unknown;
|
@@ -2,8 +2,8 @@ import type { Resource } from "../prisma";
|
|
2
2
|
import { type Token } from "../token";
|
3
3
|
import { CampaignType } from "../../../../database/api/.generated";
|
4
4
|
import { type CampaignParameters } from "@sdk";
|
5
|
-
import { type Chain } from "../chain";
|
6
|
-
import { type Status } from "../status";
|
5
|
+
import { type Chain } from "../chain/chain.model";
|
6
|
+
import { type Status } from "../status/status.model";
|
7
7
|
/**
|
8
8
|
* Campaign
|
9
9
|
* @description Target description of rewards campaigns
|
@@ -2,8 +2,8 @@ import { TokenResourceDto } from "../token";
|
|
2
2
|
import { CampaignType } from "../../../../database/api/.generated";
|
3
3
|
import { Campaign as CampaignTypeEnum } from "@sdk";
|
4
4
|
import { t } from "elysia";
|
5
|
-
import { ChainResourceDto } from "../chain";
|
6
|
-
import { CampaignStatusResourceDto } from "../status";
|
5
|
+
import { ChainResourceDto } from "../chain/chain.model";
|
6
|
+
import { CampaignStatusResourceDto } from "../status/status.model";
|
7
7
|
// ─── Utils ───────────────────────────────────────────────────────────────────
|
8
8
|
export const campaignTypeToEnumMap = {
|
9
9
|
INVALID: CampaignTypeEnum.INVALID,
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { type AprRecord } from "../apr/apr.model";
|
2
|
+
import { type Campaign } from "../campaign/campaign.model";
|
2
3
|
import type { Resource } from "../prisma";
|
3
4
|
import { type Protocol, type ProtocolId } from "../protocol/protocol.model";
|
4
|
-
import { type DailyRewardsRecord } from "../reward";
|
5
|
+
import { type DailyRewardsRecord } from "../reward/reward.model";
|
5
6
|
import { type Token } from "../token/token.model";
|
6
7
|
import { type TvlRecord } from "../tvl/tvl.model";
|
7
8
|
import { CampaignType, OpportunityAction } from "../../../../database/api/.generated";
|
8
9
|
import type { ChainId } from "@sdk";
|
9
|
-
import { type Campaign } from "../campaign";
|
10
10
|
import { type Chain } from "../chain/chain.model";
|
11
11
|
import type { OpportunityRepository } from "./opportunity.repository";
|
12
12
|
/**
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { AprRecordResourceDto } from "../apr/apr.model";
|
2
|
+
import { CampaignResourceDto } from "../campaign/campaign.model";
|
2
3
|
import { ProtocolResourceDto } from "../protocol/protocol.model";
|
3
|
-
import { DailyRewardsRecordResourceDto } from "../reward";
|
4
|
+
import { DailyRewardsRecordResourceDto } from "../reward/reward.model";
|
4
5
|
import { TokenDto, TokenResourceDto } from "../token/token.model";
|
5
6
|
import { TvlRecordResourceDto } from "../tvl/tvl.model";
|
6
7
|
import { CampaignType, OpportunityAction, Status } from "../../../../database/api/.generated";
|
7
8
|
import { t } from "elysia";
|
8
|
-
import { CampaignResourceDto } from "../campaign";
|
9
9
|
import { ChainResourceDto } from "../chain/chain.model";
|
10
10
|
// ─── DTOs ────────────────────────────────────────────────────────────────────
|
11
11
|
export const OpportunityResourceDto = t.Object({
|
@@ -27,8 +27,8 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
|
|
27
27
|
query: {
|
28
28
|
types?: string | number | string[] | number[] | undefined;
|
29
29
|
chainIds?: string | string[] | undefined;
|
30
|
-
live?: boolean | undefined;
|
31
30
|
creatorTag?: string | undefined;
|
31
|
+
live?: boolean | undefined;
|
32
32
|
hideTestTokens?: string | undefined;
|
33
33
|
};
|
34
34
|
headers: unknown;
|
@@ -88,8 +88,8 @@ export declare const v3: Elysia<"/v3", false, {
|
|
88
88
|
query: {
|
89
89
|
types?: string | number | string[] | number[] | undefined;
|
90
90
|
chainIds?: string | string[] | undefined;
|
91
|
-
live?: boolean | undefined;
|
92
91
|
creatorTag?: string | undefined;
|
92
|
+
live?: boolean | undefined;
|
93
93
|
hideTestTokens?: string | undefined;
|
94
94
|
};
|
95
95
|
headers: unknown;
|