@merkl/api 0.10.155 → 0.10.157
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/edge.js +2 -2
- package/dist/database/api/.generated/index.js +2 -2
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -0
- package/dist/src/eden/index.d.ts +48 -0
- package/dist/src/index.d.ts +16 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +8 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +3 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +8 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js +1 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +16 -0
- package/dist/src/modules/v4/campaign/campaign.service.js +4 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +8 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +32 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +13 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +8 -0
- package/dist/src/modules/v4/router.d.ts +16 -0
- package/dist/src/modules/v4/status/status.model.d.ts +3 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +16 -0
- package/dist/src/routes/v3/blacklist.d.ts +16 -0
- package/dist/src/routes/v3/campaigns.d.ts +16 -0
- package/dist/src/routes/v3/campaignsInfo.d.ts +16 -0
- package/dist/src/routes/v3/multiChainPositions.d.ts +16 -0
- package/dist/src/routes/v3/opportunity.d.ts +16 -0
- package/dist/src/routes/v3/positions.d.ts +16 -0
- package/dist/src/routes/v3/rewards.d.ts +16 -0
- package/dist/src/routes/v3/updates.d.ts +16 -0
- package/dist/src/routes/v3/userRewards.d.ts +16 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -288,6 +288,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
288
288
|
id: number;
|
289
289
|
icon: string;
|
290
290
|
} | undefined;
|
291
|
+
campaignStatus: {
|
292
|
+
error: string;
|
293
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
294
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
295
|
+
campaignId: string;
|
296
|
+
computedUntil: bigint;
|
297
|
+
processingStarted: bigint;
|
298
|
+
};
|
291
299
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
292
300
|
id: string;
|
293
301
|
subType: number | null;
|
@@ -565,6 +573,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
565
573
|
id: number;
|
566
574
|
icon: string;
|
567
575
|
} | undefined;
|
576
|
+
campaignStatus: {
|
577
|
+
error: string;
|
578
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
579
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
580
|
+
campaignId: string;
|
581
|
+
computedUntil: bigint;
|
582
|
+
processingStarted: bigint;
|
583
|
+
};
|
568
584
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
569
585
|
id: string;
|
570
586
|
subType: number | null;
|
@@ -291,6 +291,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
291
291
|
id: number;
|
292
292
|
icon: string;
|
293
293
|
} | undefined;
|
294
|
+
campaignStatus: {
|
295
|
+
error: string;
|
296
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
297
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
298
|
+
campaignId: string;
|
299
|
+
computedUntil: bigint;
|
300
|
+
processingStarted: bigint;
|
301
|
+
};
|
294
302
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
295
303
|
id: string;
|
296
304
|
subType: number | null;
|
@@ -568,6 +576,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
568
576
|
id: number;
|
569
577
|
icon: string;
|
570
578
|
} | undefined;
|
579
|
+
campaignStatus: {
|
580
|
+
error: string;
|
581
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
582
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
583
|
+
campaignId: string;
|
584
|
+
computedUntil: bigint;
|
585
|
+
processingStarted: bigint;
|
586
|
+
};
|
571
587
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
572
588
|
id: string;
|
573
589
|
subType: number | null;
|
@@ -282,6 +282,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
282
282
|
id: number;
|
283
283
|
icon: string;
|
284
284
|
} | undefined;
|
285
|
+
campaignStatus: {
|
286
|
+
error: string;
|
287
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
288
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
289
|
+
campaignId: string;
|
290
|
+
computedUntil: bigint;
|
291
|
+
processingStarted: bigint;
|
292
|
+
};
|
285
293
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
286
294
|
id: string;
|
287
295
|
subType: number | null;
|
@@ -559,6 +567,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
559
567
|
id: number;
|
560
568
|
icon: string;
|
561
569
|
} | undefined;
|
570
|
+
campaignStatus: {
|
571
|
+
error: string;
|
572
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
573
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
574
|
+
campaignId: string;
|
575
|
+
computedUntil: bigint;
|
576
|
+
processingStarted: bigint;
|
577
|
+
};
|
562
578
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
563
579
|
id: string;
|
564
580
|
subType: number | null;
|
@@ -287,6 +287,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
287
287
|
id: number;
|
288
288
|
icon: string;
|
289
289
|
} | undefined;
|
290
|
+
campaignStatus: {
|
291
|
+
error: string;
|
292
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
293
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
294
|
+
campaignId: string;
|
295
|
+
computedUntil: bigint;
|
296
|
+
processingStarted: bigint;
|
297
|
+
};
|
290
298
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
291
299
|
id: string;
|
292
300
|
subType: number | null;
|
@@ -564,6 +572,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
564
572
|
id: number;
|
565
573
|
icon: string;
|
566
574
|
} | undefined;
|
575
|
+
campaignStatus: {
|
576
|
+
error: string;
|
577
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
578
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
579
|
+
campaignId: string;
|
580
|
+
computedUntil: bigint;
|
581
|
+
processingStarted: bigint;
|
582
|
+
};
|
567
583
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
568
584
|
id: string;
|
569
585
|
subType: number | null;
|
@@ -305,6 +305,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
305
305
|
id: number;
|
306
306
|
icon: string;
|
307
307
|
} | undefined;
|
308
|
+
campaignStatus: {
|
309
|
+
error: string;
|
310
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
311
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
312
|
+
campaignId: string;
|
313
|
+
computedUntil: bigint;
|
314
|
+
processingStarted: bigint;
|
315
|
+
};
|
308
316
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
309
317
|
id: string;
|
310
318
|
subType: number | null;
|
@@ -582,6 +590,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
582
590
|
id: number;
|
583
591
|
icon: string;
|
584
592
|
} | undefined;
|
593
|
+
campaignStatus: {
|
594
|
+
error: string;
|
595
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
596
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
597
|
+
campaignId: string;
|
598
|
+
computedUntil: bigint;
|
599
|
+
processingStarted: bigint;
|
600
|
+
};
|
585
601
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
586
602
|
id: string;
|
587
603
|
subType: number | null;
|
@@ -306,6 +306,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
306
306
|
id: number;
|
307
307
|
icon: string;
|
308
308
|
} | undefined;
|
309
|
+
campaignStatus: {
|
310
|
+
error: string;
|
311
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
312
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
313
|
+
campaignId: string;
|
314
|
+
computedUntil: bigint;
|
315
|
+
processingStarted: bigint;
|
316
|
+
};
|
309
317
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
310
318
|
id: string;
|
311
319
|
subType: number | null;
|
@@ -583,6 +591,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
583
591
|
id: number;
|
584
592
|
icon: string;
|
585
593
|
} | undefined;
|
594
|
+
campaignStatus: {
|
595
|
+
error: string;
|
596
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
597
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
598
|
+
campaignId: string;
|
599
|
+
computedUntil: bigint;
|
600
|
+
processingStarted: bigint;
|
601
|
+
};
|
586
602
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
587
603
|
id: string;
|
588
604
|
subType: number | null;
|
@@ -288,6 +288,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
288
288
|
id: number;
|
289
289
|
icon: string;
|
290
290
|
} | undefined;
|
291
|
+
campaignStatus: {
|
292
|
+
error: string;
|
293
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
294
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
295
|
+
campaignId: string;
|
296
|
+
computedUntil: bigint;
|
297
|
+
processingStarted: bigint;
|
298
|
+
};
|
291
299
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
292
300
|
id: string;
|
293
301
|
subType: number | null;
|
@@ -565,6 +573,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
565
573
|
id: number;
|
566
574
|
icon: string;
|
567
575
|
} | undefined;
|
576
|
+
campaignStatus: {
|
577
|
+
error: string;
|
578
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
579
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
580
|
+
campaignId: string;
|
581
|
+
computedUntil: bigint;
|
582
|
+
processingStarted: bigint;
|
583
|
+
};
|
568
584
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
569
585
|
id: string;
|
570
586
|
subType: number | null;
|
@@ -289,6 +289,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
289
289
|
id: number;
|
290
290
|
icon: string;
|
291
291
|
} | undefined;
|
292
|
+
campaignStatus: {
|
293
|
+
error: string;
|
294
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
295
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
296
|
+
campaignId: string;
|
297
|
+
computedUntil: bigint;
|
298
|
+
processingStarted: bigint;
|
299
|
+
};
|
292
300
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
293
301
|
id: string;
|
294
302
|
subType: number | null;
|
@@ -566,6 +574,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
566
574
|
id: number;
|
567
575
|
icon: string;
|
568
576
|
} | undefined;
|
577
|
+
campaignStatus: {
|
578
|
+
error: string;
|
579
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
580
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
581
|
+
campaignId: string;
|
582
|
+
computedUntil: bigint;
|
583
|
+
processingStarted: bigint;
|
584
|
+
};
|
569
585
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
570
586
|
id: string;
|
571
587
|
subType: number | null;
|
@@ -291,6 +291,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
291
291
|
id: number;
|
292
292
|
icon: string;
|
293
293
|
} | undefined;
|
294
|
+
campaignStatus: {
|
295
|
+
error: string;
|
296
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
297
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
298
|
+
campaignId: string;
|
299
|
+
computedUntil: bigint;
|
300
|
+
processingStarted: bigint;
|
301
|
+
};
|
294
302
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
295
303
|
id: string;
|
296
304
|
subType: number | null;
|
@@ -568,6 +576,14 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
568
576
|
id: number;
|
569
577
|
icon: string;
|
570
578
|
} | undefined;
|
579
|
+
campaignStatus: {
|
580
|
+
error: string;
|
581
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
582
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
583
|
+
campaignId: string;
|
584
|
+
computedUntil: bigint;
|
585
|
+
processingStarted: bigint;
|
586
|
+
};
|
571
587
|
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
572
588
|
id: string;
|
573
589
|
subType: number | null;
|