@dodoex/api 3.5.0-cp.1 → 3.5.0-cp.2

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.
@@ -26,6 +26,18 @@ export declare function graphql(source: '\n query FetchIOPCPList(\n $whe
26
26
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
27
27
  */
28
28
  export declare function graphql(source: '\n query FetchBidPosition($where: BidPosition_filter) {\n bidPositions(where: $where, orderBy: lastTxTime, orderDirection: desc) {\n user {\n id\n }\n cp {\n id\n }\n shares\n investedQuote\n }\n }\n '): typeof import('./graphql').FetchBidPositionDocument;
29
+ /**
30
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
31
+ */
32
+ export declare function graphql(source: '\n query FetchCPDayData($first: Int, $where: CrowdPoolingDayData_filter) {\n crowdPoolingDayDatas(\n first: $first\n where: $where\n orderBy: date\n orderDirection: asc\n ) {\n date\n investedQuote\n investCount\n newcome\n investors\n poolQuote\n }\n }\n '): typeof import('./graphql').FetchCpDayDataDocument;
33
+ /**
34
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
35
+ */
36
+ export declare function graphql(source: '\n query FetchCPHourData($first: Int, $where: CrowdPoolingHourData_filter) {\n crowdPoolingHourDatas(\n first: $first\n where: $where\n orderBy: hour\n orderDirection: asc\n ) {\n hour\n investedQuote\n investCount\n newcome\n investors\n poolQuote\n }\n }\n '): typeof import('./graphql').FetchCpHourDataDocument;
37
+ /**
38
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
39
+ */
40
+ export declare function graphql(source: '\n query FetchCPBids(\n $first: Int\n $skip: Int\n $where: BidHistory_filter\n $orderBy: BidHistory_orderBy\n $orderDirection: OrderDirection\n ) {\n bidHistories(\n first: $first\n skip: $skip\n where: $where\n orderBy: $orderBy\n orderDirection: $orderDirection\n ) {\n id\n timestamp\n user {\n id\n }\n action\n cp {\n id\n quoteToken {\n id\n symbol\n }\n }\n quote\n fee\n }\n }\n '): typeof import('./graphql').FetchCpBidsDocument;
29
41
  /**
30
42
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
31
43
  */
@@ -20517,6 +20517,60 @@ export type FetchBidPositionQuery = {
20517
20517
  };
20518
20518
  }>;
20519
20519
  };
20520
+ export type FetchCpDayDataQueryVariables = Exact<{
20521
+ first?: InputMaybe<Scalars['Int']['input']>;
20522
+ where?: InputMaybe<CrowdPoolingDayData_Filter>;
20523
+ }>;
20524
+ export type FetchCpDayDataQuery = {
20525
+ crowdPoolingDayDatas: Array<{
20526
+ date: number;
20527
+ investedQuote: any;
20528
+ investCount: any;
20529
+ newcome: any;
20530
+ investors: any;
20531
+ poolQuote: any;
20532
+ }>;
20533
+ };
20534
+ export type FetchCpHourDataQueryVariables = Exact<{
20535
+ first?: InputMaybe<Scalars['Int']['input']>;
20536
+ where?: InputMaybe<CrowdPoolingHourData_Filter>;
20537
+ }>;
20538
+ export type FetchCpHourDataQuery = {
20539
+ crowdPoolingHourDatas: Array<{
20540
+ hour: number;
20541
+ investedQuote: any;
20542
+ investCount: any;
20543
+ newcome: any;
20544
+ investors: any;
20545
+ poolQuote: any;
20546
+ }>;
20547
+ };
20548
+ export type FetchCpBidsQueryVariables = Exact<{
20549
+ first?: InputMaybe<Scalars['Int']['input']>;
20550
+ skip?: InputMaybe<Scalars['Int']['input']>;
20551
+ where?: InputMaybe<BidHistory_Filter>;
20552
+ orderBy?: InputMaybe<BidHistory_OrderBy>;
20553
+ orderDirection?: InputMaybe<OrderDirection>;
20554
+ }>;
20555
+ export type FetchCpBidsQuery = {
20556
+ bidHistories: Array<{
20557
+ id: string;
20558
+ timestamp: any;
20559
+ action: string;
20560
+ quote: any;
20561
+ fee: any;
20562
+ user: {
20563
+ id: string;
20564
+ };
20565
+ cp: {
20566
+ id: string;
20567
+ quoteToken: {
20568
+ id: string;
20569
+ symbol: string;
20570
+ };
20571
+ };
20572
+ }>;
20573
+ };
20520
20574
  export type FetchMiningListQueryVariables = Exact<{
20521
20575
  where?: InputMaybe<Miningmining_List_Filter>;
20522
20576
  }>;
@@ -21324,6 +21378,9 @@ export declare const FetchCpListDocument: TypedDocumentString<FetchCpListQuery,
21324
21378
  export declare const FetchCpDetailDocument: TypedDocumentString<FetchCpDetailQuery, FetchCpDetailQueryVariables>;
21325
21379
  export declare const FetchIopcpListDocument: TypedDocumentString<FetchIopcpListQuery, FetchIopcpListQueryVariables>;
21326
21380
  export declare const FetchBidPositionDocument: TypedDocumentString<FetchBidPositionQuery, FetchBidPositionQueryVariables>;
21381
+ export declare const FetchCpDayDataDocument: TypedDocumentString<FetchCpDayDataQuery, FetchCpDayDataQueryVariables>;
21382
+ export declare const FetchCpHourDataDocument: TypedDocumentString<FetchCpHourDataQuery, FetchCpHourDataQueryVariables>;
21383
+ export declare const FetchCpBidsDocument: TypedDocumentString<FetchCpBidsQuery, FetchCpBidsQueryVariables>;
21327
21384
  export declare const FetchMiningListDocument: TypedDocumentString<FetchMiningListQuery, FetchMiningListQueryVariables>;
21328
21385
  export declare const MiningListDocument: TypedDocumentString<MiningListQuery, MiningListQueryVariables>;
21329
21386
  export declare const MyCreatedMiningListDocument: TypedDocumentString<MyCreatedMiningListQuery, MyCreatedMiningListQueryVariables>;
@@ -14,4 +14,19 @@ export declare const cpGraphqlQuery: {
14
14
  fetchBidPosition: import("../../gql/graphql").TypedDocumentString<import("../../gql/graphql").FetchBidPositionQuery, import("../../gql/graphql").Exact<{
15
15
  where?: import("../../gql/graphql").InputMaybe<import("../../gql/graphql").BidPosition_Filter>;
16
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
+ }>>;
17
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodoex/api",
3
- "version": "3.5.0-cp.1",
3
+ "version": "3.5.0-cp.2",
4
4
  "description": "DODO API Kit",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",