@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.
Files changed (145) hide show
  1. package/.env.example +2 -2
  2. package/.env.production.example +9 -1
  3. package/README.md +14 -38
  4. package/dist/config.js +36 -3
  5. package/dist/knowledge/backendConstraints.js +982 -0
  6. package/dist/knowledge/componentCatalog.js +549 -92
  7. package/dist/knowledge/componentEvents.js +120 -25
  8. package/dist/knowledge/coverage.js +43 -0
  9. package/dist/knowledge/flowGuards.js +30 -0
  10. package/dist/knowledge/functionGuards.js +134 -0
  11. package/dist/knowledge/guideSections.js +49 -0
  12. package/dist/knowledge/hydrate.js +97 -0
  13. package/dist/knowledge/languageCodes.js +36 -0
  14. package/dist/knowledge/languages.js +105 -0
  15. package/dist/knowledge/layoutSummary.js +10 -0
  16. package/dist/knowledge/localization.js +51 -0
  17. package/dist/knowledge/normalize.js +500 -16
  18. package/dist/knowledge/outlines.js +167 -12
  19. package/dist/knowledge/policy.js +14 -5
  20. package/dist/knowledge/propTypes.js +80 -0
  21. package/dist/knowledge/rules.js +961 -44
  22. package/dist/knowledge/schemaGuard.js +199 -0
  23. package/dist/knowledge/styleResolve.js +63 -4
  24. package/dist/observability/trace.js +27 -3
  25. package/dist/platform/csv.js +123 -0
  26. package/dist/platform/errors.js +107 -6
  27. package/dist/platform/http.js +34 -4
  28. package/dist/platform/patch.js +27 -0
  29. package/dist/platform/refs.js +104 -0
  30. package/dist/platform/responses.js +25 -6
  31. package/dist/platform/screenshot.js +544 -16
  32. package/dist/platform/secrets.js +40 -0
  33. package/dist/platform/tokenVault.js +89 -0
  34. package/dist/platform/writeDiff.js +281 -0
  35. package/dist/resources/examples/flow-call-function.json +66 -0
  36. package/dist/resources/examples/function-total.json +70 -0
  37. package/dist/resources/examples/layout-app-shell.json +1 -1
  38. package/dist/resources/examples/microfunction-node-sum.json +56 -0
  39. package/dist/resources/examples/microservice-table-list.json +2 -4
  40. package/dist/resources/examples/page-dynamic-form.json +3 -3
  41. package/dist/resources/examples/page-flex-sections.json +99 -0
  42. package/dist/resources/examples/page-sign-in.json +4 -3
  43. package/dist/resources/guides/component.md +81 -8
  44. package/dist/resources/guides/entity.md +712 -20
  45. package/dist/resources/guides/expressions.md +47 -2
  46. package/dist/resources/guides/external-component.md +9 -0
  47. package/dist/resources/guides/functions.md +262 -0
  48. package/dist/resources/guides/getting-started.md +82 -7
  49. package/dist/resources/guides/layout.md +53 -10
  50. package/dist/resources/guides/merge.md +231 -0
  51. package/dist/resources/guides/microfunction.md +166 -0
  52. package/dist/resources/guides/microservice.md +287 -15
  53. package/dist/resources/guides/middleware.md +89 -1
  54. package/dist/resources/guides/modify-existing.md +23 -0
  55. package/dist/resources/guides/page.md +402 -49
  56. package/dist/resources/guides/translation.md +150 -8
  57. package/dist/resources/guides/view.md +16 -1
  58. package/dist/resources/guides/workflow.md +199 -28
  59. package/dist/resources/knowledge.js +5 -0
  60. package/dist/resources/rules.js +27 -0
  61. package/dist/resources/schema-fingerprint.json +8 -0
  62. package/dist/resources/schemas/AnalyzeImportQuery.json +51 -0
  63. package/dist/resources/schemas/ApplyMergePlanCommand.json +19 -0
  64. package/dist/resources/schemas/CreateBulkRowCommand.json +36 -0
  65. package/dist/resources/schemas/CreateDatasourceCommand.json +15 -6
  66. package/dist/resources/schemas/CreateDiscoveredEntitiesCommand.json +19 -8
  67. package/dist/resources/schemas/CreateEntityCommand.json +52 -12
  68. package/dist/resources/schemas/CreateEnvironmentCommand.json +31 -0
  69. package/dist/resources/schemas/CreateGlobalFunctionCommand.json +95 -0
  70. package/dist/resources/schemas/CreateImportPlanCommand.json +278 -0
  71. package/dist/resources/schemas/CreateMergePlanCommand.json +34 -0
  72. package/dist/resources/schemas/CreateMicrofunctionCommand.json +117 -0
  73. package/dist/resources/schemas/CreateMicrofunctionRuntimeCommand.json +51 -0
  74. package/dist/resources/schemas/CreateMicroserviceCommand.json +145 -3
  75. package/dist/resources/schemas/CreateQueryCommand.json +56 -3
  76. package/dist/resources/schemas/CreateRowCommand.json +38 -0
  77. package/dist/resources/schemas/CreateViewCommand.json +13 -10
  78. package/dist/resources/schemas/CreateWorkflowCommand.json +106 -14
  79. package/dist/resources/schemas/DataJobDto.json +267 -0
  80. package/dist/resources/schemas/ExportRowsCommand.json +172 -0
  81. package/dist/resources/schemas/Filter.json +3 -1
  82. package/dist/resources/schemas/GetRowsQuery.json +6 -1
  83. package/dist/resources/schemas/GlobalFunctionDto.json +89 -0
  84. package/dist/resources/schemas/GlobalFunctionUpdateResultDto.json +249 -0
  85. package/dist/resources/schemas/ImportAnalysisDto.json +401 -0
  86. package/dist/resources/schemas/ImportPlanDto.json +260 -0
  87. package/dist/resources/schemas/ImportSampleDto.json +90 -0
  88. package/dist/resources/schemas/InvokeMicrofunctionCommand.json +25 -0
  89. package/dist/resources/schemas/PreviewMicroserviceCommand.json +135 -1
  90. package/dist/resources/schemas/PreviewQueryCommand.json +5 -2
  91. package/dist/resources/schemas/PreviewWorkflowCommand.json +45 -9
  92. package/dist/resources/schemas/ResolveMergeConflictsCommand.json +58 -0
  93. package/dist/resources/schemas/RevertMergePlanCommand.json +19 -0
  94. package/dist/resources/schemas/RunImportCommand.json +62 -0
  95. package/dist/resources/schemas/StepDto.json +34 -3
  96. package/dist/resources/schemas/UpdateBulkRowCommand.json +36 -0
  97. package/dist/resources/schemas/UpdateDatasourceCommand.json +15 -6
  98. package/dist/resources/schemas/UpdateEntityCommand.json +52 -11
  99. package/dist/resources/schemas/UpdateGlobalFunctionCommand.json +66 -0
  100. package/dist/resources/schemas/UpdateMicrofunctionCommand.json +121 -0
  101. package/dist/resources/schemas/UpdateMicrofunctionRuntimeCommand.json +54 -0
  102. package/dist/resources/schemas/UpdateMicroserviceCommand.json +147 -4
  103. package/dist/resources/schemas/UpdateQueryCommand.json +13 -3
  104. package/dist/resources/schemas/UpdateRowCommand.json +40 -0
  105. package/dist/resources/schemas/UpdateViewCommand.json +15 -10
  106. package/dist/resources/schemas/UpdateWorkflowCommand.json +106 -14
  107. package/dist/server.js +17 -1
  108. package/dist/tools/access.js +3 -3
  109. package/dist/tools/activities.js +40 -0
  110. package/dist/tools/applications.js +1 -1
  111. package/dist/tools/automations.js +76 -34
  112. package/dist/tools/common.js +55 -0
  113. package/dist/tools/components.js +16 -7
  114. package/dist/tools/datasources.js +83 -21
  115. package/dist/tools/dependencies.js +1 -1
  116. package/dist/tools/deployments.js +34 -2
  117. package/dist/tools/dtos.js +25 -12
  118. package/dist/tools/entities.js +113 -28
  119. package/dist/tools/environments.js +52 -0
  120. package/dist/tools/externalComponents.js +9 -3
  121. package/dist/tools/files.js +57 -42
  122. package/dist/tools/flows.js +205 -13
  123. package/dist/tools/folders.js +7 -2
  124. package/dist/tools/functions.js +331 -0
  125. package/dist/tools/globalFunctions.js +63 -0
  126. package/dist/tools/importSchemas.js +79 -0
  127. package/dist/tools/imports.js +241 -0
  128. package/dist/tools/layouts.js +103 -29
  129. package/dist/tools/merges.js +113 -0
  130. package/dist/tools/microfunctions.js +155 -0
  131. package/dist/tools/microservices.js +270 -40
  132. package/dist/tools/organizations.js +5 -6
  133. package/dist/tools/pages.js +421 -104
  134. package/dist/tools/platformInfo.js +155 -11
  135. package/dist/tools/projects.js +183 -33
  136. package/dist/tools/queries.js +32 -10
  137. package/dist/tools/revisions.js +94 -0
  138. package/dist/tools/rows.js +484 -50
  139. package/dist/tools/screenWrite.js +68 -0
  140. package/dist/tools/screens.js +28 -0
  141. package/dist/tools/templates.js +32 -5
  142. package/dist/tools/translations.js +24 -8
  143. package/dist/tools/views.js +20 -10
  144. package/dist/tools/workflows.js +56 -21
  145. package/package.json +7 -2
