@appaflytech/zeyrek-ai-mcp 0.0.4 → 0.0.6

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 (101) hide show
  1. package/.env.example +8 -3
  2. package/.env.production.example +2 -0
  3. package/README.md +229 -193
  4. package/dist/config.js +20 -2
  5. package/dist/knowledge/backendConstraints.js +897 -0
  6. package/dist/knowledge/componentCatalog.js +196 -42
  7. package/dist/knowledge/coverage.js +43 -0
  8. package/dist/knowledge/flowGuards.js +30 -0
  9. package/dist/knowledge/guideSections.js +49 -0
  10. package/dist/knowledge/hydrate.js +97 -0
  11. package/dist/knowledge/languageCodes.js +36 -0
  12. package/dist/knowledge/languages.js +105 -0
  13. package/dist/knowledge/layoutSummary.js +10 -0
  14. package/dist/knowledge/localization.js +51 -0
  15. package/dist/knowledge/normalize.js +449 -16
  16. package/dist/knowledge/outlines.js +136 -12
  17. package/dist/knowledge/propTypes.js +80 -0
  18. package/dist/knowledge/rules.js +618 -43
  19. package/dist/knowledge/schemaGuard.js +199 -0
  20. package/dist/knowledge/styleResolve.js +63 -4
  21. package/dist/observability/trace.js +27 -3
  22. package/dist/platform/errors.js +46 -4
  23. package/dist/platform/http.js +33 -4
  24. package/dist/platform/patch.js +27 -0
  25. package/dist/platform/refs.js +104 -0
  26. package/dist/platform/responses.js +9 -2
  27. package/dist/platform/screenshot.js +527 -16
  28. package/dist/platform/secrets.js +40 -0
  29. package/dist/platform/tokenVault.js +89 -0
  30. package/dist/platform/writeDiff.js +281 -0
  31. package/dist/resources/examples/layout-app-shell.json +1 -1
  32. package/dist/resources/examples/microservice-table-list.json +2 -4
  33. package/dist/resources/examples/page-dynamic-form.json +2 -2
  34. package/dist/resources/examples/page-flex-sections.json +99 -0
  35. package/dist/resources/examples/page-sign-in.json +3 -2
  36. package/dist/resources/guides/component.md +69 -8
  37. package/dist/resources/guides/entity.md +404 -16
  38. package/dist/resources/guides/expressions.md +44 -2
  39. package/dist/resources/guides/external-component.md +9 -0
  40. package/dist/resources/guides/getting-started.md +77 -7
  41. package/dist/resources/guides/layout.md +53 -10
  42. package/dist/resources/guides/microservice.md +226 -13
  43. package/dist/resources/guides/middleware.md +89 -1
  44. package/dist/resources/guides/page.md +383 -46
  45. package/dist/resources/guides/translation.md +126 -8
  46. package/dist/resources/guides/view.md +16 -1
  47. package/dist/resources/guides/workflow.md +198 -27
  48. package/dist/resources/knowledge.js +5 -0
  49. package/dist/resources/rules.js +27 -0
  50. package/dist/resources/schema-fingerprint.json +8 -0
  51. package/dist/resources/schemas/CreateBulkRowCommand.json +33 -0
  52. package/dist/resources/schemas/CreateDatasourceCommand.json +15 -6
  53. package/dist/resources/schemas/CreateDiscoveredEntitiesCommand.json +19 -8
  54. package/dist/resources/schemas/CreateEntityCommand.json +52 -12
  55. package/dist/resources/schemas/CreateMicroserviceCommand.json +26 -2
  56. package/dist/resources/schemas/CreateQueryCommand.json +56 -3
  57. package/dist/resources/schemas/CreateRowCommand.json +38 -0
  58. package/dist/resources/schemas/CreateViewCommand.json +13 -10
  59. package/dist/resources/schemas/CreateWorkflowCommand.json +95 -14
  60. package/dist/resources/schemas/GetRowsQuery.json +3 -0
  61. package/dist/resources/schemas/PreviewMicroserviceCommand.json +16 -0
  62. package/dist/resources/schemas/PreviewQueryCommand.json +5 -2
  63. package/dist/resources/schemas/PreviewWorkflowCommand.json +34 -9
  64. package/dist/resources/schemas/StepDto.json +23 -3
  65. package/dist/resources/schemas/UpdateBulkRowCommand.json +33 -0
  66. package/dist/resources/schemas/UpdateDatasourceCommand.json +15 -6
  67. package/dist/resources/schemas/UpdateEntityCommand.json +49 -10
  68. package/dist/resources/schemas/UpdateMicroserviceCommand.json +28 -3
  69. package/dist/resources/schemas/UpdateQueryCommand.json +13 -3
  70. package/dist/resources/schemas/UpdateRowCommand.json +40 -0
  71. package/dist/resources/schemas/UpdateViewCommand.json +15 -10
  72. package/dist/resources/schemas/UpdateWorkflowCommand.json +95 -14
  73. package/dist/server.js +4 -0
  74. package/dist/tools/access.js +3 -3
  75. package/dist/tools/applications.js +1 -1
  76. package/dist/tools/automations.js +63 -30
  77. package/dist/tools/common.js +39 -0
  78. package/dist/tools/components.js +16 -7
  79. package/dist/tools/datasources.js +83 -21
  80. package/dist/tools/deployments.js +34 -2
  81. package/dist/tools/dtos.js +25 -12
  82. package/dist/tools/entities.js +113 -28
  83. package/dist/tools/externalComponents.js +9 -3
  84. package/dist/tools/files.js +20 -6
  85. package/dist/tools/flows.js +110 -11
  86. package/dist/tools/folders.js +7 -2
  87. package/dist/tools/globalFunctions.js +63 -0
  88. package/dist/tools/layouts.js +103 -29
  89. package/dist/tools/microservices.js +229 -38
  90. package/dist/tools/organizations.js +5 -6
  91. package/dist/tools/pages.js +365 -100
  92. package/dist/tools/platformInfo.js +152 -11
  93. package/dist/tools/projects.js +183 -33
  94. package/dist/tools/queries.js +32 -10
  95. package/dist/tools/rows.js +159 -45
  96. package/dist/tools/screenWrite.js +59 -0
  97. package/dist/tools/screens.js +28 -0
  98. package/dist/tools/translations.js +24 -8
  99. package/dist/tools/views.js +20 -10
  100. package/dist/tools/workflows.js +33 -16
  101. package/package.json +6 -3
