@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.
Files changed (126) hide show
  1. package/.turbo/turbo-build.log +14 -0
  2. package/LICENSE +201 -0
  3. package/README.md +1 -0
  4. package/client.d.ts +2 -0
  5. package/client.js +1 -0
  6. package/dist/client/features/rest-api/collection-add/AddCollection.d.ts +2 -0
  7. package/dist/client/features/rest-api/collection-add/AddCollectionAction.component.d.ts +2 -0
  8. package/dist/client/features/rest-api/collection-add/CreateCollection.schema.d.ts +389 -0
  9. package/dist/client/features/rest-api/collection-add/CreateCollection.view.d.ts +2 -0
  10. package/dist/client/features/rest-api/collection-add/PreviewComponent.d.ts +2 -0
  11. package/dist/client/features/rest-api/collection-add/PreviewFields.d.ts +5 -0
  12. package/dist/client/features/rest-api/collection-add/RequestActionItems.provider.d.ts +2 -0
  13. package/dist/client/features/rest-api/collection-add/getSchemaRequestAction.d.ts +57 -0
  14. package/dist/client/features/rest-api/collection-add/useActionCreateCollection.d.ts +3 -0
  15. package/dist/client/features/rest-api/collection-delete/DeleteCollection.d.ts +2 -0
  16. package/dist/client/features/rest-api/collection-delete/DeleteCollectionAction.component.d.ts +5 -0
  17. package/dist/client/features/rest-api/collection-delete/useBulkDestroyActionAndRefreshCM.d.ts +3 -0
  18. package/dist/client/features/rest-api/collection-delete/useDestroyActionAndRefreshCM.d.ts +3 -0
  19. package/dist/client/features/rest-api/collection-edit/EditCollection.d.ts +2 -0
  20. package/dist/client/features/rest-api/collection-edit/EditCollectionAction.component.d.ts +2 -0
  21. package/dist/client/features/rest-api/collection-edit/EditCollectionForm.view.d.ts +2 -0
  22. package/dist/client/features/rest-api/collection-edit/useActionEditCollection.d.ts +3 -0
  23. package/dist/client/features/rest-api/constants/mapListve.d.ts +7 -0
  24. package/dist/client/features/rest-api/constants/requestHeaderList.d.ts +4 -0
  25. package/dist/client/features/rest-api/contexts/RequestForm.context.d.ts +11 -0
  26. package/dist/client/features/rest-api/contexts/ResponseInfo.context.d.ts +12 -0
  27. package/dist/client/features/rest-api/form-data-source/DataSourceSettingsForm.d.ts +2 -0
  28. package/dist/client/features/rest-api/form-data-source/DataSourceSettingsForm.schema.d.ts +172 -0
  29. package/dist/client/features/rest-api/kit.d.ts +4 -0
  30. package/dist/client/features/rest-api/request-configs/debug-area/Debug.provider.d.ts +2 -0
  31. package/dist/client/features/rest-api/request-configs/debug-area/Debug.schema.d.ts +164 -0
  32. package/dist/client/features/rest-api/request-configs/debug-area/Debug.view.d.ts +2 -0
  33. package/dist/client/features/rest-api/request-configs/debug-area/DebugComponent.d.ts +2 -0
  34. package/dist/client/features/rest-api/request-configs/debug-area/components/AlertError.d.ts +2 -0
  35. package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponse.schema.d.ts +21 -0
  36. package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponse.view.d.ts +2 -0
  37. package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponseTabs.d.ts +2 -0
  38. package/dist/client/features/rest-api/request-configs/debug-area/components/DebugResponseTabs.items.d.ts +6 -0
  39. package/dist/client/features/rest-api/request-configs/debug-area/components/ExtractFieldMetadata.d.ts +2 -0
  40. package/dist/client/features/rest-api/request-configs/debug-area/components/Headers.schema.d.ts +60 -0
  41. package/dist/client/features/rest-api/request-configs/debug-area/components/RequestHeaders.view.d.ts +2 -0
  42. package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseBody.schema.d.ts +21 -0
  43. package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseBody.view.d.ts +2 -0
  44. package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseHeaders.view.d.ts +2 -0
  45. package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseTab.d.ts +2 -0
  46. package/dist/client/features/rest-api/request-configs/debug-area/components/ResponseTab.item.d.ts +6 -0
  47. package/dist/client/features/rest-api/request-configs/debug-area/components/TooltipContainer.d.ts +2 -0
  48. package/dist/client/features/rest-api/request-configs/debug-area/schemas/getSchemaAction.d.ts +88 -0
  49. package/dist/client/features/rest-api/request-configs/debug-area/schemas/getSchemaParam.d.ts +1 -0
  50. package/dist/client/features/rest-api/request-configs/debug-area/scopes/useCancelAction.d.ts +3 -0
  51. package/dist/client/features/rest-api/request-configs/debug-area/scopes/useDebugAction.d.ts +3 -0
  52. package/dist/client/features/rest-api/request-configs/method-path/FieldMethod.schema.d.ts +23 -0
  53. package/dist/client/features/rest-api/request-configs/method-path/FieldMethod.view.d.ts +2 -0
  54. package/dist/client/features/rest-api/request-configs/method-path/FieldPath.schema.d.ts +35 -0
  55. package/dist/client/features/rest-api/request-configs/method-path/FieldPath.view.d.ts +2 -0
  56. package/dist/client/features/rest-api/request-configs/method-path/MethodPathComponent.d.ts +2 -0
  57. package/dist/client/features/rest-api/request-configs/request-tab/RequestBody.schema.d.ts +124 -0
  58. package/dist/client/features/rest-api/request-configs/request-tab/RequestBody.view.d.ts +2 -0
  59. package/dist/client/features/rest-api/request-configs/request-tab/RequestHeaders.schema.d.ts +77 -0
  60. package/dist/client/features/rest-api/request-configs/request-tab/RequestHeaders.view.d.ts +2 -0
  61. package/dist/client/features/rest-api/request-configs/request-tab/RequestParams.schema.d.ts +81 -0
  62. package/dist/client/features/rest-api/request-configs/request-tab/RequestParams.view.d.ts +2 -0
  63. package/dist/client/features/rest-api/request-configs/request-tab/RequestTab.d.ts +2 -0
  64. package/dist/client/features/rest-api/request-configs/request-tab/RequestTab.items.d.ts +6 -0
  65. package/dist/client/features/rest-api/request-configs/request-tab/debounceClick.util.d.ts +2 -0
  66. package/dist/client/features/rest-api/request-configs/request-transformer/ResponseTransformerComponent.d.ts +2 -0
  67. package/dist/client/features/rest-api/scopes/useVariableOptions.d.ts +1 -0
  68. package/dist/client/features/rest-api/utils/filterObjectWithMethodAndPath.d.ts +1 -0
  69. package/dist/client/features/rest-api/utils/filterTree.d.ts +1 -0
  70. package/dist/client/features/rest-api/utils/getRequestActions.d.ts +1 -0
  71. package/dist/client/features/rest-api/utils/getRequestValues.d.ts +1 -0
  72. package/dist/client/features/rest-api/utils/responseTransformerAe.d.ts +4 -0
  73. package/dist/client/features/rest-api/utils/setFormValue.d.ts +1 -0
  74. package/dist/client/forms/msql.d.ts +2 -0
  75. package/dist/client/forms/pg.d.ts +2 -0
  76. package/dist/client/index.d.ts +6 -0
  77. package/dist/client/index.js +86 -0
  78. package/dist/client/locale.d.ts +4 -0
  79. package/dist/externalVersion.js +16 -0
  80. package/dist/index.d.ts +2 -0
  81. package/dist/index.js +39 -0
  82. package/dist/locale/en-US.json +32 -0
  83. package/dist/locale/zh-CN.json +32 -0
  84. package/dist/server/http/plugin.d.ts +10 -0
  85. package/dist/server/http/plugin.js +78 -0
  86. package/dist/server/http/services/http-api-repository.d.ts +18 -0
  87. package/dist/server/http/services/http-api-repository.js +125 -0
  88. package/dist/server/http/services/http-collection-manager.d.ts +6 -0
  89. package/dist/server/http/services/http-collection-manager.js +36 -0
  90. package/dist/server/http/services/http-collection.d.ts +7 -0
  91. package/dist/server/http/services/http-collection.js +270 -0
  92. package/dist/server/http/services/http-data-source.d.ts +10 -0
  93. package/dist/server/http/services/http-data-source.js +67 -0
  94. package/dist/server/http/services/http-request-builder.d.ts +3 -0
  95. package/dist/server/http/services/http-request-builder.js +30 -0
  96. package/dist/server/http/services/transform-response.d.ts +1 -0
  97. package/dist/server/http/services/transform-response.js +185 -0
  98. package/dist/server/http/services/type-interface-map.d.ts +182 -0
  99. package/dist/server/http/services/type-interface-map.js +246 -0
  100. package/dist/server/http/services/utils.d.ts +2 -0
  101. package/dist/server/http/services/utils.js +49 -0
  102. package/dist/server/index.d.ts +1 -0
  103. package/dist/server/index.js +33 -0
  104. package/dist/server/mysql/database-introspector.d.ts +27 -0
  105. package/dist/server/mysql/database-introspector.js +254 -0
  106. package/dist/server/mysql/mysql-collection-manager.d.ts +3 -0
  107. package/dist/server/mysql/mysql-collection-manager.js +29 -0
  108. package/dist/server/mysql/mysql-data-source.d.ts +7 -0
  109. package/dist/server/mysql/mysql-data-source.js +111 -0
  110. package/dist/server/mysql/type-interface-map.d.ts +193 -0
  111. package/dist/server/mysql/type-interface-map.js +257 -0
  112. package/dist/server/pg/database-introspector.d.ts +54 -0
  113. package/dist/server/pg/database-introspector.js +286 -0
  114. package/dist/server/pg/postgres-collection-manager.d.ts +3 -0
  115. package/dist/server/pg/postgres-collection-manager.js +29 -0
  116. package/dist/server/pg/postgres-data-source.d.ts +8 -0
  117. package/dist/server/pg/postgres-data-source.js +127 -0
  118. package/dist/server/pg/type-interface-map.d.ts +183 -0
  119. package/dist/server/pg/type-interface-map.js +243 -0
  120. package/dist/server/pg/utils.d.ts +1 -0
  121. package/dist/server/pg/utils.js +48 -0
  122. package/dist/server/plugin.d.ts +13 -0
  123. package/dist/server/plugin.js +60 -0
  124. package/package.json +32 -0
  125. package/server.d.ts +2 -0
  126. package/server.js +1 -0
