@merkl/api 1.5.8 → 1.5.10

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 (39) hide show
  1. package/dist/src/eden/index.d.ts +304 -199
  2. package/dist/src/index.d.ts +304 -199
  3. package/dist/src/jobs/update-dynamic-data.js.map +1 -1
  4. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +0 -28
  5. package/dist/src/modules/v4/campaign/campaign.formatter.js.map +1 -1
  6. package/dist/src/modules/v4/campaign/campaign.model.d.ts +0 -9
  7. package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
  8. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +12 -66
  9. package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -5
  10. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  11. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +0 -2
  12. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +0 -3
  13. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +0 -3
  14. package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +0 -6
  15. package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +0 -6
  16. package/dist/src/modules/v4/carousel/carousel.controller.d.ts +208 -48
  17. package/dist/src/modules/v4/carousel/carousel.repository.d.ts +219 -74
  18. package/dist/src/modules/v4/carousel/carousel.repository.js.map +1 -1
  19. package/dist/src/modules/v4/carousel/carousel.service.d.ts +257 -72
  20. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +0 -28
  21. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +0 -14
  22. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +2 -24
  23. package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
  24. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -7
  25. package/dist/src/modules/v4/program/program.controller.d.ts +96 -72
  26. package/dist/src/modules/v4/program/program.formatter.d.ts +4 -1
  27. package/dist/src/modules/v4/program/program.formatter.js.map +1 -1
  28. package/dist/src/modules/v4/program/program.model.d.ts +6 -4
  29. package/dist/src/modules/v4/program/program.model.js.map +1 -1
  30. package/dist/src/modules/v4/program/program.repository.d.ts +306 -82
  31. package/dist/src/modules/v4/program/program.repository.js.map +1 -1
  32. package/dist/src/modules/v4/program/program.service.d.ts +90 -68
  33. package/dist/src/modules/v4/program/program.service.js.map +1 -1
  34. package/dist/src/modules/v4/reward/reward.service.d.ts +0 -7
  35. package/dist/src/modules/v4/router.d.ts +304 -199
  36. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +0 -14
  37. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +0 -7
  38. package/dist/src/modules/v4/user/user.controller.d.ts +0 -7
  39. package/package.json +1 -1
@@ -60,6 +60,28 @@ export declare const CarouselController: Elysia<"/carousels", {
60
60
  slug?: string | undefined;
61
61
  description: string;
62
62
  icon: string;
63
+ dailyRewards?: number | undefined;
64
+ liveCampaigns?: number | undefined;
65
+ opportunities: {
66
+ id: string;
67
+ type: string;
68
+ identifier: string;
69
+ name?: string | undefined;
70
+ status: "LIVE" | "NONE" | "PAST" | "SOON";
71
+ action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
72
+ description?: string | undefined;
73
+ howToSteps?: string[] | undefined;
74
+ protocols?: string[] | undefined;
75
+ mainProtocol?: string | undefined;
76
+ depositUrl?: string | undefined;
77
+ explorerAddress?: string | undefined;
78
+ tags?: string[] | undefined;
79
+ chainId: number;
80
+ apr?: number | undefined;
81
+ dailyRewards?: number | undefined;
82
+ tvl?: number | undefined;
83
+ liveCampaigns?: number | undefined;
84
+ }[];
63
85
  } | undefined;