@@ -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,10 +12,18 @@
7
12
  "format": "uuid"
8
13
  },
9
14
  "slug": {
15
+ "minLength": 1,
16
+ "type": "string"
17
+ },
18
+ "name": {
19
+ "minLength": 1,
20
+ "type": "string"
21
+ },
22
+ "description": {
10
23
  "type": "string",
11
24
  "nullable": true
12
25
  },
13
- "name": {
26
+ "caution": {
14
27
  "type": "string",
15
28
  "nullable": true
16
29
  },
@@ -31,11 +44,11 @@
31
44
  "$ref": "#/components/schemas/NgApps.Domain.Contexts.Shared.DataTransferObjects.DataTransferObjectBehavior"
32
45
  },
33
46
  "steps": {
47
+ "minItems": 1,
34
48
  "type": "array",
35
49
  "items": {
36
50
  "$ref": "#/components/schemas/NgApps.Application.Contexts.Flow.Workflows.StepDto"
37
- },
38
- "nullable": true
51
+ }
39
52
  },
40
53
  "schema": {
41
54
  "nullable": true
@@ -86,6 +99,14 @@
86
99
  "type": "string",
87
100
  "nullable": true
88
101
  },
102
+ "description": {
103
+ "type": "string",
104
+ "nullable": true
105
+ },
106
+ "caution": {
107
+ "type": "string",
108
+ "nullable": true
109
+ },
89
110
  "type": {
90
111
  "$ref": "#/components/schemas/NgApps.Domain.Contexts.Flow.Workflows.StepType"
91
112
  },
@@ -195,8 +216,7 @@
195
216
  "table",
196
217
  "convert",
197
218
  "revert",
198
- "set-user",
199
- "end"
219
+ "set-user"
200
220
  ],
201
221
  "type": "string",
202
222
  "format": ""
@@ -668,6 +688,20 @@
668
688
  "automationCount": {
669
689
  "type": "integer",
670
690
  "format": "int32"
691
+ },
692
+ "version": {
693
+ "type": "integer",
694
+ "format": "int64"
695
+ },
696
+ "localizationEntityId": {
697
+ "type": "string",
698
+ "format": "uuid",
699
+ "nullable": true
700
+ },
701
+ "localizationParentId": {
702
+ "type": "string",
703
+ "format": "uuid",
704
+ "nullable": true
671
705
  }
672
706
  },
673
707
  "additionalProperties": false
@@ -868,6 +902,9 @@
868
902
  "order": {
869
903
  "type": "integer",
870
904
  "format": "int32"
905
+ },
906
+ "writeOn": {
907
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
871
908
  }
872
909
  },
873
910
  "additionalProperties": false
@@ -1012,7 +1049,8 @@
1012
1049
  "enum": [
1013
1050
  "normal",
1014
1051
  "junction",
1015
- "enum-values"
1052
+ "enum-values",
1053
+ "localization"
1016
1054
  ],
