@appaflytech/zeyrek-ai-mcp 0.0.5 → 0.0.7
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/.env.example +2 -2
- package/.env.production.example +9 -1
- package/README.md +14 -38
- package/dist/config.js +36 -3
- package/dist/knowledge/backendConstraints.js +982 -0
- package/dist/knowledge/componentCatalog.js +549 -92
- package/dist/knowledge/componentEvents.js +120 -25
- package/dist/knowledge/coverage.js +43 -0
- package/dist/knowledge/flowGuards.js +30 -0
- package/dist/knowledge/functionGuards.js +134 -0
- package/dist/knowledge/guideSections.js +49 -0
- package/dist/knowledge/hydrate.js +97 -0
- package/dist/knowledge/languageCodes.js +36 -0
- package/dist/knowledge/languages.js +105 -0
- package/dist/knowledge/layoutSummary.js +10 -0
- package/dist/knowledge/localization.js +51 -0
- package/dist/knowledge/normalize.js +500 -16
- package/dist/knowledge/outlines.js +167 -12
- package/dist/knowledge/policy.js +14 -5
- package/dist/knowledge/propTypes.js +80 -0
- package/dist/knowledge/rules.js +961 -44
- package/dist/knowledge/schemaGuard.js +199 -0
- package/dist/knowledge/styleResolve.js +63 -4
- package/dist/observability/trace.js +27 -3
- package/dist/platform/csv.js +123 -0
- package/dist/platform/errors.js +107 -6
- package/dist/platform/http.js +34 -4
- package/dist/platform/patch.js +27 -0
- package/dist/platform/refs.js +104 -0
- package/dist/platform/responses.js +25 -6
- package/dist/platform/screenshot.js +544 -16
- package/dist/platform/secrets.js +40 -0
- package/dist/platform/tokenVault.js +89 -0
- package/dist/platform/writeDiff.js +281 -0
- package/dist/resources/examples/flow-call-function.json +66 -0
- package/dist/resources/examples/function-total.json +70 -0
- package/dist/resources/examples/layout-app-shell.json +1 -1
- package/dist/resources/examples/microfunction-node-sum.json +56 -0
- package/dist/resources/examples/microservice-table-list.json +2 -4
- package/dist/resources/examples/page-dynamic-form.json +3 -3
- package/dist/resources/examples/page-flex-sections.json +99 -0
- package/dist/resources/examples/page-sign-in.json +4 -3
- package/dist/resources/guides/component.md +81 -8
- package/dist/resources/guides/entity.md +712 -20
- package/dist/resources/guides/expressions.md +47 -2
- package/dist/resources/guides/external-component.md +9 -0
- package/dist/resources/guides/functions.md +262 -0
- package/dist/resources/guides/getting-started.md +82 -7
- package/dist/resources/guides/layout.md +53 -10
- package/dist/resources/guides/merge.md +231 -0
- package/dist/resources/guides/microfunction.md +166 -0
- package/dist/resources/guides/microservice.md +287 -15
- package/dist/resources/guides/middleware.md +89 -1
- package/dist/resources/guides/modify-existing.md +23 -0
- package/dist/resources/guides/page.md +402 -49
- package/dist/resources/guides/translation.md +150 -8
- package/dist/resources/guides/view.md +16 -1
- package/dist/resources/guides/workflow.md +199 -28
- package/dist/resources/knowledge.js +5 -0
- package/dist/resources/rules.js +27 -0
- package/dist/resources/schema-fingerprint.json +8 -0
- package/dist/resources/schemas/AnalyzeImportQuery.json +51 -0
- package/dist/resources/schemas/ApplyMergePlanCommand.json +19 -0
- package/dist/resources/schemas/CreateBulkRowCommand.json +36 -0
- package/dist/resources/schemas/CreateDatasourceCommand.json +15 -6
- package/dist/resources/schemas/CreateDiscoveredEntitiesCommand.json +19 -8
- package/dist/resources/schemas/CreateEntityCommand.json +52 -12
- package/dist/resources/schemas/CreateEnvironmentCommand.json +31 -0
- package/dist/resources/schemas/CreateGlobalFunctionCommand.json +95 -0
- package/dist/resources/schemas/CreateImportPlanCommand.json +278 -0
- package/dist/resources/schemas/CreateMergePlanCommand.json +34 -0
- package/dist/resources/schemas/CreateMicrofunctionCommand.json +117 -0
- package/dist/resources/schemas/CreateMicrofunctionRuntimeCommand.json +51 -0
- package/dist/resources/schemas/CreateMicroserviceCommand.json +145 -3
- package/dist/resources/schemas/CreateQueryCommand.json +56 -3
- package/dist/resources/schemas/CreateRowCommand.json +38 -0
- package/dist/resources/schemas/CreateViewCommand.json +13 -10
- package/dist/resources/schemas/CreateWorkflowCommand.json +106 -14
- package/dist/resources/schemas/DataJobDto.json +267 -0
- package/dist/resources/schemas/ExportRowsCommand.json +172 -0
- package/dist/resources/schemas/Filter.json +3 -1
- package/dist/resources/schemas/GetRowsQuery.json +6 -1
- package/dist/resources/schemas/GlobalFunctionDto.json +89 -0
- package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +249 -0
- package/dist/resources/schemas/ImportAnalysisDto.json +401 -0
- package/dist/resources/schemas/ImportPlanDto.json +260 -0
- package/dist/resources/schemas/ImportSampleDto.json +90 -0
- package/dist/resources/schemas/InvokeMicrofunctionCommand.json +25 -0
- package/dist/resources/schemas/PreviewMicroserviceCommand.json +135 -1
- package/dist/resources/schemas/PreviewQueryCommand.json +5 -2
- package/dist/resources/schemas/PreviewWorkflowCommand.json +45 -9
- package/dist/resources/schemas/ResolveMergeConflictsCommand.json +58 -0
- package/dist/resources/schemas/RevertMergePlanCommand.json +19 -0
- package/dist/resources/schemas/RunImportCommand.json +62 -0
- package/dist/resources/schemas/StepDto.json +34 -3
- package/dist/resources/schemas/UpdateBulkRowCommand.json +36 -0
- package/dist/resources/schemas/UpdateDatasourceCommand.json +15 -6
- package/dist/resources/schemas/UpdateEntityCommand.json +52 -11
- package/dist/resources/schemas/UpdateGlobalFunctionCommand.json +66 -0
- package/dist/resources/schemas/UpdateMicrofunctionCommand.json +121 -0
- package/dist/resources/schemas/UpdateMicrofunctionRuntimeCommand.json +54 -0
- package/dist/resources/schemas/UpdateMicroserviceCommand.json +147 -4
- package/dist/resources/schemas/UpdateQueryCommand.json +13 -3
- package/dist/resources/schemas/UpdateRowCommand.json +40 -0
- package/dist/resources/schemas/UpdateViewCommand.json +15 -10
- package/dist/resources/schemas/UpdateWorkflowCommand.json +106 -14
- package/dist/server.js +17 -1
- package/dist/tools/access.js +3 -3
- package/dist/tools/activities.js +40 -0
- package/dist/tools/applications.js +1 -1
- package/dist/tools/automations.js +76 -34
- package/dist/tools/common.js +55 -0
- package/dist/tools/components.js +16 -7
- package/dist/tools/datasources.js +83 -21
- package/dist/tools/dependencies.js +1 -1
- package/dist/tools/deployments.js +34 -2
- package/dist/tools/dtos.js +25 -12
- package/dist/tools/entities.js +113 -28
- package/dist/tools/environments.js +52 -0
- package/dist/tools/externalComponents.js +9 -3
- package/dist/tools/files.js +57 -42
- package/dist/tools/flows.js +205 -13
- package/dist/tools/folders.js +7 -2
- package/dist/tools/functions.js +331 -0
- package/dist/tools/globalFunctions.js +63 -0
- package/dist/tools/importSchemas.js +79 -0
- package/dist/tools/imports.js +241 -0
- package/dist/tools/layouts.js +103 -29
- package/dist/tools/merges.js +113 -0
- package/dist/tools/microfunctions.js +155 -0
- package/dist/tools/microservices.js +270 -40
- package/dist/tools/organizations.js +5 -6
- package/dist/tools/pages.js +421 -104
- package/dist/tools/platformInfo.js +155 -11
- package/dist/tools/projects.js +183 -33
- package/dist/tools/queries.js +32 -10
- package/dist/tools/revisions.js +94 -0
- package/dist/tools/rows.js +484 -50
- package/dist/tools/screenWrite.js +68 -0
- package/dist/tools/screens.js +28 -0
- package/dist/tools/templates.js +32 -5
- package/dist/tools/translations.js +24 -8
- package/dist/tools/views.js +20 -10
- package/dist/tools/workflows.js +56 -21
- package/package.json +7 -2
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"name",
|
|
5
|
+
"slug",
|
|
6
|
+
"steps"
|
|
7
|
+
],
|
|
3
8
|
"type": "object",
|
|
4
9
|
"properties": {
|
|
5
10
|
"id": {
|
|
@@ -7,12 +12,12 @@
|
|
|
7
12
|
"format": "uuid"
|
|
8
13
|
},
|
|
9
14
|
"slug": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
15
|
+
"minLength": 1,
|
|
16
|
+
"type": "string"
|
|
12
17
|
},
|
|
13
18
|
"name": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"type": "string"
|
|
16
21
|
},
|
|
17
22
|
"type": {
|
|
18
23
|
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Flow.Workflows.WorkflowType"
|
|
@@ -34,11 +39,11 @@
|
|
|
34
39
|
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior"
|
|
35
40
|
},
|
|
36
41
|
"steps": {
|
|
42
|
+
"minItems": 1,
|
|
37
43
|
"type": "array",
|
|
38
44
|
"items": {
|
|
39
45
|
"$ref": "#/components/schemas/NgApps.Application.Contexts.Flow.Workflows.StepDto"
|
|
40
|
-
}
|
|
41
|
-
"nullable": true
|
|
46
|
+
}
|
|
42
47
|
},
|
|
43
48
|
"previewPayload": {
|
|
44
49
|
"nullable": true
|
|
@@ -88,6 +93,14 @@
|
|
|
88
93
|
"type": "string",
|
|
89
94
|
"nullable": true
|
|
90
95
|
},
|
|
96
|
+
"description": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"nullable": true
|
|
99
|
+
},
|
|
100
|
+
"caution": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"nullable": true
|
|
103
|
+
},
|
|
91
104
|
"type": {
|
|
92
105
|
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Flow.Workflows.StepType"
|
|
93
106
|
},
|
|
@@ -154,7 +167,7 @@
|
|
|
154
167
|
"convert",
|
|
155
168
|
"revert",
|
|
156
169
|
"set-user",
|
|
157
|
-
"
|
|
170
|
+
"microfunction"
|
|
158
171
|
],
|
|
159
172
|
"type": "string",
|
|
160
173
|
"format": ""
|
|
@@ -254,6 +267,11 @@
|
|
|
254
267
|
"type": "string",
|
|
255
268
|
"nullable": true
|
|
256
269
|
},
|
|
270
|
+
"microfunctionId": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"format": "uuid",
|
|
273
|
+
"nullable": true
|
|
274
|
+
},
|
|
257
275
|
"queryId": {
|
|
258
276
|
"type": "string",
|
|
259
277
|
"format": "uuid",
|
|
@@ -735,6 +753,9 @@
|
|
|
735
753
|
"order": {
|
|
736
754
|
"type": "integer",
|
|
737
755
|
"format": "int32"
|
|
756
|
+
},
|
|
757
|
+
"writeOn": {
|
|
758
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
|
|
738
759
|
}
|
|
739
760
|
},
|
|
740
761
|
"additionalProperties": false
|
|
@@ -879,7 +900,8 @@
|
|
|
879
900
|
"enum": [
|
|
880
901
|
"normal",
|
|
881
902
|
"junction",
|
|
882
|
-
"enum-values"
|
|
903
|
+
"enum-values",
|
|
904
|
+
"localization"
|
|
883
905
|
],
|
|
884
906
|
"type": "string",
|
|
885
907
|
"format": ""
|
|
@@ -922,6 +944,9 @@
|
|
|
922
944
|
"isSystemField": {
|
|
923
945
|
"type": "boolean"
|
|
924
946
|
},
|
|
947
|
+
"isLocalized": {
|
|
948
|
+
"type": "boolean"
|
|
949
|
+
},
|
|
925
950
|
"order": {
|
|
926
951
|
"type": "integer",
|
|
927
952
|
"format": "int32",
|
|
@@ -930,6 +955,15 @@
|
|
|
930
955
|
},
|
|
931
956
|
"additionalProperties": false
|
|
932
957
|
},
|
|
958
|
+
"NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
|
|
959
|
+
"enum": [
|
|
960
|
+
"always",
|
|
961
|
+
"create",
|
|
962
|
+
"update"
|
|
963
|
+
],
|
|
964
|
+
"type": "string",
|
|
965
|
+
"format": ""
|
|
966
|
+
},
|
|
933
967
|
"NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
|
|
934
968
|
"enum": [
|
|
935
969
|
"eq",
|
|
@@ -945,7 +979,9 @@
|
|
|
945
979
|
"startswith",
|
|
946
980
|
"endswith",
|
|
947
981
|
"istartswith",
|
|
948
|
-
"iendswith"
|
|
982
|
+
"iendswith",
|
|
983
|
+
"isnull",
|
|
984
|
+
"isnotnull"
|
|
949
985
|
],
|
|
950
986
|
"type": "string",
|
|
951
987
|
"format": ""
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"resolutions"
|
|
5
|
+
],
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"projectId": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "uuid"
|
|
11
|
+
},
|
|
12
|
+
"planId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"format": "uuid"
|
|
15
|
+
},
|
|
16
|
+
"resolutions": {
|
|
17
|
+
"minItems": 1,
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"$ref": "#/components/schemas/NgApps.Application.Contexts.Organization.Merges.MergeResolutionDto"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"components": {
|
|
27
|
+
"schemas": {
|
|
28
|
+
"NgApps.Application.Contexts.Organization.Merges.MergeResolutionDto": {
|
|
29
|
+
"required": [
|
|
30
|
+
"itemKey"
|
|
31
|
+
],
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"itemKey": {
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"path": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"nullable": true
|
|
41
|
+
},
|
|
42
|
+
"choice": {
|
|
43
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Organization.Merges.MergeChoice"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"additionalProperties": false
|
|
47
|
+
},
|
|
48
|
+
"NgApps.Domain.Contexts.Organization.Merges.MergeChoice": {
|
|
49
|
+
"enum": [
|
|
50
|
+
"source",
|
|
51
|
+
"target"
|
|
52
|
+
],
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": ""
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"projectId": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid"
|
|
8
|
+
},
|
|
9
|
+
"planId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"format": "uuid"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
},
|
|
16
|
+
"components": {
|
|
17
|
+
"schemas": {}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"planId"
|
|
5
|
+
],
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"datasourceId": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "uuid"
|
|
11
|
+
},
|
|
12
|
+
"planId": {
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "uuid"
|
|
16
|
+
},
|
|
17
|
+
"errorPolicy": {
|
|
18
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Imports.ImportErrorPolicy"
|
|
19
|
+
},
|
|
20
|
+
"rowActions": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportRowActionDto"
|
|
24
|
+
},
|
|
25
|
+
"nullable": true
|
|
26
|
+
},
|
|
27
|
+
"force": {
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
"triggerAutomations": {
|
|
31
|
+
"type": "boolean"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
},
|
|
36
|
+
"components": {
|
|
37
|
+
"schemas": {
|
|
38
|
+
"NgApps.Domain.Contexts.Datastore.Imports.ImportErrorPolicy": {
|
|
39
|
+
"enum": [
|
|
40
|
+
"skip-rows",
|
|
41
|
+
"all-or-nothing"
|
|
42
|
+
],
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": ""
|
|
45
|
+
},
|
|
46
|
+
"NgApps.Application.Contexts.Datastore.Imports.ImportRowActionDto": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"row": {
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"format": "int32"
|
|
52
|
+
},
|
|
53
|
+
"action": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"nullable": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
"type": "string",
|
|
11
11
|
"nullable": true
|
|
12
12
|
},
|
|
13
|
+
"description": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"nullable": true
|
|
16
|
+
},
|
|
17
|
+
"caution": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"nullable": true
|
|
20
|
+
},
|
|
13
21
|
"type": {
|
|
14
22
|
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Flow.Workflows.StepType"
|
|
15
23
|
},
|
|
@@ -64,7 +72,7 @@
|
|
|
64
72
|
"convert",
|
|
65
73
|
"revert",
|
|
66
74
|
"set-user",
|
|
67
|
-
"
|
|
75
|
+
"microfunction"
|
|
68
76
|
],
|
|
69
77
|
"type": "string",
|
|
70
78
|
"format": ""
|
|
@@ -164,6 +172,11 @@
|
|
|
164
172
|
"type": "string",
|
|
165
173
|
"nullable": true
|
|
166
174
|
},
|
|
175
|
+
"microfunctionId": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"format": "uuid",
|
|
178
|
+
"nullable": true
|
|
179
|
+
},
|
|
167
180
|
"queryId": {
|
|
168
181
|
"type": "string",
|
|
169
182
|
"format": "uuid",
|
|
@@ -645,6 +658,9 @@
|
|
|
645
658
|
"order": {
|
|
646
659
|
"type": "integer",
|
|
647
660
|
"format": "int32"
|
|
661
|
+
},
|
|
662
|
+
"writeOn": {
|
|
663
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
|
|
648
664
|
}
|
|
649
665
|
},
|
|
650
666
|
"additionalProperties": false
|
|
@@ -798,7 +814,8 @@
|
|
|
798
814
|
"enum": [
|
|
799
815
|
"normal",
|
|
800
816
|
"junction",
|
|
801
|
-
"enum-values"
|
|
817
|
+
"enum-values",
|
|
818
|
+
"localization"
|
|
802
819
|
],
|
|
803
820
|
"type": "string",
|
|
804
821
|
"format": ""
|
|
@@ -841,6 +858,9 @@
|
|
|
841
858
|
"isSystemField": {
|
|
842
859
|
"type": "boolean"
|
|
843
860
|
},
|
|
861
|
+
"isLocalized": {
|
|
862
|
+
"type": "boolean"
|
|
863
|
+
},
|
|
844
864
|
"order": {
|
|
845
865
|
"type": "integer",
|
|
846
866
|
"format": "int32",
|
|
@@ -849,6 +869,15 @@
|
|
|
849
869
|
},
|
|
850
870
|
"additionalProperties": false
|
|
851
871
|
},
|
|
872
|
+
"NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
|
|
873
|
+
"enum": [
|
|
874
|
+
"always",
|
|
875
|
+
"create",
|
|
876
|
+
"update"
|
|
877
|
+
],
|
|
878
|
+
"type": "string",
|
|
879
|
+
"format": ""
|
|
880
|
+
},
|
|
852
881
|
"NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
|
|
853
882
|
"enum": [
|
|
854
883
|
"eq",
|
|
@@ -864,7 +893,9 @@
|
|
|
864
893
|
"startswith",
|
|
865
894
|
"endswith",
|
|
866
895
|
"istartswith",
|
|
867
|
-
"iendswith"
|
|
896
|
+
"iendswith",
|
|
897
|
+
"isnull",
|
|
898
|
+
"isnotnull"
|
|
868
899
|
],
|
|
869
900
|
"type": "string",
|
|
870
901
|
"format": ""
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"rows"
|
|
5
|
+
],
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"entityId": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "uuid"
|
|
11
|
+
},
|
|
12
|
+
"rows": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": {}
|
|
17
|
+
},
|
|
18
|
+
"nullable": true
|
|
19
|
+
},
|
|
20
|
+
"rowContext": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": {
|
|
23
|
+
"nullable": true
|
|
24
|
+
},
|
|
25
|
+
"nullable": true
|
|
26
|
+
},
|
|
27
|
+
"relationsByName": {
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
},
|
|
33
|
+
"components": {
|
|
34
|
+
"schemas": {}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"dbName",
|
|
5
|
+
"host",
|
|
6
|
+
"name"
|
|
7
|
+
],
|
|
3
8
|
"type": "object",
|
|
4
9
|
"properties": {
|
|
5
10
|
"id": {
|
|
@@ -7,23 +12,27 @@
|
|
|
7
12
|
"format": "uuid"
|
|
8
13
|
},
|
|
9
14
|
"name": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
15
|
+
"maxLength": 50,
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"type": "string"
|
|
12
18
|
},
|
|
13
19
|
"description": {
|
|
20
|
+
"maxLength": 255,
|
|
14
21
|
"type": "string",
|
|
15
22
|
"nullable": true
|
|
16
23
|
},
|
|
17
24
|
"dbName": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
25
|
+
"maxLength": 63,
|
|
26
|
+
"minLength": 1,
|
|
27
|
+
"type": "string"
|
|
20
28
|
},
|
|
21
29
|
"type": {
|
|
22
30
|
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Datasources.DatasourceType"
|
|
23
31
|
},
|
|
24
32
|
"host": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
33
|
+
"maxLength": 255,
|
|
34
|
+
"minLength": 1,
|
|
35
|
+
"type": "string"
|
|
27
36
|
},
|
|
28
37
|
"port": {
|
|
29
38
|
"type": "integer",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"name"
|
|
5
|
+
],
|
|
3
6
|
"type": "object",
|
|
4
7
|
"properties": {
|
|
5
8
|
"id": {
|
|
@@ -7,10 +10,12 @@
|
|
|
7
10
|
"format": "uuid"
|
|
8
11
|
},
|
|
9
12
|
"name": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
13
|
+
"maxLength": 255,
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"type": "string"
|
|
12
16
|
},
|
|
13
17
|
"description": {
|
|
18
|
+
"maxLength": 1024,
|
|
14
19
|
"type": "string",
|
|
15
20
|
"nullable": true
|
|
16
21
|
},
|
|
@@ -61,6 +66,10 @@
|
|
|
61
66
|
"components": {
|
|
62
67
|
"schemas": {
|
|
63
68
|
"NgApps.Application.Contexts.Datastore.Entities.FieldDto": {
|
|
69
|
+
"required": [
|
|
70
|
+
"dbType",
|
|
71
|
+
"slug"
|
|
72
|
+
],
|
|
64
73
|
"type": "object",
|
|
65
74
|
"properties": {
|
|
66
75
|
"id": {
|
|
@@ -68,20 +77,23 @@
|
|
|
68
77
|
"format": "uuid"
|
|
69
78
|
},
|
|
70
79
|
"description": {
|
|
80
|
+
"maxLength": 512,
|
|
71
81
|
"type": "string",
|
|
72
82
|
"nullable": true
|
|
73
83
|
},
|
|
74
84
|
"name": {
|
|
85
|
+
"maxLength": 50,
|
|
75
86
|
"type": "string",
|
|
76
87
|
"nullable": true
|
|
77
88
|
},
|
|
78
89
|
"slug": {
|
|
79
|
-
"
|
|
80
|
-
"
|
|
90
|
+
"minLength": 1,
|
|
91
|
+
"type": "string"
|
|
81
92
|
},
|
|
82
93
|
"dbType": {
|
|
83
|
-
"
|
|
84
|
-
"
|
|
94
|
+
"maxLength": 50,
|
|
95
|
+
"minLength": 1,
|
|
96
|
+
"type": "string"
|
|
85
97
|
},
|
|
86
98
|
"primaryKey": {
|
|
87
99
|
"type": "boolean"
|
|
@@ -170,6 +182,17 @@
|
|
|
170
182
|
},
|
|
171
183
|
"isSystemField": {
|
|
172
184
|
"type": "boolean"
|
|
185
|
+
},
|
|
186
|
+
"isLocalized": {
|
|
187
|
+
"type": "boolean"
|
|
188
|
+
},
|
|
189
|
+
"nameTranslations": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"additionalProperties": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"nullable": true
|
|
194
|
+
},
|
|
195
|
+
"nullable": true
|
|
173
196
|
}
|
|
174
197
|
},
|
|
175
198
|
"additionalProperties": false
|
|
@@ -211,6 +234,10 @@
|
|
|
211
234
|
"additionalProperties": false
|
|
212
235
|
},
|
|
213
236
|
"NgApps.Application.Contexts.Datastore.Entities.EntityIndexDto": {
|
|
237
|
+
"required": [
|
|
238
|
+
"fieldIds",
|
|
239
|
+
"name"
|
|
240
|
+
],
|
|
214
241
|
"type": "object",
|
|
215
242
|
"properties": {
|
|
216
243
|
"id": {
|
|
@@ -218,19 +245,19 @@
|
|
|
218
245
|
"format": "uuid"
|
|
219
246
|
},
|
|
220
247
|
"name": {
|
|
221
|
-
"
|
|
222
|
-
"
|
|
248
|
+
"minLength": 1,
|
|
249
|
+
"type": "string"
|
|
223
250
|
},
|
|
224
251
|
"unique": {
|
|
225
252
|
"type": "boolean"
|
|
226
253
|
},
|
|
227
254
|
"fieldIds": {
|
|
255
|
+
"minItems": 1,
|
|
228
256
|
"type": "array",
|
|
229
257
|
"items": {
|
|
230
258
|
"type": "string",
|
|
231
259
|
"format": "uuid"
|
|
232
|
-
}
|
|
233
|
-
"nullable": true
|
|
260
|
+
}
|
|
234
261
|
}
|
|
235
262
|
},
|
|
236
263
|
"additionalProperties": false
|
|
@@ -318,6 +345,18 @@
|
|
|
318
345
|
"icon": {
|
|
319
346
|
"type": "string",
|
|
320
347
|
"nullable": true
|
|
348
|
+
},
|
|
349
|
+
"order": {
|
|
350
|
+
"type": "integer",
|
|
351
|
+
"format": "int32"
|
|
352
|
+
},
|
|
353
|
+
"labels": {
|
|
354
|
+
"type": "object",
|
|
355
|
+
"additionalProperties": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"nullable": true
|
|
358
|
+
},
|
|
359
|
+
"nullable": true
|
|
321
360
|
}
|
|
322
361
|
},
|
|
323
362
|
"additionalProperties": false
|
|
@@ -661,7 +700,9 @@
|
|
|
661
700
|
"startswith",
|
|
662
701
|
"endswith",
|
|
663
702
|
"istartswith",
|
|
664
|
-
"iendswith"
|
|
703
|
+
"iendswith",
|
|
704
|
+
"isnull",
|
|
705
|
+
"isnotnull"
|
|
665
706
|
],
|
|
666
707
|
"type": "string",
|
|
667
708
|
"format": ""
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"body",
|
|
5
|
+
"name"
|
|
6
|
+
],
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"format": "uuid"
|
|
12
|
+
},
|
|
13
|
+
"name": {
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"nullable": true
|
|
20
|
+
},
|
|
21
|
+
"isAsync": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"parameters": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "#/components/schemas/NgApps.Application.Contexts.Studio.GlobalFunctions.GlobalFunctionParameterDto"
|
|
28
|
+
},
|
|
29
|
+
"nullable": true
|
|
30
|
+
},
|
|
31
|
+
"body": {
|
|
32
|
+
"minLength": 1,
|
|
33
|
+
"type": "string"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
},
|
|
38
|
+
"components": {
|
|
39
|
+
"schemas": {
|
|
40
|
+
"NgApps.Application.Contexts.Studio.GlobalFunctions.GlobalFunctionParameterDto": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"nullable": true
|
|
46
|
+
},
|
|
47
|
+
"type": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"nullable": true
|
|
50
|
+
},
|
|
51
|
+
"required": {
|
|
52
|
+
"type": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"defaultValue": {
|
|
55
|
+
"nullable": true
|
|
56
|
+
},
|
|
57
|
+
"description": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"nullable": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|