@yuno-payments/dashboard-api-mfe 0.35.0-beta.3 → 0.35.0-beta.6
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/build/cjs/index.js +217 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +3 -3
- package/build/cjs/types/queries/chartgpt/chartgpt.query.d.ts +1 -1
- package/build/esm/index.js +217 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +3 -3
- package/build/esm/types/queries/chartgpt/chartgpt.query.d.ts +1 -1
- package/build/index.d.ts +3 -3
- package/package.json +2 -16
|
@@ -581,12 +581,12 @@ export declare class Api extends HttpClient {
|
|
|
581
581
|
createChartGPTChart<T>(payload: {
|
|
582
582
|
user_prompt: string;
|
|
583
583
|
}): Promise<AxiosResponse<T, any>>;
|
|
584
|
-
deleteChartGPTChart<T>(
|
|
585
|
-
patchChartGPTChart<T>(
|
|
584
|
+
deleteChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
585
|
+
patchChartGPTChart<T>(chartgpt_id: string, payload: {
|
|
586
586
|
type: string;
|
|
587
587
|
name: string;
|
|
588
588
|
}): Promise<AxiosResponse<T, any>>;
|
|
589
|
+
executeChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
589
590
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
590
|
-
executeChartGPTChart<T>(chartGptId: string): Promise<AxiosResponse<T, any>>;
|
|
591
591
|
}
|
|
592
592
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
export declare function useChartExecute(chartgpt_id: string): UseQueryResult<any, unknown>;
|
|
2
3
|
export declare function useGetChartsByUser(): UseQueryResult<any, unknown>;
|
|
3
|
-
export declare function useChartExecute(chartgptId: string): UseQueryResult<any, unknown>;
|
package/build/index.d.ts
CHANGED
|
@@ -5130,13 +5130,13 @@ declare class Api extends HttpClient {
|
|
|
5130
5130
|
createChartGPTChart<T>(payload: {
|
|
5131
5131
|
user_prompt: string;
|
|
5132
5132
|
}): Promise<AxiosResponse<T, any>>;
|
|
5133
|
-
deleteChartGPTChart<T>(
|
|
5134
|
-
patchChartGPTChart<T>(
|
|
5133
|
+
deleteChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
5134
|
+
patchChartGPTChart<T>(chartgpt_id: string, payload: {
|
|
5135
5135
|
type: string;
|
|
5136
5136
|
name: string;
|
|
5137
5137
|
}): Promise<AxiosResponse<T, any>>;
|
|
5138
|
+
executeChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
5138
5139
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
5139
|
-
executeChartGPTChart<T>(chartGptId: string): Promise<AxiosResponse<T, any>>;
|
|
5140
5140
|
}
|
|
5141
5141
|
|
|
5142
5142
|
declare class ApiSingleton extends Api {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuno-payments/dashboard-api-mfe",
|
|
3
|
-
"version": "0.35.0-beta.
|
|
3
|
+
"version": "0.35.0-beta.6",
|
|
4
4
|
"types": "build/index.d.ts",
|
|
5
5
|
"main": "build/cjs/index.js",
|
|
6
6
|
"module": "build/esm/index.js",
|
|
@@ -54,43 +54,30 @@
|
|
|
54
54
|
"@types/jest": "^28.1.8",
|
|
55
55
|
"@types/mocha": "^9.1.1",
|
|
56
56
|
"@types/testing-library__jest-dom": "^5.14.1",
|
|
57
|
-
"assert": "^2.1.0",
|
|
58
57
|
"babel-jest": "^29.0.3",
|
|
59
|
-
"browserify-zlib": "^0.2.0",
|
|
60
|
-
"buffer": "^6.0.3",
|
|
61
58
|
"concurrently": "^6.2.1",
|
|
62
59
|
"cross-env": "^7.0.3",
|
|
63
|
-
"crypto-browserify": "^3.12.1",
|
|
64
60
|
"dotenv-webpack": "^7.1.0",
|
|
65
61
|
"eslint": "^7.32.0",
|
|
66
62
|
"eslint-config-prettier": "^8.3.0",
|
|
67
63
|
"eslint-config-ts-react-important-stuff": "^3.0.0",
|
|
68
64
|
"eslint-plugin-prettier": "^3.4.1",
|
|
69
|
-
"events": "^3.3.0",
|
|
70
|
-
"https-browserify": "^1.0.0",
|
|
71
65
|
"husky": "^7.0.2",
|
|
72
66
|
"identity-obj-proxy": "^3.0.0",
|
|
73
67
|
"jest": "^29.7.0",
|
|
74
68
|
"jest-cli": "^27.0.6",
|
|
75
69
|
"jest-environment-jsdom": "^29.7.0",
|
|
76
70
|
"jest-html-reporters": "^3.1.7",
|
|
77
|
-
"
|
|
78
|
-
"path-browserify": "^1.0.1",
|
|
71
|
+
"msw": "^2.8.2",
|
|
79
72
|
"prettier": "^2.3.2",
|
|
80
73
|
"pretty-quick": "^3.1.1",
|
|
81
|
-
"process": "^0.11.10",
|
|
82
74
|
"rollup": "^3.29.3",
|
|
83
75
|
"rollup-plugin-dts": "^6.0.2",
|
|
84
76
|
"rollup-plugin-import-css": "^3.3.4",
|
|
85
77
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
86
|
-
"stream-browserify": "^3.0.0",
|
|
87
|
-
"stream-http": "^3.2.0",
|
|
88
78
|
"ts-config-single-spa": "^3.0.0",
|
|
89
79
|
"ts-jest": "^29.1.5",
|
|
90
|
-
"tty-browserify": "^0.0.1",
|
|
91
80
|
"typescript": "^4.3.5",
|
|
92
|
-
"url": "^0.11.4",
|
|
93
|
-
"util": "^0.12.5",
|
|
94
81
|
"webpack": "^5.51.1",
|
|
95
82
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
96
83
|
"webpack-cli": "^4.8.0",
|
|
@@ -109,7 +96,6 @@
|
|
|
109
96
|
"@types/systemjs": "^6.1.1",
|
|
110
97
|
"@types/webpack-env": "^1.16.2",
|
|
111
98
|
"axios": "^1.8.2",
|
|
112
|
-
"msw": "^2.8.2",
|
|
113
99
|
"react": "^18.2.0",
|
|
114
100
|
"react-dom": "^18.2.0",
|
|
115
101
|
"react-refresh": "^0.14.0",
|