@acorex-platform/module-application-management-server 0.0.15

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 (157) hide show
  1. package/contracts/src/entities/app-term/app-term.entity.d.ts +2 -0
  2. package/contracts/src/entities/app-term/app-term.entity.js +470 -0
  3. package/contracts/src/entities/app-term/app-term.entity.js.map +1 -0
  4. package/contracts/src/entities/app-term/app-term.types.d.ts +22 -0
  5. package/contracts/src/entities/app-term/app-term.types.js +3 -0
  6. package/contracts/src/entities/app-term/app-term.types.js.map +1 -0
  7. package/contracts/src/entities/app-term/index.d.ts +2 -0
  8. package/contracts/src/entities/app-term/index.js +6 -0
  9. package/contracts/src/entities/app-term/index.js.map +1 -0
  10. package/contracts/src/entities/app-version/app-version.entity.d.ts +2 -0
  11. package/contracts/src/entities/app-version/app-version.entity.js +324 -0
  12. package/contracts/src/entities/app-version/app-version.entity.js.map +1 -0
  13. package/contracts/src/entities/app-version/app-version.types.d.ts +12 -0
  14. package/contracts/src/entities/app-version/app-version.types.js +3 -0
  15. package/contracts/src/entities/app-version/app-version.types.js.map +1 -0
  16. package/contracts/src/entities/app-version/index.d.ts +2 -0
  17. package/contracts/src/entities/app-version/index.js +6 -0
  18. package/contracts/src/entities/app-version/index.js.map +1 -0
  19. package/contracts/src/entities/application/application.entity.d.ts +2 -0
  20. package/contracts/src/entities/application/application.entity.js +887 -0
  21. package/contracts/src/entities/application/application.entity.js.map +1 -0
  22. package/contracts/src/entities/application/application.types.d.ts +24 -0
  23. package/contracts/src/entities/application/application.types.js +3 -0
  24. package/contracts/src/entities/application/application.types.js.map +1 -0
  25. package/contracts/src/entities/application/index.d.ts +2 -0
  26. package/contracts/src/entities/application/index.js +6 -0
  27. package/contracts/src/entities/application/index.js.map +1 -0
  28. package/contracts/src/entities/edition/edition.entity.d.ts +2 -0
  29. package/contracts/src/entities/edition/edition.entity.js +281 -0
  30. package/contracts/src/entities/edition/edition.entity.js.map +1 -0
  31. package/contracts/src/entities/edition/edition.types.d.ts +13 -0
  32. package/contracts/src/entities/edition/edition.types.js +3 -0
  33. package/contracts/src/entities/edition/edition.types.js.map +1 -0
  34. package/contracts/src/entities/edition/index.d.ts +2 -0
  35. package/contracts/src/entities/edition/index.js +6 -0
  36. package/contracts/src/entities/edition/index.js.map +1 -0
  37. package/contracts/src/entities/index.d.ts +4 -0
  38. package/contracts/src/entities/index.js +8 -0
  39. package/contracts/src/entities/index.js.map +1 -0
  40. package/contracts/src/features.keys.d.ts +1 -0
  41. package/contracts/src/features.keys.js +6 -0
  42. package/contracts/src/features.keys.js.map +1 -0
  43. package/contracts/src/index.d.ts +10 -0
  44. package/contracts/src/index.js +13 -0
  45. package/contracts/src/index.js.map +1 -0
  46. package/contracts/src/menu.keys.d.ts +9 -0
  47. package/contracts/src/menu.keys.js +13 -0
  48. package/contracts/src/menu.keys.js.map +1 -0
  49. package/contracts/src/permission.keys.d.ts +8 -0
  50. package/contracts/src/permission.keys.js +12 -0
  51. package/contracts/src/permission.keys.js.map +1 -0
  52. package/contracts/src/root-config.d.ts +45 -0
  53. package/contracts/src/root-config.js +51 -0
  54. package/contracts/src/root-config.js.map +1 -0
  55. package/contracts/src/settings.keys.d.ts +12 -0
  56. package/contracts/src/settings.keys.js +26 -0
  57. package/contracts/src/settings.keys.js.map +1 -0
  58. package/package.json +27 -0
  59. package/src/index.d.ts +5 -0
  60. package/src/index.js +13 -0
  61. package/src/index.js.map +1 -0
  62. package/src/lib/application-management-server.module.d.ts +2 -0
  63. package/src/lib/application-management-server.module.js +32 -0
  64. package/src/lib/application-management-server.module.js.map +1 -0
  65. package/src/lib/handlers/application-report.handlers.d.ts +14 -0
  66. package/src/lib/handlers/application-report.handlers.js +40 -0
  67. package/src/lib/handlers/application-report.handlers.js.map +1 -0
  68. package/src/lib/queries/application-query.helpers.d.ts +8 -0
  69. package/src/lib/queries/application-query.helpers.js +46 -0
  70. package/src/lib/queries/application-query.helpers.js.map +1 -0
  71. package/src/lib/queries/get-application-versions-chart-data.query.d.ts +3 -0
  72. package/src/lib/queries/get-application-versions-chart-data.query.js +51 -0
  73. package/src/lib/queries/get-application-versions-chart-data.query.js.map +1 -0
  74. package/src/lib/queries/get-application-versions-timeline.query.d.ts +3 -0
  75. package/src/lib/queries/get-application-versions-timeline.query.js +59 -0
  76. package/src/lib/queries/get-application-versions-timeline.query.js.map +1 -0
  77. package/src/lib/reports/application-report-definition.provider.d.ts +4 -0
  78. package/src/lib/reports/application-report-definition.provider.js +18 -0
  79. package/src/lib/reports/application-report-definition.provider.js.map +1 -0
  80. package/src/lib/reports/application-report.definitions.d.ts +8 -0
  81. package/src/lib/reports/application-report.definitions.js +97 -0
  82. package/src/lib/reports/application-report.definitions.js.map +1 -0
  83. package/src/lib/seed/app-term/app-term.mock.data.d.ts +2 -0
  84. package/src/lib/seed/app-term/app-term.mock.data.js +296 -0
  85. package/src/lib/seed/app-term/app-term.mock.data.js.map +1 -0
  86. package/src/lib/seed/app-term/app-term.seed.d.ts +5 -0
  87. package/src/lib/seed/app-term/app-term.seed.js +31 -0
  88. package/src/lib/seed/app-term/app-term.seed.js.map +1 -0
  89. package/src/lib/seed/app-term/index.d.ts +2 -0
  90. package/src/lib/seed/app-term/index.js +6 -0
  91. package/src/lib/seed/app-term/index.js.map +1 -0
  92. package/src/lib/seed/app-version/app-version.mock.data.d.ts +8 -0
  93. package/src/lib/seed/app-version/app-version.mock.data.js +105 -0
  94. package/src/lib/seed/app-version/app-version.mock.data.js.map +1 -0
  95. package/src/lib/seed/app-version/app-version.seed.d.ts +6 -0
  96. package/src/lib/seed/app-version/app-version.seed.js +34 -0
  97. package/src/lib/seed/app-version/app-version.seed.js.map +1 -0
  98. package/src/lib/seed/app-version/index.d.ts +2 -0
  99. package/src/lib/seed/app-version/index.js +6 -0
  100. package/src/lib/seed/app-version/index.js.map +1 -0
  101. package/src/lib/seed/application/application.mock.d.ts +2 -0
  102. package/src/lib/seed/application/application.mock.js +27 -0
  103. package/src/lib/seed/application/application.mock.js.map +1 -0
  104. package/src/lib/seed/application/application.seed.d.ts +5 -0
  105. package/src/lib/seed/application/application.seed.js +31 -0
  106. package/src/lib/seed/application/application.seed.js.map +1 -0
  107. package/src/lib/seed/application/demo-application-logo-url.util.d.ts +1 -0
  108. package/src/lib/seed/application/demo-application-logo-url.util.js +20 -0
  109. package/src/lib/seed/application/demo-application-logo-url.util.js.map +1 -0
  110. package/src/lib/seed/application/index.d.ts +2 -0
  111. package/src/lib/seed/application/index.js +6 -0
  112. package/src/lib/seed/application/index.js.map +1 -0
  113. package/src/lib/seed/application-category/application-category.mock.d.ts +16 -0
  114. package/src/lib/seed/application-category/application-category.mock.js +78 -0
  115. package/src/lib/seed/application-category/application-category.mock.js.map +1 -0
  116. package/src/lib/seed/application-category/application-category.seed.d.ts +6 -0
  117. package/src/lib/seed/application-category/application-category.seed.js +32 -0
  118. package/src/lib/seed/application-category/application-category.seed.js.map +1 -0
  119. package/src/lib/seed/application-category/index.d.ts +2 -0
  120. package/src/lib/seed/application-category/index.js +6 -0
  121. package/src/lib/seed/application-category/index.js.map +1 -0
  122. package/src/lib/seed/application-management-jql.seed-catalog.d.ts +3 -0
  123. package/src/lib/seed/application-management-jql.seed-catalog.js +22 -0
  124. package/src/lib/seed/application-management-jql.seed-catalog.js.map +1 -0
  125. package/src/lib/seed/application-management-seed.provider.d.ts +4 -0
  126. package/src/lib/seed/application-management-seed.provider.js +18 -0
  127. package/src/lib/seed/application-management-seed.provider.js.map +1 -0
  128. package/src/lib/seed/application-management-seed.tokens.d.ts +1 -0
  129. package/src/lib/seed/application-management-seed.tokens.js +7 -0
  130. package/src/lib/seed/application-management-seed.tokens.js.map +1 -0
  131. package/src/lib/seed/application-management.seed-catalog.d.ts +2 -0
  132. package/src/lib/seed/application-management.seed-catalog.js +21 -0
  133. package/src/lib/seed/application-management.seed-catalog.js.map +1 -0
  134. package/src/lib/seed/application-tree-feature-keys.constants.d.ts +40 -0
  135. package/src/lib/seed/application-tree-feature-keys.constants.js +56 -0
  136. package/src/lib/seed/application-tree-feature-keys.constants.js.map +1 -0
  137. package/src/lib/seed/application-tree.data.d.ts +56 -0
  138. package/src/lib/seed/application-tree.data.js +212 -0
  139. package/src/lib/seed/application-tree.data.js.map +1 -0
  140. package/src/lib/seed/edition/edition.mock.d.ts +10 -0
  141. package/src/lib/seed/edition/edition.mock.js +50 -0
  142. package/src/lib/seed/edition/edition.mock.js.map +1 -0
  143. package/src/lib/seed/edition/edition.seed.d.ts +6 -0
  144. package/src/lib/seed/edition/edition.seed.js +32 -0
  145. package/src/lib/seed/edition/edition.seed.js.map +1 -0
  146. package/src/lib/seed/edition/index.d.ts +2 -0
  147. package/src/lib/seed/edition/index.js +6 -0
  148. package/src/lib/seed/edition/index.js.map +1 -0
  149. package/src/lib/seed/index.d.ts +26 -0
  150. package/src/lib/seed/index.js +28 -0
  151. package/src/lib/seed/index.js.map +1 -0
  152. package/src/lib/seed/reports/index.d.ts +1 -0
  153. package/src/lib/seed/reports/index.js +5 -0
  154. package/src/lib/seed/reports/index.js.map +1 -0
  155. package/src/lib/seed/reports/report.mock.d.ts +9 -0
  156. package/src/lib/seed/reports/report.mock.js +306 -0
  157. package/src/lib/seed/reports/report.mock.js.map +1 -0
