@merkl/api 1.3.26 → 1.3.27
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
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
+
import type { Campaign as CampaignType } from "@angleprotocol/sdk/ts";
|
1
2
|
import { treaty } from "@elysiajs/eden";
|
2
3
|
import type { App } from "../index";
|
4
|
+
import type { CampaignWithParams } from "../modules/v4/campaign/campaign.model";
|
5
|
+
import type { OpportunityResourceModel } from "../modules/v4/opportunity/opportunity.model";
|
6
|
+
export type { UserTransaction } from "../modules/v4/interaction/interaction.model";
|
7
|
+
export type { InteractionTarget } from "../modules/v4/interaction/interaction.model";
|
8
|
+
export type { OpportunityDeleteOverrideModel, OpportunityOverrideModel, } from "../modules/v4/opportunity/opportunity.model";
|
9
|
+
export type { PositionT } from "../modules/v4/liquidity/liquidity.model";
|
10
|
+
export type { BreakdownForCampaignsRaw } from "../modules/v4/reward/reward.model";
|
3
11
|
export declare const MerklApi: typeof treaty<App>;
|
4
12
|
// Types to export along the Eden type
|
5
|
-
import type { Campaign as CampaignType } from "@angleprotocol/sdk/ts";
|
6
|
-
import type { CampaignWithParams } from "@apps/api/modules/v4/campaign/campaign.model";
|
7
|
-
import type { OpportunityResourceModel } from "@apps/api/modules/v4/opportunity/opportunity.model";
|
8
|
-
export type { UserTransaction } from "@apps/api/modules/v4/interaction/interaction.model";
|
9
|
-
export type { InteractionTarget } from "@apps/api/modules/v4/interaction/interaction.model";
|
10
|
-
export type { OpportunityDeleteOverrideModel, OpportunityOverrideModel, } from "@apps/api/modules/v4/opportunity/opportunity.model";
|
11
|
-
export type { PositionT } from "@apps/api/modules/v4/liquidity/liquidity.model";
|
12
|
-
export type { BreakdownForCampaignsRaw } from "@apps/api/modules/v4/reward/reward.model";
|
13
13
|
declare const eden: {
|
14
14
|
get: (options?: {
|
15
15
|
fetch?: RequestInit | undefined;
|
@@ -8212,7 +8212,7 @@ declare const eden: {
|
|
8212
8212
|
identifier: string;
|
8213
8213
|
};
|
8214
8214
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8215
|
-
200: import("
|
8215
|
+
200: import(".").InteractionTarget[];
|
8216
8216
|
422: {
|
8217
8217
|
type: "validation";
|
8218
8218
|
on: string;
|
@@ -8242,9 +8242,9 @@ declare const eden: {
|
|
8242
8242
|
amountIn: bigint;
|
8243
8243
|
allowance: bigint;
|
8244
8244
|
approved: boolean;
|
8245
|
-
transaction: import("
|
8246
|
-
approval: import("
|
8247
|
-
actions?: import("
|
8245
|
+
transaction: import(".").UserTransaction;
|
8246
|
+
approval: import(".").UserTransaction;
|
8247
|
+
actions?: import("../modules/v4/interaction/interaction.model").InteractionAction<keyof import("../modules/v4/interaction/interaction.model").InteractionActions>[] | undefined;
|
8248
8248
|
depositValue?: number | undefined;
|
8249
8249
|
} | undefined;
|
8250
8250
|
422: {
|
@@ -8268,7 +8268,7 @@ declare const eden: {
|
|
8268
8268
|
address: string;
|
8269
8269
|
};
|
8270
8270
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8271
|
-
200: import("
|
8271
|
+
200: import(".").PositionT[];
|
8272
8272
|
422: {
|
8273
8273
|
type: "validation";
|
8274
8274
|
on: string;
|
@@ -12455,7 +12455,7 @@ declare const eden: {
|
|
12455
12455
|
test?: boolean | undefined;
|
12456
12456
|
};
|
12457
12457
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12458
|
-
200: import("
|
12458
|
+
200: import(".").BreakdownForCampaignsRaw[];
|
12459
12459
|
422: {
|
12460
12460
|
type: "validation";
|
12461
12461
|
on: string;
|
package/dist/src/eden/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../apps/api/src/eden/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../apps/api/src/eden/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAaxC,MAAM,CAAC,MAAM,QAAQ,GAAuB,MAAW,CAAC;AAExD,sCAAsC;AAEtC,MAAM,IAAI,GAAG,MAAM,CAAM,EAAE,CAAC,CAAC"}
|