@appaflytech/zeyrek-ai-mcp 0.0.6 → 0.0.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/.env.example +2 -2
- package/.env.production.example +8 -0
- package/README.md +9 -8
- package/dist/config.js +18 -3
- package/dist/knowledge/backendConstraints.js +88 -0
- package/dist/knowledge/componentCatalog.js +415 -68
- package/dist/knowledge/componentEvents.js +120 -25
- package/dist/knowledge/functionGuards.js +134 -0
- package/dist/knowledge/normalize.js +512 -25
- package/dist/knowledge/outlines.js +31 -0
- package/dist/knowledge/policy.js +14 -5
- package/dist/knowledge/propTypes.js +5 -4
- package/dist/knowledge/rules.js +453 -6
- package/dist/knowledge/styleResolve.js +6 -1
- package/dist/platform/csv.js +123 -0
- package/dist/platform/errors.js +62 -3
- package/dist/platform/http.js +11 -2
- package/dist/platform/responses.js +16 -4
- package/dist/platform/screenshot.js +98 -9
- package/dist/platform/strictArguments.js +32 -0
- package/dist/platform/writeDiff.js +6 -3
- package/dist/resources/examples/flow-call-function.json +66 -0
- package/dist/resources/examples/function-total.json +70 -0
- package/dist/resources/examples/microfunction-node-sum.json +56 -0
- package/dist/resources/examples/page-dynamic-form.json +1 -1
- package/dist/resources/examples/page-sign-in.json +2 -2
- package/dist/resources/guides/component.md +14 -2
- package/dist/resources/guides/entity.md +321 -17
- package/dist/resources/guides/expressions.md +9 -0
- package/dist/resources/guides/functions.md +262 -0
- package/dist/resources/guides/getting-started.md +7 -0
- package/dist/resources/guides/layout.md +6 -0
- package/dist/resources/guides/merge.md +231 -0
- package/dist/resources/guides/microfunction.md +166 -0
- package/dist/resources/guides/microservice.md +166 -7
- package/dist/resources/guides/modify-existing.md +23 -0
- package/dist/resources/guides/page.md +101 -22
- package/dist/resources/guides/translation.md +35 -10
- package/dist/resources/guides/workflow.md +51 -2
- package/dist/resources/schema-fingerprint.json +4 -4
- package/dist/resources/schemas/AnalyzeImportQuery.json +51 -0
- package/dist/resources/schemas/ApplyMergePlanCommand.json +19 -0
- package/dist/resources/schemas/CreateBulkRowCommand.json +3 -0
- 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 +123 -2
- package/dist/resources/schemas/CreateWorkflowCommand.json +17 -3
- 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 +3 -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 +123 -2
- package/dist/resources/schemas/PreviewWorkflowCommand.json +17 -3
- 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 +17 -3
- package/dist/resources/schemas/UpdateBulkRowCommand.json +3 -0
- package/dist/resources/schemas/UpdateEntityCommand.json +3 -1
- 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 +123 -2
- package/dist/resources/schemas/UpdateWorkflowCommand.json +17 -3
- package/dist/server.js +17 -4
- package/dist/tools/activities.js +40 -0
- package/dist/tools/automations.js +14 -5
- package/dist/tools/common.js +16 -0
- package/dist/tools/dependencies.js +1 -1
- package/dist/tools/environments.js +52 -0
- package/dist/tools/files.js +51 -50
- package/dist/tools/flows.js +104 -5
- package/dist/tools/functions.js +331 -0
- package/dist/tools/importSchemas.js +79 -0
- package/dist/tools/imports.js +241 -0
- package/dist/tools/layouts.js +4 -4
- package/dist/tools/merges.js +113 -0
- package/dist/tools/microfunctions.js +155 -0
- package/dist/tools/microservices.js +112 -9
- package/dist/tools/pages.js +188 -66
- package/dist/tools/platformInfo.js +4 -1
- package/dist/tools/queries.js +72 -6
- package/dist/tools/revisions.js +94 -0
- package/dist/tools/rows.js +342 -22
- package/dist/tools/screenWrite.js +11 -2
- package/dist/tools/templates.js +32 -5
- package/dist/tools/workflows.js +28 -6
- package/package.json +3 -1
|
@@ -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
|
+
}
|
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
"table",
|
|
72
72
|
"convert",
|
|
73
73
|
"revert",
|
|
74
|
-
"set-user"
|
|
74
|
+
"set-user",
|
|
75
|
+
"microfunction"
|
|
75
76
|
],
|
|
76
77
|
"type": "string",
|
|
77
78
|
"format": ""
|
|
@@ -171,6 +172,11 @@
|
|
|
171
172
|
"type": "string",
|
|
172
173
|
"nullable": true
|
|
173
174
|
},
|
|
175
|
+
"microfunctionId": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"format": "uuid",
|
|
178
|
+
"nullable": true
|
|
179
|
+
},
|
|
174
180
|
"queryId": {
|
|
175
181
|
"type": "string",
|
|
176
182
|
"format": "uuid",
|
|
@@ -549,7 +555,10 @@
|
|
|
549
555
|
"get",
|
|
550
556
|
"delete",
|
|
551
557
|
"upsert",
|
|
552
|
-
"count"
|
|
558
|
+
"count",
|
|
559
|
+
"bulk-create",
|
|
560
|
+
"bulk-update",
|
|
561
|
+
"bulk-delete"
|
|
553
562
|
],
|
|
554
563
|
"type": "string",
|
|
555
564
|
"format": ""
|
|
@@ -852,6 +861,9 @@
|
|
|
852
861
|
"isSystemField": {
|
|
853
862
|
"type": "boolean"
|
|
854
863
|
},
|
|
864
|
+
"isLocalized": {
|
|
865
|
+
"type": "boolean"
|
|
866
|
+
},
|
|
855
867
|
"order": {
|
|
856
868
|
"type": "integer",
|
|
857
869
|
"format": "int32",
|
|
@@ -884,7 +896,9 @@
|
|
|
884
896
|
"startswith",
|
|
885
897
|
"endswith",
|
|
886
898
|
"istartswith",
|
|
887
|
-
"iendswith"
|
|
899
|
+
"iendswith",
|
|
900
|
+
"isnull",
|
|
901
|
+
"isnotnull"
|
|
888
902
|
],
|
|
889
903
|
"type": "string",
|
|
890
904
|
"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
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"name"
|
|
5
|
+
],
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "uuid"
|
|
11
|
+
},
|
|
12
|
+
"name": {
|
|
13
|
+
"maxLength": 255,
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"nullable": true
|
|
20
|
+
},
|
|
21
|
+
"language": {
|
|
22
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionLanguage"
|
|
23
|
+
},
|
|
24
|
+
"provider": {
|
|
25
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider"
|
|
26
|
+
},
|
|
27
|
+
"runtimeId": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "uuid",
|
|
30
|
+
"nullable": true
|
|
31
|
+
},
|
|
32
|
+
"sourceKind": {
|
|
33
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionSourceKind"
|
|
34
|
+
},
|
|
35
|
+
"code": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"nullable": true
|
|
38
|
+
},
|
|
39
|
+
"entrypoint": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"nullable": true
|
|
42
|
+
},
|
|
43
|
+
"parameterDtoId": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"format": "uuid",
|
|
46
|
+
"nullable": true
|
|
47
|
+
},
|
|
48
|
+
"parameterBehavior": {
|
|
49
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior"
|
|
50
|
+
},
|
|
51
|
+
"returnDtoId": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"format": "uuid",
|
|
54
|
+
"nullable": true
|
|
55
|
+
},
|
|
56
|
+
"returnBehavior": {
|
|
57
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior"
|
|
58
|
+
},
|
|
59
|
+
"timeoutSeconds": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"format": "int32"
|
|
62
|
+
},
|
|
63
|
+
"memoryMb": {
|
|
64
|
+
"maximum": 3008,
|
|
65
|
+
"minimum": 128,
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"format": "int32"
|
|
68
|
+
},
|
|
69
|
+
"environmentVariables": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"additionalProperties": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"nullable": true
|
|
74
|
+
},
|
|
75
|
+
"nullable": true
|
|
76
|
+
},
|
|
77
|
+
"publish": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
},
|
|
83
|
+
"components": {
|
|
84
|
+
"schemas": {
|
|
85
|
+
"NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionLanguage": {
|
|
86
|
+
"enum": [
|
|
87
|
+
"node",
|
|
88
|
+
"python"
|
|
89
|
+
],
|
|
90
|
+
"type": "string",
|
|
91
|
+
"format": ""
|
|
92
|
+
},
|
|
93
|
+
"NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider": {
|
|
94
|
+
"enum": [
|
|
95
|
+
"built-in",
|
|
96
|
+
"aws-lambda",
|
|
97
|
+
"azure-functions"
|
|
98
|
+
],
|
|
99
|
+
"type": "string",
|
|
100
|
+
"format": ""
|
|
101
|
+
},
|
|
102
|
+
"NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionSourceKind": {
|
|
103
|
+
"enum": [
|
|
104
|
+
"inline",
|
|
105
|
+
"archive"
|
|
106
|
+
],
|
|
107
|
+
"type": "string",
|
|
108
|
+
"format": ""
|
|
109
|
+
},
|
|
110
|
+
"NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior": {
|
|
111
|
+
"enum": [
|
|
112
|
+
"primitive",
|
|
113
|
+
"object",
|
|
114
|
+
"array"
|
|
115
|
+
],
|
|
116
|
+
"type": "string",
|
|
117
|
+
"format": ""
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": {
|
|
3
|
+
"required": [
|
|
4
|
+
"accessKeyId",
|
|
5
|
+
"name",
|
|
6
|
+
"region"
|
|
7
|
+
],
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"id": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"format": "uuid"
|
|
13
|
+
},
|
|
14
|
+
"name": {
|
|
15
|
+
"maxLength": 255,
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"provider": {
|
|
20
|
+
"$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider"
|
|
21
|
+
},
|
|
22
|
+
"region": {
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"accessKeyId": {
|
|
27
|
+
"minLength": 1,
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"secretAccessKey": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"nullable": true
|
|
33
|
+
},
|
|
34
|
+
"roleArn": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"nullable": true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
},
|
|
41
|
+
"components": {
|
|
42
|
+
"schemas": {
|
|
43
|
+
"NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider": {
|
|
44
|
+
"enum": [
|
|
45
|
+
"built-in",
|
|
46
|
+
"aws-lambda",
|
|
47
|
+
"azure-functions"
|
|
48
|
+
],
|
|
49
|
+
"type": "string",
|
|
50
|
+
"format": ""
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -123,6 +123,9 @@
|
|
|
123
123
|
"cronExpression": {
|
|
124
124
|
"type": "string",
|
|
125
125
|
"nullable": true
|
|
126
|
+
},
|
|
127
|
+
"schedule": {
|
|
128
|
+
"$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleDefinition"
|
|
126
129
|
}
|
|
127
130
|
},
|
|
128
131
|
"additionalProperties": false
|
|
@@ -245,6 +248,58 @@
|
|
|
245
248
|
},
|
|
246
249
|
"additionalProperties": false
|
|
247
250
|
},
|
|
251
|
+
"NgApps.Infrastructure.Scheduler.ScheduleDefinition": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"properties": {
|
|
254
|
+
"mode": {
|
|
255
|
+
"$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleMode"
|
|
256
|
+
},
|
|
257
|
+
"timeZoneId": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"nullable": true
|
|
260
|
+
},
|
|
261
|
+
"startAt": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"format": "date-time",
|
|
264
|
+
"nullable": true
|
|
265
|
+
},
|
|
266
|
+
"every": {
|
|
267
|
+
"type": "integer",
|
|
268
|
+
"format": "int32",
|
|
269
|
+
"nullable": true
|
|
270
|
+
},
|
|
271
|
+
"unit": {
|
|
272
|
+
"$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleIntervalUnit"
|
|
273
|
+
},
|
|
274
|
+
"timeOfDay": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"nullable": true
|
|
277
|
+
},
|
|
278
|
+
"daysOfWeek": {
|
|
279
|
+
"type": "array",
|
|
280
|
+
"items": {
|
|
281
|
+
"$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleWeekday"
|
|
282
|
+
},
|
|
283
|
+
"nullable": true
|
|
284
|
+
},
|
|
285
|
+
"daysOfMonth": {
|
|
286
|
+
"type": "array",
|
|
287
|
+
"items": {
|
|
288
|
+
"type": "integer",
|
|
289
|
+
"format": "int32"
|
|
290
|
+
},
|
|
291
|
+
"nullable": true
|
|
292
|
+
},
|
|
293
|
+
"cronExpression": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"nullable": true
|
|
296
|
+
},
|
|
297
|
+
"end": {
|
|
298
|
+
"$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleEnd"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"additionalProperties": false
|
|
302
|
+
},
|
|
248
303
|
"NgApps.Domain.Contexts.Studio.Microservices.MicroserviceTableOperation": {
|
|
249
304
|
"enum": [
|
|
250
305
|
"create",
|
|
@@ -252,7 +307,10 @@
|
|
|
252
307
|
"get",
|
|
253
308
|
"delete",
|
|
254
309
|
"upsert",
|
|
255
|
-
"count"
|
|
310
|
+
"count",
|
|
311
|
+
"bulk-create",
|
|
312
|
+
"bulk-update",
|
|
313
|
+
"bulk-delete"
|
|
256
314
|
],
|
|
257
315
|
"type": "string",
|
|
258
316
|
"format": ""
|
|
@@ -476,6 +534,58 @@
|
|
|
476
534
|
"type": "string",
|
|
477
535
|
"format": ""
|
|
478
536
|
},
|
|
537
|
+
"NgApps.Infrastructure.Scheduler.ScheduleMode": {
|
|
538
|
+
"enum": [
|
|
539
|
+
"cron",
|
|
540
|
+
"interval",
|
|
541
|
+
"once"
|
|
542
|
+
],
|
|
543
|
+
"type": "string",
|
|
544
|
+
"format": ""
|
|
545
|
+
},
|
|
546
|
+
"NgApps.Infrastructure.Scheduler.ScheduleIntervalUnit": {
|
|
547
|
+
"enum": [
|
|
548
|
+
"minute",
|
|
549
|
+
"hour",
|
|
550
|
+
"day",
|
|
551
|
+
"week",
|
|
552
|
+
"month"
|
|
553
|
+
],
|
|
554
|
+
"type": "string",
|
|
555
|
+
"format": ""
|
|
556
|
+
},
|
|
557
|
+
"NgApps.Infrastructure.Scheduler.ScheduleWeekday": {
|
|
558
|
+
"enum": [
|
|
559
|
+
"monday",
|
|
560
|
+
"tuesday",
|
|
561
|
+
"wednesday",
|
|
562
|
+
"thursday",
|
|
563
|
+
"friday",
|
|
564
|
+
"saturday",
|
|
565
|
+
"sunday"
|
|
566
|
+
],
|
|
567
|
+
"type": "string",
|
|
568
|
+
"format": ""
|
|
569
|
+
},
|
|
570
|
+
"NgApps.Infrastructure.Scheduler.ScheduleEnd": {
|
|
571
|
+
"type": "object",
|
|
572
|
+
"properties": {
|
|
573
|
+
"type": {
|
|
574
|
+
"$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleEndType"
|
|
575
|
+
},
|
|
576
|
+
"at": {
|
|
577
|
+
"type": "string",
|
|
578
|
+
"format": "date-time",
|
|
579
|
+
"nullable": true
|
|
580
|
+
},
|
|
581
|
+
"count": {
|
|
582
|
+
"type": "integer",
|
|
583
|
+
"format": "int32",
|
|
584
|
+
"nullable": true
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
"additionalProperties": false
|
|
588
|
+
},
|
|
479
589
|
"NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
|
|
480
590
|
"enum": [
|
|
481
591
|
"eq",
|
|
@@ -491,7 +601,9 @@
|
|
|
491
601
|
"startswith",
|
|
492
602
|
"endswith",
|
|
493
603
|
"istartswith",
|
|
494
|
-
"iendswith"
|
|
604
|
+
"iendswith",
|
|
605
|
+
"isnull",
|
|
606
|
+
"isnotnull"
|
|
495
607
|
],
|
|
496
608
|
"type": "string",
|
|
497
609
|
"format": ""
|
|
@@ -531,6 +643,15 @@
|
|
|
531
643
|
],
|
|
532
644
|
"type": "string",
|
|
533
645
|
"format": ""
|
|
646
|
+
},
|
|
647
|
+
"NgApps.Infrastructure.Scheduler.ScheduleEndType": {
|
|
648
|
+
"enum": [
|
|
649
|
+
"never",
|
|
650
|
+
"on",
|
|
651
|
+
"after"
|
|
652
|
+
],
|
|
653
|
+
"type": "string",
|
|
654
|
+
"format": ""
|
|
534
655
|
}
|
|
535
656
|
}
|
|
536
657
|
}
|
|
@@ -216,7 +216,8 @@
|
|
|
216
216
|
"table",
|
|
217
217
|
"convert",
|
|
218
218
|
"revert",
|
|
219
|
-
"set-user"
|
|
219
|
+
"set-user",
|
|
220
|
+
"microfunction"
|
|
220
221
|
],
|
|
221
222
|
"type": "string",
|
|
222
223
|
"format": ""
|
|
@@ -316,6 +317,11 @@
|
|
|
316
317
|
"type": "string",
|
|
317
318
|
"nullable": true
|
|
318
319
|
},
|
|
320
|
+
"microfunctionId": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"format": "uuid",
|
|
323
|
+
"nullable": true
|
|
324
|
+
},
|
|
319
325
|
"queryId": {
|
|
320
326
|
"type": "string",
|
|
321
327
|
"format": "uuid",
|
|
@@ -799,7 +805,10 @@
|
|
|
799
805
|
"get",
|
|
800
806
|
"delete",
|
|
801
807
|
"upsert",
|
|
802
|
-
"count"
|
|
808
|
+
"count",
|
|
809
|
+
"bulk-create",
|
|
810
|
+
"bulk-update",
|
|
811
|
+
"bulk-delete"
|
|
803
812
|
],
|
|
804
813
|
"type": "string",
|
|
805
814
|
"format": ""
|
|
@@ -1093,6 +1102,9 @@
|
|
|
1093
1102
|
"isSystemField": {
|
|
1094
1103
|
"type": "boolean"
|
|
1095
1104
|
},
|
|
1105
|
+
"isLocalized": {
|
|
1106
|
+
"type": "boolean"
|
|
1107
|
+
},
|
|
1096
1108
|
"order": {
|
|
1097
1109
|
"type": "integer",
|
|
1098
1110
|
"format": "int32",
|
|
@@ -1371,7 +1383,9 @@
|
|
|
1371
1383
|
"startswith",
|
|
1372
1384
|
"endswith",
|
|
1373
1385
|
"istartswith",
|
|
1374
|
-
"iendswith"
|
|
1386
|
+
"iendswith",
|
|
1387
|
+
"isnull",
|
|
1388
|
+
"isnotnull"
|
|
1375
1389
|
],
|
|
1376
1390
|
"type": "string",
|
|
1377
1391
|
"format": ""
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { registerMicroserviceTools } from './tools/microservices.js';
|
|
3
|
+
import { registerMicrofunctionTools } from './tools/microfunctions.js';
|
|
3
4
|
import { registerApplicationTools } from './tools/applications.js';
|
|
4
5
|
import { registerDeploymentTools } from './tools/deployments.js';
|
|
5
6
|
import { registerDatasourceTools } from './tools/datasources.js';
|
|
@@ -18,17 +19,23 @@ import { registerKnowledgeResources } from './resources/knowledge.js';
|
|
|
18
19
|
import { registerSchemaResources } from './resources/schemas.js';
|
|
19
20
|
import { registerRuleResources } from './resources/rules.js';
|
|
20
21
|
import { instrumentServer } from './observability/trace.js';
|
|
22
|
+
import { rejectUnknownArguments } from './platform/strictArguments.js';
|
|
21
23
|
import { registerProjectTools } from './tools/projects.js';
|
|
22
24
|
import { registerEntityTools } from './tools/entities.js';
|
|
23
25
|
import { registerDependencyTools } from './tools/dependencies.js';
|
|
24
|
-
import { registerGlobalFunctionTools } from './tools/globalFunctions.js';
|
|
25
26
|
import { registerVariableTools } from './tools/variables.js';
|
|
27
|
+
import { registerFunctionTools } from './tools/functions.js';
|
|
26
28
|
import { registerFolderTools } from './tools/folders.js';
|
|
27
29
|
import { registerQueryTools } from './tools/queries.js';
|
|
28
30
|
import { registerViewTools } from './tools/views.js';
|
|
29
31
|
import { registerPageTools } from './tools/pages.js';
|
|
30
32
|
import { registerFileTools } from './tools/files.js';
|
|
31
33
|
import { registerRowTools } from './tools/rows.js';
|
|
34
|
+
import { registerImportTools } from './tools/imports.js';
|
|
35
|
+
import { registerEnvironmentTools } from './tools/environments.js';
|
|
36
|
+
import { registerMergeTools } from './tools/merges.js';
|
|
37
|
+
import { registerRevisionTools } from './tools/revisions.js';
|
|
38
|
+
import { registerActivityTools } from './tools/activities.js';
|
|
32
39
|
import { registerDtoTools } from './tools/dtos.js';
|
|
33
40
|
const moduleRegistrations = {
|
|
34
41
|
platform: registerPlatformTools,
|
|
@@ -37,7 +44,9 @@ const moduleRegistrations = {
|
|
|
37
44
|
datasource: registerDatasourceTools,
|
|
38
45
|
entity: registerEntityTools,
|
|
39
46
|
row: registerRowTools,
|
|
47
|
+
import: registerImportTools,
|
|
40
48
|
microservice: registerMicroserviceTools,
|
|
49
|
+
microfunction: registerMicrofunctionTools,
|
|
41
50
|
query: registerQueryTools,
|
|
42
51
|
workflow: registerWorkflowTools,
|
|
43
52
|
automation: registerAutomationTools,
|
|
@@ -49,7 +58,7 @@ const moduleRegistrations = {
|
|
|
49
58
|
flow: registerFlowTools,
|
|
50
59
|
layout: registerLayoutTools,
|
|
51
60
|
variable: registerVariableTools,
|
|
52
|
-
|
|
61
|
+
function: registerFunctionTools,
|
|
53
62
|
folder: registerFolderTools,
|
|
54
63
|
file: registerFileTools,
|
|
55
64
|
access: registerAccessTools,
|
|
@@ -57,10 +66,14 @@ const moduleRegistrations = {
|
|
|
57
66
|
template: registerTemplateTools,
|
|
58
67
|
organization: registerOrganizationTools,
|
|
59
68
|
dependency: registerDependencyTools,
|
|
60
|
-
deployment: registerDeploymentTools
|
|
69
|
+
deployment: registerDeploymentTools,
|
|
70
|
+
environment: registerEnvironmentTools,
|
|
71
|
+
merge: registerMergeTools,
|
|
72
|
+
activity: registerActivityTools,
|
|
73
|
+
revision: registerRevisionTools
|
|
61
74
|
};
|
|
62
75
|
export function createGatewayServer(platform) {
|
|
63
|
-
const server = instrumentServer(new McpServer({ name: 'ngapps', version: '0.1.0' }), platform.config);
|
|
76
|
+
const server = rejectUnknownArguments(instrumentServer(new McpServer({ name: 'ngapps', version: '0.1.0' }), platform.config));
|
|
64
77
|
for (const moduleName of platform.config.modules) {
|
|
65
78
|
moduleRegistrations[moduleName](server, platform);
|
|
66
79
|
}
|