@@ -0,0 +1,278 @@
1
+ {
2
+ "schema": {
3
+ "required": [
4
+ "fileId",
5
+ "tables"
6
+ ],
7
+ "type": "object",
8
+ "properties": {
9
+ "datasourceId": {
10
+ "type": "string",
11
+ "format": "uuid"
12
+ },
13
+ "fileId": {
14
+ "minLength": 1,
15
+ "type": "string",
16
+ "format": "uuid"
17
+ },
18
+ "locale": {
19
+ "type": "string",
20
+ "nullable": true
21
+ },
22
+ "headerRow": {
23
+ "minimum": 0,
24
+ "type": "integer",
25
+ "format": "int32",
26
+ "nullable": true
27
+ },
28
+ "csv": {
29
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportCsvOptionsDto"
30
+ },
31
+ "errorPolicy": {
32
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Imports.ImportErrorPolicy"
33
+ },
34
+ "tables": {
35
+ "minItems": 1,
36
+ "type": "array",
37
+ "items": {
38
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportTableChoiceDto"
39
+ }
40
+ }
41
+ },
42
+ "additionalProperties": false
43
+ },
44
+ "components": {
45
+ "schemas": {
46
+ "NgApps.Application.Contexts.Datastore.Imports.ImportCsvOptionsDto": {
47
+ "type": "object",
48
+ "properties": {
49
+ "delimiter": {
50
+ "type": "string",
51
+ "nullable": true
52
+ },
53
+ "encoding": {
54
+ "type": "string",
55
+ "nullable": true
56
+ }
57
+ },
58
+ "additionalProperties": false
59
+ },
60
+ "NgApps.Domain.Contexts.Datastore.Imports.ImportErrorPolicy": {
61
+ "enum": [
62
+ "skip-rows",
63
+ "all-or-nothing"
64
+ ],
65
+ "type": "string",
66
+ "format": ""
67
+ },
68
+ "NgApps.Application.Contexts.Datastore.Imports.ImportTableChoiceDto": {
69
+ "required": [
70
+ "columns",
71
+ "sheetKey",
72
+ "target"
73
+ ],
74
+ "type": "object",
75
+ "properties": {
76
+ "sheetKey": {
77
+ "minLength": 1,
78
+ "type": "string"
79
+ },
80
+ "mode": {
81
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Imports.ImportMode"
82
+ },
83
+ "target": {
84
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportTargetDto"
85
+ },
86
+ "keyField": {
87
+ "type": "string",
88
+ "nullable": true
89
+ },
90
+ "emptyCellPolicy": {
91
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Imports.ImportEmptyCellPolicy"
92
+ },
93
+ "columns": {
94
+ "minItems": 1,
95
+ "type": "array",
96
+ "items": {
97
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportColumnChoiceDto"
98
+ }
99
+ }
100
+ },
101
+ "additionalProperties": false
102
+ },
103
+ "NgApps.Domain.Contexts.Datastore.Imports.ImportMode": {
104
+ "enum": [
105
+ "create",
106
+ "append",
107
+ "upsert",
108
+ "update"
109
+ ],
110
+ "type": "string",
111
+ "format": ""
112
+ },
113
+ "NgApps.Application.Contexts.Datastore.Imports.ImportTargetDto": {
114
+ "type": "object",
115
+ "properties": {
116
+ "entityId": {
117
+ "type": "string",
118
+ "format": "uuid",
119
+ "nullable": true
120
+ },
121
+ "name": {
122
+ "type": "string",
123
+ "nullable": true
124
+ },
125
+ "slug": {
126
+ "type": "string",
127
+ "nullable": true
128
+ }
129
+ },
130
+ "additionalProperties": false
131
+ },
132
+ "NgApps.Domain.Contexts.Datastore.Imports.ImportEmptyCellPolicy": {
133
+ "enum": [
134
+ "keep",
135
+ "clear"
136
+ ],
137
+ "type": "string",
138
+ "format": ""
139
+ },
140
+ "NgApps.Application.Contexts.Datastore.Imports.ImportColumnChoiceDto": {
141
+ "type": "object",
142
+ "properties": {
143
+ "index": {
144
+ "type": "integer",
145
+ "format": "int32"
146
+ },
147
+ "include": {
148
+ "type": "boolean"
149
+ },
150
+ "field": {
151
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportFieldDto"
152
+ },
153
+ "existingFieldSlug": {
154
+ "type": "string",
155
+ "nullable": true
156
+ },
157
+ "relation": {
158
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportRelationDto"
159
+ },
160
+ "language": {
161
+ "type": "string",
162
+ "nullable": true
163
+ }
164
+ },
165
+ "additionalProperties": false
166
+ },
167
+ "NgApps.Application.Contexts.Datastore.Imports.ImportFieldDto": {
168
+ "type": "object",
169
+ "properties": {
170
+ "slug": {
171
+ "type": "string",
172
+ "nullable": true
173
+ },
174
+ "name": {
175
+ "type": "string",
176
+ "nullable": true
177
+ },
178
+ "commonType": {
179
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Entities.CommonFieldType"
180
+ },
181
+ "dbType": {
182
+ "type": "string",
183
+ "nullable": true
184
+ },
185
+ "nullable": {
186
+ "type": "boolean"
187
+ },
188
+ "unique": {
189
+ "type": "boolean"
190
+ },
191
+ "display": {
192
+ "type": "boolean"
193
+ }
194
+ },
195
+ "additionalProperties": false
196
+ },
197
+ "NgApps.Application.Contexts.Datastore.Imports.ImportRelationDto": {
198
+ "type": "object",
199
+ "properties": {
200
+ "targetEntityId": {
201
+ "type": "string",
202
+ "format": "uuid",
203
+ "nullable": true
204
+ },
205
+ "newTable": {
206
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportNewTableDto"
207
+ },
208
+ "matchField": {
209
+ "type": "string",
210
+ "nullable": true
211
+ },
212
+ "unmatched": {
213
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Imports.ImportUnmatchedPolicy"
214
+ },
215
+ "delimiter": {
216
+ "type": "string",
217
+ "nullable": true
218
+ },
219
+ "parentColumnIndex": {
220
+ "type": "integer",
221
+ "format": "int32",
222
+ "nullable": true
223
+ },
224
+ "parentTable": {
225
+ "$ref": "#/components/schemas/NgApps.Application.Contexts.Datastore.Imports.ImportNewTableDto"
226
+ },
227
+ "many": {
228
+ "type": "boolean"
229
+ }
230
+ },
231
+ "additionalProperties": false
232
+ },
233
+ "NgApps.Domain.Contexts.Datastore.Entities.CommonFieldType": {
234
+ "enum": [
235
+ "text",
236
+ "number",
237
+ "bool",
238
+ "date",
239
+ "time",
240
+ "datetime",
241
+ "guid",
242
+ "float",
243
+ "relation",
244
+ "custom",
245
+ "object",
246
+ "array",
247
+ "file",
248
+ "incremental"
249
+ ],
250
+ "type": "string",
251
+ "format": ""
252
+ },
253
+ "NgApps.Application.Contexts.Datastore.Imports.ImportNewTableDto": {
254
+ "type": "object",
255
+ "properties": {
256
+ "name": {
257
+ "type": "string",
258
+ "nullable": true
259
+ },
260
+ "slug": {
261
+ "type": "string",
262
+ "nullable": true
263
+ }
264
+ },
265
+ "additionalProperties": false
266
+ },
267
+ "NgApps.Domain.Contexts.Datastore.Imports.ImportUnmatchedPolicy": {
268
+ "enum": [
269
+ "error",
270
+ "create",
271
+ "blank"
272
+ ],
273
+ "type": "string",
274
+ "format": ""
275
+ }
276
+ }
277
+ }
278
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "schema": {
3
+ "required": [
4
+ "sourceEnvironmentId",
5
+ "title"
6
+ ],
7
+ "type": "object",
8
+ "properties": {
9
+ "projectId": {
10
+ "type": "string",
11
+ "format": "uuid"
12
+ },
13
+ "sourceEnvironmentId": {
14
+ "minLength": 1,
15
+ "type": "string",
16
+ "format": "uuid"
17
+ },
18
+ "title": {
19
+ "maxLength": 100,
20
+ "minLength": 1,
21
+ "type": "string"
22
+ },
23
+ "description": {
24
+ "maxLength": 2000,
25
+ "type": "string",
26
+ "nullable": true
27
+ }
28
+ },
29
+ "additionalProperties": false
30
+ },
31
+ "components": {
32
+ "schemas": {}
33
+ }
34
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "schema": {
3
+ "required": [
4
+ "name"
5
+ ],
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "maxLength": 255,
10
+ "minLength": 1,
11
+ "type": "string"
12
+ },
13
+ "description": {
14
+ "type": "string",
15
+ "nullable": true
16
+ },
17
+ "language": {
18
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionLanguage"
19
+ },
20
+ "provider": {
21
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider"
22
+ },
23
+ "runtimeId": {
24
+ "type": "string",
25
+ "format": "uuid",
26
+ "nullable": true
27
+ },
28
+ "sourceKind": {
29
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionSourceKind"
30
+ },
31
+ "code": {
32
+ "type": "string",
33
+ "nullable": true
34
+ },
35
+ "entrypoint": {
36
+ "type": "string",
37
+ "nullable": true
38
+ },
39
+ "parameterDtoId": {
40
+ "type": "string",
41
+ "format": "uuid",
42
+ "nullable": true
43
+ },
44
+ "parameterBehavior": {
45
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior"
46
+ },
47
+ "returnDtoId": {
48
+ "type": "string",
49
+ "format": "uuid",
50
+ "nullable": true
51
+ },
52
+ "returnBehavior": {
53
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior"
54
+ },
55
+ "timeoutSeconds": {
56
+ "type": "integer",
57
+ "format": "int32"
58
+ },
59
+ "memoryMb": {
60
+ "maximum": 3008,
61
+ "minimum": 128,
62
+ "type": "integer",
63
+ "format": "int32"
64
+ },
65
+ "environmentVariables": {
66
+ "type": "object",
67
+ "additionalProperties": {
68
+ "type": "string",
69
+ "nullable": true
70
+ },
71
+ "nullable": true
72
+ },
73
+ "publish": {
74
+ "type": "boolean"
75
+ }
76
+ },
77
+ "additionalProperties": false
78
+ },
79
+ "components": {
80
+ "schemas": {
81
+ "NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionLanguage": {
82
+ "enum": [
83
+ "node",
84
+ "python"
85
+ ],
86
+ "type": "string",
87
+ "format": ""
88
+ },
89
+ "NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider": {
90
+ "enum": [
91
+ "built-in",
92
+ "aws-lambda",
93
+ "azure-functions"
94
+ ],
95
+ "type": "string",
96
+ "format": ""
97
+ },
98
+ "NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionSourceKind": {
99
+ "enum": [
100
+ "inline",
101
+ "archive"
102
+ ],
103
+ "type": "string",
104
+ "format": ""
105
+ },
106
+ "NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior": {
107
+ "enum": [
108
+ "primitive",
109
+ "object",
110
+ "array"
111
+ ],
112
+ "type": "string",
113
+ "format": ""
114
+ }
115
+ }
116
+ }
117
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "schema": {
3
+ "required": [
4
+ "accessKeyId",
5
+ "name",
6
+ "region",
7
+ "secretAccessKey"
8
+ ],
9
+ "type": "object",
10
+ "properties": {
11
+ "name": {
12
+ "maxLength": 255,
13
+ "minLength": 1,
14
+ "type": "string"
15
+ },
16
+ "provider": {
17
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider"
18
+ },
19
+ "region": {
20
+ "minLength": 1,
21
+ "type": "string"
22
+ },
23
+ "accessKeyId": {
24
+ "minLength": 1,
25
+ "type": "string"
26
+ },
27
+ "secretAccessKey": {
28
+ "minLength": 1,
29
+ "type": "string"
30
+ },
31
+ "roleArn": {
32
+ "type": "string",
33
+ "nullable": true
34
+ }
35
+ },
36
+ "additionalProperties": false
37
+ },
38
+ "components": {
39
+ "schemas": {
40
+ "NgApps.Domain.Contexts.Studio.Microfunctions.MicrofunctionProvider": {
41
+ "enum": [
42
+ "built-in",
43
+ "aws-lambda",
44
+ "azure-functions"
45
+ ],
46
+ "type": "string",
47
+ "format": ""
48
+ }
49
+ }
50
+ }
51
+ }
@@ -1,5 +1,9 @@
1
1
  {
2
2
  "schema": {
3
+ "required": [
4
+ "name",
5
+ "url"
6
+ ],
3
7
  "type": "object",
4
8
  "properties": {
5
9
  "id": {
@@ -7,6 +11,14 @@
7
11
  "format": "uuid"
8
12
  },
9
13
  "name": {
14
+ "minLength": 1,
15
+ "type": "string"
16
+ },
17
+ "description": {
18
+ "type": "string",
19
+ "nullable": true
20
+ },
21
+ "caution": {
10
22
  "type": "string",
11
23
  "nullable": true
12
24
  },
@@ -38,8 +50,8 @@
38
50
  "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.Dtos.MicroserviceTypeSchema"
39
51
  },
40
52
  "url": {
41
- "type": "string",
42
- "nullable": true
53
+ "minLength": 1,
54
+ "type": "string"
43
55
  },
44
56
  "source": {
45
57
  "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceSource"
@@ -126,6 +138,9 @@
126
138
  "cronExpression": {
127
139
  "type": "string",
128
140
  "nullable": true
141
+ },
142
+ "schedule": {
143
+ "$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleDefinition"
129
144
  }
130
145
  },
131
146
  "additionalProperties": false
@@ -248,6 +263,58 @@
248
263
  },
249
264
  "additionalProperties": false
250
265
  },