@@ -0,0 +1,887 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.applicationEntityFactory = applicationEntityFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ //#region ---- Application Entity Factory ----
11
+ function applicationEntityFactory() {
12
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ const i18n = root_config_1.RootConfig.config.i18n + ':applications.entities.application';
14
+ const entityDef = {
15
+ module: root_config_1.RootConfig.module.name,
16
+ name: root_config_1.RootConfig.entities.application.name,
17
+ icon: root_config_1.RootConfig.entities.application.icon,
18
+ title: root_config_1.RootConfig.entities.application.title,
19
+ plugins: [
20
+ { name: 'history' },
21
+ {
22
+ name: 'status',
23
+ options: {
24
+ field: 'statusId',
25
+ definition: 'application-management.status.application',
26
+ },
27
+ },
28
+ {
29
+ name: 'category',
30
+ options: {
31
+ appearance: { icon: true, color: true },
32
+ },
33
+ },
34
+ {
35
+ name: 'color',
36
+ options: {
37
+ group: 'branding',
38
+ }
39
+ },
40
+ ],
41
+ formats: {
42
+ individual: root_config_1.RootConfig.entities.application.title,
43
+ plural: root_config_1.RootConfig.entities.application.titlePlural,
44
+ searchResult: {
45
+ title: '{{ title }}',
46
+ description: root_config_1.RootConfig.module.title,
47
+ },
48
+ },
49
+ relatedEntities: [
50
+ {
51
+ entity: `${root_config_1.RootConfig.module.name}.${root_config_1.RootConfig.entities.edition.name}`,
52
+ title: `@${i18n}.groups.editions`,
53
+ conditions: [{ name: 'id', operator: { type: 'in' }, value: '{{ context.eval("editionIds") }}' }],
54
+ actions: [...(0, entity_1.entityDetailsCrudActions)('editionIds')],
55
+ layout: { type: 'page-list', position: 'after', order: 1 },
56
+ persistence: {
57
+ dataPath: 'editions',
58
+ strategy: 'referenced',
59
+ idField: 'editionIds',
60
+ },
61
+ },
62
+ {
63
+ entity: `${root_config_1.RootConfig.module.name}.${root_config_1.RootConfig.entities.appTerm.name}`,
64
+ title: `@${root_config_1.RootConfig.config.i18n}:app-terms.entities.app-term.plural`,
65
+ icon: root_config_1.RootConfig.entities.appTerm.icon,
66
+ conditions: [{ name: 'applicationId', operator: { type: 'equal' }, value: '{{ context.eval("id") }}' }],
67
+ actions: [...(0, entity_1.entityDetailsCrudActions)('applicationId')],
68
+ layout: { type: 'page-list', position: 'after', order: 2 },
69
+ columns: ['title', 'version', 'effectiveDate'],
70
+ },
71
+ ],
72
+ groups: [
73
+ {
74
+ id: 'basic-info',
75
+ title: `@${i18n}.groups.basic-info`,
76
+ },
77
+ {
78
+ id: 'branding',
79
+ title: `@${i18n}.groups.branding`,
80
+ },
81
+ {
82
+ id: 'links',
83
+ title: `@${i18n}.groups.links`,
84
+ },
85
+ {
86
+ id: 'metadata',
87
+ title: `@${i18n}.groups.metadata`,
88
+ },
89
+ {
90
+ id: 'edition-assignment',
91
+ title: `@${i18n}.groups.edition-assignment`,
92
+ },
93
+ ],
94
+ properties: [
95
+ {
96
+ name: 'code',
97
+ title: `@${i18n}.fields.code.title`,
98
+ groupId: 'basic-info',
99
+ options: {
100
+ sort: {
101
+ enabled: true,
102
+ },
103
+ filter: {
104
+ advance: {
105
+ enabled: true,
106
+ },
107
+ inline: {
108
+ enabled: true,
109
+ },
110
+ },
111
+ },
112
+ schema: {
113
+ dataType: 'string',
114
+ interface: {
115
+ type: core_1.AXPWidgetsCatalog.text,
116
+ },
117
+ },
118
+ },
119
+ {
120
+ name: 'title',
121
+ title: `@${i18n}.fields.title.title`,
122
+ groupId: 'basic-info',
123
+ options: {
124
+ sort: {
125
+ enabled: true,
126
+ },
127
+ filter: {
128
+ advance: {
129
+ enabled: true,
130
+ },
131
+ inline: {
132
+ enabled: false,
133
+ },
134
+ },
135
+ },
136
+ schema: {
137
+ dataType: 'string',
138
+ interface: {
139
+ type: core_1.AXPWidgetsCatalog.text,
140
+ },
141
+ },
142
+ validations: [
143
+ {
144
+ rule: 'required',
145
+ },
146
+ ],
147
+ },
148
+ {
149
+ name: 'description',
150
+ title: `@${i18n}.fields.description.title`,
151
+ groupId: 'basic-info',
152
+ options: {
153
+ sort: {
154
+ enabled: true,
155
+ },
156
+ filter: {
157
+ advance: {
158
+ enabled: true,
159
+ },
160
+ inline: {
161
+ enabled: false,
162
+ },
163
+ },
164
+ },
165
+ schema: {
166
+ dataType: 'string',
167
+ interface: {
168
+ type: core_1.AXPWidgetsCatalog.largeText,
169
+ },
170
+ },
171
+ },
172
+ {
173
+ name: 'version',
174
+ title: `@${i18n}.fields.version.title`,
175
+ groupId: 'basic-info',
176
+ options: {
177
+ sort: {
178
+ enabled: true,
179
+ },
180
+ filter: {
181
+ advance: {
182
+ enabled: true,
183
+ },
184
+ inline: {
185
+ enabled: false,
186
+ },
187
+ },
188
+ },
189
+ schema: {
190
+ dataType: 'string',
191
+ interface: {
192
+ type: core_1.AXPWidgetsCatalog.text,
193
+ },
194
+ },
195
+ },
196
+ {
197
+ name: 'tags',
198
+ title: `@${i18n}.fields.tags.title`,
199
+ groupId: 'basic-info',
200
+ options: {
201
+ sort: {
202
+ enabled: false,
203
+ },
204
+ filter: {
205
+ advance: {
206
+ enabled: true,
207
+ },
208
+ inline: {
209
+ enabled: false,
210
+ },
211
+ },
212
+ },
213
+ schema: {
214
+ dataType: 'string',
215
+ interface: {
216
+ type: core_1.AXPWidgetsCatalog.text,
217
+ },
218
+ },
219
+ },
220
+ {
221
+ name: 'icon',
222
+ title: `@${i18n}.fields.icon.title`,
223
+ groupId: 'branding',
224
+ options: {
225
+ sort: {
226
+ enabled: false,
227
+ },
228
+ filter: {
229
+ advance: {
230
+ enabled: false,
231
+ },
232
+ inline: {
233
+ enabled: false,
234
+ },
235
+ },
236
+ },
237
+ schema: {
238
+ dataType: 'string',
239
+ interface: {
240
+ type: core_1.AXPWidgetsCatalog.iconChooser,
241
+ },
242
+ },
243
+ },
244
+ {
245
+ name: 'logo',
246
+ title: `@${i18n}.fields.logo.title`,
247
+ groupId: 'branding',
248
+ options: {
249
+ sort: {
250
+ enabled: false,
251
+ },
252
+ filter: {
253
+ advance: {
254
+ enabled: false,
255
+ },
256
+ inline: {
257
+ enabled: false,
258
+ },
259
+ },
260
+ },
261
+ schema: {
262
+ dataType: 'string',
263
+ interface: {
264
+ type: core_1.AXPWidgetsCatalog.image,
265
+ },
266
+ },
267
+ },
268
+ {
269
+ name: 'url',
270
+ title: `@${i18n}.fields.url.title`,
271
+ groupId: 'links',
272
+ options: {
273
+ sort: {
274
+ enabled: false,
275
+ },
276
+ filter: {
277
+ advance: {
278
+ enabled: true,
279
+ },
280
+ inline: {
281
+ enabled: false,
282
+ },
283
+ },
284
+ },
285
+ schema: {
286
+ dataType: 'string',
287
+ interface: {
288
+ type: core_1.AXPWidgetsCatalog.text,
289
+ },
290
+ },
291
+ },
292
+ {
293
+ name: 'documentationUrl',
294
+ title: `@${i18n}.fields.documentation-url.title`,
295
+ groupId: 'links',
296
+ options: {
297
+ sort: {
298
+ enabled: false,
299
+ },
300
+ filter: {
301
+ advance: {
302
+ enabled: false,
303
+ },
304
+ inline: {
305
+ enabled: false,
306
+ },
307
+ },
308
+ },
309
+ schema: {
310
+ dataType: 'string',
311
+ interface: {
312
+ type: core_1.AXPWidgetsCatalog.text,
313
+ },
314
+ },
315
+ },
316
+ {
317
+ name: 'supportEmail',
318
+ title: `@${i18n}.fields.support-email.title`,
319
+ groupId: 'links',
320
+ options: {
321
+ sort: {
322
+ enabled: false,
323
+ },
324
+ filter: {
325
+ advance: {
326
+ enabled: true,
327
+ },
328
+ inline: {
329
+ enabled: false,
330
+ },
331
+ },
332
+ },
333
+ schema: {
334
+ dataType: 'string',
335
+ interface: {
336
+ type: core_1.AXPWidgetsCatalog.text,
337
+ },
338
+ },
339
+ },
340
+ {
341
+ name: 'releaseDate',
342
+ title: `@${i18n}.fields.release-date.title`,
343
+ groupId: 'metadata',
344
+ options: {
345
+ sort: {
346
+ enabled: true,
347
+ },
348
+ filter: {
349
+ advance: {
350
+ enabled: true,
351
+ },
352
+ inline: {
353
+ enabled: false,
354
+ },
355
+ },
356
+ },
357
+ schema: {
358
+ dataType: 'date',
359
+ interface: {
360
+ type: core_1.AXPWidgetsCatalog.dateTime,
361
+ },
362
+ },
363
+ },
364
+ {
365
+ name: 'isPublic',
366
+ title: `@${i18n}.fields.is-public.title`,
367
+ groupId: 'metadata',
368
+ options: {
369
+ sort: {
370
+ enabled: true,
371
+ },
372
+ filter: {
373
+ advance: {
374
+ enabled: true,
375
+ },
376
+ inline: {
377
+ enabled: true,
378
+ },
379
+ },
380
+ },
381
+ schema: {
382
+ dataType: 'boolean',
383
+ interface: {
384
+ type: core_1.AXPWidgetsCatalog.toggle,
385
+ },
386
+ },
387
+ },
388
+ ],
389
+ columns: [{ name: 'code' }, { name: 'title' }, { name: 'version' }, { name: 'statusId' }],
390
+ interfaces: {
391
+ master: {
392
+ create: {
393
+ sections: [
394
+ {
395
+ id: 'basic-info',
396
+ },
397
+ {
398
+ id: 'branding',
399
+ },
400
+ {
401
+ id: 'links',
402
+ },
403
+ {
404
+ id: 'metadata',
405
+ },
406
+ ],
407
+ properties: [
408
+ {
409
+ name: 'code',
410
+ layout: {
411
+ positions: {
412
+ lg: {
413
+ colSpan: 6,
414
+ order: 1,
415
+ },
416
+ },
417
+ },
418
+ },
419
+ {
420
+ name: 'title',
421
+ layout: {
422
+ positions: {
423
+ lg: {
424
+ colSpan: 6,
425
+ order: 2,
426
+ },
427
+ },
428
+ },
429
+ },
430
+ {
431
+ name: 'description',
432
+ layout: {
433
+ positions: {
434
+ lg: {
435
+ colSpan: 12,
436
+ order: 3,
437
+ },
438
+ },
439
+ },
440
+ },
441
+ {
442
+ name: 'version',
443
+ layout: {
444
+ positions: {
445
+ lg: {
446
+ colSpan: 4,
447
+ order: 4,
448
+ },
449
+ },
450
+ },
451
+ },
452
+ {
453
+ name: 'tags',
454
+ layout: {
455
+ positions: {
456
+ lg: {
457
+ colSpan: 4,
458
+ order: 5,
459
+ },
460
+ },
461
+ },
462
+ },
463
+ {
464
+ name: 'icon',
465
+ layout: {
466
+ positions: {
467
+ lg: {
468
+ colSpan: 6,
469
+ order: 7,
470
+ },
471
+ },
472
+ },
473
+ },
474
+ {
475
+ name: 'logo',
476
+ layout: {
477
+ positions: {
478
+ lg: {
479
+ colSpan: 6,
480
+ order: 8,
481
+ },
482
+ },
483
+ },
484
+ },
485
+ {
486
+ name: 'url',
487
+ layout: {
488
+ positions: {
489
+ lg: {
490
+ colSpan: 12,
491
+ order: 9,
492
+ },
493
+ },
494
+ },
495
+ },
496
+ {
497
+ name: 'documentationUrl',
498
+ layout: {
499
+ positions: {
500
+ lg: {
501
+ colSpan: 6,
502
+ order: 10,
503
+ },
504
+ },
505
+ },
506
+ },
507
+ {
508
+ name: 'supportEmail',
509
+ layout: {
510
+ positions: {
511
+ lg: {
512
+ colSpan: 6,
513
+ order: 11,
514
+ },
515
+ },
516
+ },
517
+ },
518
+ {
519
+ name: 'releaseDate',
520
+ layout: {
521
+ positions: {
522
+ lg: {
523
+ colSpan: 6,
524
+ order: 12,
525
+ },
526
+ },
527
+ },
528
+ },
529
+ {
530
+ name: 'isPublic',
531
+ layout: {
532
+ positions: {
533
+ lg: {
534
+ colSpan: 6,
535
+ order: 13,
536
+ },
537
+ },
538
+ },
539
+ },
540
+ ],
541
+ },
542
+ update: {
543
+ sections: [
544
+ {
545
+ id: 'basic-info',
546
+ },
547
+ {
548
+ id: 'branding',
549
+ },
550
+ {
551
+ id: 'links',
552
+ },
553
+ {
554
+ id: 'metadata',
555
+ },
556
+ ],
557
+ properties: [
558
+ {
559
+ name: 'code',
560
+ layout: {
561
+ positions: {
562
+ lg: {
563
+ colSpan: 6,
564
+ order: 1,
565
+ },
566
+ },
567
+ },
568
+ },
569
+ {
570
+ name: 'title',
571
+ layout: {
572
+ positions: {
573
+ lg: {
574
+ colSpan: 6,
575
+ order: 2,
576
+ },
577
+ },
578
+ },
579
+ },
580
+ {
581
+ name: 'description',
582
+ layout: {
583
+ positions: {
584
+ lg: {
585
+ colSpan: 12,
586
+ order: 3,
587
+ },
588
+ },
589
+ },
590
+ },
591
+ {
592
+ name: 'version',
593
+ layout: {
594
+ positions: {
595
+ lg: {
596
+ colSpan: 4,
597
+ order: 4,
598
+ },
599
+ },
600
+ },
601
+ },
602
+ {
603
+ name: 'tags',
604
+ layout: {
605
+ positions: {
606
+ lg: {
607
+ colSpan: 4,
608
+ order: 5,
609
+ },
610
+ },
611
+ },
612
+ },
613
+ {
614
+ name: 'icon',
615
+ layout: {
616
+ positions: {
617
+ lg: {
618
+ colSpan: 6,
619
+ order: 7,
620
+ },
621
+ },
622
+ },
623
+ },
624
+ {
625
+ name: 'logo',
626
+ layout: {
627
+ positions: {
628
+ lg: {
629
+ colSpan: 6,
630
+ order: 8,
631
+ },
632
+ },
633
+ },
634
+ },
635
+ {
636
+ name: 'url',
637
+ layout: {
638
+ positions: {
639
+ lg: {
640
+ colSpan: 12,
641
+ order: 9,
642
+ },
643
+ },
644
+ },
645
+ },
646
+ {
647
+ name: 'documentationUrl',
648
+ layout: {
649
+ positions: {
650
+ lg: {
651
+ colSpan: 6,
652
+ order: 10,
653
+ },
654
+ },
655
+ },
656
+ },
657
+ {
658
+ name: 'supportEmail',
659
+ layout: {
660
+ positions: {
661
+ lg: {
662
+ colSpan: 6,
663
+ order: 11,
664
+ },
665
+ },
666
+ },
667
+ },
668
+ {
669
+ name: 'releaseDate',
670
+ layout: {
671
+ positions: {
672
+ lg: {
673
+ colSpan: 6,
674
+ order: 12,
675
+ },
676
+ },
677
+ },
678
+ },
679
+ {
680
+ name: 'isPublic',
681
+ layout: {
682
+ positions: {
683
+ lg: {
684
+ colSpan: 6,
685
+ order: 13,
686
+ },
687
+ },
688
+ },
689
+ },
690
+ ],
691
+ },
692
+ single: {
693
+ title: '{{title}}',
694
+ sections: [
695
+ {
696
+ id: 'basic-info',
697
+ layout: {
698
+ positions: {
699
+ lg: {
700
+ colSpan: 12,
701
+ },
702
+ },
703
+ },
704
+ },
705
+ {
706
+ id: 'branding',
707
+ layout: {
708
+ positions: {
709
+ lg: {
710
+ colSpan: 12,
711
+ },
712
+ },
713
+ },
714
+ },
715
+ {
716
+ id: 'links',
717
+ layout: {
718
+ positions: {
719
+ lg: {
720
+ colSpan: 12,
721
+ },
722
+ },
723
+ },
724
+ },
725
+ {
726
+ id: 'metadata',
727
+ layout: {
728
+ positions: {
729
+ lg: {
730
+ colSpan: 12,
731
+ },
732
+ },
733
+ },
734
+ },
735
+ ],
736
+ properties: [
737
+ {
738
+ name: 'code',
739
+ layout: {
740
+ positions: {
741
+ lg: {
742
+ colSpan: 6,
743
+ order: 1,
744
+ },
745
+ },
746
+ },
747
+ },
748
+ {
749
+ name: 'title',
750
+ layout: {
751
+ positions: {
752
+ lg: {
753
+ colSpan: 6,
754
+ order: 2,
755
+ },
756
+ },
757
+ },
758
+ },
759
+ {
760
+ name: 'description',
761
+ layout: {
762
+ positions: {
763
+ lg: {
764
+ colSpan: 12,
765
+ order: 3,
766
+ },
767
+ },
768
+ },
769
+ },
770
+ {
771
+ name: 'version',
772
+ layout: {
773
+ positions: {
774
+ lg: {
775
+ colSpan: 4,
776
+ order: 4,
777
+ },
778
+ },
779
+ },
780
+ },
781
+ {
782
+ name: 'tags',
783
+ layout: {
784
+ positions: {
785
+ lg: {
786
+ colSpan: 4,
787
+ order: 5,
788
+ },
789
+ },
790
+ },
791
+ },
792
+ {
793
+ name: 'icon',
794
+ layout: {
795
+ positions: {
796
+ lg: {
797
+ colSpan: 6,
798
+ order: 7,
799
+ },
800
+ },
801
+ },
802
+ },
803
+ {
804
+ name: 'logo',
805
+ layout: {
806
+ positions: {
807
+ lg: {
808
+ colSpan: 6,
809
+ order: 8,
810
+ },
811
+ },
812
+ },
813
+ },
814
+ {
815
+ name: 'url',
816
+ layout: {
817
+ positions: {
818
+ lg: {
819
+ colSpan: 12,
820
+ order: 9,
821
+ },
822
+ },
823
+ },
824
+ },
825
+ {
826
+ name: 'documentationUrl',
827
+ layout: {
828
+ positions: {
829
+ lg: {
830
+ colSpan: 6,
831
+ order: 10,
832
+ },
833
+ },
834
+ },
835
+ },
836
+ {
837
+ name: 'supportEmail',
838
+ layout: {
839
+ positions: {
840
+ lg: {
841
+ colSpan: 6,
842
+ order: 11,
843
+ },
844
+ },
845
+ },
846
+ },
847
+ {
848
+ name: 'releaseDate',
849
+ layout: {
850
+ positions: {
851
+ lg: {
852
+ colSpan: 6,
853
+ order: 12,
854
+ },
855
+ },
856
+ },
857
+ },
858
+ {
859
+ name: 'isPublic',
860
+ layout: {
861
+ positions: {
862
+ lg: {
863
+ colSpan: 6,
864
+ order: 13,
865
+ },
866
+ },
867
+ },
868
+ },
869
+ ],
870
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
871
+ },
872
+ list: {
873
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
874
+ views: [
875
+ (0, entity_1.createAllQueryView)({
876
+ sorts: [{ name: 'title', dir: 'asc' }],
877
+ }),
878
+ ],
879
+ },
880
+ },
881
+ },
882
+ };
883
+ return entityDef;
884
+ });
885
+ }
886
+ //#endregion
887
+ //# sourceMappingURL=application.entity.js.map