@dodoex/api 3.9.0-alpha.1 → 3.9.0-cp.1
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/gql/gql.d.ts +28 -0
- package/dist/types/gql/graphql.d.ts +2113 -9
- package/dist/types/index.d.ts +1 -0
- package/dist/types/services/cp/graphqlQuery.d.ts +32 -0
- package/dist/types/services/cp/index.d.ts +1 -0
- package/package.json +1 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ export type { MiningMiningInfo } from './services/mining';
|
|
|
14
14
|
export { TokenApi } from './services/TokenApi';
|
|
15
15
|
export { SwapApi } from './services/swap/SwapApi';
|
|
16
16
|
export { SystemApi } from './services/system/SystemApi';
|
|
17
|
+
export { cpGraphqlQuery } from './services/cp';
|
|
17
18
|
export type ExcludeNone<T> = NonNullable<T>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const cpGraphqlQuery: {
|
|
2
|
+
fetchCPList: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchCpListQuery, import("../../gql/graphql").Exact<{
|
|
3
|
+
first?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Scalars["Int"]["input"]>;
|
|
4
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").CrowdPooling_Filter>;
|
|
5
|
+
}>>;
|
|
6
|
+
fetchCPDetail: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchCpDetailQuery, import("../../gql/graphql").Exact<{
|
|
7
|
+
id: import("../../gql/graphql").Scalars["ID"]["input"];
|
|
8
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").CrowdPooling_Filter>;
|
|
9
|
+
}>>;
|
|
10
|
+
fetchIOPCPList: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchIopcpListQuery, import("../../gql/graphql").Exact<{
|
|
11
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Crowd_Pooling_Read_ServercrowdpoolingListFilter>;
|
|
12
|
+
voteWhere?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Crowd_Pooling_Read_ServercrowdpoolingVoteListFilter>;
|
|
13
|
+
}>>;
|
|
14
|
+
fetchBidPosition: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchBidPositionQuery, import("../../gql/graphql").Exact<{
|
|
15
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").BidPosition_Filter>;
|
|
16
|
+
}>>;
|
|
17
|
+
fetchCPDayData: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchCpDayDataQuery, import("../../gql/graphql").Exact<{
|
|
18
|
+
first?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Scalars["Int"]["input"]>;
|
|
19
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").CrowdPoolingDayData_Filter>;
|
|
20
|
+
}>>;
|
|
21
|
+
fetchCPHourData: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchCpHourDataQuery, import("../../gql/graphql").Exact<{
|
|
22
|
+
first?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Scalars["Int"]["input"]>;
|
|
23
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").CrowdPoolingHourData_Filter>;
|
|
24
|
+
}>>;
|
|
25
|
+
fetchCPBids: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchCpBidsQuery, import("../../gql/graphql").Exact<{
|
|
26
|
+
first?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Scalars["Int"]["input"]>;
|
|
27
|
+
skip?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").Scalars["Int"]["input"]>;
|
|
28
|
+
where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").BidHistory_Filter>;
|
|
29
|
+
orderBy?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").BidHistory_OrderBy>;
|
|
30
|
+
orderDirection?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").OrderDirection>;
|
|
31
|
+
}>>;
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cpGraphqlQuery } from './graphqlQuery';
|
package/package.json
CHANGED