266
+ "NgApps.Infrastructure.Scheduler.ScheduleDefinition": {
267
+ "type": "object",
268
+ "properties": {
269
+ "mode": {
270
+ "$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleMode"
271
+ },
272
+ "timeZoneId": {
273
+ "type": "string",
274
+ "nullable": true
275
+ },
276
+ "startAt": {
277
+ "type": "string",
278
+ "format": "date-time",
279
+ "nullable": true
280
+ },
281
+ "every": {
282
+ "type": "integer",
283
+ "format": "int32",
284
+ "nullable": true
285
+ },
286
+ "unit": {
287
+ "$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleIntervalUnit"
288
+ },
289
+ "timeOfDay": {
290
+ "type": "string",
291
+ "nullable": true
292
+ },
293
+ "daysOfWeek": {
294
+ "type": "array",
295
+ "items": {
296
+ "$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleWeekday"
297
+ },
298
+ "nullable": true
299
+ },
300
+ "daysOfMonth": {
301
+ "type": "array",
302
+ "items": {
303
+ "type": "integer",
304
+ "format": "int32"
305
+ },
306
+ "nullable": true
307
+ },
308
+ "cronExpression": {
309
+ "type": "string",
310
+ "nullable": true
311
+ },
312
+ "end": {
313
+ "$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleEnd"
314
+ }
315
+ },
316
+ "additionalProperties": false
317
+ },
251
318
  "NgApps.Domain.Contexts.Studio.Microservices.MicroserviceTableOperation": {
252
319
  "enum": [
253
320
  "create",
@@ -380,6 +447,9 @@
380
447
  "order": {
381
448
  "type": "integer",
382
449
  "format": "int32"
450
+ },
451
+ "writeOn": {
452
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
383
453
  }
384
454
  },
385
455
  "additionalProperties": false
@@ -476,6 +546,58 @@
476
546
  "type": "string",
477
547
  "format": ""
478
548
  },
