@merkl/api 0.20.154 → 0.20.155

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.
Files changed (31) hide show
  1. package/dist/database/api/.generated/drizzle/schema.d.ts +84 -7
  2. package/dist/database/api/.generated/drizzle/schema.js +4 -1
  3. package/dist/database/api/.generated/drizzle/schema.ts +4 -1
  4. package/dist/database/api/.generated/edge.js +12 -4
  5. package/dist/database/api/.generated/index-browser.js +9 -1
  6. package/dist/database/api/.generated/index.d.ts +303 -79
  7. package/dist/database/api/.generated/index.js +12 -4
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/schema.prisma +5 -0
  10. package/dist/database/api/.generated/wasm.js +9 -1
  11. package/dist/src/eden/index.d.ts +135 -3
  12. package/dist/src/index.d.ts +47 -1
  13. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +13 -0
  14. package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -0
  15. package/dist/src/modules/v4/campaign/campaign.model.js +1 -0
  16. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +18 -0
  17. package/dist/src/modules/v4/campaign/campaign.service.d.ts +32 -0
  18. package/dist/src/modules/v4/campaign/campaign.service.js +2 -1
  19. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -0
  20. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +24 -1
  21. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +9 -0
  22. package/dist/src/modules/v4/opportunity/opportunity.model.js +4 -0
  23. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +23 -0
  24. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +35 -0
  25. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +3 -0
  26. package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
  27. package/dist/src/modules/v4/reward/reward.service.d.ts +17 -0
  28. package/dist/src/modules/v4/router.d.ts +47 -1
  29. package/dist/src/modules/v4/user/user.controller.d.ts +4 -0
  30. package/dist/tsconfig.package.tsbuildinfo +1 -1
  31. package/package.json +1 -1
