@merkl/api 0.10.156 → 0.10.157
Sign up to get free protection for your applications and to get access to all the features.
@@ -63,7 +63,7 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
63
63
|
}>, import("@sinclair/typebox").TRegExp]>>;
|
64
64
|
sort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"tvl" | "apr" | "rewards">[]>>;
|
65
65
|
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"asc" | "desc">[]>>;
|
66
|
-
mainProtocolId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").
|
66
|
+
mainProtocolId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
67
67
|
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
68
68
|
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
69
69
|
}>;
|
@@ -20,7 +20,7 @@ export const GetOpportunitiesQueryDto = t.Object({
|
|
20
20
|
status: t.Optional(t.Union([t.Enum(Status), t.RegExp(/^(LIVE|PAST|SOON)+(,(LIVE|PAST|SOON)+)*$/)])),
|
21
21
|
sort: t.Optional(t.Union(["apr", "tvl", "rewards"].map(v => t.Literal(v)))),
|
22
22
|
order: t.Optional(t.Union(["desc", "asc"].map(v => t.Literal(v)))),
|
23
|
-
mainProtocolId: t.Optional(t.
|
23
|
+
mainProtocolId: t.Optional(t.String()),
|
24
24
|
page: t.Optional(t.Numeric()), // 0-indexed
|
25
25
|
items: t.Optional(t.Numeric()), // items per page
|
26
26
|
});
|