@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.95 → 0.0.1-alpha.96
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/openapi-k8s-toolkit.es.js +62 -16
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +61 -15
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/api/forms.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/EditModal.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +7 -3
- package/package.json +10 -4
|
@@ -10,3 +10,8 @@ export declare const updateEntry: <T>({ endpoint, body, }: {
|
|
|
10
10
|
export declare const deleteEntry: <T>({ endpoint }: {
|
|
11
11
|
endpoint: string;
|
|
12
12
|
}) => Promise<AxiosResponse<T, any>>;
|
|
13
|
+
export declare const patchEntryWithReplaceOp: <T>({ endpoint, pathToValue, body, }: {
|
|
14
|
+
endpoint: string;
|
|
15
|
+
pathToValue: string;
|
|
16
|
+
body: unknown;
|
|
17
|
+
}) => Promise<AxiosResponse<T, any>>;
|
|
@@ -9,6 +9,9 @@ type TEditModalProps = {
|
|
|
9
9
|
inputLabel?: string;
|
|
10
10
|
maxEditTagTextLength?: number;
|
|
11
11
|
allowClearEditSelect?: boolean;
|
|
12
|
+
endpoint: string;
|
|
13
|
+
pathToValue: string;
|
|
14
|
+
editModalWidth?: number;
|
|
12
15
|
};
|
|
13
16
|
export declare const EditModal: FC<TEditModalProps>;
|
|
14
17
|
export {};
|
|
@@ -177,14 +177,18 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
177
177
|
reqIndex: string;
|
|
178
178
|
jsonPathToLabels: string;
|
|
179
179
|
selectProps?: SelectProps;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
readOnly?: true;
|
|
181
|
+
notificationSuccessMessage?: string;
|
|
182
|
+
notificationSuccessMessageDescription?: string;
|
|
183
|
+
modalTitle?: string;
|
|
183
184
|
modalDescriptionText?: string;
|
|
184
185
|
inputLabel?: string;
|
|
185
186
|
containerStyle?: CSSProperties;
|
|
186
187
|
maxEditTagTextLength?: number;
|
|
187
188
|
allowClearEditSelect?: boolean;
|
|
189
|
+
endpoint?: string;
|
|
190
|
+
pathToValue?: string;
|
|
191
|
+
editModalWidth?: number;
|
|
188
192
|
};
|
|
189
193
|
LabelsToSearchParams: {
|
|
190
194
|
id: number | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prorobotech/openapi-k8s-toolkit",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.96",
|
|
4
4
|
"description": "ProRobotech OpenAPI k8s tools",
|
|
5
5
|
"main": "dist/openapi-k8s-toolkit.cjs.js",
|
|
6
6
|
"module": "dist/openapi-k8s-toolkit.es.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"watch:build": "chokidar \"src/**/*\" -c \"npm run build\" -d 5000",
|
|
18
18
|
"watch:yalc": "chokidar \"dist/**/*\" -c \"yalc push\" -d 5000",
|
|
19
19
|
"dev:open": "cross-env BASEPREFIX=/toolkit vite --open --port 3002 --strictPort",
|
|
20
|
-
"build": "vite build && tsc && tsc-alias -p tsconfig.json",
|
|
21
|
-
"build:local": "vite build && tsc && tsc-alias -p tsconfig.json && yalc publish --replace",
|
|
20
|
+
"build": "vite build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
|
|
21
|
+
"build:local": "vite build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json && yalc publish --replace && yalc push",
|
|
22
22
|
"serve": "vite preview --port 3002 --strictPort",
|
|
23
23
|
"preview": "vite preview --port 3002 --strictPort",
|
|
24
24
|
"tsc": "tsc --project tsconfig.json",
|
|
@@ -27,7 +27,10 @@
|
|
|
27
27
|
"lint": "npm run lint:js && npm run lint:css && npm run tsc",
|
|
28
28
|
"test": "jest",
|
|
29
29
|
"test:watch": "jest --watch",
|
|
30
|
-
"test:coverage": "jest --coverage"
|
|
30
|
+
"test:coverage": "jest --coverage",
|
|
31
|
+
"storybook": "storybook dev -p 6006",
|
|
32
|
+
"storybook:build": "storybook build",
|
|
33
|
+
"storybook:serve": "serve storybook-static"
|
|
31
34
|
},
|
|
32
35
|
"peerDependencies": {
|
|
33
36
|
"@ant-design/icons": "5.6.0",
|
|
@@ -60,6 +63,7 @@
|
|
|
60
63
|
},
|
|
61
64
|
"devDependencies": {
|
|
62
65
|
"@ant-design/icons": "5.6.0",
|
|
66
|
+
"@storybook/react-vite": "9.1.2",
|
|
63
67
|
"@stylelint/postcss-css-in-js": "0.38.0",
|
|
64
68
|
"@tanstack/react-query": "5.62.2",
|
|
65
69
|
"@tanstack/react-query-devtools": "5.62.2",
|
|
@@ -94,6 +98,8 @@
|
|
|
94
98
|
"react": "18.3.1",
|
|
95
99
|
"react-dom": "18.3.1",
|
|
96
100
|
"react-router-dom": "6.25.1",
|
|
101
|
+
"serve": "14.2.4",
|
|
102
|
+
"storybook": "9.1.2",
|
|
97
103
|
"stylelint": "16.14.1",
|
|
98
104
|
"stylelint-config-standard": "37.0.0",
|
|
99
105
|
"ts-jest": "29.3.2",
|