@@ -212,11 +212,13 @@ declare const app: Elysia<"", false, {
212
212
  name: string;
213
213
  type: string;
214
214
  status: import("@db/api").$Enums.Status;
215
+ description: string;
215
216
  tags: string[];
216
217
  identifier: string;
217
218
  action: import("@db/api").$Enums.OpportunityAction;
218
219
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
219
220
  chainId: number;
221
+ howToSteps: string[];
220
222
  depositUrl: string | null;
221
223
  explorerAddress: string | null;
222
224
  mainProtocolId: string | null;
@@ -236,7 +238,9 @@ declare const app: Elysia<"", false, {
236
238
  patch: {
237
239
  body: {
238
240
  name?: string | undefined;
241
+ description?: string | undefined;
239
242
  action?: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID" | undefined;
243
+ howToSteps?: string[] | undefined;
240
244
  depositUrl?: string | undefined;
241
245
  explorerAddress?: string | undefined;
242
246
  };
@@ -253,11 +257,13 @@ declare const app: Elysia<"", false, {
253
257
  name: string;
254
258
  type: string;
255
259
  status: import("@db/api").$Enums.Status;
260
+ description: string;
256
261
  tags: string[];
257
262
  identifier: string;
258
263
  action: import("@db/api").$Enums.OpportunityAction;
259
264
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
260
265
  chainId: number;
266
+ howToSteps: string[];
261
267
  depositUrl: string | null;
262
268
  explorerAddress: string | null;
263
269
  mainProtocolId: string | null;
@@ -276,7 +282,7 @@ declare const app: Elysia<"", false, {
276
282
  ":id": {
277
283
  override: {
278
284
  delete: {
279
- body: ("name" | "action" | "depositUrl" | "explorerAddress")[];
285
+ body: ("name" | "description" | "action" | "howToSteps" | "depositUrl" | "explorerAddress")[];
280
286
  params: {
281
287
  id: string;
282
288
  };
@@ -314,11 +320,13 @@ declare const app: Elysia<"", false, {
314
320
  name: string;
315
321
  type: string;
316
322
  status: import("@db/api").$Enums.Status;
323
+ description: string;
317
324
  tags: string[];
318
325
  identifier: string;
319
326
  action: import("@db/api").$Enums.OpportunityAction;
320
327
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
321
328
  chainId: number;
329
+ howToSteps: string[];
322
330
  depositUrl: string | null;
323
331
  explorerAddress: string | null;
324
332
  mainProtocolId: string | null;
@@ -403,11 +411,13 @@ declare const app: Elysia<"", false, {
403
411
  name: string;
404
412
  type: string;
405
413
  status: import("@db/api").$Enums.Status;
414
+ description: string;
406
415
  tags: string[];
407
416
  identifier: string;
408
417
  action: import("@db/api").$Enums.OpportunityAction;
409
418
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
410
419
  chainId: number;
420
+ howToSteps: string[];
411
421
  depositUrl: string | null;
412
422
  explorerAddress: string | null;
413
423
  mainProtocolId: string | null;
@@ -585,16 +595,19 @@ declare const app: Elysia<"", false, {
585
595
  creatorId: string | null;
586
596
  };
587
597
  createdAt: string;
598
+ description: string | undefined;
588
599
  Opportunity: {
589
600
  id: string;
590
601
  name: string;
591
602
  type: string;
592
603
  status: import("@db/api").$Enums.Status;
604
+ description: string;
593
605
  tags: string[];
594
606
  identifier: string;
595
607
  action: import("@db/api").$Enums.OpportunityAction;
596
608
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
597
609
  chainId: number;
610
+ howToSteps: string[];
598
611
  depositUrl: string | null;
599
612
  explorerAddress: string | null;
600
613
  mainProtocolId: string | null;
@@ -650,10 +663,12 @@ declare const app: Elysia<"", false, {
650
663
  name: string;
651
664
  type: string;
652
665
  status: import("@db/api").$Enums.Status;
666
+ description: string;
653
667
  tags: string[];
654
668
  identifier: string;
655
669
  action: import("@db/api").$Enums.OpportunityAction;
656
670
  chainId: number;
671
+ howToSteps: string[];
657
672
  tvl: number;
658
673
  dailyRewards: number;
659
674
  }[];
@@ -720,7 +735,9 @@ declare const app: Elysia<"", false, {
720
735
  tags: string[];
721
736
  icon: string;
722
737
  } | null | undefined;
738
+ description?: string | undefined;
723
739
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
740
+ howToSteps?: string[] | undefined;
724
741
  depositUrl?: string | undefined;
725
742
  explorerAddress?: string | undefined;
726
743
  aprRecord?: {
@@ -857,7 +874,9 @@ declare const app: Elysia<"", false, {
857
874
  tags: string[];
858
875
  icon: string;
859
876
  } | null | undefined;
877
+ description?: string | undefined;
860
878
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
879
+ howToSteps?: string[] | undefined;
861
880
  depositUrl?: string | undefined;
862
881
  explorerAddress?: string | undefined;
863
882
  aprRecord?: {
@@ -940,6 +959,7 @@ declare const app: Elysia<"", false, {
940
959
  dailyRewards: number;
941
960
  lastCampaignCreatedAt: string;
942
961
  campaigns: {
962
+ description?: string | undefined;
943
963
  creator?: {
944
964
  tags?: string[] | undefined;
945
965
  creatorId?: string | null | undefined;
@@ -1030,7 +1050,9 @@ declare const app: Elysia<"", false, {
1030
1050
  tags: string[];
1031
1051
  icon: string;
1032
1052
  } | null | undefined;
1053
+ description?: string | undefined;
1033
1054
  distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
1055
+ howToSteps?: string[] | undefined;
1034
1056
  depositUrl?: string | undefined;
1035
1057
  explorerAddress?: string | undefined;
1036
1058
  aprRecord?: {
@@ -1113,6 +1135,7 @@ declare const app: Elysia<"", false, {
1113
1135
  dailyRewards: number;
1114
1136
  lastCampaignCreatedAt: string;
1115
1137
  campaigns: {
1138
+ description?: string | undefined;
1116
1139
  creator?: {
1117
1140
  tags?: string[] | undefined;
1118
1141
  creatorId?: string | null | undefined;
@@ -1341,6 +1364,7 @@ declare const app: Elysia<"", false, {
1341
1364
  200: {
1342
1365
  id: string;
1343
1366
  type: string;
1367
+ description: string | null;
1344
1368
  params: import("database/api/.generated/runtime/library").JsonValue;
1345
1369
  subType: number | null;
1346
1370
  computeChainId: number;
@@ -1384,11 +1408,13 @@ declare const app: Elysia<"", false, {
1384
1408
  name: string;
1385
1409
  type: string;
1386
1410
  status: import("@db/api").$Enums.Status;
1411
+ description: string;
1387
1412
  tags: string[];
1388
1413
  identifier: string;
1389
1414
  action: import("@db/api").$Enums.OpportunityAction;
1390
1415
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
1391
1416
  chainId: number;
1417
+ howToSteps: string[];
1392
1418
  depositUrl: string | null;
1393
1419
  explorerAddress: string | null;
1394
1420
  mainProtocolId: string | null;
@@ -1499,6 +1525,7 @@ declare const app: Elysia<"", false, {
1499
1525
  200: {
1500
1526
  id: string;
1501
1527
  type: string;
1528
+ description: string | null;
1502
1529
  params: import("database/api/.generated/runtime/library").JsonValue;
1503
1530
  subType: number | null;
1504
1531
  computeChainId: number;
@@ -1593,16 +1620,19 @@ declare const app: Elysia<"", false, {
1593
1620
  creatorId: string | null;
1594
1621
  };
1595
1622
  createdAt: string;
1623
+ description: string | undefined;
1596
1624
  Opportunity: {
1597
1625
  id: string;
1598
1626
  name: string;
1599
1627
  type: string;
1600
1628
  status: import("@db/api").$Enums.Status;
1629
+ description: string;
1601
1630
  tags: string[];
1602
1631
  identifier: string;
1603
1632
  action: import("@db/api").$Enums.OpportunityAction;
1604
1633
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
1605
1634
  chainId: number;
1635
+ howToSteps: string[];
1606
1636
  depositUrl: string | null;
1607
1637
  explorerAddress: string | null;
1608
1638
  mainProtocolId: string | null;
@@ -1680,16 +1710,19 @@ declare const app: Elysia<"", false, {
1680
1710
  creatorId: string | null;
1681
1711
  };
1682
1712
  createdAt: string;
1713
+ description: string | undefined;
1683
1714
  Opportunity: {
1684
1715
  id: string;
1685
1716
  name: string;
1686
1717
  type: string;
1687
1718
  status: import("@db/api").$Enums.Status;
1719
+ description: string;
1688
1720
  tags: string[];
1689
1721
  identifier: string;
1690
1722
  action: import("@db/api").$Enums.OpportunityAction;
1691
1723
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
1692
1724
  chainId: number;
1725
+ howToSteps: string[];
1693
1726
  depositUrl: string | null;
1694
1727
  explorerAddress: string | null;
1695
1728
  mainProtocolId: string | null;
@@ -1883,16 +1916,19 @@ declare const app: Elysia<"", false, {
1883
1916
  creatorId: string | null;
1884
1917
  };
1885
1918
  createdAt: string;
1919
+ description: string | undefined;
1886
1920
  Opportunity: {
1887
1921
  id: string;
1888
1922
  name: string;
1889
1923
  type: string;
1890
1924
  status: import("@db/api").$Enums.Status;
1925
+ description: string;
1891
1926
  tags: string[];
1892
1927
  identifier: string;
1893
1928
  action: import("@db/api").$Enums.OpportunityAction;
1894
1929
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
1895
1930
  chainId: number;
1931
+ howToSteps: string[];
1896
1932
  depositUrl: string | null;
1897
1933
  explorerAddress: string | null;
1898
1934
  mainProtocolId: string | null;
@@ -2222,6 +2258,7 @@ declare const app: Elysia<"", false, {
2222
2258
  200: {
2223
2259
  id: string;
2224
2260
  type: string;
2261
+ description: string | null;
2225
2262
  params: import("database/api/.generated/runtime/library").JsonValue;
2226
2263
  subType: number | null;
2227
2264
  computeChainId: number;
@@ -2265,11 +2302,13 @@ declare const app: Elysia<"", false, {
2265
2302
  name: string;
2266
2303
  type: string;
2267
2304
  status: import("@db/api").$Enums.Status;
2305
+ description: string;
2268
2306
  tags: string[];
2269
2307
  identifier: string;
2270
2308
  action: import("@db/api").$Enums.OpportunityAction;
2271
2309
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
2272
2310
  chainId: number;
2311
+ howToSteps: string[];
2273
2312
  depositUrl: string | null;
2274
2313
  explorerAddress: string | null;
2275
2314
  mainProtocolId: string | null;
@@ -2327,6 +2366,7 @@ declare const app: Elysia<"", false, {
2327
2366
  200: {
2328
2367
  id: string;
2329
2368
  type: string;
2369
+ description: string | null;
2330
2370
  params: import("database/api/.generated/runtime/library").JsonValue;
2331
2371
  subType: number | null;
2332
2372
  computeChainId: number;
@@ -2370,11 +2410,13 @@ declare const app: Elysia<"", false, {
2370
2410
  name: string;
2371
2411
  type: string;
2372
2412
  status: import("@db/api").$Enums.Status;
2413
+ description: string;
2373
2414
  tags: string[];
2374
2415
  identifier: string;
2375
2416
  action: import("@db/api").$Enums.OpportunityAction;
2376
2417
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
2377
2418
  chainId: number;
2419
+ howToSteps: string[];
2378
2420
  depositUrl: string | null;
2379
2421
  explorerAddress: string | null;
2380
2422
  mainProtocolId: string | null;
@@ -4002,11 +4044,13 @@ declare const app: Elysia<"", false, {
4002
4044
  name: string;
4003
4045
  type: string;
4004
4046
  status: import("@db/api").$Enums.Status;
4047
+ description: string;
4005
4048
  tags: string[];
4006
4049
  identifier: string;
4007
4050
  action: import("@db/api").$Enums.OpportunityAction;
4008
4051
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
4009
4052
  chainId: number;
4053
+ howToSteps: string[];
4010
4054
  depositUrl: string | null;
4011
4055
  explorerAddress: string | null;
4012
4056
  mainProtocolId: string | null;
@@ -4125,11 +4169,13 @@ declare const app: Elysia<"", false, {
4125
4169
  name: string;
4126
4170
  type: string;
4127
4171
  status: import("@db/api").$Enums.Status;
4172
+ description: string;
4128
4173
  tags: string[];
4129
4174
  identifier: string;
4130
4175
  action: import("@db/api").$Enums.OpportunityAction;
4131
4176
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
4132
4177
  chainId: number;
4178
+ howToSteps: string[];
4133
4179
  depositUrl: string | null;
4134
4180
  explorerAddress: string | null;
4135
4181
  mainProtocolId: string | null;
@@ -40,6 +40,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
40
40
  200: {
41
41
  id: string;
42
42
  type: string;
43
+ description: string | null;
43
44
  params: import("database/api/.generated/runtime/library").JsonValue;
44
45
  subType: number | null;
45
46
  computeChainId: number;
@@ -83,11 +84,13 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
83
84
  name: string;
84
85
  type: string;
85
86
  status: import("@db/api").$Enums.Status;
87
+ description: string;
86
88
  tags: string[];
87
89
  identifier: string;
88
90
  action: import("@db/api").$Enums.OpportunityAction;
89
91
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
90
92
  chainId: number;
93
+ howToSteps: string[];
91
94
  depositUrl: string | null;
92
95
  explorerAddress: string | null;
93
96
  mainProtocolId: string | null;
@@ -198,6 +201,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
198
201
  200: {
199
202
  id: string;
200
203
  type: string;
204
+ description: string | null;
201
205
  params: import("database/api/.generated/runtime/library").JsonValue;
202
206
  subType: number | null;
203
207
  computeChainId: number;
@@ -292,16 +296,19 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
292
296
  creatorId: string | null;
293
297
  };
294
298
  createdAt: string;
299
+ description: string | undefined;
295
300
  Opportunity: {
296
301
  id: string;
297
302
  name: string;
298
303
  type: string;
299
304
  status: import("@db/api").$Enums.Status;
305
+ description: string;
300
306
  tags: string[];
301
307
  identifier: string;
302
308
  action: import("@db/api").$Enums.OpportunityAction;
303
309
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
304
310
  chainId: number;
311
+ howToSteps: string[];
305
312
  depositUrl: string | null;
306
313
  explorerAddress: string | null;
307
314
  mainProtocolId: string | null;
@@ -379,16 +386,19 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
379
386
  creatorId: string | null;
380
387
  };
381
388
  createdAt: string;
389
+ description: string | undefined;
382
390
  Opportunity: {
383
391
  id: string;
384
392
  name: string;
385
393
  type: string;
386
394
  status: import("@db/api").$Enums.Status;
395
+ description: string;
387
396
  tags: string[];
388
397
  identifier: string;
389
398
  action: import("@db/api").$Enums.OpportunityAction;
390
399
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
391
400
  chainId: number;
401
+ howToSteps: string[];
392
402
  depositUrl: string | null;
393
403
  explorerAddress: string | null;
394
404
  mainProtocolId: string | null;
@@ -582,16 +592,19 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
582
592
  creatorId: string | null;
583
593
  };
584
594
  createdAt: string;
595
+ description: string | undefined;
585
596
  Opportunity: {
586
597
  id: string;
587
598
  name: string;
588
599
  type: string;
589
600
  status: import("@db/api").$Enums.Status;
601
+ description: string;
590
602
  tags: string[];
591
603
  identifier: string;
592
604
  action: import("@db/api").$Enums.OpportunityAction;
593
605
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
594
606
  chainId: number;
607
+ howToSteps: string[];
595
608
  depositUrl: string | null;
596
609
  explorerAddress: string | null;
597
610
  mainProtocolId: string | null;
@@ -18,6 +18,7 @@ export type Campaign = Resource<"Campaign", "opportunityId" | "rewardTokenId", {
18
18
  tags?: string[];
19
19
  creatorId: string | null;
20
20
  };
21
+ description?: string;
21
22
  endTimestamp: number;
22
23
  startTimestamp: number;
23
24
  createdAt: string;
@@ -49,6 +50,7 @@ export declare const CampaignResourceDto: import("@sinclair/typebox").TObject<{
49
50
  creatorId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
50
51
  }>>;
51
52
  params: import("@sinclair/typebox").TAny;
53
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
52
54
  chain: import("@sinclair/typebox").TObject<{
53
55
  id: import("@sinclair/typebox").TNumber;
54
56
  name: import("@sinclair/typebox").TString;
@@ -28,6 +28,7 @@ export const CampaignResourceDto = t.Object({
28
28
  creatorId: t.Optional(t.Nullable(t.String())),
29
29
  })),
30
30
  params: t.Any(),
31
+ description: t.Optional(t.String()),
31
32
  chain: ChainResourceDto,
32
33
  rewardToken: TokenResourceDto,
33
34
  distributionChain: t.Optional(ChainResourceDto),
@@ -307,11 +307,13 @@ export declare abstract class CampaignRepository {
307
307
  name: string;
308
308
  type: string;
309
309
  status: import("@db/api").$Enums.Status;
310
+ description: string;
310
311
  tags: string[];
311
312
  identifier: string;
312
313
  action: import("@db/api").$Enums.OpportunityAction;
313
314
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
314
315
  chainId: number;
316
+ howToSteps: string[];
315
317
  depositUrl: string | null;
316
318
  explorerAddress: string | null;
317
319
  mainProtocolId: string | null;
@@ -323,6 +325,7 @@ export declare abstract class CampaignRepository {
323
325
  } & {
324
326
  id: string;
325
327
  type: string;
328
+ description: string | null;
326
329
  params: Prisma.JsonValue;
327
330
  subType: number | null;
328
331
  computeChainId: number;
@@ -355,11 +358,13 @@ export declare abstract class CampaignRepository {
355
358
  name: string;
356
359
  type: string;
357
360
  status: import("@db/api").$Enums.Status;
361
+ description: string;
358
362
  tags: string[];
359
363
  identifier: string;
360
364
  action: import("@db/api").$Enums.OpportunityAction;
361
365
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
362
366
  chainId: number;
367
+ howToSteps: string[];
363
368
  depositUrl: string | null;
364
369
  explorerAddress: string | null;
365
370
  mainProtocolId: string | null;
@@ -371,6 +376,7 @@ export declare abstract class CampaignRepository {
371
376
  } & {
372
377
  id: string;
373
378
  type: string;
379
+ description: string | null;
374
380
  params: Prisma.JsonValue;
375
381
  subType: number | null;
376
382
  computeChainId: number;
@@ -420,11 +426,13 @@ export declare abstract class CampaignRepository {
420
426
  name: string;
421
427
  type: string;
422
428
  status: import("@db/api").$Enums.Status;
429
+ description: string;
423
430
  tags: string[];
424
431
  identifier: string;
425
432
  action: import("@db/api").$Enums.OpportunityAction;
426
433
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
427
434
  chainId: number;
435
+ howToSteps: string[];
428
436
  depositUrl: string | null;
429
437
  explorerAddress: string | null;
430
438
  mainProtocolId: string | null;
@@ -436,6 +444,7 @@ export declare abstract class CampaignRepository {
436
444
  } & {
437
445
  id: string;
438
446
  type: string;
447
+ description: string | null;
439
448
  params: Prisma.JsonValue;
440
449
  subType: number | null;
441
450
  computeChainId: number;
@@ -478,6 +487,7 @@ export declare abstract class CampaignRepository {
478
487
  static upsert(campaign: Omit<CampaignWithParams, "manualOverrides">, opportunityIdentifier: string): Promise<{
479
488
  id: string;
480
489
  type: string;
490
+ description: string | null;
481
491
  params: Prisma.JsonValue;
482
492
  subType: number | null;
483
493
  computeChainId: number;
@@ -557,6 +567,7 @@ export declare abstract class CampaignRepository {
557
567
  } & {
558
568
  id: string;
559
569
  type: string;
570
+ description: string | null;
560
571
  params: Prisma.JsonValue;
561
572
  subType: number | null;
562
573
  computeChainId: number;
@@ -604,11 +615,13 @@ export declare abstract class CampaignRepository {
604
615
  name: string;
605
616
  type: string;
606
617
  status: import("@db/api").$Enums.Status;
618
+ description: string;
607
619
  tags: string[];
608
620
  identifier: string;
609
621
  action: import("@db/api").$Enums.OpportunityAction;
610
622
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
611
623
  chainId: number;
624
+ howToSteps: string[];
612
625
  depositUrl: string | null;
613
626
  explorerAddress: string | null;
614
627
  mainProtocolId: string | null;
@@ -633,6 +646,7 @@ export declare abstract class CampaignRepository {
633
646
  } & {
634
647
  id: string;
635
648
  type: string;
649
+ description: string | null;
636
650
  params: Prisma.JsonValue;
637
651
  subType: number | null;
638
652
  computeChainId: number;
@@ -689,11 +703,13 @@ export declare abstract class CampaignRepository {
689
703
  name: string;
690
704
  type: string;
691
705
  status: import("@db/api").$Enums.Status;
706
+ description: string;
692
707
  tags: string[];
693
708
  identifier: string;
694
709
  action: import("@db/api").$Enums.OpportunityAction;
695
710
  manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
696
711
  chainId: number;
712
+ howToSteps: string[];
697
713
  depositUrl: string | null;
698
714
  explorerAddress: string | null;
699
715
  mainProtocolId: string | null;
@@ -718,6 +734,7 @@ export declare abstract class CampaignRepository {
718
734
  } & {
719
735
  id: string;
720
736
  type: string;
737
+ description: string | null;
721
738
  params: Prisma.JsonValue;
722
739
  subType: number | null;
723
740
  computeChainId: number;
@@ -742,6 +759,7 @@ export declare abstract class CampaignRepository {
742
759
  static updateParams(id: string, params: string): Promise<{
743
760
  id: string;
744
761
  type: string;
762
+ description: string | null;
745
763
  params: Prisma.JsonValue;
746
764
  subType: number | null;
747
765
  computeChainId: number;