@merkl/api 0.10.205 → 0.10.207

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.
@@ -1,4 +1,4 @@
1
- import type { App } from "../../index";
1
+ import type Elysia from "elysia";
2
2
  export type UpdatesT = {
3
3
  [chainId: number]: {
4
4
  [campaignId: string]: number;
@@ -6,5 +6,45 @@ export type UpdatesT = {
6
6
  };
7
7
  export declare const query: import("@sinclair/typebox").TObject<{}>;
8
8
  export declare const response: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber>>;
9
- declare const _default: (app: App) => any;
9
+ declare const _default: (app: Elysia) => Elysia<"", false, {
10
+ decorator: {};
11
+ store: {};
12
+ derive: {};
13
+ resolve: {};
14
+ }, {
15
+ type: {};
16
+ error: {};
17
+ }, {
18
+ schema: {};
19
+ macro: {};
20
+ macroFn: {};
21
+ }, {
22
+ updates: {
23
+ get: {
24
+ body: unknown;
25
+ params: {};
26
+ query: {};
27
+ headers: unknown;
28
+ response: {
29
+ 200: {
30
+ [x: number]: {
31
+ [campaignId: string]: number;
32
+ };
33
+ };
34
+ readonly 400: {
35
+ message?: string | undefined;
36
+ error: string;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ }, {
42
+ derive: {};
43
+ resolve: {};
44
+ schema: {};
45
+ }, {
46
+ derive: {};
47
+ resolve: {};
48
+ schema: {};
49
+ }>;
10
50
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { App } from "../../index";
1
+ import type Elysia from "elysia";
2
2
  export declare const query: import("@sinclair/typebox").TObject<{
3
3
  chainId: import("@sinclair/typebox").TUnion<import("elysia").TSchema[]>;
4
4
  mainParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -6,5 +6,59 @@ export declare const query: import("@sinclair/typebox").TObject<{
6
6
  rewardToken: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
7
7
  user: import("@sinclair/typebox").TString;
8
8
  }>;
9
- declare const _default: (app: App) => any;
9
+ declare const _default: (app: Elysia) => Elysia<"", false, {
10
+ decorator: {};
11
+ store: {};
12
+ derive: {};
13
+ resolve: {};
14
+ }, {
15
+ type: {};
16
+ error: {};
17
+ }, {
18
+ schema: {};
19
+ macro: {};
20
+ macroFn: {};
21
+ }, {
22
+ userRewards: {
23
+ get: {
24
+ body: unknown;
25
+ params: {};
26
+ query: {
27
+ mainParameter?: string | undefined;
28
+ rewardToken?: string | undefined;
29
+ proof?: string | undefined;
30
+ chainId: never;
31
+ user: string;
32
+ };
33
+ headers: unknown;
34
+ response: {
35
+ 200: {
36
+ [x: string]: {
37
+ pending?: string | undefined;
38
+ proof?: string[] | undefined;
39
+ symbol: string;
40
+ decimals: number;
41
+ unclaimed: string;
42
+ accumulated: string;
43
+ reasons: {
44
+ [x: string]: {
45
+ pending?: string | undefined;
46
+ unclaimed: string;
47
+ accumulated: string;
48
+ };
49
+ };
50
+ };
51
+ };
52
+ };
53
+ };
54
+ };
55
+ }, {
56
+ derive: {};
57
+ resolve: {};
58
+ schema: {};
59
+ }, {
60
+ derive: {};
61
+ resolve: {};
62
+ schema: {};
63
+ }>;
10
64
  export default _default;