64
86
  chain?: {
65
87
  id: number;
@@ -150,6 +172,28 @@ export declare const CarouselController: Elysia<"/carousels", {
150
172
  slug?: string | undefined;
151
173
  description: string;
152
174
  icon: string;
175
+ dailyRewards?: number | undefined;
176
+ liveCampaigns?: number | undefined;
177
+ opportunities: {
178
+ id: string;
179
+ type: string;
180
+ identifier: string;
181
+ name?: string | undefined;
182
+ status: "LIVE" | "NONE" | "PAST" | "SOON";
183
+ action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
184
+ description?: string | undefined;
185
+ howToSteps?: string[] | undefined;
186
+ protocols?: string[] | undefined;
187
+ mainProtocol?: string | undefined;
188
+ depositUrl?: string | undefined;
189
+ explorerAddress?: string | undefined;
190
+ tags?: string[] | undefined;
191
+ chainId: number;
192
+ apr?: number | undefined;
193
+ dailyRewards?: number | undefined;
194
+ tvl?: number | undefined;
195
+ liveCampaigns?: number | undefined;
196
+ }[];
153
197
  } | undefined;
154
198
  chain?: {
155
199
  id: number;
@@ -299,34 +343,81 @@ export declare const CarouselController: Elysia<"/carousels", {
299
343
  liveCampaigns: number;
300
344
  }) | null;
301
345
  Program: ({
302
- campaignGroup: ({
303
- campaigns: {
346
+ Opportunity: ({
347
+ ActivePrograms: {
348
+ id: string;
349
+ slug: string | null;
350
+ name: string;
351
+ description: string;
352
+ icon: string;
353
+ }[];
354
+ Chain: {
355
+ id: number;
356
+ name: string;
357
+ icon: string;
358
+ liveCampaigns: number;
359
+ endOfDisputePeriod: number;
360
+ };
361
+ MainProtocol: {
362
+ id: string;
363
+ tags: string[];
364
+ name: string;
365
+ description: string;
366
+ url: string;
367
+ icon: string;
368
+ banner: string | null;
369
+ opportunityBannerLight: string | null;
370
+ opportunityBannerDark: string | null;
371
+ } | null;
372
+ Protocols: {
373
+ id: string;
374
+ tags: string[];
375
+ name: string;
376
+ description: string;
377
+ url: string;
378
+ icon: string;
379
+ banner: string | null;
380
+ opportunityBannerLight: string | null;
381
+ opportunityBannerDark: string | null;
382
+ }[];
383
+ Tokens: {
304
384
  id: string;
305
- computeChainId: number;
306
- distributionChainId: number;
307
- campaignId: string;
308
- type: string;
309
- distributionType: import("@package/databases").DistributionType;
310
- subType: number | null;
311
- rewardTokenId: string;
312
- amount: string;
313
- opportunityId: string;
314
- startTimestamp: bigint;
315
- endTimestamp: bigint;
316
- params: import("@prisma/client/runtime/client").JsonValue;
317
- description: string | null;
318
- dailyRewards: number;
319
- apr: number;
320
- creatorAddress: string;
321
- manualOverrides: import("@package/databases").CampaignManualOverride[];
322
- createdAt: Date;
323
- rootCampaignId: string | null;
324
- parentCampaignId: string | null;
385
+ name: string | null;
386
+ chainId: number;
387
+ address: string;
388
+ decimals: number;
389
+ symbol: string;
390
+ displaySymbol: string;
391
+ icon: string;
392
+ verified: boolean;
393
+ isTest: boolean;
394
+ type: import("@package/databases").TokenType;
395
+ isNative: boolean;
396
+ price: number | null;
397
+ updatedAt: number | null;
398
+ priceSource: string | null;
325
399
  }[];
326
400
  } & {
327
401
  id: string;
328
- slug: string | null;
329
- programId: string | null;
402
+ chainId: number;
403
+ type: string;
404
+ identifier: string;
405
+ name: string;
406
+ description: string;
407
+ howToSteps: string[];
408
+ depositUrl: string | null;
409
+ explorerAddress: string | null;
410
+ status: import("@package/databases").Status;
411
+ action: import("@package/databases").OpportunityAction;
412
+ mainProtocolId: string | null;
413
+ tvl: number;
414
+ apr: number;
415
+ maxApr: number | null;
416
+ dailyRewards: number;
417
+ tags: string[];
418
+ lastCampaignCreatedAt: Date;
419
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
420
+ liveCampaigns: number;
330
421
  })[];
331
422
  } & {
332
423
  id: string;
@@ -447,6 +538,28 @@ export declare const CarouselController: Elysia<"/carousels", {
447
538
  slug?: string | undefined;
448
539
  description: string;
449
540
  icon: string;
541
+ dailyRewards?: number | undefined;
542
+ liveCampaigns?: number | undefined;
543
+ opportunities: {
544
+ id: string;
545
+ type: string;
546
+ identifier: string;
547
+ name?: string | undefined;
548
+ status: "LIVE" | "NONE" | "PAST" | "SOON";
549
+ action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
550
+ description?: string | undefined;
551
+ howToSteps?: string[] | undefined;
552
+ protocols?: string[] | undefined;
553
+ mainProtocol?: string | undefined;
554
+ depositUrl?: string | undefined;
555
+ explorerAddress?: string | undefined;
556
+ tags?: string[] | undefined;
557
+ chainId: number;
558
+ apr?: number | undefined;
559
+ dailyRewards?: number | undefined;
560
+ tvl?: number | undefined;
561
+ liveCampaigns?: number | undefined;
562
+ }[];
450
563
  } | undefined;
451
564
  chain?: {
452
565
  id: number;
@@ -619,34 +732,81 @@ export declare const CarouselController: Elysia<"/carousels", {
619
732
  liveCampaigns: number;
620
733
  }) | null;
621
734
  Program: ({
622
- campaignGroup: ({
623
- campaigns: {
735
+ Opportunity: ({
736
+ ActivePrograms: {
624
737
  id: string;
625
- computeChainId: number;
626
- distributionChainId: number;
627
- campaignId: string;
628
- type: string;
629
- distributionType: import("@package/databases").DistributionType;
630
- subType: number | null;
631
- rewardTokenId: string;
632
- amount: string;
633
- opportunityId: string;
634
- startTimestamp: bigint;
635
- endTimestamp: bigint;
636
- params: import("@prisma/client/runtime/client").JsonValue;
637
- description: string | null;
638
- dailyRewards: number;
639
- apr: number;
640
- creatorAddress: string;
641
- manualOverrides: import("@package/databases").CampaignManualOverride[];
642
- createdAt: Date;
643
- rootCampaignId: string | null;
644
- parentCampaignId: string | null;
738
+ slug: string | null;
739
+ name: string;
740
+ description: string;
741
+ icon: string;
742
+ }[];
743
+ Chain: {
744
+ id: number;
745
+ name: string;
746
+ icon: string;
747
+ liveCampaigns: number;
748
+ endOfDisputePeriod: number;
749
+ };
750
+ MainProtocol: {
751
+ id: string;
752
+ tags: string[];
753
+ name: string;
754
+ description: string;
755
+ url: string;
756
+ icon: string;
757
+ banner: string | null;
758
+ opportunityBannerLight: string | null;
759
+ opportunityBannerDark: string | null;
760
+ } | null;
761
+ Protocols: {
762
+ id: string;
763
+ tags: string[];
764
+ name: string;
765
+ description: string;
766
+ url: string;
767
+ icon: string;
768
+ banner: string | null;
769
+ opportunityBannerLight: string | null;
770
+ opportunityBannerDark: string | null;
771
+ }[];
772
+ Tokens: {
773
+ id: string;
774
+ name: string | null;
775
+ chainId: number;
776
+ address: string;
777
+ decimals: number;
778
+ symbol: string;
779
+ displaySymbol: string;
780
+ icon: string;
781
+ verified: boolean;
782
+ isTest: boolean;
783
+ type: import("@package/databases").TokenType;
784
+ isNative: boolean;
785
+ price: number | null;
786
+ updatedAt: number | null;
787
+ priceSource: string | null;
645
788
  }[];
646
789
  } & {
647
790
  id: string;
648
- slug: string | null;
649
- programId: string | null;
791
+ chainId: number;
792
+ type: string;
793
+ identifier: string;
794
+ name: string;
795
+ description: string;
796
+ howToSteps: string[];
797
+ depositUrl: string | null;
798
+ explorerAddress: string | null;
799
+ status: import("@package/databases").Status;
800
+ action: import("@package/databases").OpportunityAction;
801
+ mainProtocolId: string | null;
802
+ tvl: number;
803
+ apr: number;
804
+ maxApr: number | null;
805
+ dailyRewards: number;
806
+ tags: string[];
807
+ lastCampaignCreatedAt: Date;
808
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
809
+ liveCampaigns: number;
650
810
  })[];
651
811
  } & {
652
812
  id: string;
@@ -4,9 +4,13 @@ export declare abstract class CarouselRepository {
4
4
  static getRecordInclusion(): {
5
5
  Program: {
6
6
  include: {
7
- campaignGroup: {
7
+ Opportunity: {
8
8
  include: {
9
- campaigns: boolean;
9
+ MainProtocol: boolean;
10
+ Chain: boolean;
11
+ Protocols: boolean;
12
+ Tokens: boolean;
13
+ ActivePrograms: boolean;
10
14
  };
11
15
  };
12
16
  };
@@ -119,34 +123,81 @@ export declare abstract class CarouselRepository {
119
123
  liveCampaigns: number;
120
124
  }) | null;
121
125
  Program: ({
122
- campaignGroup: ({
123
- campaigns: {
126
+ Opportunity: ({
127
+ ActivePrograms: {
124
128
  id: string;
125
- computeChainId: number;
126
- distributionChainId: number;
127
- campaignId: string;
128
- type: string;
129
- distributionType: import("@package/databases").DistributionType;
130
- subType: number | null;
131
- rewardTokenId: string;
132
- amount: string;
133
- opportunityId: string;
134
- startTimestamp: bigint;
135
- endTimestamp: bigint;
136
- params: import("@prisma/client/runtime/client").JsonValue;
137
- description: string | null;
138
- dailyRewards: number;
139
- apr: number;
140
- creatorAddress: string;
141
- manualOverrides: import("@package/databases").CampaignManualOverride[];
142
- createdAt: Date;
143
- rootCampaignId: string | null;
144
- parentCampaignId: string | null;
129
+ slug: string | null;
130
+ name: string;
131
+ description: string;
132
+ icon: string;
133
+ }[];
134
+ Chain: {
135
+ id: number;
136
+ name: string;
137
+ icon: string;
138
+ liveCampaigns: number;
139
+ endOfDisputePeriod: number;
140
+ };
141
+ MainProtocol: {
142
+ id: string;
143
+ tags: string[];
144
+ name: string;
145
+ description: string;
146
+ url: string;
147
+ icon: string;
148
+ banner: string | null;
149
+ opportunityBannerLight: string | null;
150
+ opportunityBannerDark: string | null;
151
+ } | null;
152
+ Protocols: {
153
+ id: string;
154
+ tags: string[];
155
+ name: string;
156
+ description: string;
157
+ url: string;
158
+ icon: string;
159
+ banner: string | null;
160
+ opportunityBannerLight: string | null;
161
+ opportunityBannerDark: string | null;
162
+ }[];
163
+ Tokens: {
164
+ id: string;
165
+ name: string | null;
166
+ chainId: number;
167
+ address: string;
168
+ decimals: number;
169
+ symbol: string;
170
+ displaySymbol: string;
171
+ icon: string;
172
+ verified: boolean;
173
+ isTest: boolean;
174
+ type: import("@package/databases").TokenType;
175
+ isNative: boolean;
176
+ price: number | null;
177
+ updatedAt: number | null;
178
+ priceSource: string | null;
145
179
  }[];
146
180
  } & {
147
181
  id: string;
148
- slug: string | null;
149
- programId: string | null;
182
+ chainId: number;
183
+ type: string;
184
+ identifier: string;
185
+ name: string;
186
+ description: string;
187
+ howToSteps: string[];
188
+ depositUrl: string | null;
189
+ explorerAddress: string | null;
190
+ status: import("@package/databases").Status;
191
+ action: import("@package/databases").OpportunityAction;
192
+ mainProtocolId: string | null;
193
+ tvl: number;
194
+ apr: number;
195
+ maxApr: number | null;
196
+ dailyRewards: number;
197
+ tags: string[];
198
+ lastCampaignCreatedAt: Date;
199
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
200
+ liveCampaigns: number;
150
201
  })[];
151
202
  } & {
152
203
  id: string;
@@ -276,34 +327,81 @@ export declare abstract class CarouselRepository {
276
327
  liveCampaigns: number;
277
328
  }) | null;
278
329
  Program: ({
279
- campaignGroup: ({
280
- campaigns: {
330
+ Opportunity: ({
331
+ ActivePrograms: {
332
+ id: string;
333
+ slug: string | null;
334
+ name: string;
335
+ description: string;
336
+ icon: string;
337
+ }[];
338
+ Chain: {
339
+ id: number;
340
+ name: string;
341
+ icon: string;
342
+ liveCampaigns: number;
343
+ endOfDisputePeriod: number;
344
+ };
345
+ MainProtocol: {
346
+ id: string;
347
+ tags: string[];
348
+ name: string;
349
+ description: string;
350
+ url: string;
351
+ icon: string;
352
+ banner: string | null;
353
+ opportunityBannerLight: string | null;
354
+ opportunityBannerDark: string | null;
355
+ } | null;
356
+ Protocols: {
357
+ id: string;
358
+ tags: string[];
359
+ name: string;
360
+ description: string;
361
+ url: string;
362
+ icon: string;
363
+ banner: string | null;
364
+ opportunityBannerLight: string | null;
365
+ opportunityBannerDark: string | null;
366
+ }[];
367
+ Tokens: {
281
368
  id: string;
282
- computeChainId: number;
283
- distributionChainId: number;
284
- campaignId: string;
285
- type: string;
286
- distributionType: import("@package/databases").DistributionType;
287
- subType: number | null;
288
- rewardTokenId: string;
289
- amount: string;
290
- opportunityId: string;
291
- startTimestamp: bigint;
292
- endTimestamp: bigint;
293
- params: import("@prisma/client/runtime/client").JsonValue;
294
- description: string | null;
295
- dailyRewards: number;
296
- apr: number;
297
- creatorAddress: string;
298
- manualOverrides: import("@package/databases").CampaignManualOverride[];
299
- createdAt: Date;
300
- rootCampaignId: string | null;
301
- parentCampaignId: string | null;
369
+ name: string | null;
370
+ chainId: number;
371
+ address: string;
372
+ decimals: number;
373
+ symbol: string;
374
+ displaySymbol: string;
375
+ icon: string;
376
+ verified: boolean;
377
+ isTest: boolean;
378
+ type: import("@package/databases").TokenType;
379
+ isNative: boolean;
380
+ price: number | null;
381
+ updatedAt: number | null;
382
+ priceSource: string | null;
302
383
  }[];
303
384
  } & {
304
385
  id: string;
305
- slug: string | null;
306
- programId: string | null;
386
+ chainId: number;
387
+ type: string;
388
+ identifier: string;
389
+ name: string;
390
+ description: string;
391
+ howToSteps: string[];
392
+ depositUrl: string | null;
393
+ explorerAddress: string | null;
394
+ status: import("@package/databases").Status;
395
+ action: import("@package/databases").OpportunityAction;
396
+ mainProtocolId: string | null;
397
+ tvl: number;
398
+ apr: number;
399
+ maxApr: number | null;
400
+ dailyRewards: number;
401
+ tags: string[];
402
+ lastCampaignCreatedAt: Date;
403
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
404
+ liveCampaigns: number;
307
405
  })[];
308
406
  } & {
309
407
  id: string;
@@ -433,34 +531,81 @@ export declare abstract class CarouselRepository {
433
531
  liveCampaigns: number;
434
532
  }) | null;
435
533
  Program: ({
436
- campaignGroup: ({
437
- campaigns: {
534
+ Opportunity: ({
535
+ ActivePrograms: {
536
+ id: string;
537
+ slug: string | null;
538
+ name: string;
539
+ description: string;
540
+ icon: string;
541
+ }[];
542
+ Chain: {
543
+ id: number;
544
+ name: string;
545
+ icon: string;
546
+ liveCampaigns: number;
547
+ endOfDisputePeriod: number;
548
+ };
549
+ MainProtocol: {
438
550
  id: string;
439
- computeChainId: number;
440
- distributionChainId: number;
441
- campaignId: string;
442
- type: string;
443
- distributionType: import("@package/databases").DistributionType;
444
- subType: number | null;
445
- rewardTokenId: string;
446
- amount: string;
447
- opportunityId: string;
448
- startTimestamp: bigint;
449
- endTimestamp: bigint;
450
- params: import("@prisma/client/runtime/client").JsonValue;
451
- description: string | null;
452
- dailyRewards: number;
453
- apr: number;
454
- creatorAddress: string;
455
- manualOverrides: import("@package/databases").CampaignManualOverride[];
456
- createdAt: Date;
457
- rootCampaignId: string | null;
458
- parentCampaignId: string | null;
551
+ tags: string[];
552
+ name: string;
553
+ description: string;
554
+ url: string;
555
+ icon: string;
556
+ banner: string | null;
557
+ opportunityBannerLight: string | null;
558
+ opportunityBannerDark: string | null;
559
+ } | null;
560
+ Protocols: {
561
+ id: string;
562
+ tags: string[];
563
+ name: string;
564
+ description: string;
565
+ url: string;
566
+ icon: string;
567
+ banner: string | null;
568
+ opportunityBannerLight: string | null;
569
+ opportunityBannerDark: string | null;
570
+ }[];
571
+ Tokens: {
572
+ id: string;
573
+ name: string | null;
574
+ chainId: number;
575
+ address: string;
576
+ decimals: number;
577
+ symbol: string;
578
+ displaySymbol: string;
579
+ icon: string;
580
+ verified: boolean;
581
+ isTest: boolean;
582
+ type: import("@package/databases").TokenType;
583
+ isNative: boolean;
584
+ price: number | null;
585
+ updatedAt: number | null;
586
+ priceSource: string | null;
459
587
  }[];
460
588
  } & {
461
589
  id: string;
462
- slug: string | null;
463
- programId: string | null;
590
+ chainId: number;
591
+ type: string;
592
+ identifier: string;
593
+ name: string;
594
+ description: string;
595
+ howToSteps: string[];
596
+ depositUrl: string | null;
597
+ explorerAddress: string | null;
598
+ status: import("@package/databases").Status;
599
+ action: import("@package/databases").OpportunityAction;
600
+ mainProtocolId: string | null;
601
+ tvl: number;
602
+ apr: number;
603
+ maxApr: number | null;
604
+ dailyRewards: number;
605
+ tags: string[];
606
+ lastCampaignCreatedAt: Date;
607
+ manualOverrides: import("@package/databases").OpportunityManualOverride[];
608
+ liveCampaigns: number;
464
609
  })[];
465
610
  } & {
466
611
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/carousel/carousel.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,OAAgB,kBAAkB;IACtC,MAAM,CAAC,kBAAkB,GAAG;QAC1B,O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C,KAAK,CAAC,MAAM,CAAC,IAAuB,EAAE;QAC3C,OAAO,MAAM,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACvC,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE;YACtB,IAAI,EAAE;gBACJ,GAAG,IAAI;aACR;SACF,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,IAAyB,EAAE;QACjD,OAAO,MAAM,OAAO,CAAC,GAAG,CACtB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAClB,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YAC1B,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE;YAC1B,IAAI,EAAE;gBACJ,GAAG,QAAQ;aACZ;SACF,CAAC,CACH,CACF,CAAC;IAAA,CACH;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG;QACnB,OAAO,WAAW,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;IAAA,CACrC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE;QAC9B,OAAO,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACjC,KAAK,EAAE,EAAE,EAAE,EAAE;SACd,CAAC,CAAC;IAAA,CACJ;CACF"}
1
+ {"version":3,"file":"carousel.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/carousel/carousel.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,OAAgB,kBAAkB;IACtC,MAAM,CAAC,kBAAkB,GAAG;QAC1B,OAAO;YACL,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,WAAW,EAAE;wBACX,OAAO,EAAE;4BACP,YAAY,EAAE,IAAI;4BAClB,KAAK,EAAE,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