@yuno-payments/dashboard-api-mfe 0.35.0-beta.6 → 0.35.0-beta.9

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,3 +1,21 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
- export declare function useChartExecute(chartgpt_id: string): UseQueryResult<any, unknown>;
3
- export declare function useGetChartsByUser(): UseQueryResult<any, unknown>;
2
+ export interface ChartGPTResult {
3
+ key: string;
4
+ value: string;
5
+ }
6
+ export interface ChartGPTExecuteResponse {
7
+ results: ChartGPTResult[];
8
+ }
9
+ export interface ChartGPTChart {
10
+ chartgpt_id: string;
11
+ name: string;
12
+ type: string;
13
+ summary: string;
14
+ status: string;
15
+ }
16
+ export interface ChartGPTChartWithResults extends ChartGPTChart {
17
+ results: ChartGPTResult[];
18
+ }
19
+ export declare function useChartExecute(chartgpt_id: string): UseQueryResult<ChartGPTExecuteResponse, unknown>;
20
+ export declare function useGetChartsByUser(): UseQueryResult<ChartGPTChart[], unknown>;
21
+ export declare function useGetChartsByUserWithResults(): UseQueryResult<ChartGPTChartWithResults[], unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.35.0-beta.6",
3
+ "version": "0.35.0-beta.9",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",