1017
1055
  "type": "string",
1018
1056
  "format": ""
@@ -1095,6 +1133,10 @@
1095
1133
  "additionalProperties": false
1096
1134
  },
1097
1135
  "NgApps.Application.Contexts.Datastore.Entities.FieldDto": {
1136
+ "required": [
1137
+ "dbType",
1138
+ "slug"
1139
+ ],
1098
1140
  "type": "object",
1099
1141
  "properties": {
1100
1142
  "id": {
@@ -1102,20 +1144,23 @@
1102
1144
  "format": "uuid"
1103
1145
  },
1104
1146
  "description": {
1147
+ "maxLength": 512,
1105
1148
  "type": "string",
1106
1149
  "nullable": true
1107
1150
  },
1108
1151
  "name": {
1152
+ "maxLength": 50,
1109
1153
  "type": "string",
1110
1154
  "nullable": true
1111
1155
  },
1112
1156
  "slug": {
1113
- "type": "string",
1114
- "nullable": true
1157
+ "minLength": 1,
1158
+ "type": "string"
1115
1159
  },
1116
1160
  "dbType": {
1117
- "type": "string",
1118
- "nullable": true
1161
+ "maxLength": 50,
1162
+ "minLength": 1,
1163
+ "type": "string"
1119
1164
  },
1120
1165
  "primaryKey": {
1121
1166
  "type": "boolean"
@@ -1204,6 +1249,17 @@
1204
1249
  },
1205
1250
  "isSystemField": {
1206
1251
  "type": "boolean"
1252
+ },
1253
+ "isLocalized": {
1254
+ "type": "boolean"
1255
+ },
1256
+ "nameTranslations": {
1257
+ "type": "object",
1258
+ "additionalProperties": {
1259
+ "type": "string",
1260
+ "nullable": true
1261
+ },
1262
+ "nullable": true
1207
1263
  }
1208
1264
  },
1209
1265
  "additionalProperties": false
@@ -1255,6 +1311,10 @@
1255
1311
  "additionalProperties": false
1256
1312
  },
1257
1313
  "NgApps.Application.Contexts.Datastore.Entities.EntityIndexDto": {
1314
+ "required": [
1315
+ "fieldIds",
1316
+ "name"
1317
+ ],
1258
1318
  "type": "object",
1259
1319
  "properties": {
1260
1320
  "id": {
@@ -1262,19 +1322,19 @@
1262
1322
  "format": "uuid"
1263
1323
  },
1264
1324
  "name": {
1265
- "type": "string",
1266
- "nullable": true
1325
+ "minLength": 1,
1326
+ "type": "string"
1267
1327
  },
1268
1328
  "unique": {
1269
1329
  "type": "boolean"
1270
1330
  },
1271
1331
  "fieldIds": {
1332
+ "minItems": 1,
1272
1333
  "type": "array",
1273
1334
  "items": {
1274
1335
  "type": "string",
1275
1336
  "format": "uuid"
1276
- },
1277
- "nullable": true
1337
+ }
1278
1338
  }
1279
1339
  },
1280
1340
  "additionalProperties": false
@@ -1287,6 +1347,15 @@
1287
1347
  "type": "string",
1288
1348
  "format": ""
1289
1349
  },
1350
+ "NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
1351
+ "enum": [
1352
+ "always",
1353
+ "create",
1354
+ "update"
1355
+ ],
1356
+ "type": "string",
1357
+ "format": ""
1358
+ },
1290
1359
  "NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
1291
1360
  "enum": [
1292
1361
  "eq",
@@ -1378,6 +1447,18 @@
1378
1447
  "icon": {
1379
1448
  "type": "string",
1380
1449
  "nullable": true
1450
+ },
1451
+ "order": {
1452
+ "type": "integer",
1453
+ "format": "int32"
1454
+ },
1455
+ "labels": {
1456
+ "type": "object",
1457
+ "additionalProperties": {
1458
+ "type": "string",
1459
+ "nullable": true
1460
+ },
1461
+ "nullable": true
1381
1462
  }
1382
1463
  },
1383
1464
  "additionalProperties": false
@@ -34,6 +34,9 @@
34
34
  "$ref": "#/components/schemas/NgApps.Domain.Contexts.Datastore.Entities.Filter"
35
35
  },
36
36
  "nullable": true
37
+ },
38
+ "includeTranslations": {
39
+ "type": "boolean"
37
40
  }
38
41
  },
39
42
  "additionalProperties": false
@@ -243,6 +243,10 @@
243
243
  },
244
244
  "nullable": true
