@merkl/api 1.0.60 → 1.0.62

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.
@@ -7,9 +7,14 @@ export declare const AddBlacklistDto: import("@sinclair/typebox").TObject<{
7
7
  export declare const CheckBlacklistDto: import("@sinclair/typebox").TObject<{
8
8
  address: import("@sinclair/typebox").TString;
9
9
  }>;
10
+ export declare const FindManyBlacklistDto: import("@sinclair/typebox").TObject<{
11
+ page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
12
+ items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
13
+ }>;
10
14
  export declare const RemoveBlacklistDto: import("@sinclair/typebox").TObject<{
11
15
  address: import("@sinclair/typebox").TString;
12
16
  }>;
13
17
  export type AddBlacklistModel = typeof AddBlacklistDto.static & {
14
18
  id: string;
15
19
  };
20
+ export type FindManyBlacklistModel = typeof FindManyBlacklistDto.static;
@@ -1,6 +1,6 @@
1
- import type { AddBlacklistModel } from "./blacklist.model";
1
+ import type { AddBlacklistModel, FindManyBlacklistModel } from "./blacklist.model";
2
2
  export declare class BlacklistRepository {
3
- static findMany(): Promise<{
3
+ static findMany(query: FindManyBlacklistModel): Promise<{
4
4
  id: string;
5
5
  poolAddress: string;
6
6
  chainId: number;
@@ -1,8 +1,8 @@
1
1
  import type { ChainId } from "@angleprotocol/sdk/ts";
2
- import type { AddBlacklistModel } from "./blacklist.model";
2
+ import type { AddBlacklistModel, FindManyBlacklistModel } from "./blacklist.model";
3
3
  export declare class BlacklistService {
4
4
  static hashId(chainId: ChainId, userAddress: string, poolAddress: string): string;
5
- static findMany(): Promise<{
5
+ static findMany(query?: FindManyBlacklistModel): Promise<{
6
6
  id: string;
7
7
  poolAddress: string;
8
8
  chainId: number;