@@ -0,0 +1,57 @@
1
+ import React from 'react';
2
+ export declare const useSchemaRequestAction: (key: any, header: any) => {
3
+ type: string;
4
+ 'x-decorator': (props: any) => React.JSX.Element;
5
+ 'x-decorator-props': {
6
+ actionKey: any;
7
+ };
8
+ 'x-component': string;
9
+ 'x-component-props': {
10
+ header: any;
11
+ key: any;
12
+ };
13
+ properties: {
14
+ form: {
15
+ 'x-decorator': string;
16
+ 'x-decorator-props': {
17
+ className: string;
18
+ useValues(val: any): import("@tachybase/client").UseRequestResult<unknown>;
19
+ effects: () => void;
20
+ };
21
+ type: string;
22
+ properties: {
23
+ [x: string]: {
24
+ type: string;
25
+ properties: {
26
+ requestAction: {
27
+ type: string;
28
+ 'x-component': (props: any) => React.JSX.Element;
29
+ };
30
+ requestTab: {
31
+ type: string;
32
+ 'x-decorator': string;
33
+ title: string;
34
+ 'x-component': () => React.JSX.Element;
35
+ 'x-decorator-props': {
36
+ tooltip: string;
37
+ };
38
+ };
39
+ responseTransformer: {
40
+ type: string;
41
+ 'x-decorator': string;
42
+ title: string;
43
+ 'x-component': () => React.JSX.Element;
44
+ 'x-decorator-props': {
45
+ tooltip: string;
46
+ };
47
+ };
48
+ debug: {
49
+ type: string;
50
+ 'x-component': () => React.JSX.Element;
51
+ };
52
+ };
53
+ };
54
+ };
55
+ };
56
+ };
57
+ };
@@ -0,0 +1,3 @@
1
+ export declare function useActionCreateCollection(): {
2
+ run(): Promise<void>;
3
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DeleteCollection: (props: any) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const DeleteCollectionAction: {
3
+ (props: any): React.JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ export declare function useBulkDestroyActionAndRefreshCM(): {
2
+ run(): Promise<void>;
3
+ };
@@ -0,0 +1,3 @@
1
+ export declare function useDestroyActionAndRefreshCM(): {
2
+ run(): Promise<void>;
3
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const EditCollection: (props: any) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const EditCollectionAction: (props: any) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ViewEditCollectionForm: (props: any) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const useActionEditCollection: (e: any) => {
2
+ run(): Promise<void>;
3
+ };
@@ -0,0 +1,7 @@
1
+ export declare const paramsMap: {
2
+ list: string[];
3
+ get: string[];
4
+ create: string[];
5
+ update: string[];
6
+ destroy: string[];
7
+ };
@@ -0,0 +1,4 @@
1
+ export declare const requestHeaderList: {
2
+ name: string;
3
+ title: string;
4
+ }[];
@@ -0,0 +1,11 @@
1
+ interface IContextRequestInfo {
2
+ actionKey?: string;
3
+ form?: any;
4
+ requestActionForm?: any;
5
+ responseTransformer?: any;
6
+ setResponseTransformer?: any;
7
+ }
8
+ export declare const ContextRequestInfo: any;
9
+ export declare const ProviderContextRequestInfo: any;
10
+ export declare function useContextRequestInfo(): IContextRequestInfo;
11
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface IContextResponseInfo {
3
+ rawResponse?: any;
4
+ debugResponse?: any;
5
+ responseValidationErrorMessage?: any;
6
+ setRawResponse?: any;
7
+ setDebugResponse?: any;
8
+ setResponseValidationErrorMessage?: any;
9
+ }
10
+ export declare const ProviderContextResponseInfo: React.Provider<IContextResponseInfo>;
11
+ export declare function useContextResponseInfo(): IContextResponseInfo;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DataSourceSettingsForm: () => React.JSX.Element;
@@ -0,0 +1,172 @@
1
+ export declare const schemaDataSourceSettingsForm: {
2
+ type: string;
3
+ properties: {
4
+ displayName: {
5
+ type: string;
6
+ title: string;
7
+ required: boolean;
8
+ 'x-decorator': string;
9
+ 'x-component': string;
10
+ };
11
+ key: {
12
+ type: string;
13
+ title: string;
14
+ required: boolean;
15
+ 'x-decorator': string;
16
+ 'x-component': string;
17
+ 'x-validator': string;
18
+ 'x-disabled': string;
19
+ description: string;
20
+ };
21
+ options: {
22
+ type: string;
23
+ properties: {
24
+ baseUrl: {
25
+ type: string;
26
+ title: string;
27
+ required: boolean;
28
+ 'x-decorator': string;
29
+ 'x-component': string;
30
+ 'x-validator': string;
31
+ };
32
+ headers: {
33
+ type: string;
34
+ 'x-component': string;
35
+ 'x-decorator': string;
36
+ title: string;
37
+ items: {
38
+ type: string;
39
+ properties: {
40
+ space: {
41
+ type: string;
42
+ 'x-component': string;
43
+ 'x-component-props': {
44
+ style: {
45
+ flexWrap: string;
46
+ maxWidth: string;
47
+ display: string;
48
+ };
49
+ className: string;
50
+ };
51
+ properties: {
52
+ name: {
53
+ type: string;
54
+ 'x-decorator': string;
55
+ 'x-component': string;
56
+ 'x-component-props': {
57
+ placeholder: string;
58
+ };
59
+ };
60
+ value: {
61
+ type: string;
62
+ 'x-decorator': string;
63
+ 'x-component': string;
64
+ 'x-component-props': {
65
+ useTypedConstant: boolean;
66
+ };
67
+ };
68
+ remove: {
69
+ type: string;
70
+ 'x-decorator': string;
71
+ 'x-component': string;
72
+ };
73
+ };
74
+ };
75
+ };
76
+ };
77
+ properties: {
78
+ add: {
79
+ type: string;
80
+ title: string;
81
+ 'x-component': string;
82
+ };
83
+ };
84
+ };
85
+ variables: {
86
+ type: string;
87
+ 'x-component': string;
88
+ 'x-decorator': string;
89
+ title: string;
90
+ items: {
91
+ type: string;
92
+ properties: {
93
+ space: {
94
+ type: string;
95
+ 'x-component': string;
96
+ 'x-component-props': {
97
+ style: {
98
+ flexWrap: string;
99
+ maxWidth: string;
100
+ display: string;
101
+ };
102
+ className: string;
103
+ };
104
+ properties: {
105
+ name: {
106
+ type: string;
107
+ 'x-decorator': string;
108
+ 'x-component': string;
109
+ 'x-component-props': {
110
+ placeholder: string;
111
+ };
112
+ };
113
+ value: {
114
+ type: string;
115
+ 'x-decorator': string;
116
+ 'x-component': string;
117
+ 'x-component-props': {
118
+ useTypedConstant: boolean;
119
+ };
120
+ };
121
+ remove: {
122
+ type: string;
123
+ 'x-decorator': string;
124
+ 'x-component': string;
125
+ };
126
+ };
127
+ };
128
+ };
129
+ };
130
+ properties: {
131
+ add: {
132
+ type: string;
133
+ title: string;
134
+ 'x-component': string;
135
+ };
136
+ };
137
+ };
138
+ timeout: {
139
+ type: string;
140
+ title: string;
141
+ 'x-decorator': string;
142
+ 'x-component': string;
143
+ 'x-component-props': {
144
+ addonAfter: string;
145
+ style: {
146
+ minWidth: number;
147
+ };
148
+ };
149
+ default: number;
150
+ };
151
+ responseType: {
152
+ type: string;
153
+ title: string;
154
+ 'x-decorator': string;
155
+ 'x-component': string;
156
+ default: string;
157
+ enum: {
158
+ value: string;
159
+ label: string;
160
+ }[];
161
+ };
162
+ };
163
+ };
164
+ enabled: {
165
+ type: string;
166
+ 'x-content': string;
167
+ 'x-decorator': string;
168
+ 'x-component': string;
169
+ default: boolean;
170
+ };
171
+ };
172
+ };
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@tachybase/client';
2
+ export declare class KitHttpDatasource extends Plugin {
3
+ load(): Promise<void>;
4
+ }
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ProviderDebug: (props: any) => React.JSX.Element;
@@ -0,0 +1,164 @@
1
+ export declare const useSchemaDebug: () => {
2
+ type: string;
3
+ properties: {
4
+ modal: {
5
+ type: string;
6
+ 'x-decorator': string;
7
+ 'x-component': string;
8
+ 'x-component-props': {
9
+ className: string;
10
+ width: string;
11
+ styles: {
12
+ body: {
13
+ padding: number;
14
+ };
15
+ };
16
+ centered: boolean;
17
+ destroyOnClose: boolean;
18
+ };
19
+ properties: {
20
+ bodyContainer: {
21
+ type: string;
22
+ 'x-component': string;
23
+ 'x-component-props': {
24
+ gutter: number;
25
+ };
26
+ properties: {
27
+ request: {
28
+ type: string;
29
+ 'x-decorator': string;
30
+ 'x-decorator-props': {
31
+ span: number;
32
+ };
33
+ 'x-component': string;
34
+ 'x-component-props': {
35
+ bordered: boolean;
36
+ title: any;
37
+ style: {
38
+ height: string;
39
+ overflowY: string;
40
+ borderTopRightRadius: number;
41
+ borderBottomRightRadius: number;
42
+ };
43
+ };
44
+ properties: {
45
+ layout: {
46
+ type: string;
47
+ 'x-component': string;
48
+ 'x-component-props': {
49
+ labelCol: number;
50
+ wrapperCol: number;
51
+ layout: string;
52
+ className: string;
53
+ };
54
+ properties: {};
55
+ };
56
+ };
57
+ };
58
+ thirdPartyApi: {
59
+ type: string;
60
+ 'x-decorator': string;
61
+ 'x-decorator-props': {
62
+ span: number;
63
+ };
64
+ 'x-component': string;
65
+ 'x-component-props': {
66
+ title: any;
67
+ bordered: boolean;
68
+ style: {
69
+ height: string;
70
+ overflowY: string;
71
+ borderRadius: number;
72
+ };
73
+ };
74
+ properties: {
75
+ responseContainer: {
76
+ type: string;
77
+ 'x-decorator': string;
78
+ 'x-decorator-props': {
79
+ effects: () => void;
80
+ className: string;
81
+ };
82
+ properties: {
83
+ requestAction: {
84
+ type: string;
85
+ 'x-component': (props: any) => import("react").JSX.Element;
86
+ 'x-component-props': {
87
+ actionForm: boolean;
88
+ };
89
+ };
90
+ requestTab: {
91
+ type: string;
92
+ 'x-decorator': string;
93
+ 'x-component': () => import("react").JSX.Element;
94
+ };
95
+ responseTab: {
96
+ type: string;
97
+ 'x-component': () => import("react").JSX.Element;
98
+ };
99
+ };
100
+ };
101
+ };
102
+ };
103
+ nocoBaseResponse: {
104
+ type: string;
105
+ 'x-decorator': string;
106
+ 'x-decorator-props': {
107
+ span: number;
108
+ };
109
+ 'x-component': string;
110
+ 'x-component-props': {
111
+ bordered: boolean;
112
+ title: any;
113
+ style: {
114
+ height: string;
115
+ overflowY: string;
116
+ borderTopLeftRadius: number;
117
+ borderBottomLeftRadius: number;
118
+ };
119
+ };
120
+ properties: {
121
+ responseContainer: {
122
+ type: string;
123
+ 'x-decorator': string;
124
+ properties: {
125
+ alertError: {
126
+ type: string;
127
+ 'x-component': () => import("react").JSX.Element;
128
+ };
129
+ responseTransformer: {
130
+ type: string;
131
+ 'x-decorator': string;
132
+ 'x-component': () => import("react").JSX.Element;
133
+ };
134
+ debugResponse: {
135
+ type: string;
136
+ 'x-component': () => import("react").JSX.Element;
137
+ };
138
+ };
139
+ };
140
+ };
141
+ };
142
+ };
143
+ };
144
+ footer: {
145
+ type: string;
146
+ 'x-component': string;
147
+ properties: {
148
+ debug: {
149
+ title: string;
150
+ 'x-component': string;
151
+ 'x-component-props': {
152
+ type: string;
153
+ useAction: string;
154
+ };
155
+ };
156
+ extractFieldMetadata: {
157
+ 'x-component': () => import("react").JSX.Element;
158
+ };
159
+ };
160
+ };
161
+ };
162
+ };
163
+ };
164
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ViewDebug: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DebugComponent: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const AlertError: () => React.JSX.Element;
@@ -0,0 +1,21 @@
1
+ export declare const getSchemaDebugResponse: (data: any) => {
2
+ type: string;
3
+ 'x-decorator': string;
4
+ 'x-decorator-props': {
5
+ useValues(params: any): import("@tachybase/client").UseRequestResult<unknown>;
6
+ };
7
+ properties: {
8
+ [x: string]: {
9
+ type: string;
10
+ default: any;
11
+ 'x-read-pretty': boolean;
12
+ 'x-decorator': string;
13
+ 'x-component': string;
14
+ 'x-component-props': {
15
+ style: {
16
+ maxHeight: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ViewDebugResponse: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DebugResponseTabs: () => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare const getItemsDebugResponse: (params: any) => {
3
+ key: string;
4
+ label: any;
5
+ children: React.JSX.Element;
6
+ }[];
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ExtractFieldMetadata: () => React.JSX.Element;
@@ -0,0 +1,60 @@
1
+ export declare const getSchemaHeaders: ({ key, defaultValue }: {
2
+ key: any;
3
+ defaultValue: any;
4
+ }) => {
5
+ type: string;
6
+ properties: {
7
+ [x: number]: {
8
+ type: string;
9
+ 'x-decorator': string;
10
+ 'x-component': string;
11
+ default: any;
12
+ 'x-component-props': {
13
+ scroll: {
14
+ y: number;
15
+ };
16
+ };
17
+ items: {
18
+ type: string;
19
+ properties: {
20
+ column1: {
21
+ type: string;
22
+ 'x-component': string;
23
+ 'x-component-props': {
24
+ width: number;
25
+ title: string;
26
+ };
27
+ properties: {
28
+ name: {
29
+ type: string;
30
+ 'x-decorator': string;
31
+ 'x-component': string;
32
+ 'x-component-props': {
33
+ placeholder: string;
34
+ };
35
+ };
36
+ };
37
+ };
38
+ column2: {
39
+ type: string;
40
+ 'x-component': string;
41
+ 'x-component-props': {
42
+ width: number;
43
+ title: string;
44
+ };
45
+ properties: {
46
+ value: {
47
+ type: string;
48
+ 'x-decorator': string;
49
+ 'x-component': string;
50
+ 'x-component-props': {
51
+ placeholder: string;
52
+ };
53
+ };
54
+ };
55
+ };
56
+ };
57
+ };
58
+ };
59
+ };
60
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ViewRequestHeaders: () => React.JSX.Element;
@@ -0,0 +1,21 @@
1
+ export declare const getSchemaResponseBody: (data: any) => {
2
+ type: string;
3
+ 'x-decorator': string;
4
+ 'x-decorator-props': {
5
+ useValues(params: any): import("@tachybase/client").UseRequestResult<unknown>;
6
+ };
7
+ properties: {
8
+ [x: string]: {
9
+ type: string;
10
+ default: any;
11
+ 'x-read-pretty': boolean;
12
+ 'x-decorator': string;
13
+ 'x-component': string;
14
+ 'x-component-props': {
15
+ style: {
16
+ maxHeight: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ViewResponseBody: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ViewResponseHeaders: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ResponseTab: () => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare const getItemsResponseTab: (params: any) => {
3
+ key: string;
4
+ label: any;
5
+ children: React.JSX.Element;
6
+ }[];
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const TooltipContainer: (props: any) => React.JSX.Element;