@merkl/api 1.8.30 → 1.8.31
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 +86 -8
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +6 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js.map +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/processorMapping.js.map +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/spectra/metadata.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/yoVault/metadata.d.ts +24 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/yoVault/metadata.js.map +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.js.map +1 -1
- package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -3
- package/dist/src/engine/implementations/JsonAirdrop/metadata.js.map +1 -1
- package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
- package/dist/src/index.d.ts +102 -21
- package/dist/src/index.js.map +1 -1
- package/dist/src/libs/parse/marketsWithCache.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +102 -21
- package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -5
- package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +25 -25
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +79 -1
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +56 -56
- package/dist/src/modules/v4/router.d.ts +102 -21
- package/dist/src/modules/v4/token/token.controller.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +8 -0
- package/dist/src/utils/parseDistributionType.d.ts +8 -0
- package/dist/src/utils/setCacheHeaders.d.ts +2 -1
- package/dist/src/utils/setCacheHeaders.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/scripts/compare-configs/campaign-loader.d.ts +0 -10
- package/dist/src/scripts/compare-configs/campaign-loader.js.map +0 -1
- package/dist/src/scripts/compare-configs/config-processor.d.ts +0 -6
- package/dist/src/scripts/compare-configs/config-processor.js.map +0 -1
- package/dist/src/scripts/compare-configs/constants.d.ts +0 -7
- package/dist/src/scripts/compare-configs/constants.js.map +0 -1
- package/dist/src/scripts/compare-configs/diff-reporter.d.ts +0 -16
- package/dist/src/scripts/compare-configs/diff-reporter.js.map +0 -1
- package/dist/src/scripts/compare-configs/index.d.ts +0 -1
- package/dist/src/scripts/compare-configs/index.js.map +0 -1
- package/dist/src/scripts/compare-configs/queue-processor.d.ts +0 -6
- package/dist/src/scripts/compare-configs/queue-processor.js.map +0 -1
- package/dist/src/scripts/recompute-override.d.ts +0 -4
- package/dist/src/scripts/recompute-override.js.map +0 -1
|
@@ -111,8 +111,8 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
111
111
|
};
|
|
112
112
|
mainProtocolId?: undefined;
|
|
113
113
|
} | {
|
|
114
|
-
tags?: undefined;
|
|
115
114
|
mainProtocolId: string;
|
|
115
|
+
tags?: undefined;
|
|
116
116
|
})[] | undefined;
|
|
117
117
|
type: {
|
|
118
118
|
not: string;
|
|
@@ -530,30 +530,29 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
530
530
|
mode: "insensitive";
|
|
531
531
|
};
|
|
532
532
|
name?: undefined;
|
|
533
|
-
identifier?: undefined;
|
|
534
533
|
explorerAddress?: undefined;
|
|
535
534
|
type?: undefined;
|
|
536
535
|
MainProtocol?: undefined;
|
|
537
|
-
mainProtocolId?: undefined;
|
|
538
536
|
Tokens?: undefined;
|
|
539
537
|
Campaigns?: undefined;
|
|
540
538
|
Chain?: undefined;
|
|
539
|
+
identifier?: undefined;
|
|
540
|
+
mainProtocolId?: undefined;
|
|
541
541
|
} | {
|
|
542
|
-
id?: undefined;
|
|
543
542
|
name: {
|
|
544
543
|
contains: string;
|
|
545
544
|
mode: "insensitive";
|
|
546
545
|
};
|
|
547
|
-
identifier?: undefined;
|
|
548
546
|
explorerAddress?: undefined;
|
|
549
547
|
type?: undefined;
|
|
550
548
|
MainProtocol?: undefined;
|
|
551
|
-
mainProtocolId?: undefined;
|
|
552
549
|
Tokens?: undefined;
|
|
553
550
|
Campaigns?: undefined;
|
|
554
551
|
Chain?: undefined;
|
|
555
|
-
} | {
|
|
556
552
|
id?: undefined;
|
|
553
|
+
identifier?: undefined;
|
|
554
|
+
mainProtocolId?: undefined;
|
|
555
|
+
} | {
|
|
557
556
|
name?: undefined;
|
|
558
557
|
identifier: {
|
|
559
558
|
contains: string;
|
|
@@ -562,108 +561,107 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
562
561
|
explorerAddress?: undefined;
|
|
563
562
|
type?: undefined;
|
|
564
563
|
MainProtocol?: undefined;
|
|
565
|
-
mainProtocolId?: undefined;
|
|
566
564
|
Tokens?: undefined;
|
|
567
565
|
Campaigns?: undefined;
|
|
568
566
|
Chain?: undefined;
|
|
569
|
-
} | {
|
|
570
567
|
id?: undefined;
|
|
568
|
+
mainProtocolId?: undefined;
|
|
569
|
+
} | {
|
|
571
570
|
name?: undefined;
|
|
572
|
-
identifier?: undefined;
|
|
573
571
|
explorerAddress: {
|
|
574
572
|
contains: string;
|
|
575
573
|
mode: "insensitive";
|
|
576
574
|
};
|
|
577
575
|
type?: undefined;
|
|
578
576
|
MainProtocol?: undefined;
|
|
579
|
-
mainProtocolId?: undefined;
|
|
580
577
|
Tokens?: undefined;
|
|
581
578
|
Campaigns?: undefined;
|
|
582
579
|
Chain?: undefined;
|
|
583
|
-
} | {
|
|
584
580
|
id?: undefined;
|
|
585
|
-
name?: undefined;
|
|
586
581
|
identifier?: undefined;
|
|
582
|
+
mainProtocolId?: undefined;
|
|
583
|
+
} | {
|
|
584
|
+
name?: undefined;
|
|
587
585
|
explorerAddress?: undefined;
|
|
588
586
|
Campaigns: {
|
|
589
587
|
some: {
|
|
590
|
-
id?: undefined;
|
|
591
588
|
campaignId: {
|
|
592
589
|
contains: string;
|
|
593
590
|
mode: "insensitive";
|
|
594
591
|
};
|
|
592
|
+
endTimestamp?: undefined;
|
|
593
|
+
id?: undefined;
|
|
595
594
|
creatorAddress?: undefined;
|
|
596
595
|
RewardToken?: undefined;
|
|
597
|
-
endTimestamp?: undefined;
|
|
598
596
|
};
|
|
599
597
|
};
|
|
600
598
|
type?: undefined;
|
|
601
599
|
MainProtocol?: undefined;
|
|
602
|
-
mainProtocolId?: undefined;
|
|
603
600
|
Tokens?: undefined;
|
|
604
601
|
Chain?: undefined;
|
|
605
|
-
} | {
|
|
606
602
|
id?: undefined;
|
|
607
|
-
name?: undefined;
|
|
608
603
|
identifier?: undefined;
|
|
604
|
+
mainProtocolId?: undefined;
|
|
605
|
+
} | {
|
|
606
|
+
name?: undefined;
|
|
609
607
|
explorerAddress?: undefined;
|
|
610
608
|
Campaigns: {
|
|
611
609
|
some: {
|
|
612
|
-
campaignId?: undefined;
|
|
613
610
|
id: {
|
|
614
611
|
contains: string;
|
|
615
612
|
mode: "insensitive";
|
|
616
613
|
};
|
|
614
|
+
endTimestamp?: undefined;
|
|
615
|
+
campaignId?: undefined;
|
|
617
616
|
creatorAddress?: undefined;
|
|
618
617
|
RewardToken?: undefined;
|
|
619
|
-
endTimestamp?: undefined;
|
|
620
618
|
};
|
|
621
619
|
};
|
|
622
620
|
type?: undefined;
|
|
623
621
|
MainProtocol?: undefined;
|
|
624
|
-
mainProtocolId?: undefined;
|
|
625
622
|
Tokens?: undefined;
|
|
626
623
|
Chain?: undefined;
|
|
627
|
-
} | {
|
|
628
624
|
id?: undefined;
|
|
629
|
-
name?: undefined;
|
|
630
625
|
identifier?: undefined;
|
|
626
|
+
mainProtocolId?: undefined;
|
|
627
|
+
} | {
|
|
628
|
+
name?: undefined;
|
|
631
629
|
explorerAddress?: undefined;
|
|
632
630
|
Campaigns: {
|
|
633
631
|
some: {
|
|
634
|
-
id?: undefined;
|
|
635
|
-
campaignId?: undefined;
|
|
636
632
|
creatorAddress: {
|
|
637
633
|
contains: string;
|
|
638
634
|
mode: "insensitive";
|
|
639
635
|
};
|
|
640
|
-
RewardToken?: undefined;
|
|
641
636
|
endTimestamp?: undefined;
|
|
637
|
+
id?: undefined;
|
|
638
|
+
campaignId?: undefined;
|
|
639
|
+
RewardToken?: undefined;
|
|
642
640
|
};
|
|
643
641
|
};
|
|
644
642
|
type?: undefined;
|
|
645
643
|
MainProtocol?: undefined;
|
|
646
|
-
mainProtocolId?: undefined;
|
|
647
644
|
Tokens?: undefined;
|
|
648
645
|
Chain?: undefined;
|
|
649
|
-
} | {
|
|
650
646
|
id?: undefined;
|
|
651
|
-
name?: undefined;
|
|
652
647
|
identifier?: undefined;
|
|
648
|
+
mainProtocolId?: undefined;
|
|
649
|
+
} | {
|
|
650
|
+
name?: undefined;
|
|
653
651
|
explorerAddress?: undefined;
|
|
654
652
|
type: {
|
|
655
653
|
contains: string;
|
|
656
654
|
mode: "insensitive";
|
|
657
655
|
};
|
|
658
656
|
MainProtocol?: undefined;
|
|
659
|
-
mainProtocolId?: undefined;
|
|
660
657
|
Tokens?: undefined;
|
|
661
658
|
Campaigns?: undefined;
|
|
662
659
|
Chain?: undefined;
|
|
663
|
-
} | {
|
|
664
660
|
id?: undefined;
|
|
665
|
-
name?: undefined;
|
|
666
661
|
identifier?: undefined;
|
|
662
|
+
mainProtocolId?: undefined;
|
|
663
|
+
} | {
|
|
664
|
+
name?: undefined;
|
|
667
665
|
explorerAddress?: undefined;
|
|
668
666
|
type?: undefined;
|
|
669
667
|
MainProtocol: {
|
|
@@ -672,14 +670,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
672
670
|
mode: "insensitive";
|
|
673
671
|
};
|
|
674
672
|
};
|
|
675
|
-
mainProtocolId?: undefined;
|
|
676
673
|
Tokens?: undefined;
|
|
677
674
|
Campaigns?: undefined;
|
|
678
675
|
Chain?: undefined;
|
|
679
|
-
} | {
|
|
680
676
|
id?: undefined;
|
|
681
|
-
name?: undefined;
|
|
682
677
|
identifier?: undefined;
|
|
678
|
+
mainProtocolId?: undefined;
|
|
679
|
+
} | {
|
|
680
|
+
name?: undefined;
|
|
683
681
|
explorerAddress?: undefined;
|
|
684
682
|
type?: undefined;
|
|
685
683
|
MainProtocol?: undefined;
|
|
@@ -690,14 +688,13 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
690
688
|
Tokens?: undefined;
|
|
691
689
|
Campaigns?: undefined;
|
|
692
690
|
Chain?: undefined;
|
|
693
|
-
} | {
|
|
694
691
|
id?: undefined;
|
|
695
|
-
name?: undefined;
|
|
696
692
|
identifier?: undefined;
|
|
693
|
+
} | {
|
|
694
|
+
name?: undefined;
|
|
697
695
|
explorerAddress?: undefined;
|
|
698
696
|
type?: undefined;
|
|
699
697
|
MainProtocol?: undefined;
|
|
700
|
-
mainProtocolId?: undefined;
|
|
701
698
|
Tokens: {
|
|
702
699
|
some: {
|
|
703
700
|
name: {
|
|
@@ -710,14 +707,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
710
707
|
};
|
|
711
708
|
Campaigns?: undefined;
|
|
712
709
|
Chain?: undefined;
|
|
713
|
-
} | {
|
|
714
710
|
id?: undefined;
|
|
715
|
-
name?: undefined;
|
|
716
711
|
identifier?: undefined;
|
|
712
|
+
mainProtocolId?: undefined;
|
|
713
|
+
} | {
|
|
714
|
+
name?: undefined;
|
|
717
715
|
explorerAddress?: undefined;
|
|
718
716
|
type?: undefined;
|
|
719
717
|
MainProtocol?: undefined;
|
|
720
|
-
mainProtocolId?: undefined;
|
|
721
718
|
Tokens: {
|
|
722
719
|
some: {
|
|
723
720
|
name?: undefined;
|
|
@@ -730,69 +727,69 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
730
727
|
};
|
|
731
728
|
Campaigns?: undefined;
|
|
732
729
|
Chain?: undefined;
|
|
733
|
-
} | {
|
|
734
730
|
id?: undefined;
|
|
735
|
-
name?: undefined;
|
|
736
731
|
identifier?: undefined;
|
|
732
|
+
mainProtocolId?: undefined;
|
|
733
|
+
} | {
|
|
734
|
+
name?: undefined;
|
|
737
735
|
explorerAddress?: undefined;
|
|
738
736
|
type?: undefined;
|
|
739
737
|
MainProtocol?: undefined;
|
|
740
|
-
mainProtocolId?: undefined;
|
|
741
738
|
Tokens: {
|
|
742
739
|
some: {
|
|
743
740
|
name?: undefined;
|
|
744
|
-
symbol?: undefined;
|
|
745
741
|
address: {
|
|
746
742
|
contains: string;
|
|
747
743
|
mode: "insensitive";
|
|
748
744
|
};
|
|
745
|
+
symbol?: undefined;
|
|
749
746
|
};
|
|
750
747
|
};
|
|
751
748
|
Campaigns?: undefined;
|
|
752
749
|
Chain?: undefined;
|
|
753
|
-
} | {
|
|
754
750
|
id?: undefined;
|
|
755
|
-
name?: undefined;
|
|
756
751
|
identifier?: undefined;
|
|
752
|
+
mainProtocolId?: undefined;
|
|
753
|
+
} | {
|
|
754
|
+
name?: undefined;
|
|
757
755
|
explorerAddress?: undefined;
|
|
758
756
|
type?: undefined;
|
|
759
757
|
MainProtocol?: undefined;
|
|
760
|
-
mainProtocolId?: undefined;
|
|
761
758
|
Tokens?: undefined;
|
|
762
759
|
Campaigns: {
|
|
763
760
|
some: {
|
|
764
|
-
id?: undefined;
|
|
765
|
-
campaignId?: undefined;
|
|
766
|
-
creatorAddress?: undefined;
|
|
767
761
|
endTimestamp: {
|
|
768
762
|
gte: number;
|
|
769
763
|
};
|
|
770
764
|
RewardToken: {
|
|
771
765
|
OR: ({
|
|
772
|
-
address?: undefined;
|
|
773
766
|
symbol: {
|
|
774
767
|
contains: string;
|
|
775
768
|
mode: "insensitive";
|
|
776
769
|
};
|
|
770
|
+
address?: undefined;
|
|
777
771
|
} | {
|
|
778
|
-
symbol?: undefined;
|
|
779
772
|
address: {
|
|
780
773
|
contains: string;
|
|
781
774
|
mode: "insensitive";
|
|
782
775
|
};
|
|
776
|
+
symbol?: undefined;
|
|
783
777
|
})[];
|
|
784
778
|
};
|
|
779
|
+
id?: undefined;
|
|
780
|
+
campaignId?: undefined;
|
|
781
|
+
creatorAddress?: undefined;
|
|
785
782
|
};
|
|
786
783
|
};
|
|
787
784
|
Chain?: undefined;
|
|
788
|
-
} | {
|
|
789
785
|
id?: undefined;
|
|
790
|
-
name?: undefined;
|
|
791
786
|
identifier?: undefined;
|
|
787
|
+
mainProtocolId?: undefined;
|
|
788
|
+
} | {
|
|
789
|
+
name?: undefined;
|
|
792
790
|
explorerAddress?: undefined;
|
|
793
791
|
type?: undefined;
|
|
794
792
|
MainProtocol?: undefined;
|
|
795
|
-
mainProtocolId?: undefined;
|
|
796
793
|
Tokens?: undefined;
|
|
797
794
|
Campaigns?: undefined;
|
|
798
795
|
Chain: {
|
|
@@ -801,6 +798,9 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
|
|
|
801
798
|
mode: "insensitive";
|
|
802
799
|
};
|
|
803
800
|
};
|
|
801
|
+
id?: undefined;
|
|
802
|
+
identifier?: undefined;
|
|
803
|
+
mainProtocolId?: undefined;
|
|
804
804
|
})[];
|
|
805
805
|
}[];
|
|
806
806
|
})[];
|
|
@@ -2401,27 +2401,108 @@ export declare const v4: Elysia<"/v4", {
|
|
|
2401
2401
|
} & {
|
|
2402
2402
|
campaigns: {
|
|
2403
2403
|
opportunity: {
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2404
|
+
":campaignId": {
|
|
2405
|
+
":opportunityId": {
|
|
2406
|
+
patch: {
|
|
2407
|
+
body: unknown;
|
|
2408
|
+
params: {
|
|
2409
|
+
campaignId: string;
|
|
2410
|
+
opportunityId: string;
|
|
2411
|
+
};
|
|
2412
|
+
query: unknown;
|
|
2413
|
+
headers: {
|
|
2414
|
+
authorization: string;
|
|
2415
|
+
};
|
|
2416
|
+
response: {
|
|
2417
|
+
200: Omit<import("./campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
2418
|
+
subType: number | null;
|
|
2419
|
+
startTimestamp: number;
|
|
2420
|
+
endTimestamp: number;
|
|
2421
|
+
createdAt: string;
|
|
2422
|
+
parentCampaignId?: string | undefined;
|
|
2423
|
+
rootCampaignId?: string | undefined;
|
|
2424
|
+
pauseCompute?: string | undefined;
|
|
2425
|
+
} & {
|
|
2426
|
+
Opportunity: {
|
|
2427
|
+
chainId: number;
|
|
2428
|
+
type: string;
|
|
2429
|
+
identifier: string;
|
|
2430
|
+
name: string;
|
|
2431
|
+
description: string;
|
|
2432
|
+
howToSteps: string[];
|
|
2433
|
+
status: import("@package/databases").Status;
|
|
2434
|
+
action: import("@package/databases").OpportunityAction;
|
|
2435
|
+
tvl: number;
|
|
2436
|
+
apr: number;
|
|
2437
|
+
maxApr: number | null;
|
|
2438
|
+
dailyRewards: number;
|
|
2439
|
+
tags: string[];
|
|
2440
|
+
liveCampaigns: number;
|
|
2441
|
+
tokens: {
|
|
2442
|
+
id: string;
|
|
2443
|
+
name: string | null;
|
|
2444
|
+
chainId: number;
|
|
2445
|
+
address: string;
|
|
2446
|
+
decimals: number;
|
|
2447
|
+
symbol: string;
|
|
2448
|
+
icon: string;
|
|
2449
|
+
verified: boolean;
|
|
2450
|
+
isNative: boolean;
|
|
2451
|
+
isTest: boolean;
|
|
2452
|
+
type: "POINT" | "PRETGE" | "TOKEN";
|
|
2453
|
+
price?: number | null | undefined;
|
|
2454
|
+
updatedAt?: number | null | undefined;
|
|
2455
|
+
priceSource?: string | null | undefined;
|
|
2456
|
+
displaySymbol?: string | undefined;
|
|
2457
|
+
}[];
|
|
2458
|
+
chain: {
|
|
2459
|
+
id: number;
|
|
2460
|
+
name: string;
|
|
2461
|
+
icon: string;
|
|
2462
|
+
liveCampaigns: number;
|
|
2463
|
+
endOfDisputePeriod: number;
|
|
2464
|
+
explorers?: {
|
|
2465
|
+
type: "BLOCKSCOUT" | "ETHERSCAN";
|
|
2466
|
+
url: string;
|
|
2467
|
+
chainId: number;
|
|
2468
|
+
}[] | undefined;
|
|
2469
|
+
lastClaimsOnchainFetchTimestamp?: string | null | undefined;
|
|
2470
|
+
};
|
|
2471
|
+
protocol: {
|
|
2472
|
+
id: string;
|
|
2473
|
+
tags: string[];
|
|
2474
|
+
name: string;
|
|
2475
|
+
description: string;
|
|
2476
|
+
url: string;
|
|
2477
|
+
icon: string;
|
|
2478
|
+
banner: string | null;
|
|
2479
|
+
opportunityBannerLight: string | null;
|
|
2480
|
+
opportunityBannerDark: string | null;
|
|
2481
|
+
} | undefined;
|
|
2482
|
+
activePrograms: {
|
|
2483
|
+
icon: string;
|
|
2484
|
+
id: string;
|
|
2485
|
+
name: string;
|
|
2486
|
+
slug: string | null;
|
|
2487
|
+
}[];
|
|
2488
|
+
id: string;
|
|
2489
|
+
hidden: true | undefined;
|
|
2490
|
+
nativeApr: number | undefined;
|
|
2491
|
+
depositUrl: string | undefined;
|
|
2492
|
+
explorerAddress: string | undefined;
|
|
2493
|
+
lastCampaignCreatedAt: number;
|
|
2494
|
+
};
|
|
2495
|
+
};
|
|
2496
|
+
422: {
|
|
2497
|
+
type: "validation";
|
|
2498
|
+
on: string;
|
|
2499
|
+
summary?: string | undefined;
|
|
2500
|
+
message?: string | undefined;
|
|
2501
|
+
found?: unknown;
|
|
2502
|
+
property?: string | undefined;
|
|
2503
|
+
expected?: string | undefined;
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2425
2506
|
};
|
|
2426
2507
|
};
|
|
2427
2508
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/token/token.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACvH,OAAO,EACL,cAAc,EACd,2BAA2B,EAC3B,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,wBAAwB,EACxB,UAAU,EACV,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,oMAAgF;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;IAE5F,4KAAw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AK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC,CAAC,QAAQ,CACpB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;YACzB,WAAW,EACT,oGAAoG;SACvG,CAAC,CACH;KACF,CAAC;IACF,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,yBAAyB,CAAC,MAAM,CAAC,OAAO,CAAC;IACvE,MAAM,EAAE;QACN,WAAW,EAAE,0EAA0E;KACxF;CACF,CACF;IAED,8JAAwE;KAEvE,GAAG,CACF,WAAW,EACX,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,wBAAwB,EAAE,EAAE,EAAE,EAAE,CAAC;IACrF,IAAI,YAAY;QACd,OAAO,MAAM,YAAY,CAAC,sBAAsB,CAC9C,OAAO,EACP,WAAW,EACX,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,wBAAwB,IAAI,EAAE,CAAC,CACtD,CAAC;IACJ,OAAO,MAAM,YAAY,CAAC,8BAA8B,CAAC,OAAO,EAAE,WAAW,EAAE,wBAAwB,CAAC,CAAC;AAAA,CAC1G,EACD;IACE,YAAY,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"token.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/token/token.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAA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AI,EAAE,EAAE,EAAE,CAAC;QACzC,eAAe,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,6BAA6B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3D,yBAAyB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAAA,CACzC;IACD,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;IAEF,4KAA8E;KAE7E,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE;IACrF,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,uBAAuB;IAChC,YAAY,EAAE,eAAe;IAC7B,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;KAED,KAAK,CAAC,WAAW,EAAE,GAAG,CAAC,EAAE,CAAC;IACzB,OAAO,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE;QAC/E,IAAI,EAAE,wBAAwB;QAC9B,OAAO,EAAE,uBAAuB;QAChC,YAAY,EAAE,eAAe;QAC7B,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;KACvB,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC"}
|
|
@@ -139,6 +139,7 @@ export declare const getAPR: (params: {
|
|
|
139
139
|
} | {
|
|
140
140
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
141
141
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
142
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
142
143
|
} | {
|
|
143
144
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
144
145
|
strings: string[];
|
|
@@ -535,6 +536,7 @@ export declare const getAPR: (params: {
|
|
|
535
536
|
} | {
|
|
536
537
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
537
538
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
539
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
538
540
|
} | {
|
|
539
541
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
540
542
|
strings: string[];
|
|
@@ -1676,6 +1678,7 @@ export declare const getAPR: (params: {
|
|
|
1676
1678
|
} | {
|
|
1677
1679
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
1678
1680
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
1681
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
1679
1682
|
} | {
|
|
1680
1683
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
1681
1684
|
strings: string[];
|
|
@@ -2817,6 +2820,7 @@ export declare const getAPR: (params: {
|
|
|
2817
2820
|
} | {
|
|
2818
2821
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
2819
2822
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
2823
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
2820
2824
|
} | {
|
|
2821
2825
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
2822
2826
|
strings: string[];
|
|
@@ -3956,6 +3960,7 @@ export declare const getAPR: (params: {
|
|
|
3956
3960
|
} | {
|
|
3957
3961
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
3958
3962
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
3963
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
3959
3964
|
} | {
|
|
3960
3965
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
3961
3966
|
strings: string[];
|
|
@@ -5101,6 +5106,7 @@ export declare const getAPR: (params: {
|
|
|
5101
5106
|
} | {
|
|
5102
5107
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
5103
5108
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
5109
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
5104
5110
|
} | {
|
|
5105
5111
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
5106
5112
|
strings: string[];
|
|
@@ -6247,6 +6253,7 @@ export declare const getAPR: (params: {
|
|
|
6247
6253
|
} | {
|
|
6248
6254
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
6249
6255
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
6256
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
6250
6257
|
} | {
|
|
6251
6258
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
6252
6259
|
strings: string[];
|
|
@@ -7401,6 +7408,7 @@ export declare const getAPR: (params: {
|
|
|
7401
7408
|
} | {
|
|
7402
7409
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
7403
7410
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
7411
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
7404
7412
|
} | {
|
|
7405
7413
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
7406
7414
|
strings: string[];
|
|
@@ -139,6 +139,7 @@ export declare const parseDistributionType: (params: {
|
|
|
139
139
|
} | {
|
|
140
140
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
141
141
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
142
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
142
143
|
} | {
|
|
143
144
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
144
145
|
strings: string[];
|
|
@@ -535,6 +536,7 @@ export declare const parseDistributionType: (params: {
|
|
|
535
536
|
} | {
|
|
536
537
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
537
538
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
539
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
538
540
|
} | {
|
|
539
541
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
540
542
|
strings: string[];
|
|
@@ -1676,6 +1678,7 @@ export declare const parseDistributionType: (params: {
|
|
|
1676
1678
|
} | {
|
|
1677
1679
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
1678
1680
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
1681
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
1679
1682
|
} | {
|
|
1680
1683
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
1681
1684
|
strings: string[];
|
|
@@ -2817,6 +2820,7 @@ export declare const parseDistributionType: (params: {
|
|
|
2817
2820
|
} | {
|
|
2818
2821
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
2819
2822
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
2823
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
2820
2824
|
} | {
|
|
2821
2825
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
2822
2826
|
strings: string[];
|
|
@@ -3956,6 +3960,7 @@ export declare const parseDistributionType: (params: {
|
|
|
3956
3960
|
} | {
|
|
3957
3961
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
3958
3962
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
3963
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
3959
3964
|
} | {
|
|
3960
3965
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
3961
3966
|
strings: string[];
|
|
@@ -5101,6 +5106,7 @@ export declare const parseDistributionType: (params: {
|
|
|
5101
5106
|
} | {
|
|
5102
5107
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
5103
5108
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
5109
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
5104
5110
|
} | {
|
|
5105
5111
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
5106
5112
|
strings: string[];
|
|
@@ -6247,6 +6253,7 @@ export declare const parseDistributionType: (params: {
|
|
|
6247
6253
|
} | {
|
|
6248
6254
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
6249
6255
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
6256
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
6250
6257
|
} | {
|
|
6251
6258
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
6252
6259
|
strings: string[];
|
|
@@ -7401,6 +7408,7 @@ export declare const parseDistributionType: (params: {
|
|
|
7401
7408
|
} | {
|
|
7402
7409
|
hookType: import("@package/resources/enums").HookType.WHITELIST_PER_PROTOCOL;
|
|
7403
7410
|
protocols: import("@package/resources/enums").ProtocolType[];
|
|
7411
|
+
validationCheck?: import("@package/resources/enums").nodesUtilsFunction[] | undefined;
|
|
7404
7412
|
} | {
|
|
7405
7413
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
7406
7414
|
strings: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function setCacheHeaders(maxAgeInSeconds: number): ({ set, headers }: {
|
|
1
|
+
export declare function setCacheHeaders(maxAgeInSeconds: number): ({ set, headers, cookie, }: {
|
|
2
2
|
set: {
|
|
3
3
|
headers: import("elysia").HTTPHeaders;
|
|
4
4
|
status?: number | "Accepted" | "Already Reported" | "Bad Gateway" | "Bad Request" | "Conflict" | "Continue" | "Created" | "Early Hints" | "Enhance Your Calm" | "Expectation Failed" | "Failed Dependency" | "Forbidden" | "Found" | "Gateway Timeout" | "Gone" | "HTTP Version Not Supported" | "I'm a teapot" | "Insufficient Storage" | "Internal Server Error" | "Length Required" | "Locked" | "Loop Detected" | "Method Not Allowed" | "Misdirected Request" | "Moved Permanently" | "Multi-Status" | "Multiple Choices" | "Network Authentication Required" | "No Content" | "Non-Authoritative Information" | "Not Acceptable" | "Not Extended" | "Not Found" | "Not Implemented" | "Not Modified" | "OK" | "Partial Content" | "Payload Too Large" | "Payment Required" | "Permanent Redirect" | "Precondition Failed" | "Precondition Required" | "Processing" | "Proxy Authentication Required" | "Range Not Satisfiable" | "Request Header Fields Too Large" | "Request Timeout" | "Reset Content" | "See Other" | "Service Unavailable" | "Switching Protocols" | "Temporary Redirect" | "Too Early" | "Too Many Requests" | "URI Too Long" | "Unauthorized" | "Unavailable For Legal Reasons" | "Unprocessable Content" | "Unsupported Media Type" | "Upgrade Required" | "Variant Also Negotiates" | undefined;
|
|
@@ -18,4 +18,5 @@ export declare function setCacheHeaders(maxAgeInSeconds: number): ({ set, header
|
|
|
18
18
|
}> | undefined;
|
|
19
19
|
};
|
|
20
20
|
headers: Record<string, string | undefined>;
|
|
21
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
21
22
|
}) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setCacheHeaders.js","sourceRoot":"","sources":["../../../../../apps/api/src/utils/setCacheHeaders.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,eAAe,CAAC,eAAuB,EAAE;IACvD,OAAO,SAAS,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"setCacheHeaders.js","sourceRoot":"","sources":["../../../../../apps/api/src/utils/setCacheHeaders.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,eAAe,CAAC,eAAuB,EAAE;IACvD,OAAO,SAAS,eAAe,CAAC,EAC9B,GAAG,EACH,OAAO,EACP,MAAM,GAKP,EAAE;QACD,IAAI,CAAC,CAAC,OAAO,CAAC,aAAa,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,IAAI,eAAe,KAAK,CAAC,EAAE,CAAC;YAC5E,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU,CAAC;QAC5C,CAAC;aAAM,CAAC;YACN,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,mBAAmB,eAAe,EAAE,CAAC;QACtE,CAAC;IAAA,CACF,CAAC;AAAA,CACH"}
|