@nocobase/plugin-data-source-manager 2.1.0-alpha.4 → 2.1.0-alpha.45

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 (85) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +79 -10
  3. package/client-v2.d.ts +2 -0
  4. package/client-v2.js +1 -0
  5. package/dist/ai/ai-employees/orin/ignored.d.ts +10 -0
  6. package/dist/ai/ai-employees/orin/ignored.js +59 -0
  7. package/dist/ai/ai-employees/orin/skills/data-modeling/SKILLS.md +245 -0
  8. package/dist/ai/{tools → ai-employees/orin/skills/data-modeling/tools}/defineCollections.js +47 -1
  9. package/dist/ai/{tools → ai-employees/orin/skills/data-modeling/tools}/intentRouter.js +1 -1
  10. package/dist/ai/{tools/data-query → common}/common.js +63 -11
  11. package/dist/ai/{tools/data-query → common}/utils.d.ts +1 -0
  12. package/dist/ai/{tools/data-query → common}/utils.js +15 -0
  13. package/dist/ai/skills/data-metadata/SKILLS.md +108 -0
  14. package/dist/ai/{tools → skills/data-metadata/tools}/getCollectionMetadata.js +2 -2
  15. package/dist/ai/{tools → skills/data-metadata/tools}/getCollectionNames.js +2 -2
  16. package/dist/ai/{tools → skills/data-metadata/tools}/getDataSources.js +2 -2
  17. package/dist/ai/{tools → skills/data-metadata/tools}/searchFieldMetadata.js +2 -2
  18. package/dist/ai/skills/data-query/SKILLS.md +246 -0
  19. package/dist/ai/skills/data-query/tools/dataQuery.js +282 -0
  20. package/dist/ai/{tools/data-query → skills/data-query/tools}/dataSourceCounting.js +12 -4
  21. package/dist/ai/skills/data-query/tools/dataSourceQuery.d.ts +10 -0
  22. package/dist/ai/{tools/data-query → skills/data-query/tools}/dataSourceQuery.js +12 -5
  23. package/dist/client/271.b3c0013cf976adf0.js +10 -0
  24. package/dist/client/369.6025f2112454fab1.js +10 -0
  25. package/dist/client/397.c8c6659cf3f7ac1c.js +10 -0
  26. package/dist/client/416.197712b8b93033c5.js +10 -0
  27. package/dist/client/420.0c3e3c9888e0ba31.js +10 -0
  28. package/dist/client/603.d6022bceb934f5b0.js +10 -0
  29. package/dist/client/644.b98e4b39058e9c32.js +10 -0
  30. package/dist/client/936.d5ab7aecb4eb6004.js +10 -0
  31. package/dist/client/index.js +1 -1
  32. package/dist/client-v2/167.c72713810e2d0526.js +10 -0
  33. package/dist/client-v2/426.3cd9f994a3145829.js +10 -0
  34. package/dist/client-v2/components/DataSourceForm.d.ts +17 -0
  35. package/dist/client-v2/field-interfaces/index.d.ts +13 -0
  36. package/dist/client-v2/index.d.ts +12 -0
  37. package/dist/client-v2/index.js +10 -0
  38. package/dist/client-v2/locale.d.ts +11 -0
  39. package/dist/client-v2/pages/DataSourceCollectionsPage.d.ts +10 -0
  40. package/dist/client-v2/pages/DataSourcesPage.d.ts +10 -0
  41. package/dist/client-v2/pages/components/CollectionsPage.d.ts +15 -0
  42. package/dist/client-v2/pages/components/FieldForm.d.ts +19 -0
  43. package/dist/client-v2/pages/components/FieldsPage.d.ts +15 -0
  44. package/dist/client-v2/pages/components/SqlCollectionConfigure.d.ts +62 -0
  45. package/dist/client-v2/pages/components/ViewCollectionConfigure.d.ts +27 -0
  46. package/dist/client-v2/pages/components/collectionFieldApi.d.ts +11 -0
  47. package/dist/client-v2/pages/components/collectionTemplateFieldInterfaces.d.ts +18 -0
  48. package/dist/client-v2/plugin.d.ts +188 -0
  49. package/dist/client-v2/runtime.d.ts +12 -0
  50. package/dist/client-v2/utils/compileLegacyTemplate.d.ts +13 -0
  51. package/dist/externalVersion.js +17 -13
  52. package/dist/locale/en-US.json +270 -3
  53. package/dist/locale/zh-CN.json +270 -3
  54. package/dist/node_modules/zod/index.cjs +1 -1
  55. package/dist/node_modules/zod/package.json +1 -1
  56. package/dist/server/mcp-post-processors.d.ts +24 -0
  57. package/dist/server/mcp-post-processors.js +158 -0
  58. package/dist/server/models/data-source.js +3 -13
  59. package/dist/server/plugin.js +2 -0
  60. package/dist/server/resourcers/data-sources-collections-fields.d.ts +1 -0
  61. package/dist/server/resourcers/data-sources-collections-fields.js +9 -0
  62. package/dist/server/services/external-field-apply.d.ts +23 -0
  63. package/dist/server/services/external-field-apply.js +208 -0
  64. package/dist/server/utils.js +6 -1
  65. package/dist/swagger/index.d.ts +326 -0
  66. package/dist/swagger/index.js +385 -0
  67. package/package.json +5 -2
  68. package/LICENSE.txt +0 -172
  69. package/dist/client/1a8cce8035a89dd9.js +0 -10
  70. package/dist/client/276bcf3de74bebd1.js +0 -10
  71. package/dist/client/2f7a418e7935984d.js +0 -10
  72. package/dist/client/689d3bec33ad2ec3.js +0 -10
  73. package/dist/client/d33eb40009bd7ec6.js +0 -10
  74. package/dist/client/dbf5ddf434ab29c0.js +0 -10
  75. package/dist/client/f528b165e77e3608.js +0 -10
  76. package/dist/client/fdae18574fda07af.js +0 -10
  77. /package/dist/ai/{tools → ai-employees/orin/skills/data-modeling/tools}/defineCollections.d.ts +0 -0
  78. /package/dist/ai/{tools → ai-employees/orin/skills/data-modeling/tools}/intentRouter.d.ts +0 -0
  79. /package/dist/ai/{tools/data-query → common}/common.d.ts +0 -0
  80. /package/dist/ai/{tools → skills/data-metadata/tools}/getCollectionMetadata.d.ts +0 -0
  81. /package/dist/ai/{tools → skills/data-metadata/tools}/getCollectionNames.d.ts +0 -0
  82. /package/dist/ai/{tools → skills/data-metadata/tools}/getDataSources.d.ts +0 -0
  83. /package/dist/ai/{tools → skills/data-metadata/tools}/searchFieldMetadata.d.ts +0 -0
  84. /package/dist/ai/{tools/data-query/dataSourceCounting.d.ts → skills/data-query/tools/dataQuery.d.ts} +0 -0
  85. /package/dist/ai/{tools/data-query/dataSourceQuery.d.ts → skills/data-query/tools/dataSourceCounting.d.ts} +0 -0
