@tachybase/plugin-data-source-common 0.23.8
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/.turbo/turbo-build.log +14 -0
- package/LICENSE +201 -0
- package/README.md +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/features/rest-api/collection-add/AddCollection.d.ts +2 -0
- package/dist/client/features/rest-api/collection-add/AddCollectionAction.component.d.ts +2 -0
- package/dist/client/features/rest-api/collection-add/CreateCollection.schema.d.ts +389 -0
- package/dist/client/features/rest-api/collection-add/CreateCollection.view.d.ts +2 -0
- package/dist/client/features/rest-api/collection-add/PreviewComponent.d.ts +2 -0
- package/dist/client/features/rest-api/collection-add/PreviewFields.d.ts +5 -0
- package/dist/client/features/rest-api/collection-add/RequestActionItems.provider.d.ts +2 -0
- package/dist/client/features/rest-api/collection-add/getSchemaRequestAction.d.ts +57 -0
- package/dist/client/features/rest-api/collection-add/useActionCreateCollection.d.ts +3 -0
- package/dist/client/features/rest-api/collection-delete/DeleteCollection.d.ts +2 -0
- package/dist/client/features/rest-api/collection-delete/DeleteCollectionAction.component.d.ts +5 -0
- package/dist/client/features/rest-api/collection-delete/useBulkDestroyActionAndRefreshCM.d.ts +3 -0
- package/dist/client/features/rest-api/collection-delete/useDestroyActionAndRefreshCM.d.ts +3 -0
- package/dist/client/features/rest-api/collection-edit/EditCollection.d.ts +2 -0
- package/dist/client/features/rest-api/collection-edit/EditCollectionAction.component.d.ts +2 -0
- package/dist/client/features/rest-api/collection-edit/EditCollectionForm.view.d.ts +2 -0
- package/dist/client/features/rest-api/collection-edit/useActionEditCollection.d.ts +3 -0
- package/dist/client/features/rest-api/constants/mapListve.d.ts +7 -0
- package/dist/client/features/rest-api/constants/requestHeaderList.d.ts +4 -0
- package/dist/client/features/rest-api/contexts/RequestForm.context.d.ts +11 -0
- package/dist/client/features/rest-api/contexts/ResponseInfo.context.d.ts +12 -0
- package/dist/client/features/rest-api/form-data-source/DataSourceSettingsForm.d.ts +2 -0
- package/dist/client/features/rest-api/form-data-source/DataSourceSettingsForm.schema.d.ts +172 -0
- package/dist/client/features/rest-api/kit.d.ts +4 -0
- package/dist/client/features/rest-api/request-configs/debug-area/Debug.provider.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/Debug.schema.d.ts +164 -0
- package/dist/client/features/rest-api/request-configs/debug-area/Debug.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/DebugComponent.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/AlertError.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponse.schema.d.ts +21 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponse.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponseTabs.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponseTabs.items.d.ts +6 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/ExtractFieldMetadata.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/Headers.schema.d.ts +60 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/RequestHeaders.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseBody.schema.d.ts +21 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseBody.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseHeaders.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseTab.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseTab.item.d.ts +6 -0
- package/dist/client/features/rest-api/request-configs/debug-area/components/TooltipContainer.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/debug-area/schemas/getSchemaAction.d.ts +88 -0
- package/dist/client/features/rest-api/request-configs/debug-area/schemas/getSchemaParam.d.ts +1 -0
- package/dist/client/features/rest-api/request-configs/debug-area/scopes/useCancelAction.d.ts +3 -0
- package/dist/client/features/rest-api/request-configs/debug-area/scopes/useDebugAction.d.ts +3 -0
- package/dist/client/features/rest-api/request-configs/method-path/FieldMethod.schema.d.ts +23 -0
- package/dist/client/features/rest-api/request-configs/method-path/FieldMethod.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/method-path/FieldPath.schema.d.ts +35 -0
- package/dist/client/features/rest-api/request-configs/method-path/FieldPath.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/method-path/MethodPathComponent.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestBody.schema.d.ts +124 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestBody.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestHeaders.schema.d.ts +77 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestHeaders.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestParams.schema.d.ts +81 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestParams.view.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestTab.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/request-tab/RequestTab.items.d.ts +6 -0
- package/dist/client/features/rest-api/request-configs/request-tab/debounceClick.util.d.ts +2 -0
- package/dist/client/features/rest-api/request-configs/request-transformer/ResponseTransformerComponent.d.ts +2 -0
- package/dist/client/features/rest-api/scopes/useVariableOptions.d.ts +1 -0
- package/dist/client/features/rest-api/utils/filterObjectWithMethodAndPath.d.ts +1 -0
- package/dist/client/features/rest-api/utils/filterTree.d.ts +1 -0
- package/dist/client/features/rest-api/utils/getRequestActions.d.ts +1 -0
- package/dist/client/features/rest-api/utils/getRequestValues.d.ts +1 -0
- package/dist/client/features/rest-api/utils/responseTransformerAe.d.ts +4 -0
- package/dist/client/features/rest-api/utils/setFormValue.d.ts +1 -0
- package/dist/client/forms/msql.d.ts +2 -0
- package/dist/client/forms/pg.d.ts +2 -0
- package/dist/client/index.d.ts +6 -0
- package/dist/client/index.js +86 -0
- package/dist/client/locale.d.ts +4 -0
- package/dist/externalVersion.js +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -0
- package/dist/locale/en-US.json +32 -0
- package/dist/locale/zh-CN.json +32 -0
- package/dist/server/http/plugin.d.ts +10 -0
- package/dist/server/http/plugin.js +78 -0
- package/dist/server/http/services/http-api-repository.d.ts +18 -0
- package/dist/server/http/services/http-api-repository.js +125 -0
- package/dist/server/http/services/http-collection-manager.d.ts +6 -0
- package/dist/server/http/services/http-collection-manager.js +36 -0
- package/dist/server/http/services/http-collection.d.ts +7 -0
- package/dist/server/http/services/http-collection.js +270 -0
- package/dist/server/http/services/http-data-source.d.ts +10 -0
- package/dist/server/http/services/http-data-source.js +67 -0
- package/dist/server/http/services/http-request-builder.d.ts +3 -0
- package/dist/server/http/services/http-request-builder.js +30 -0
- package/dist/server/http/services/transform-response.d.ts +1 -0
- package/dist/server/http/services/transform-response.js +185 -0
- package/dist/server/http/services/type-interface-map.d.ts +182 -0
- package/dist/server/http/services/type-interface-map.js +246 -0
- package/dist/server/http/services/utils.d.ts +2 -0
- package/dist/server/http/services/utils.js +49 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +33 -0
- package/dist/server/mysql/database-introspector.d.ts +27 -0
- package/dist/server/mysql/database-introspector.js +254 -0
- package/dist/server/mysql/mysql-collection-manager.d.ts +3 -0
- package/dist/server/mysql/mysql-collection-manager.js +29 -0
- package/dist/server/mysql/mysql-data-source.d.ts +7 -0
- package/dist/server/mysql/mysql-data-source.js +111 -0
- package/dist/server/mysql/type-interface-map.d.ts +193 -0
- package/dist/server/mysql/type-interface-map.js +257 -0
- package/dist/server/pg/database-introspector.d.ts +54 -0
- package/dist/server/pg/database-introspector.js +286 -0
- package/dist/server/pg/postgres-collection-manager.d.ts +3 -0
- package/dist/server/pg/postgres-collection-manager.js +29 -0
- package/dist/server/pg/postgres-data-source.d.ts +8 -0
- package/dist/server/pg/postgres-data-source.js +127 -0
- package/dist/server/pg/type-interface-map.d.ts +183 -0
- package/dist/server/pg/type-interface-map.js +243 -0
- package/dist/server/pg/utils.d.ts +1 -0
- package/dist/server/pg/utils.js +48 -0
- package/dist/server/plugin.d.ts +13 -0
- package/dist/server/plugin.js +60 -0
- package/package.json +32 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export declare const getSchemaAction: (form: any, actionKey: any) => {
|
|
2
|
+
page: {
|
|
3
|
+
type: string;
|
|
4
|
+
title: string;
|
|
5
|
+
'x-decorator': string;
|
|
6
|
+
'x-component': string;
|
|
7
|
+
description: string;
|
|
8
|
+
'x-reactions': (params: any) => void;
|
|
9
|
+
};
|
|
10
|
+
pageSize: {
|
|
11
|
+
type: string;
|
|
12
|
+
title: string;
|
|
13
|
+
'x-decorator': string;
|
|
14
|
+
'x-component': string;
|
|
15
|
+
description: string;
|
|
16
|
+
'x-reactions': (params: any) => void;
|
|
17
|
+
};
|
|
18
|
+
filter: {
|
|
19
|
+
type: string;
|
|
20
|
+
title: string;
|
|
21
|
+
'x-decorator': string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
description: string;
|
|
24
|
+
'x-reactions': (params: any) => void;
|
|
25
|
+
};
|
|
26
|
+
sort: {
|
|
27
|
+
type: string;
|
|
28
|
+
title: string;
|
|
29
|
+
'x-decorator': string;
|
|
30
|
+
'x-component': string;
|
|
31
|
+
description: string;
|
|
32
|
+
'x-reactions': (params: any) => void;
|
|
33
|
+
};
|
|
34
|
+
appends: {
|
|
35
|
+
type: string;
|
|
36
|
+
title: string;
|
|
37
|
+
'x-decorator': string;
|
|
38
|
+
'x-component': string;
|
|
39
|
+
};
|
|
40
|
+
fields: {
|
|
41
|
+
type: string;
|
|
42
|
+
title: string;
|
|
43
|
+
'x-decorator': string;
|
|
44
|
+
'x-component': string;
|
|
45
|
+
description: string;
|
|
46
|
+
'x-reactions': (params: any) => void;
|
|
47
|
+
};
|
|
48
|
+
except: {
|
|
49
|
+
type: string;
|
|
50
|
+
title: string;
|
|
51
|
+
'x-decorator': string;
|
|
52
|
+
'x-component': string;
|
|
53
|
+
description: string;
|
|
54
|
+
'x-reactions': (params: any) => void;
|
|
55
|
+
};
|
|
56
|
+
filterByTk: {
|
|
57
|
+
type: string;
|
|
58
|
+
title: string;
|
|
59
|
+
'x-decorator': string;
|
|
60
|
+
'x-component': string;
|
|
61
|
+
description: string;
|
|
62
|
+
'x-reactions': (params: any) => void;
|
|
63
|
+
};
|
|
64
|
+
whiteList: {
|
|
65
|
+
type: string;
|
|
66
|
+
title: string;
|
|
67
|
+
'x-decorator': string;
|
|
68
|
+
'x-component': string;
|
|
69
|
+
};
|
|
70
|
+
blacklist: {
|
|
71
|
+
type: string;
|
|
72
|
+
title: string;
|
|
73
|
+
'x-decorator': string;
|
|
74
|
+
'x-component': string;
|
|
75
|
+
};
|
|
76
|
+
body: {
|
|
77
|
+
type: string;
|
|
78
|
+
title: string;
|
|
79
|
+
'x-decorator': string;
|
|
80
|
+
'x-component': string;
|
|
81
|
+
'x-component-props': {
|
|
82
|
+
autoSize: {
|
|
83
|
+
minRows: number;
|
|
84
|
+
maxRows: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getSchemaParam(actionKey: any, form: any): {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const getSchemaFieldMethod: (params: any) => {
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
default: any;
|
|
5
|
+
'x-decorator': string;
|
|
6
|
+
'x-decorator-props': {
|
|
7
|
+
validator: {
|
|
8
|
+
required: boolean;
|
|
9
|
+
message: any;
|
|
10
|
+
};
|
|
11
|
+
feedbackLayout: string;
|
|
12
|
+
};
|
|
13
|
+
required: boolean;
|
|
14
|
+
'x-component': string;
|
|
15
|
+
'x-component-props': {
|
|
16
|
+
defaultValue: any;
|
|
17
|
+
onChange: (value: any) => void;
|
|
18
|
+
options: {
|
|
19
|
+
value: string;
|
|
20
|
+
label: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const getSchemaFieldPath: (params: any) => {
|
|
3
|
+
name: string;
|
|
4
|
+
title: string;
|
|
5
|
+
required: boolean;
|
|
6
|
+
default: any;
|
|
7
|
+
'x-decorator': string;
|
|
8
|
+
'x-decorator-props': {
|
|
9
|
+
feedbackLayout: string;
|
|
10
|
+
addonBefore: React.JSX.Element;
|
|
11
|
+
validator: {
|
|
12
|
+
required: boolean;
|
|
13
|
+
message: any;
|
|
14
|
+
};
|
|
15
|
+
className: string;
|
|
16
|
+
style: {
|
|
17
|
+
width: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'x-component': React.ForwardRefExoticComponent<Omit<Partial<any>, "ref"> & React.RefAttributes<unknown>>;
|
|
21
|
+
'x-component-props': {
|
|
22
|
+
defaultValue: any;
|
|
23
|
+
autoSize: boolean;
|
|
24
|
+
onChange: (val: any) => void;
|
|
25
|
+
scope: (showResponse: any) => any[];
|
|
26
|
+
fieldNames: {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
style: {
|
|
31
|
+
borderTopLeftRadius: string;
|
|
32
|
+
borderBottomLeftRadius: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
export declare const getSchemaRequestBody: ({ defaultValue, actionKey, parentForm, field }: {
|
|
2
|
+
defaultValue: any;
|
|
3
|
+
actionKey: any;
|
|
4
|
+
parentForm: any;
|
|
5
|
+
field: any;
|
|
6
|
+
}) => {
|
|
7
|
+
type: string;
|
|
8
|
+
properties: {
|
|
9
|
+
contentType: {
|
|
10
|
+
type: string;
|
|
11
|
+
'x-decorator': string;
|
|
12
|
+
'x-component': string;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
default: any;
|
|
15
|
+
'x-component-props': {
|
|
16
|
+
onChange: (headerValue: any) => void;
|
|
17
|
+
};
|
|
18
|
+
enum: {
|
|
19
|
+
value: string;
|
|
20
|
+
label: string;
|
|
21
|
+
}[];
|
|
22
|
+
'x-reactions': (field: any) => void;
|
|
23
|
+
};
|
|
24
|
+
body: {
|
|
25
|
+
type: string;
|
|
26
|
+
'x-component': string;
|
|
27
|
+
'x-decorator': string;
|
|
28
|
+
default: any;
|
|
29
|
+
items: {
|
|
30
|
+
type: string;
|
|
31
|
+
properties: {
|
|
32
|
+
space: {
|
|
33
|
+
type: string;
|
|
34
|
+
'x-component': string;
|
|
35
|
+
'x-component-props': {
|
|
36
|
+
style: {
|
|
37
|
+
flexWrap: string;
|
|
38
|
+
maxWidth: string;
|
|
39
|
+
display: string;
|
|
40
|
+
};
|
|
41
|
+
className: string;
|
|
42
|
+
};
|
|
43
|
+
properties: {
|
|
44
|
+
name: {
|
|
45
|
+
type: string;
|
|
46
|
+
'x-decorator': string;
|
|
47
|
+
'x-component': string;
|
|
48
|
+
'x-component-props': {
|
|
49
|
+
placeholder: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
type: string;
|
|
54
|
+
'x-decorator': string;
|
|
55
|
+
'x-component': string;
|
|
56
|
+
'x-component-props': {
|
|
57
|
+
scope: string;
|
|
58
|
+
autoSize: boolean;
|
|
59
|
+
fieldNames: {
|
|
60
|
+
value: string;
|
|
61
|
+
label: string;
|
|
62
|
+
};
|
|
63
|
+
style: {
|
|
64
|
+
minWidth: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
remove: {
|
|
69
|
+
type: string;
|
|
70
|
+
'x-decorator': string;
|
|
71
|
+
'x-component': string;
|
|
72
|
+
'x-component-props': {
|
|
73
|
+
onClick: () => void;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
properties: {
|
|
81
|
+
add: {
|
|
82
|
+
type: string;
|
|
83
|
+
title: string;
|
|
84
|
+
'x-component': string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
'x-reactions': {
|
|
88
|
+
dependencies: string[];
|
|
89
|
+
fulfill: {
|
|
90
|
+
state: {
|
|
91
|
+
visible: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}[];
|
|
95
|
+
};
|
|
96
|
+
jsonBody: {
|
|
97
|
+
type: string;
|
|
98
|
+
'x-decorator': string;
|
|
99
|
+
'x-component': string;
|
|
100
|
+
default: any;
|
|
101
|
+
'x-component-props': {
|
|
102
|
+
scope: string;
|
|
103
|
+
autoSize: boolean;
|
|
104
|
+
fieldNames: {
|
|
105
|
+
value: string;
|
|
106
|
+
label: string;
|
|
107
|
+
};
|
|
108
|
+
placeholder: string;
|
|
109
|
+
style: {
|
|
110
|
+
minHeight: number;
|
|
111
|
+
};
|
|
112
|
+
onChange: (value: any) => void;
|
|
113
|
+
};
|
|
114
|
+
'x-reactions': (((filed: any) => void) | {
|
|
115
|
+
dependencies: string[];
|
|
116
|
+
fulfill: {
|
|
117
|
+
state: {
|
|
118
|
+
visible: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
})[];
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export declare const getSchemaRequestHeaders: ({ title, defaultValue, field, parentForm, actionKey }: {
|
|
2
|
+
title: any;
|
|
3
|
+
defaultValue: any;
|
|
4
|
+
field: any;
|
|
5
|
+
parentForm: any;
|
|
6
|
+
actionKey: any;
|
|
7
|
+
}) => {
|
|
8
|
+
type: string;
|
|
9
|
+
'x-decorator': string;
|
|
10
|
+
properties: {
|
|
11
|
+
headers: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-component': string;
|
|
14
|
+
default: any;
|
|
15
|
+
'x-decorator': string;
|
|
16
|
+
'x-reactions': (field: any) => void;
|
|
17
|
+
items: {
|
|
18
|
+
type: string;
|
|
19
|
+
properties: {
|
|
20
|
+
space: {
|
|
21
|
+
type: string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
style: {
|
|
25
|
+
flexWrap: string;
|
|
26
|
+
maxWidth: string;
|
|
27
|
+
display: string;
|
|
28
|
+
};
|
|
29
|
+
className: string;
|
|
30
|
+
};
|
|
31
|
+
properties: {
|
|
32
|
+
name: {
|
|
33
|
+
type: string;
|
|
34
|
+
'x-decorator': string;
|
|
35
|
+
'x-component': string;
|
|
36
|
+
'x-component-props': {
|
|
37
|
+
placeholder: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
value: {
|
|
41
|
+
type: string;
|
|
42
|
+
'x-decorator': string;
|
|
43
|
+
'x-component': string;
|
|
44
|
+
'x-component-props': {
|
|
45
|
+
scope: string;
|
|
46
|
+
autoSize: boolean;
|
|
47
|
+
fieldNames: {
|
|
48
|
+
value: string;
|
|
49
|
+
label: string;
|
|
50
|
+
};
|
|
51
|
+
style: {
|
|
52
|
+
minWidth: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
remove: {
|
|
57
|
+
type: string;
|
|
58
|
+
'x-decorator': string;
|
|
59
|
+
'x-component': string;
|
|
60
|
+
'x-component-props': {
|
|
61
|
+
onClick: () => void;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
properties: {
|
|
69
|
+
add: {
|
|
70
|
+
title: any;
|
|
71
|
+
type: string;
|
|
72
|
+
'x-component': string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare const getSchemaRequestParams: ({ title, defaultValue, field, parentForm, actionKey }: {
|
|
2
|
+
title: any;
|
|
3
|
+
defaultValue: any;
|
|
4
|
+
field: any;
|
|
5
|
+
parentForm: any;
|
|
6
|
+
actionKey: any;
|
|
7
|
+
}) => {
|
|
8
|
+
type: string;
|
|
9
|
+
'x-decorator': string;
|
|
10
|
+
properties: {
|
|
11
|
+
params: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-component': string;
|
|
14
|
+
default: any;
|
|
15
|
+
'x-decorator': string;
|
|
16
|
+
'x-reactions': (field: any) => void;
|
|
17
|
+
items: {
|
|
18
|
+
type: string;
|
|
19
|
+
properties: {
|
|
20
|
+
space: {
|
|
21
|
+
type: string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
style: {
|
|
25
|
+
flexWrap: string;
|
|
26
|
+
maxWidth: string;
|
|
27
|
+
display: string;
|
|
28
|
+
};
|
|
29
|
+
className: string;
|
|
30
|
+
};
|
|
31
|
+
properties: {
|
|
32
|
+
name: {
|
|
33
|
+
type: string;
|
|
34
|
+
'x-decorator': string;
|
|
35
|
+
'x-component': string;
|
|
36
|
+
'x-component-props': {
|
|
37
|
+
placeholder: string;
|
|
38
|
+
style: {
|
|
39
|
+
width: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
value: {
|
|
44
|
+
type: string;
|
|
45
|
+
'x-decorator': string;
|
|
46
|
+
'x-component': string;
|
|
47
|
+
'x-component-props': {
|
|
48
|
+
scope: string;
|
|
49
|
+
autoSize: boolean;
|
|
50
|
+
fieldNames: {
|
|
51
|
+
value: string;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
style: {
|
|
55
|
+
minWidth: string;
|
|
56
|
+
width: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
remove: {
|
|
61
|
+
type: string;
|
|
62
|
+
'x-decorator': string;
|
|
63
|
+
'x-component': string;
|
|
64
|
+
'x-component-props': {
|
|
65
|
+
onClick: () => void;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
properties: {
|
|
73
|
+
add: {
|
|
74
|
+
type: string;
|
|
75
|
+
title: any;
|
|
76
|
+
'x-component': string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useVariableOptions: (showResponse: any) => any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function filterObjectWithMethodAndPath(obj: Record<string, any>): Record<string, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const filterTree: (items: any, type: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getRequestActions(sourceMethod: any): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getRequestValues(form: any, actionKey: any): any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setFormValue: (form: any, action: any, value: any) => Promise<void>;
|