245
245
  },
246
+ "language": {
247
+ "type": "string",
248
+ "nullable": true
249
+ },
246
250
  "dynamicFilters": {
247
251
  "type": "array",
248
252
  "items": {
@@ -407,6 +411,9 @@
407
411
  "order": {
408
412
  "type": "integer",
409
413
  "format": "int32"
414
+ },
415
+ "writeOn": {
416
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
410
417
  }
411
418
  },
412
419
  "additionalProperties": false
@@ -559,6 +566,15 @@
559
566
  ],
560
567
  "type": "string",
561
568
  "format": ""
569
+ },
570
+ "NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
571
+ "enum": [
572
+ "always",
573
+ "create",
574
+ "update"
575
+ ],
576
+ "type": "string",
577
+ "format": ""
562
578
  }
563
579
  }
564
580
  }
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "schema": {
3
+ "required": [
4
+ "rawQuery"
5
+ ],
3
6
  "type": "object",
4
7
  "properties": {
5
8
  "rawQuery": {
6
- "type": "string",
7
- "nullable": true
9
+ "minLength": 1,
10
+ "type": "string"
8
11
  },
9
12
  "datasourceId": {
10
13
  "type": "string",
@@ -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
- "type": "string",
11
- "nullable": true
15
+ "minLength": 1,
16
+ "type": "string"
12
17
  },
13
18
  "name": {
14
- "type": "string",
15
- "nullable": true
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
  },
@@ -153,8 +166,7 @@
153
166
  "table",
154
167
  "convert",
155
168
  "revert",
156
- "set-user",
157
- "end"
169
+ "set-user"
158
170
  ],
159
171
  "type": "string",
160
172
  "format": ""
@@ -735,6 +747,9 @@
735
747
  "order": {
736
748
  "type": "integer",
737
749
  "format": "int32"
750
+ },
751
+ "writeOn": {
752
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
738
753
  }
739
754
  },
740
755
  "additionalProperties": false
@@ -879,7 +894,8 @@
879
894
  "enum": [
880
895
  "normal",
881
896
  "junction",
882
- "enum-values"
897
+ "enum-values",
898
+ "localization"
883
899
  ],
884
900
  "type": "string",
885
901
  "format": ""
@@ -930,6 +946,15 @@
930
946
  },
931
947
  "additionalProperties": false
932
948
  },
949
+ "NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
950
+ "enum": [
951
+ "always",
952
+ "create",
953
+ "update"
954
+ ],
955
+ "type": "string",
956
+ "format": ""
957
+ },
933
958
  "NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
934
959
  "enum": [
935
960
  "eq",
@@ -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
  },
@@ -63,8 +71,7 @@
63
71
  "table",
64
72
  "convert",
65
73
  "revert",
66
- "set-user",
67
- "end"
74
+ "set-user"
68
75
  ],
69
76
  "type": "string",
70
77
  "format": ""
@@ -645,6 +652,9 @@
645
652
  "order": {
646
653
  "type": "integer",
647
654
  "format": "int32"
655
+ },
656
+ "writeOn": {
657
+ "$ref": "#/components/schemas/NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn"
648
658
  }
649
659
  },
650
660
  "additionalProperties": false
@@ -798,7 +808,8 @@
798
808
  "enum": [
799
809
  "normal",
800
810
  "junction",
801
- "enum-values"
811
+ "enum-values",
812
+ "localization"
802
813
  ],
803
814
  "type": "string",
804
815
  "format": ""
@@ -849,6 +860,15 @@
849
860
  },
850
861
  "additionalProperties": false
851
862
  },
863
+ "NgApps.Domain.Contexts.Studio.Microservices.MicroserviceFieldWriteOn": {
864
+ "enum": [
865
+ "always",
866
+ "create",
867
+ "update"
868
+ ],
869
+ "type": "string",
870
+ "format": ""
871
+ },
852
872
  "NgApps.Domain.Contexts.Datastore.Entities.OperatorType": {
853
873
  "enum": [
854
874
  "eq",
@@ -0,0 +1,33 @@
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
+ },
28
+ "additionalProperties": false
29
+ },
30
+ "components": {
31
+ "schemas": {}
32
+ }
33
+ }
@@ -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
- "type": "string",
11
- "nullable": true
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
- "type": "string",
19
- "nullable": true
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
- "type": "string",
26
- "nullable": true
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
- "type": "string",
11
- "nullable": true
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
- "type": "string",
80
- "nullable": true
90
+ "minLength": 1,
91
+ "type": "string"
81
92
  },
82
93
  "dbType": {
83
- "type": "string",
84
- "nullable": true
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
- "type": "string",
222
- "nullable": true
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