@merkl/api 1.9.22 → 1.9.24
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 +51 -2
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.js.map +1 -1
- package/dist/src/engine/implementations/Aave/metadata.d.ts +3 -3
- package/dist/src/engine/implementations/Aave/metadata.js.map +1 -1
- package/dist/src/engine/implementations/AaveNetBorrowing/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/AaveNetLending/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.js.map +1 -1
- package/dist/src/index.d.ts +63 -2
- package/dist/src/jobs/pendings-etl/index.js.map +1 -1
- package/dist/src/jobs/pendings-watcher/index.d.ts +47 -0
- package/dist/src/jobs/pendings-watcher/index.js.map +1 -0
- package/dist/src/jobs/pendings-watcher/types.d.ts +52 -0
- package/dist/src/jobs/pendings-watcher/types.js.map +1 -0
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +111 -111
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -0
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.service.js.map +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +1 -0
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -1
- package/dist/src/modules/v4/config/config.service.js.map +1 -1
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +6 -0
- package/dist/src/modules/v4/explorer/explorer.repository.js.map +1 -1
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +10 -0
- package/dist/src/modules/v4/explorer/explorer.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +63 -2
- package/dist/src/modules/v4/stateDescription/stateDescription.controller.d.ts +1 -2
- package/dist/src/modules/v4/stateDescription/stateDescription.controller.js.map +1 -1
- package/dist/src/modules/v4/stateDescription/stateDescription.model.d.ts +1 -3
- package/dist/src/modules/v4/stateDescription/stateDescription.model.js.map +1 -1
- package/dist/src/modules/v4/stateDescription/stateDescription.service.d.ts +4 -5
- package/dist/src/modules/v4/stateDescription/stateDescription.service.js.map +1 -1
- package/dist/src/modules/v4/transaction/transaction.controller.d.ts +61 -0
- package/dist/src/modules/v4/transaction/transaction.controller.js.map +1 -1
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +15774 -0
- package/dist/src/modules/v4/transaction/transaction.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -181,11 +181,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
181
181
|
};
|
|
182
182
|
displaySymbol?: undefined;
|
|
183
183
|
} | {
|
|
184
|
-
symbol?: undefined;
|
|
185
184
|
displaySymbol: {
|
|
186
185
|
equals: string;
|
|
187
186
|
mode: "insensitive";
|
|
188
187
|
};
|
|
188
|
+
symbol?: undefined;
|
|
189
189
|
})[] | undefined;
|
|
190
190
|
isTest: false | undefined;
|
|
191
191
|
type: {
|
|
@@ -194,12 +194,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
Creator: {
|
|
197
|
-
tags?: undefined;
|
|
198
197
|
OR: ({
|
|
199
|
-
tags?: undefined;
|
|
200
198
|
Creator: {
|
|
201
199
|
id: string;
|
|
202
200
|
};
|
|
201
|
+
tags?: undefined;
|
|
203
202
|
} | {
|
|
204
203
|
Creator?: undefined;
|
|
205
204
|
tags: {
|
|
@@ -207,9 +206,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
207
206
|
};
|
|
208
207
|
})[];
|
|
209
208
|
Creator?: undefined;
|
|
210
|
-
} | {
|
|
211
209
|
tags?: undefined;
|
|
210
|
+
} | {
|
|
212
211
|
OR?: undefined;
|
|
212
|
+
tags?: undefined;
|
|
213
213
|
Creator: {
|
|
214
214
|
id: string;
|
|
215
215
|
};
|
|
@@ -227,13 +227,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
227
227
|
in: import("@package/resources/enums").DistributionType[];
|
|
228
228
|
} | undefined;
|
|
229
229
|
rootCampaignId: {
|
|
230
|
-
not?: undefined;
|
|
231
230
|
equals: string;
|
|
232
231
|
mode: "insensitive";
|
|
233
|
-
} | {
|
|
234
232
|
not?: undefined;
|
|
233
|
+
} | {
|
|
235
234
|
mode?: undefined;
|
|
236
235
|
equals: null;
|
|
236
|
+
not?: undefined;
|
|
237
237
|
} | {
|
|
238
238
|
mode?: undefined;
|
|
239
239
|
equals?: undefined;
|
|
@@ -245,49 +245,47 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
245
245
|
} | undefined;
|
|
246
246
|
AND: {
|
|
247
247
|
OR: ({
|
|
248
|
-
campaignId?: undefined;
|
|
249
|
-
creatorAddress?: undefined;
|
|
250
|
-
RewardToken?: undefined;
|
|
251
248
|
id: {
|
|
252
249
|
contains: string;
|
|
253
250
|
mode: "insensitive";
|
|
254
251
|
};
|
|
255
|
-
|
|
256
|
-
} | {
|
|
257
|
-
id?: undefined;
|
|
252
|
+
campaignId?: undefined;
|
|
258
253
|
creatorAddress?: undefined;
|
|
254
|
+
Opportunity?: undefined;
|
|
259
255
|
RewardToken?: undefined;
|
|
256
|
+
} | {
|
|
260
257
|
campaignId: {
|
|
261
258
|
contains: string;
|
|
262
259
|
mode: "insensitive";
|
|
263
260
|
};
|
|
261
|
+
creatorAddress?: undefined;
|
|
264
262
|
Opportunity?: undefined;
|
|
265
|
-
|
|
263
|
+
RewardToken?: undefined;
|
|
266
264
|
id?: undefined;
|
|
265
|
+
} | {
|
|
267
266
|
campaignId?: undefined;
|
|
268
|
-
RewardToken?: undefined;
|
|
269
267
|
creatorAddress: {
|
|
270
268
|
contains: string;
|
|
271
269
|
mode: "insensitive";
|
|
272
270
|
};
|
|
273
271
|
Opportunity?: undefined;
|
|
274
|
-
|
|
272
|
+
RewardToken?: undefined;
|
|
275
273
|
id?: undefined;
|
|
274
|
+
} | {
|
|
276
275
|
campaignId?: undefined;
|
|
277
276
|
creatorAddress?: undefined;
|
|
278
|
-
RewardToken?: undefined;
|
|
279
277
|
Opportunity: {
|
|
280
|
-
mainProtocolId?: undefined;
|
|
281
278
|
identifier: {
|
|
282
279
|
contains: string;
|
|
283
280
|
mode: "insensitive";
|
|
284
281
|
};
|
|
282
|
+
mainProtocolId?: undefined;
|
|
285
283
|
};
|
|
286
|
-
|
|
284
|
+
RewardToken?: undefined;
|
|
287
285
|
id?: undefined;
|
|
286
|
+
} | {
|
|
288
287
|
campaignId?: undefined;
|
|
289
288
|
creatorAddress?: undefined;
|
|
290
|
-
RewardToken?: undefined;
|
|
291
289
|
Opportunity: {
|
|
292
290
|
identifier?: undefined;
|
|
293
291
|
mainProtocolId: {
|
|
@@ -295,26 +293,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
295
293
|
mode: "insensitive";
|
|
296
294
|
};
|
|
297
295
|
};
|
|
298
|
-
|
|
296
|
+
RewardToken?: undefined;
|
|
299
297
|
id?: undefined;
|
|
298
|
+
} | {
|
|
300
299
|
campaignId?: undefined;
|
|
301
300
|
creatorAddress?: undefined;
|
|
302
301
|
Opportunity?: undefined;
|
|
303
302
|
RewardToken: {
|
|
304
303
|
OR: ({
|
|
305
|
-
address?: undefined;
|
|
306
304
|
symbol: {
|
|
307
305
|
contains: string;
|
|
308
306
|
mode: "insensitive";
|
|
309
307
|
};
|
|
310
308
|
displaySymbol?: undefined;
|
|
309
|
+
address?: undefined;
|
|
311
310
|
} | {
|
|
312
311
|
symbol?: undefined;
|
|
313
|
-
address?: undefined;
|
|
314
312
|
displaySymbol: {
|
|
315
313
|
contains: string;
|
|
316
314
|
mode: "insensitive";
|
|
317
315
|
};
|
|
316
|
+
address?: undefined;
|
|
318
317
|
} | {
|
|
319
318
|
symbol?: undefined;
|
|
320
319
|
displaySymbol?: undefined;
|
|
@@ -324,6 +323,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
324
323
|
};
|
|
325
324
|
})[];
|
|
326
325
|
};
|
|
326
|
+
id?: undefined;
|
|
327
327
|
})[];
|
|
328
328
|
}[] | undefined;
|
|
329
329
|
} | {
|
|
@@ -332,7 +332,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
332
332
|
gt?: undefined;
|
|
333
333
|
gte?: undefined;
|
|
334
334
|
};
|
|
335
|
-
startTimestamp?: undefined;
|
|
336
335
|
OR: {
|
|
337
336
|
id: string;
|
|
338
337
|
}[] | ({
|
|
@@ -402,11 +401,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
402
401
|
};
|
|
403
402
|
displaySymbol?: undefined;
|
|
404
403
|
} | {
|
|
405
|
-
symbol?: undefined;
|
|
406
404
|
displaySymbol: {
|
|
407
405
|
equals: string;
|
|
408
406
|
mode: "insensitive";
|
|
409
407
|
};
|
|
408
|
+
symbol?: undefined;
|
|
410
409
|
})[] | undefined;
|
|
411
410
|
isTest: false | undefined;
|
|
412
411
|
type: {
|
|
@@ -415,12 +414,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
415
414
|
};
|
|
416
415
|
};
|
|
417
416
|
Creator: {
|
|
418
|
-
tags?: undefined;
|
|
419
417
|
OR: ({
|
|
420
|
-
tags?: undefined;
|
|
421
418
|
Creator: {
|
|
422
419
|
id: string;
|
|
423
420
|
};
|
|
421
|
+
tags?: undefined;
|
|
424
422
|
} | {
|
|
425
423
|
Creator?: undefined;
|
|
426
424
|
tags: {
|
|
@@ -428,9 +426,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
428
426
|
};
|
|
429
427
|
})[];
|
|
430
428
|
Creator?: undefined;
|
|
431
|
-
} | {
|
|
432
429
|
tags?: undefined;
|
|
430
|
+
} | {
|
|
433
431
|
OR?: undefined;
|
|
432
|
+
tags?: undefined;
|
|
434
433
|
Creator: {
|
|
435
434
|
id: string;
|
|
436
435
|
};
|
|
@@ -448,13 +447,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
448
447
|
in: import("@package/resources/enums").DistributionType[];
|
|
449
448
|
} | undefined;
|
|
450
449
|
rootCampaignId: {
|
|
451
|
-
not?: undefined;
|
|
452
450
|
equals: string;
|
|
453
451
|
mode: "insensitive";
|
|
454
|
-
} | {
|
|
455
452
|
not?: undefined;
|
|
453
|
+
} | {
|
|
456
454
|
mode?: undefined;
|
|
457
455
|
equals: null;
|
|
456
|
+
not?: undefined;
|
|
458
457
|
} | {
|
|
459
458
|
mode?: undefined;
|
|
460
459
|
equals?: undefined;
|
|
@@ -466,49 +465,47 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
466
465
|
} | undefined;
|
|
467
466
|
AND: {
|
|
468
467
|
OR: ({
|
|
469
|
-
campaignId?: undefined;
|
|
470
|
-
creatorAddress?: undefined;
|
|
471
|
-
RewardToken?: undefined;
|
|
472
468
|
id: {
|
|
473
469
|
contains: string;
|
|
474
470
|
mode: "insensitive";
|
|
475
471
|
};
|
|
476
|
-
|
|
477
|
-
} | {
|
|
478
|
-
id?: undefined;
|
|
472
|
+
campaignId?: undefined;
|
|
479
473
|
creatorAddress?: undefined;
|
|
474
|
+
Opportunity?: undefined;
|
|
480
475
|
RewardToken?: undefined;
|
|
476
|
+
} | {
|
|
481
477
|
campaignId: {
|
|
482
478
|
contains: string;
|
|
483
479
|
mode: "insensitive";
|
|
484
480
|
};
|
|
481
|
+
creatorAddress?: undefined;
|
|
485
482
|
Opportunity?: undefined;
|
|
486
|
-
|
|
483
|
+
RewardToken?: undefined;
|
|
487
484
|
id?: undefined;
|
|
485
|
+
} | {
|
|
488
486
|
campaignId?: undefined;
|
|
489
|
-
RewardToken?: undefined;
|
|
490
487
|
creatorAddress: {
|
|
491
488
|
contains: string;
|
|
492
489
|
mode: "insensitive";
|
|
493
490
|
};
|
|
494
491
|
Opportunity?: undefined;
|
|
495
|
-
|
|
492
|
+
RewardToken?: undefined;
|
|
496
493
|
id?: undefined;
|
|
494
|
+
} | {
|
|
497
495
|
campaignId?: undefined;
|
|
498
496
|
creatorAddress?: undefined;
|
|
499
|
-
RewardToken?: undefined;
|
|
500
497
|
Opportunity: {
|
|
501
|
-
mainProtocolId?: undefined;
|
|
502
498
|
identifier: {
|
|
503
499
|
contains: string;
|
|
504
500
|
mode: "insensitive";
|
|
505
501
|
};
|
|
502
|
+
mainProtocolId?: undefined;
|
|
506
503
|
};
|
|
507
|
-
|
|
504
|
+
RewardToken?: undefined;
|
|
508
505
|
id?: undefined;
|
|
506
|
+
} | {
|
|
509
507
|
campaignId?: undefined;
|
|
510
508
|
creatorAddress?: undefined;
|
|
511
|
-
RewardToken?: undefined;
|
|
512
509
|
Opportunity: {
|
|
513
510
|
identifier?: undefined;
|
|
514
511
|
mainProtocolId: {
|
|
@@ -516,26 +513,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
516
513
|
mode: "insensitive";
|
|
517
514
|
};
|
|
518
515
|
};
|
|
519
|
-
|
|
516
|
+
RewardToken?: undefined;
|
|
520
517
|
id?: undefined;
|
|
518
|
+
} | {
|
|
521
519
|
campaignId?: undefined;
|
|
522
520
|
creatorAddress?: undefined;
|
|
523
521
|
Opportunity?: undefined;
|
|
524
522
|
RewardToken: {
|
|
525
523
|
OR: ({
|
|
526
|
-
address?: undefined;
|
|
527
524
|
symbol: {
|
|
528
525
|
contains: string;
|
|
529
526
|
mode: "insensitive";
|
|
530
527
|
};
|
|
531
528
|
displaySymbol?: undefined;
|
|
529
|
+
address?: undefined;
|
|
532
530
|
} | {
|
|
533
531
|
symbol?: undefined;
|
|
534
|
-
address?: undefined;
|
|
535
532
|
displaySymbol: {
|
|
536
533
|
contains: string;
|
|
537
534
|
mode: "insensitive";
|
|
538
535
|
};
|
|
536
|
+
address?: undefined;
|
|
539
537
|
} | {
|
|
540
538
|
symbol?: undefined;
|
|
541
539
|
displaySymbol?: undefined;
|
|
@@ -545,8 +543,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
545
543
|
};
|
|
546
544
|
})[];
|
|
547
545
|
};
|
|
546
|
+
id?: undefined;
|
|
548
547
|
})[];
|
|
549
548
|
}[] | undefined;
|
|
549
|
+
startTimestamp?: undefined;
|
|
550
550
|
} | {
|
|
551
551
|
startTimestamp: {
|
|
552
552
|
lte?: undefined;
|
|
@@ -623,11 +623,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
623
623
|
};
|
|
624
624
|
displaySymbol?: undefined;
|
|
625
625
|
} | {
|
|
626
|
-
symbol?: undefined;
|
|
627
626
|
displaySymbol: {
|
|
628
627
|
equals: string;
|
|
629
628
|
mode: "insensitive";
|
|
630
629
|
};
|
|
630
|
+
symbol?: undefined;
|
|
631
631
|
})[] | undefined;
|
|
632
632
|
isTest: false | undefined;
|
|
633
633
|
type: {
|
|
@@ -636,12 +636,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
636
636
|
};
|
|
637
637
|
};
|
|
638
638
|
Creator: {
|
|
639
|
-
tags?: undefined;
|
|
640
639
|
OR: ({
|
|
641
|
-
tags?: undefined;
|
|
642
640
|
Creator: {
|
|
643
641
|
id: string;
|
|
644
642
|
};
|
|
643
|
+
tags?: undefined;
|
|
645
644
|
} | {
|
|
646
645
|
Creator?: undefined;
|
|
647
646
|
tags: {
|
|
@@ -649,9 +648,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
649
648
|
};
|
|
650
649
|
})[];
|
|
651
650
|
Creator?: undefined;
|
|
652
|
-
} | {
|
|
653
651
|
tags?: undefined;
|
|
652
|
+
} | {
|
|
654
653
|
OR?: undefined;
|
|
654
|
+
tags?: undefined;
|
|
655
655
|
Creator: {
|
|
656
656
|
id: string;
|
|
657
657
|
};
|
|
@@ -669,13 +669,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
669
669
|
in: import("@package/resources/enums").DistributionType[];
|
|
670
670
|
} | undefined;
|
|
671
671
|
rootCampaignId: {
|
|
672
|
-
not?: undefined;
|
|
673
672
|
equals: string;
|
|
674
673
|
mode: "insensitive";
|
|
675
|
-
} | {
|
|
676
674
|
not?: undefined;
|
|
675
|
+
} | {
|
|
677
676
|
mode?: undefined;
|
|
678
677
|
equals: null;
|
|
678
|
+
not?: undefined;
|
|
679
679
|
} | {
|
|
680
680
|
mode?: undefined;
|
|
681
681
|
equals?: undefined;
|
|
@@ -687,49 +687,47 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
687
687
|
} | undefined;
|
|
688
688
|
AND: {
|
|
689
689
|
OR: ({
|
|
690
|
-
campaignId?: undefined;
|
|
691
|
-
creatorAddress?: undefined;
|
|
692
|
-
RewardToken?: undefined;
|
|
693
690
|
id: {
|
|
694
691
|
contains: string;
|
|
695
692
|
mode: "insensitive";
|
|
696
693
|
};
|
|
697
|
-
|
|
698
|
-
} | {
|
|
699
|
-
id?: undefined;
|
|
694
|
+
campaignId?: undefined;
|
|
700
695
|
creatorAddress?: undefined;
|
|
696
|
+
Opportunity?: undefined;
|
|
701
697
|
RewardToken?: undefined;
|
|
698
|
+
} | {
|
|
702
699
|
campaignId: {
|
|
703
700
|
contains: string;
|
|
704
701
|
mode: "insensitive";
|
|
705
702
|
};
|
|
703
|
+
creatorAddress?: undefined;
|
|
706
704
|
Opportunity?: undefined;
|
|
707
|
-
|
|
705
|
+
RewardToken?: undefined;
|
|
708
706
|
id?: undefined;
|
|
707
|
+
} | {
|
|
709
708
|
campaignId?: undefined;
|
|
710
|
-
RewardToken?: undefined;
|
|
711
709
|
creatorAddress: {
|
|
712
710
|
contains: string;
|
|
713
711
|
mode: "insensitive";
|
|
714
712
|
};
|
|
715
713
|
Opportunity?: undefined;
|
|
716
|
-
|
|
714
|
+
RewardToken?: undefined;
|
|
717
715
|
id?: undefined;
|
|
716
|
+
} | {
|
|
718
717
|
campaignId?: undefined;
|
|
719
718
|
creatorAddress?: undefined;
|
|
720
|
-
RewardToken?: undefined;
|
|
721
719
|
Opportunity: {
|
|
722
|
-
mainProtocolId?: undefined;
|
|
723
720
|
identifier: {
|
|
724
721
|
contains: string;
|
|
725
722
|
mode: "insensitive";
|
|
726
723
|
};
|
|
724
|
+
mainProtocolId?: undefined;
|
|
727
725
|
};
|
|
728
|
-
|
|
726
|
+
RewardToken?: undefined;
|
|
729
727
|
id?: undefined;
|
|
728
|
+
} | {
|
|
730
729
|
campaignId?: undefined;
|
|
731
730
|
creatorAddress?: undefined;
|
|
732
|
-
RewardToken?: undefined;
|
|
733
731
|
Opportunity: {
|
|
734
732
|
identifier?: undefined;
|
|
735
733
|
mainProtocolId: {
|
|
@@ -737,26 +735,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
737
735
|
mode: "insensitive";
|
|
738
736
|
};
|
|
739
737
|
};
|
|
740
|
-
|
|
738
|
+
RewardToken?: undefined;
|
|
741
739
|
id?: undefined;
|
|
740
|
+
} | {
|
|
742
741
|
campaignId?: undefined;
|
|
743
742
|
creatorAddress?: undefined;
|
|
744
743
|
Opportunity?: undefined;
|
|
745
744
|
RewardToken: {
|
|
746
745
|
OR: ({
|
|
747
|
-
address?: undefined;
|
|
748
746
|
symbol: {
|
|
749
747
|
contains: string;
|
|
750
748
|
mode: "insensitive";
|
|
751
749
|
};
|
|
752
750
|
displaySymbol?: undefined;
|
|
751
|
+
address?: undefined;
|
|
753
752
|
} | {
|
|
754
753
|
symbol?: undefined;
|
|
755
|
-
address?: undefined;
|
|
756
754
|
displaySymbol: {
|
|
757
755
|
contains: string;
|
|
758
756
|
mode: "insensitive";
|
|
759
757
|
};
|
|
758
|
+
address?: undefined;
|
|
760
759
|
} | {
|
|
761
760
|
symbol?: undefined;
|
|
762
761
|
displaySymbol?: undefined;
|
|
@@ -766,6 +765,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
766
765
|
};
|
|
767
766
|
})[];
|
|
768
767
|
};
|
|
768
|
+
id?: undefined;
|
|
769
769
|
})[];
|
|
770
770
|
}[] | undefined;
|
|
771
771
|
} | {
|
|
@@ -848,11 +848,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
848
848
|
};
|
|
849
849
|
displaySymbol?: undefined;
|
|
850
850
|
} | {
|
|
851
|
-
symbol?: undefined;
|
|
852
851
|
displaySymbol: {
|
|
853
852
|
equals: string;
|
|
854
853
|
mode: "insensitive";
|
|
855
854
|
};
|
|
855
|
+
symbol?: undefined;
|
|
856
856
|
})[] | undefined;
|
|
857
857
|
isTest: false | undefined;
|
|
858
858
|
type: {
|
|
@@ -861,12 +861,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
863
|
Creator: {
|
|
864
|
-
tags?: undefined;
|
|
865
864
|
OR: ({
|
|
866
|
-
tags?: undefined;
|
|
867
865
|
Creator: {
|
|
868
866
|
id: string;
|
|
869
867
|
};
|
|
868
|
+
tags?: undefined;
|
|
870
869
|
} | {
|
|
871
870
|
Creator?: undefined;
|
|
872
871
|
tags: {
|
|
@@ -874,9 +873,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
874
873
|
};
|
|
875
874
|
})[];
|
|
876
875
|
Creator?: undefined;
|
|
877
|
-
} | {
|
|
878
876
|
tags?: undefined;
|
|
877
|
+
} | {
|
|
879
878
|
OR?: undefined;
|
|
879
|
+
tags?: undefined;
|
|
880
880
|
Creator: {
|
|
881
881
|
id: string;
|
|
882
882
|
};
|
|
@@ -894,13 +894,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
894
894
|
in: import("@package/resources/enums").DistributionType[];
|
|
895
895
|
} | undefined;
|
|
896
896
|
rootCampaignId: {
|
|
897
|
-
not?: undefined;
|
|
898
897
|
equals: string;
|
|
899
898
|
mode: "insensitive";
|
|
900
|
-
} | {
|
|
901
899
|
not?: undefined;
|
|
900
|
+
} | {
|
|
902
901
|
mode?: undefined;
|
|
903
902
|
equals: null;
|
|
903
|
+
not?: undefined;
|
|
904
904
|
} | {
|
|
905
905
|
mode?: undefined;
|
|
906
906
|
equals?: undefined;
|
|
@@ -912,49 +912,47 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
912
912
|
} | undefined;
|
|
913
913
|
AND: {
|
|
914
914
|
OR: ({
|
|
915
|
-
campaignId?: undefined;
|
|
916
|
-
creatorAddress?: undefined;
|
|
917
|
-
RewardToken?: undefined;
|
|
918
915
|
id: {
|
|
919
916
|
contains: string;
|
|
920
917
|
mode: "insensitive";
|
|
921
918
|
};
|
|
922
|
-
|
|
923
|
-
} | {
|
|
924
|
-
id?: undefined;
|
|
919
|
+
campaignId?: undefined;
|
|
925
920
|
creatorAddress?: undefined;
|
|
921
|
+
Opportunity?: undefined;
|
|
926
922
|
RewardToken?: undefined;
|
|
923
|
+
} | {
|
|
927
924
|
campaignId: {
|
|
928
925
|
contains: string;
|
|
929
926
|
mode: "insensitive";
|
|
930
927
|
};
|
|
928
|
+
creatorAddress?: undefined;
|
|
931
929
|
Opportunity?: undefined;
|
|
932
|
-
|
|
930
|
+
RewardToken?: undefined;
|
|
933
931
|
id?: undefined;
|
|
932
|
+
} | {
|
|
934
933
|
campaignId?: undefined;
|
|
935
|
-
RewardToken?: undefined;
|
|
936
934
|
creatorAddress: {
|
|
937
935
|
contains: string;
|
|
938
936
|
mode: "insensitive";
|
|
939
937
|
};
|
|
940
938
|
Opportunity?: undefined;
|
|
941
|
-
|
|
939
|
+
RewardToken?: undefined;
|
|
942
940
|
id?: undefined;
|
|
941
|
+
} | {
|
|
943
942
|
campaignId?: undefined;
|
|
944
943
|
creatorAddress?: undefined;
|
|
945
|
-
RewardToken?: undefined;
|
|
946
944
|
Opportunity: {
|
|
947
|
-
mainProtocolId?: undefined;
|
|
948
945
|
identifier: {
|
|
949
946
|
contains: string;
|
|
950
947
|
mode: "insensitive";
|
|
951
948
|
};
|
|
949
|
+
mainProtocolId?: undefined;
|
|
952
950
|
};
|
|
953
|
-
|
|
951
|
+
RewardToken?: undefined;
|
|
954
952
|
id?: undefined;
|
|
953
|
+
} | {
|
|
955
954
|
campaignId?: undefined;
|
|
956
955
|
creatorAddress?: undefined;
|
|
957
|
-
RewardToken?: undefined;
|
|
958
956
|
Opportunity: {
|
|
959
957
|
identifier?: undefined;
|
|
960
958
|
mainProtocolId: {
|
|
@@ -962,26 +960,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
962
960
|
mode: "insensitive";
|
|
963
961
|
};
|
|
964
962
|
};
|
|
965
|
-
|
|
963
|
+
RewardToken?: undefined;
|
|
966
964
|
id?: undefined;
|
|
965
|
+
} | {
|
|
967
966
|
campaignId?: undefined;
|
|
968
967
|
creatorAddress?: undefined;
|
|
969
968
|
Opportunity?: undefined;
|
|
970
969
|
RewardToken: {
|
|
971
970
|
OR: ({
|
|
972
|
-
address?: undefined;
|
|
973
971
|
symbol: {
|
|
974
972
|
contains: string;
|
|
975
973
|
mode: "insensitive";
|
|
976
974
|
};
|
|
977
975
|
displaySymbol?: undefined;
|
|
976
|
+
address?: undefined;
|
|
978
977
|
} | {
|
|
979
978
|
symbol?: undefined;
|
|
980
|
-
address?: undefined;
|
|
981
979
|
displaySymbol: {
|
|
982
980
|
contains: string;
|
|
983
981
|
mode: "insensitive";
|
|
984
982
|
};
|
|
983
|
+
address?: undefined;
|
|
985
984
|
} | {
|
|
986
985
|
symbol?: undefined;
|
|
987
986
|
displaySymbol?: undefined;
|
|
@@ -991,6 +990,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
991
990
|
};
|
|
992
991
|
})[];
|
|
993
992
|
};
|
|
993
|
+
id?: undefined;
|
|
994
994
|
})[];
|
|
995
995
|
}[] | undefined;
|
|
996
996
|
} | {
|
|
@@ -1063,11 +1063,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1063
1063
|
};
|
|
1064
1064
|
displaySymbol?: undefined;
|
|
1065
1065
|
} | {
|
|
1066
|
-
symbol?: undefined;
|
|
1067
1066
|
displaySymbol: {
|
|
1068
1067
|
equals: string;
|
|
1069
1068
|
mode: "insensitive";
|
|
1070
1069
|
};
|
|
1070
|
+
symbol?: undefined;
|
|
1071
1071
|
})[] | undefined;
|
|
1072
1072
|
isTest: false | undefined;
|
|
1073
1073
|
type: {
|
|
@@ -1076,12 +1076,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1076
1076
|
};
|
|
1077
1077
|
};
|
|
1078
1078
|
Creator: {
|
|
1079
|
-
tags?: undefined;
|
|
1080
1079
|
OR: ({
|
|
1081
|
-
tags?: undefined;
|
|
1082
1080
|
Creator: {
|
|
1083
1081
|
id: string;
|
|
1084
1082
|
};
|
|
1083
|
+
tags?: undefined;
|
|
1085
1084
|
} | {
|
|
1086
1085
|
Creator?: undefined;
|
|
1087
1086
|
tags: {
|
|
@@ -1089,9 +1088,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1089
1088
|
};
|
|
1090
1089
|
})[];
|
|
1091
1090
|
Creator?: undefined;
|
|
1092
|
-
} | {
|
|
1093
1091
|
tags?: undefined;
|
|
1092
|
+
} | {
|
|
1094
1093
|
OR?: undefined;
|
|
1094
|
+
tags?: undefined;
|
|
1095
1095
|
Creator: {
|
|
1096
1096
|
id: string;
|
|
1097
1097
|
};
|
|
@@ -1109,13 +1109,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1109
1109
|
in: import("@package/resources/enums").DistributionType[];
|
|
1110
1110
|
} | undefined;
|
|
1111
1111
|
rootCampaignId: {
|
|
1112
|
-
not?: undefined;
|
|
1113
1112
|
equals: string;
|
|
1114
1113
|
mode: "insensitive";
|
|
1115
|
-
} | {
|
|
1116
1114
|
not?: undefined;
|
|
1115
|
+
} | {
|
|
1117
1116
|
mode?: undefined;
|
|
1118
1117
|
equals: null;
|
|
1118
|
+
not?: undefined;
|
|
1119
1119
|
} | {
|
|
1120
1120
|
mode?: undefined;
|
|
1121
1121
|
equals?: undefined;
|
|
@@ -1127,49 +1127,47 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1127
1127
|
} | undefined;
|
|
1128
1128
|
AND: {
|
|
1129
1129
|
OR: ({
|
|
1130
|
-
campaignId?: undefined;
|
|
1131
|
-
creatorAddress?: undefined;
|
|
1132
|
-
RewardToken?: undefined;
|
|
1133
1130
|
id: {
|
|
1134
1131
|
contains: string;
|
|
1135
1132
|
mode: "insensitive";
|
|
1136
1133
|
};
|
|
1137
|
-
|
|
1138
|
-
} | {
|
|
1139
|
-
id?: undefined;
|
|
1134
|
+
campaignId?: undefined;
|
|
1140
1135
|
creatorAddress?: undefined;
|
|
1136
|
+
Opportunity?: undefined;
|
|
1141
1137
|
RewardToken?: undefined;
|
|
1138
|
+
} | {
|
|
1142
1139
|
campaignId: {
|
|
1143
1140
|
contains: string;
|
|
1144
1141
|
mode: "insensitive";
|
|
1145
1142
|
};
|
|
1143
|
+
creatorAddress?: undefined;
|
|
1146
1144
|
Opportunity?: undefined;
|
|
1147
|
-
|
|
1145
|
+
RewardToken?: undefined;
|
|
1148
1146
|
id?: undefined;
|
|
1147
|
+
} | {
|
|
1149
1148
|
campaignId?: undefined;
|
|
1150
|
-
RewardToken?: undefined;
|
|
1151
1149
|
creatorAddress: {
|
|
1152
1150
|
contains: string;
|
|
1153
1151
|
mode: "insensitive";
|
|
1154
1152
|
};
|
|
1155
1153
|
Opportunity?: undefined;
|
|
1156
|
-
|
|
1154
|
+
RewardToken?: undefined;
|
|
1157
1155
|
id?: undefined;
|
|
1156
|
+
} | {
|
|
1158
1157
|
campaignId?: undefined;
|
|
1159
1158
|
creatorAddress?: undefined;
|
|
1160
|
-
RewardToken?: undefined;
|
|
1161
1159
|
Opportunity: {
|
|
1162
|
-
mainProtocolId?: undefined;
|
|
1163
1160
|
identifier: {
|
|
1164
1161
|
contains: string;
|
|
1165
1162
|
mode: "insensitive";
|
|
1166
1163
|
};
|
|
1164
|
+
mainProtocolId?: undefined;
|
|
1167
1165
|
};
|
|
1168
|
-
|
|
1166
|
+
RewardToken?: undefined;
|
|
1169
1167
|
id?: undefined;
|
|
1168
|
+
} | {
|
|
1170
1169
|
campaignId?: undefined;
|
|
1171
1170
|
creatorAddress?: undefined;
|
|
1172
|
-
RewardToken?: undefined;
|
|
1173
1171
|
Opportunity: {
|
|
1174
1172
|
identifier?: undefined;
|
|
1175
1173
|
mainProtocolId: {
|
|
@@ -1177,26 +1175,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1177
1175
|
mode: "insensitive";
|
|
1178
1176
|
};
|
|
1179
1177
|
};
|
|
1180
|
-
|
|
1178
|
+
RewardToken?: undefined;
|
|
1181
1179
|
id?: undefined;
|
|
1180
|
+
} | {
|
|
1182
1181
|
campaignId?: undefined;
|
|
1183
1182
|
creatorAddress?: undefined;
|
|
1184
1183
|
Opportunity?: undefined;
|
|
1185
1184
|
RewardToken: {
|
|
1186
1185
|
OR: ({
|
|
1187
|
-
address?: undefined;
|
|
1188
1186
|
symbol: {
|
|
1189
1187
|
contains: string;
|
|
1190
1188
|
mode: "insensitive";
|
|
1191
1189
|
};
|
|
1192
1190
|
displaySymbol?: undefined;
|
|
1191
|
+
address?: undefined;
|
|
1193
1192
|
} | {
|
|
1194
1193
|
symbol?: undefined;
|
|
1195
|
-
address?: undefined;
|
|
1196
1194
|
displaySymbol: {
|
|
1197
1195
|
contains: string;
|
|
1198
1196
|
mode: "insensitive";
|
|
1199
1197
|
};
|
|
1198
|
+
address?: undefined;
|
|
1200
1199
|
} | {
|
|
1201
1200
|
symbol?: undefined;
|
|
1202
1201
|
displaySymbol?: undefined;
|
|
@@ -1206,6 +1205,7 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
|
|
|
1206
1205
|
};
|
|
1207
1206
|
})[];
|
|
1208
1207
|
};
|
|
1208
|
+
id?: undefined;
|
|
1209
1209
|
})[];
|
|
1210
1210
|
}[] | undefined;
|
|
1211
1211
|
};
|