@@ -0,0 +1,326 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ declare const _default: {
10
+ openapi: string;
11
+ info: {
12
+ title: string;
13
+ };
14
+ paths: {
15
+ '/dataSources:listEnabled': {
16
+ get: {
17
+ tags: string[];
18
+ summary: string;
19
+ description: string;
20
+ parameters: {
21
+ name: string;
22
+ in: string;
23
+ description: string;
24
+ required: boolean;
25
+ schema: {
26
+ type: string;
27
+ };
28
+ }[];
29
+ responses: {
30
+ 200: {
31
+ description: string;
32
+ content: {
33
+ 'application/json': {
34
+ schema: {
35
+ type: string;
36
+ properties: {
37
+ data: {
38
+ type: string;
39
+ items: {
40
+ $ref: string;
41
+ };
42
+ };
43
+ meta: {
44
+ type: string;
45
+ additionalProperties: boolean;
46
+ };
47
+ };
48
+ };
49
+ };
50
+ };
51
+ };
52
+ };
53
+ };
54
+ };
55
+ '/dataSources/{associatedIndex}/collections:list': {
56
+ get: {
57
+ tags: string[];
58
+ summary: string;
59
+ description: string;
60
+ parameters: ({
61
+ name: string;
62
+ in: string;
63
+ required: boolean;
64
+ description: string;
65
+ schema: {
66
+ type: string;
67
+ additionalProperties?: undefined;
68
+ };
69
+ } | {
70
+ name: string;
71
+ in: string;
72
+ required: boolean;
73
+ description: string;
74
+ schema: {
75
+ type: string;
76
+ additionalProperties: boolean;
77
+ };
78
+ } | {
79
+ name: string;
80
+ in: string;
81
+ required: boolean;
82
+ schema: {
83
+ type: string;
84
+ additionalProperties?: undefined;
85
+ };
86
+ description?: undefined;
87
+ })[];
88
+ responses: {
89
+ 200: {
90
+ description: string;
91
+ content: {
92
+ 'application/json': {
93
+ schema: {
94
+ type: string;
95
+ properties: {
96
+ data: {
97
+ type: string;
98
+ items: {
99
+ $ref: string;
100
+ };
101
+ };
102
+ meta: {
103
+ type: string;
104
+ additionalProperties: boolean;
105
+ };
106
+ };
107
+ };
108
+ };
109
+ };
110
+ };
111
+ };
112
+ };
113
+ };
114
+ '/dataSourcesCollections/{associatedIndex}/fields:list': {
115
+ get: {
116
+ tags: string[];
117
+ summary: string;
118
+ description: string;
119
+ parameters: {
120
+ name: string;
121
+ in: string;
122
+ required: boolean;
123
+ description: string;
124
+ schema: {
125
+ type: string;
126
+ };
127
+ }[];
128
+ responses: {
129
+ 200: {
130
+ description: string;
131
+ content: {
132
+ 'application/json': {
133
+ schema: {
134
+ type: string;
135
+ items: {
136
+ type: string;
137
+ additionalProperties: boolean;
138
+ };
139
+ };
140
+ };
141
+ };
142
+ };
143
+ };
144
+ };
145
+ };
146
+ '/dataSourcesCollections/{associatedIndex}/fields:apply': {
147
+ post: {
148
+ tags: string[];
149
+ summary: string;
150
+ description: string;
151
+ parameters: {
152
+ name: string;
153
+ in: string;
154
+ required: boolean;
155
+ description: string;
156
+ schema: {
157
+ type: string;
158
+ };
159
+ }[];
160
+ requestBody: {
161
+ content: {
162
+ 'application/json': {
163
+ schema: {
164
+ $ref: string;
165
+ };
166
+ };
167
+ };
168
+ };
169
+ responses: {
170
+ 200: {
171
+ description: string;
172
+ content: {
173
+ 'application/json': {
174
+ schema: {
175
+ type: string;
176
+ properties: {
177
+ data: {
178
+ $ref: string;
179
+ };
180
+ };
181
+ };
182
+ };
183
+ };
184
+ };
185
+ };
186
+ };
187
+ };
188
+ };
189
+ components: {
190
+ schemas: {
191
+ DataSourceInfo: {
192
+ type: string;
193
+ properties: {
194
+ key: {
195
+ type: string;
196
+ };
197
+ displayName: {
198
+ type: string;
199
+ };
200
+ status: {
201
+ type: string;
202
+ };
203
+ type: {
204
+ type: string;
205
+ };
206
+ isDBInstance: {
207
+ type: string;
208
+ };
209
+ options: {
210
+ type: string;
211
+ additionalProperties: boolean;
212
+ };
213
+ errorMessage: {
214
+ type: string;
215
+ };
216
+ collections: {
217
+ type: string;
218
+ items: {
219
+ $ref: string;
220
+ };
221
+ };
222
+ };
223
+ additionalProperties: boolean;
224
+ };
225
+ DataSourceCollectionInfo: {
226
+ type: string;
227
+ properties: {
228
+ name: {
229
+ type: string;
230
+ };
231
+ title: {
232
+ type: string;
233
+ };
234
+ fields: {
235
+ type: string;
236
+ items: {
237
+ type: string;
238
+ additionalProperties: boolean;
239
+ };
240
+ };
241
+ availableActions: {
242
+ type: string;
243
+ additionalProperties: boolean;
244
+ };
245
+ unavailableActions: {
246
+ type: string;
247
+ additionalProperties: boolean;
248
+ };
249
+ };
250
+ additionalProperties: boolean;
251
+ };
252
+ DataSourceFieldApplyInput: {
253
+ type: string;
254
+ required: string[];
255
+ properties: {
256
+ dataSourceKey: {
257
+ type: string;
258
+ description: string;
259
+ };
260
+ collectionName: {
261
+ type: string;
262
+ description: string;
263
+ };
264
+ name: {
265
+ type: string;
266
+ };
267
+ title: {
268
+ type: string;
269
+ };
270
+ interface: {
271
+ type: string;
272
+ description: string;
273
+ };
274
+ type: {
275
+ type: string;
276
+ description: string;
277
+ };
278
+ target: {
279
+ type: string;
280
+ };
281
+ foreignKey: {
282
+ type: string;
283
+ };
284
+ sourceKey: {
285
+ type: string;
286
+ };
287
+ targetKey: {
288
+ type: string;
289
+ };
290
+ through: {
291
+ type: string;
292
+ };
293
+ otherKey: {
294
+ type: string;
295
+ };
296
+ targetTitleField: {
297
+ type: string;
298
+ };
299
+ titleField: {
300
+ type: string;
301
+ };
302
+ uiSchema: {
303
+ type: string;
304
+ additionalProperties: boolean;
305
+ };
306
+ settings: {
307
+ type: string;
308
+ additionalProperties: boolean;
309
+ };
310
+ };
311
+ additionalProperties: boolean;
312
+ };
313
+ DataSourceFieldApplyResult: {
314
+ type: string;
315
+ properties: {
316
+ data: {
317
+ type: string;
318
+ additionalProperties: boolean;
319
+ };
320
+ };
321
+ additionalProperties: boolean;
322
+ };
323
+ };
324
+ };
325
+ };
326
+ export default _default;
@@ -0,0 +1,385 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var swagger_exports = {};
28
+ __export(swagger_exports, {
29
+ default: () => swagger_default
30
+ });
31
+ module.exports = __toCommonJS(swagger_exports);
32
+ var swagger_default = {
33
+ openapi: "3.0.2",
34
+ info: {
35
+ title: "NocoBase API - Data source manager plugin"
36
+ },
37
+ paths: {
38
+ "/dataSources:listEnabled": {
39
+ get: {
40
+ tags: ["dataSources"],
41
+ summary: "List enabled external data sources",
42
+ description: "Return enabled non-main data sources, optionally including loaded collections.",
43
+ parameters: [
44
+ {
45
+ name: "appends",
46
+ in: "query",
47
+ description: "Append related data, for example `collections`.",
48
+ required: false,
49
+ schema: {
50
+ type: "string"
51
+ }
52
+ }
53
+ ],
54
+ responses: {
55
+ 200: {
56
+ description: "OK",
57
+ content: {
58
+ "application/json": {
59
+ schema: {
60
+ type: "object",
61
+ properties: {
62
+ data: {
63
+ type: "array",
64
+ items: {
65
+ $ref: "#/components/schemas/DataSourceInfo"
66
+ }
67
+ },
68
+ meta: {
69
+ type: "object",
70
+ additionalProperties: true
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "/dataSources/{associatedIndex}/collections:list": {
81
+ get: {
82
+ tags: ["dataSources.collections"],
83
+ summary: "List external data source collections",
84
+ description: [
85
+ "List loaded collections in one external data source, including field metadata.",
86
+ "",
87
+ "Use this endpoint to discover external table names before applying relation field metadata."
88
+ ].join("\n"),
89
+ parameters: [
90
+ {
91
+ name: "associatedIndex",
92
+ in: "path",
93
+ required: true,
94
+ description: "External data source key, for example `external`.",
95
+ schema: {
96
+ type: "string"
97
+ }
98
+ },
99
+ {
100
+ name: "filter",
101
+ in: "query",
102
+ required: false,
103
+ description: "Filter object matched against collection options.",
104
+ schema: {
105
+ type: "object",
106
+ additionalProperties: true
107
+ }
108
+ },
109
+ {
110
+ name: "page",
111
+ in: "query",
112
+ required: false,
113
+ schema: {
114
+ type: "integer"
115
+ }
116
+ },
117
+ {
118
+ name: "pageSize",
119
+ in: "query",
120
+ required: false,
121
+ schema: {
122
+ type: "integer"
123
+ }
124
+ },
125
+ {
126
+ name: "paginate",
127
+ in: "query",
128
+ required: false,
129
+ schema: {
130
+ type: "boolean"
131
+ }
132
+ }
133
+ ],
134
+ responses: {
135
+ 200: {
136
+ description: "OK",
137
+ content: {
138
+ "application/json": {
139
+ schema: {
140
+ type: "object",
141
+ properties: {
142
+ data: {
143
+ type: "array",
144
+ items: {
145
+ $ref: "#/components/schemas/DataSourceCollectionInfo"
146
+ }
147
+ },
148
+ meta: {
149
+ type: "object",
150
+ additionalProperties: true
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ },
160
+ "/dataSourcesCollections/{associatedIndex}/fields:list": {
161
+ get: {
162
+ tags: ["dataSourcesCollections.fields"],
163
+ summary: "List external data source collection fields",
164
+ description: [
165
+ "List loaded field metadata for one external data source collection.",
166
+ "",
167
+ "The associatedIndex path parameter is `<dataSourceKey>.<collectionName>`."
168
+ ].join("\n"),
169
+ parameters: [
170
+ {
171
+ name: "associatedIndex",
172
+ in: "path",
173
+ required: true,
174
+ description: "External data source collection locator, for example `external.orders`.",
175
+ schema: {
176
+ type: "string"
177
+ }
178
+ }
179
+ ],
180
+ responses: {
181
+ 200: {
182
+ description: "OK",
183
+ content: {
184
+ "application/json": {
185
+ schema: {
186
+ type: "array",
187
+ items: {
188
+ type: "object",
189
+ additionalProperties: true
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "/dataSourcesCollections/{associatedIndex}/fields:apply": {
199
+ post: {
200
+ tags: ["dataSourcesCollections.fields"],
201
+ summary: "Create or update an external data source field",
202
+ description: [
203
+ "Upsert one external data source field from a compact request body.",
204
+ "",
205
+ "Use this endpoint for external data source field metadata, including relation fields.",
206
+ "The associatedIndex path parameter is `<dataSourceKey>.<collectionName>`.",
207
+ "",
208
+ "Relation fields may use compact interfaces such as `m2o`, `o2m`, `oho`, and `m2m`.",
209
+ "The server fills readable relation key defaults when explicit keys are omitted."
210
+ ].join("\n"),
211
+ parameters: [
212
+ {
213
+ name: "associatedIndex",
214
+ in: "path",
215
+ required: true,
216
+ description: "External data source collection locator, for example `external.orders`.",
217
+ schema: {
218
+ type: "string"
219
+ }
220
+ }
221
+ ],
222
+ requestBody: {
223
+ content: {
224
+ "application/json": {
225
+ schema: { $ref: "#/components/schemas/DataSourceFieldApplyInput" }
226
+ }
227
+ }
228
+ },
229
+ responses: {
230
+ 200: {
231
+ description: "OK",
232
+ content: {
233
+ "application/json": {
234
+ schema: {
235
+ type: "object",
236
+ properties: {
237
+ data: {
238
+ $ref: "#/components/schemas/DataSourceFieldApplyResult"
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ },
249
+ components: {
250
+ schemas: {
251
+ DataSourceInfo: {
252
+ type: "object",
253
+ properties: {
254
+ key: {
255
+ type: "string"
256
+ },
257
+ displayName: {
258
+ type: "string"
259
+ },
260
+ status: {
261
+ type: "string"
262
+ },
263
+ type: {
264
+ type: "string"
265
+ },
266
+ isDBInstance: {
267
+ type: "boolean"
268
+ },
269
+ options: {
270
+ type: "object",
271
+ additionalProperties: true
272
+ },
273
+ errorMessage: {
274
+ type: "string"
275
+ },
276
+ collections: {
277
+ type: "array",
278
+ items: {
279
+ $ref: "#/components/schemas/DataSourceCollectionInfo"
280
+ }
281
+ }
282
+ },
283
+ additionalProperties: true
284
+ },
285
+ DataSourceCollectionInfo: {
286
+ type: "object",
287
+ properties: {
288
+ name: {
289
+ type: "string"
290
+ },
291
+ title: {
292
+ type: "string"
293
+ },
294
+ fields: {
295
+ type: "array",
296
+ items: {
297
+ type: "object",
298
+ additionalProperties: true
299
+ }
300
+ },
301
+ availableActions: {
302
+ type: "object",
303
+ additionalProperties: true
304
+ },
305
+ unavailableActions: {
306
+ type: "object",
307
+ additionalProperties: true
308
+ }
309
+ },
310
+ additionalProperties: true
311
+ },
312
+ DataSourceFieldApplyInput: {
313
+ type: "object",
314
+ required: ["name"],
315
+ properties: {
316
+ dataSourceKey: {
317
+ type: "string",
318
+ description: "Optional when the path associatedIndex supplies the data source key."
319
+ },
320
+ collectionName: {
321
+ type: "string",
322
+ description: "Optional when the path associatedIndex supplies the collection name."
323
+ },
324
+ name: {
325
+ type: "string"
326
+ },
327
+ title: {
328
+ type: "string"
329
+ },
330
+ interface: {
331
+ type: "string",
332
+ description: "Compact field interface, for example `input`, `m2o`, `o2m`, `oho`, or `m2m`."
333
+ },
334
+ type: {
335
+ type: "string",
336
+ description: "Raw field type. Relation types include `belongsTo`, `hasMany`, `hasOne`, and `belongsToMany`."
337
+ },
338
+ target: {
339
+ type: "string"
340
+ },
341
+ foreignKey: {
342
+ type: "string"
343
+ },
344
+ sourceKey: {
345
+ type: "string"
346
+ },
347
+ targetKey: {
348
+ type: "string"
349
+ },
350
+ through: {
351
+ type: "string"
352
+ },
353
+ otherKey: {
354
+ type: "string"
355
+ },
356
+ targetTitleField: {
357
+ type: "string"
358
+ },
359
+ titleField: {
360
+ type: "string"
361
+ },
362
+ uiSchema: {
363
+ type: "object",
364
+ additionalProperties: true
365
+ },
366
+ settings: {
367
+ type: "object",
368
+ additionalProperties: true
369
+ }
370
+ },
371
+ additionalProperties: true
372
+ },
373
+ DataSourceFieldApplyResult: {
374
+ type: "object",
375
+ properties: {
376
+ data: {
377
+ type: "object",
378
+ additionalProperties: true
379
+ }
380
+ },
381
+ additionalProperties: true
382
+ }
383
+ }
384
+ }
385
+ };