549
+ "NgApps.Infrastructure.Scheduler.ScheduleMode": {
550
+ "enum": [
551
+ "cron",
552
+ "interval",
553
+ "once"
554
+ ],
555
+ "type": "string",
556
+ "format": ""
557
+ },
558
+ "NgApps.Infrastructure.Scheduler.ScheduleIntervalUnit": {
559
+ "enum": [
560
+ "minute",
561
+ "hour",
562
+ "day",
563
+ "week",
564
+ "month"
565
+ ],
566
+ "type": "string",
567
+ "format": ""
568
+ },
569
+ "NgApps.Infrastructure.Scheduler.ScheduleWeekday": {
570
+ "enum": [
571
+ "monday",
572
+ "tuesday",
573
+ "wednesday",
574
+ "thursday",
575
+ "friday",
576
+ "saturday",
577
+ "sunday"
578
+ ],
579
+ "type": "string",
580
+ "format": ""
581
+ },
582
+ "NgApps.Infrastructure.Scheduler.ScheduleEnd": {
583
+ "type": "object",
584
+ "properties": {
585
+ "type": {
586
+ "$ref": "#/components/schemas/NgApps.Infrastructure.Scheduler.ScheduleEndType"
587
+ },
588
+ "at": {
589
+ "type": "string",
590
+ "format": "date-time",
591
+ "nullable": true
592
+ },
593
+ "count": {
594
+ "type": "integer",
595
+ "format": "int32",
596
+ "nullable": true
597
+ }
598
+ },
599
+ "additionalProperties": false
600
+ },
479
601
  "NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
480
602
  "enum": [
481
603
  "eq",
@@ -491,7 +613,9 @@
491
613
  "startswith",
492
614
  "endswith",
493
615
  "istartswith",
494
- "iendswith"
616
+ "iendswith",
617
+ "isnull",
618
+ "isnotnull"
495
619
  ],
496
620
  "type": "string",
497
621
  "format": ""
@@ -522,6 +646,24 @@
522
646
  ],
523
647
  "type": "string",
524
648
  "format": ""
649
+ },
650
+ "NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
651
+ "enum": [
652
+ "always",
653
+ "create",
654
+ "update"
655
+ ],
656
+ "type": "string",
657
+ "format": ""
658
+ },
659
+ "NgApps.Infrastructure.Scheduler.ScheduleEndType": {
660
+ "enum": [
661
+ "never",
662
+ "on",
663
+ "after"
664
+ ],
665
+ "type": "string",
666
+ "format": ""
525
667
  }
526
668
  }
527
669
  }