@acorex-platform/module-background-job-management-client 0.0.32 → 0.0.33

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 (24) hide show
  1. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.mjs +262 -0
  2. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.mjs +539 -0
  4. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job.mjs +500 -0
  6. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-BXFhpRfS.mjs +67 -0
  8. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-BXFhpRfS.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-attempt.entity-di_KkFZV.mjs +216 -0
  10. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-attempt.entity-di_KkFZV.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-schedule.entity-q8VKiWJf.mjs +493 -0
  12. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job-schedule.entity-q8VKiWJf.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job.entity-Bz33gUlR.mjs +454 -0
  14. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job.entity-Bz33gUlR.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs +2 -0
  16. package/fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-background-job-management-client-local-entities.mjs +31 -0
  18. package/fesm2022/acorex-platform-module-background-job-management-client-local-entities.mjs.map +1 -0
  19. package/package.json +21 -1
  20. package/types/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.d.ts +5 -0
  21. package/types/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.d.ts +5 -0
  22. package/types/acorex-platform-module-background-job-management-client-contracts-entities-background-job.d.ts +5 -0
  23. package/types/acorex-platform-module-background-job-management-client-contracts-entity-catalog.d.ts +10 -0
  24. package/types/acorex-platform-module-background-job-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,454 @@
1
+ import { AXPWidgetsList, AXPSystemActionType, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { AXPBackgroundJobCommandKeys, AXP_BACKGROUND_JOB_STATUS_DEFINITION_KEY } from '@acorex-platform/framework-shared/background-job';
3
+ import { createAllQueryView, createQueryView, AXPEntityCommandScope, entityMasterBulkDeleteAction, entityMasterDeleteAction, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
4
+ import { R as RootConfig } from './acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-BXFhpRfS.mjs';
5
+
6
+ const BACKGROUND_JOB_SOURCE_COLUMN_WIDGET = 'background-job-source';
7
+
8
+ const I18N = '@background-job-management:jobs.entities.background-job';
9
+ const TRIGGER_ITEMS = [
10
+ { name: 'manual', title: `${I18N}.triggers.manual`, cssClass: 'primary-lighter-surface' },
11
+ { name: 'schedule', title: `${I18N}.triggers.schedule`, cssClass: 'info-lighter-surface' },
12
+ { name: 'event', title: `${I18N}.triggers.event`, cssClass: 'secondary-lighter-surface' },
13
+ { name: 'system', title: `${I18N}.triggers.system`, cssClass: 'lighter-surface' },
14
+ ];
15
+ const READONLY_FIELD = {
16
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
17
+ sort: { enabled: true },
18
+ };
19
+ const READONLY_LIST_FIELD = {
20
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
21
+ sort: { enabled: false },
22
+ };
23
+ const JSON_VIEWER = {
24
+ dataType: 'object',
25
+ readonly: true,
26
+ interface: {
27
+ type: AXPWidgetsList.Advanced.JsonViewer,
28
+ options: { disabled: true },
29
+ },
30
+ };
31
+ const DURATION_SHOW_AS = {
32
+ type: AXPWidgetsList.Editors.TimeDuration,
33
+ options: {
34
+ from: { id: 'minute', title: 'minute' },
35
+ to: { id: 'second', title: 'second' },
36
+ label: false,
37
+ },
38
+ };
39
+ async function factoryBackgroundJob() {
40
+ const entityDef = {
41
+ module: RootConfig.module.name,
42
+ name: RootConfig.entities.backgroundJob.name,
43
+ title: RootConfig.entities.backgroundJob.title,
44
+ icon: RootConfig.entities.backgroundJob.icon,
45
+ parentKey: 'parentJobId',
46
+ plugins: [
47
+ {
48
+ name: 'status',
49
+ options: {
50
+ field: 'status',
51
+ definition: AXP_BACKGROUND_JOB_STATUS_DEFINITION_KEY,
52
+ showInCreate: false,
53
+ readonly: true,
54
+ generate: { views: { enabled: false } },
55
+ },
56
+ },
57
+ ],
58
+ formats: {
59
+ individual: RootConfig.entities.backgroundJob.title,
60
+ plural: RootConfig.entities.backgroundJob.titlePlural,
61
+ searchResult: {
62
+ title: '{{ title }}',
63
+ description: '{{ status }}',
64
+ },
65
+ },
66
+ groups: [
67
+ { id: 'overview', title: `${I18N}.groups.overview` },
68
+ { id: 'execution', title: `${I18N}.groups.execution` },
69
+ { id: 'data', title: `${I18N}.groups.data` },
70
+ ],
71
+ relatedEntities: [
72
+ {
73
+ entity: `${RootConfig.module.name}.${RootConfig.entities.backgroundJobAttempt.name}`,
74
+ title: `${I18N}.related-entities.attempts.title`,
75
+ columns: ['attemptNumber', 'trigger', 'status', 'startedAt', 'durationMs'],
76
+ conditions: [{ name: 'jobId', operator: { type: 'equal' }, value: '{{ context.eval("id") }}' }],
77
+ actions: [
78
+ {
79
+ title: '@general:actions.view.title',
80
+ command: { name: 'Entity:View' },
81
+ priority: 'primary',
82
+ default: true,
83
+ type: AXPSystemActionType.View,
84
+ scope: AXPEntityCommandScope.Individual,
85
+ },
86
+ ],
87
+ },
88
+ {
89
+ entity: `${RootConfig.module.name}.${RootConfig.entities.backgroundJob.name}`,
90
+ title: `${I18N}.related-entities.child-jobs.title`,
91
+ columns: ['title', 'command', 'trigger', 'status', 'executedAt', 'completedAt', 'result'],
92
+ conditions: [{ name: 'parentJobId', operator: { type: 'equal' }, value: '{{ context.eval("id") }}' }],
93
+ actions: [
94
+ {
95
+ title: '@general:actions.view.title',
96
+ command: { name: 'Entity:View' },
97
+ priority: 'primary',
98
+ default: true,
99
+ type: AXPSystemActionType.View,
100
+ scope: AXPEntityCommandScope.Individual,
101
+ },
102
+ ],
103
+ },
104
+ ],
105
+ properties: [
106
+ {
107
+ name: 'id',
108
+ title: 'ID',
109
+ groupId: 'overview',
110
+ schema: {
111
+ dataType: 'uuid',
112
+ visible: false,
113
+ nullable: false,
114
+ readonly: true,
115
+ unique: { enabled: true },
116
+ },
117
+ },
118
+ {
119
+ name: 'title',
120
+ title: `${I18N}.fields.title.title`,
121
+ groupId: 'overview',
122
+ schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },
123
+ options: READONLY_FIELD,
124
+ },
125
+ {
126
+ name: 'parentJobId',
127
+ title: `${I18N}.fields.parent-job-id.title`,
128
+ groupId: 'overview',
129
+ schema: {
130
+ dataType: 'uuid',
131
+ visible: false,
132
+ nullable: true,
133
+ readonly: true,
134
+ },
135
+ options: READONLY_FIELD,
136
+ },
137
+ {
138
+ name: 'scheduleId',
139
+ title: `${I18N}.fields.schedule-id.title`,
140
+ groupId: 'overview',
141
+ schema: {
142
+ dataType: 'uuid',
143
+ visible: false,
144
+ nullable: true,
145
+ readonly: true,
146
+ },
147
+ options: READONLY_FIELD,
148
+ },
149
+ {
150
+ name: 'command',
151
+ title: `${I18N}.fields.command.title`,
152
+ groupId: 'overview',
153
+ schema: {
154
+ dataType: 'object',
155
+ readonly: true,
156
+ interface: {
157
+ type: AXPWidgetsList.Editors.ActivityCommandConfigurator,
158
+ options: {
159
+ readonly: true,
160
+ loadStrategy: 'command-registry',
161
+ executionModeFilter: 'backend',
162
+ capabilitiesFilter: ['background-job'],
163
+ },
164
+ },
165
+ },
166
+ options: READONLY_FIELD,
167
+ },
168
+ {
169
+ name: 'trigger',
170
+ title: `${I18N}.fields.trigger.title`,
171
+ groupId: 'overview',
172
+ schema: {
173
+ dataType: 'string',
174
+ readonly: true,
175
+ interface: {
176
+ type: AXPWidgetsCatalog.select,
177
+ options: {
178
+ valueField: 'name',
179
+ textField: 'title',
180
+ cssClassField: 'cssClass',
181
+ multiple: false,
182
+ dataSource: TRIGGER_ITEMS,
183
+ },
184
+ },
185
+ },
186
+ options: { ...READONLY_FIELD, filter: { advance: { enabled: true }, inline: { enabled: true } } },
187
+ },
188
+ {
189
+ name: 'userId',
190
+ title: `${I18N}.fields.started-by.title`,
191
+ groupId: 'overview',
192
+ schema: {
193
+ dataType: 'string',
194
+ nullable: true,
195
+ readonly: true,
196
+ interface: {
197
+ type: AXPWidgetsList.Editors.LookupBox,
198
+ options: {
199
+ entity: 'SecurityManagement.User',
200
+ textField: 'displayName',
201
+ valueField: 'id',
202
+ look: 'select',
203
+ readonly: true,
204
+ disabled: true,
205
+ expose: [
206
+ { source: 'id', target: 'user.id' },
207
+ { source: 'displayName', target: 'user.displayName' },
208
+ ],
209
+ },
210
+ },
211
+ },
212
+ options: READONLY_FIELD,
213
+ },
214
+ {
215
+ name: 'progress',
216
+ title: `${I18N}.fields.progress.title`,
217
+ groupId: 'execution',
218
+ schema: {
219
+ dataType: 'number',
220
+ readonly: true,
221
+ interface: {
222
+ type: AXPWidgetsList.Editors.ProgressBox,
223
+ options: { total: 100, showText: true, textFormat: 'percentage' },
224
+ },
225
+ },
226
+ options: READONLY_LIST_FIELD,
227
+ },
228
+ {
229
+ name: 'currentAttempt',
230
+ title: `${I18N}.fields.current-attempt.title`,
231
+ groupId: 'execution',
232
+ schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number }, readonly: true },
233
+ options: READONLY_LIST_FIELD,
234
+ },
235
+ {
236
+ name: 'maxAttempts',
237
+ title: `${I18N}.fields.max-attempts.title`,
238
+ groupId: 'execution',
239
+ schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number }, readonly: true },
240
+ options: READONLY_LIST_FIELD,
241
+ },
242
+ {
243
+ name: 'executedAt',
244
+ title: `${I18N}.fields.executed-at.title`,
245
+ groupId: 'execution',
246
+ schema: {
247
+ dataType: 'datetime',
248
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
249
+ readonly: true,
250
+ },
251
+ options: READONLY_FIELD,
252
+ },
253
+ {
254
+ name: 'completedAt',
255
+ title: `${I18N}.fields.finished-at.title`,
256
+ groupId: 'execution',
257
+ schema: {
258
+ dataType: 'datetime',
259
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
260
+ readonly: true,
261
+ },
262
+ options: READONLY_FIELD,
263
+ },
264
+ {
265
+ name: 'trayDismissedAt',
266
+ title: `${I18N}.fields.tray-dismissed-at.title`,
267
+ groupId: 'execution',
268
+ schema: {
269
+ dataType: 'datetime',
270
+ visible: false,
271
+ nullable: true,
272
+ readonly: true,
273
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
274
+ },
275
+ options: READONLY_LIST_FIELD,
276
+ },
277
+ {
278
+ name: 'totalDurationMs',
279
+ title: `${I18N}.fields.duration.title`,
280
+ groupId: 'execution',
281
+ schema: {
282
+ dataType: 'number',
283
+ readonly: true,
284
+ interface: { type: DURATION_SHOW_AS.type, options: DURATION_SHOW_AS.options },
285
+ },
286
+ options: { ...READONLY_LIST_FIELD, sort: { enabled: true } },
287
+ },
288
+ {
289
+ name: 'result',
290
+ title: `${I18N}.fields.result.title`,
291
+ groupId: 'data',
292
+ schema: JSON_VIEWER,
293
+ options: READONLY_LIST_FIELD,
294
+ },
295
+ ],
296
+ columns: [
297
+ { name: 'title', options: { width: '220px' } },
298
+ { name: 'command', options: { width: '200px' } },
299
+ { name: 'executedAt', options: { width: '170px' } },
300
+ { name: 'completedAt', title: `${I18N}.fields.finished-at.title`, options: { width: '170px' } },
301
+ {
302
+ name: 'totalDurationMs',
303
+ title: `${I18N}.fields.duration.title`,
304
+ showAs: DURATION_SHOW_AS,
305
+ options: { width: '120px' },
306
+ },
307
+ { name: 'progress', options: { width: '140px' } },
308
+ { name: 'trigger', options: { width: '140px' } },
309
+ {
310
+ name: 'userId',
311
+ title: `${I18N}.fields.source.title`,
312
+ showAs: {
313
+ type: BACKGROUND_JOB_SOURCE_COLUMN_WIDGET,
314
+ },
315
+ options: { width: '220px' },
316
+ },
317
+ {
318
+ name: 'result',
319
+ title: `${I18N}.fields.result-message.title`,
320
+ showAs: { type: AXPWidgetsCatalog.text },
321
+ options: { dataPath: 'result.message', width: '280px' },
322
+ },
323
+ ],
324
+ interfaces: {
325
+ master: {
326
+ single: {
327
+ title: '{{ title }}',
328
+ sections: [
329
+ { id: 'overview', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
330
+ { id: 'execution', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
331
+ { id: 'data', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
332
+ ],
333
+ properties: [
334
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
335
+ {
336
+ name: 'command',
337
+ layout: {
338
+ label: { visible: false },
339
+ positions: { lg: { colSpan: 12 } },
340
+ },
341
+ },
342
+ { name: 'trigger', layout: { positions: { lg: { colSpan: 6 } } } },
343
+ { name: 'userId', layout: { positions: { lg: { colSpan: 6 } } } },
344
+ { name: 'progress', layout: { positions: { lg: { colSpan: 6 } } } },
345
+ { name: 'currentAttempt', layout: { positions: { lg: { colSpan: 6 } } } },
346
+ { name: 'maxAttempts', layout: { positions: { lg: { colSpan: 6 } } } },
347
+ { name: 'executedAt', layout: { positions: { lg: { colSpan: 6 } } } },
348
+ { name: 'completedAt', layout: { positions: { lg: { colSpan: 6 } } } },
349
+ { name: 'totalDurationMs', layout: { positions: { lg: { colSpan: 6 } } } },
350
+ { name: 'result', layout: { positions: { lg: { colSpan: 12 } } } },
351
+ ],
352
+ actions: [...entityMasterRecordActions()],
353
+ },
354
+ list: {
355
+ actions: [
356
+ {
357
+ title: '@general:actions.detail.title',
358
+ icon: 'fa-light fa-eye',
359
+ command: 'Entity:View',
360
+ priority: 'primary',
361
+ type: AXPSystemActionType.View,
362
+ scope: AXPEntityCommandScope.Individual,
363
+ default: true,
364
+ },
365
+ entityMasterBulkDeleteAction(),
366
+ entityMasterDeleteAction(),
367
+ {
368
+ title: '@background-job-management:jobs.actions.cancel.title',
369
+ name: 'cancel-background-job',
370
+ command: {
371
+ name: AXPBackgroundJobCommandKeys.JobCancel,
372
+ options: { jobId: '{{ context.eval("id") }}' },
373
+ },
374
+ icon: 'fa-light fa-ban',
375
+ color: 'danger',
376
+ priority: 'secondary',
377
+ type: 'execute',
378
+ scope: AXPEntityCommandScope.Individual,
379
+ hidden: '{{ context.eval("status") === "completed" || context.eval("status") === "failed" || context.eval("status") === "cancelled" || context.eval("status") === "dead-lettered" }}',
380
+ },
381
+ {
382
+ title: '@background-job-management:jobs.actions.retry.title',
383
+ name: 'retry-background-job',
384
+ command: {
385
+ name: AXPBackgroundJobCommandKeys.JobRetry,
386
+ options: { jobId: '{{ context.eval("id") }}' },
387
+ },
388
+ icon: 'fa-light fa-rotate-right',
389
+ color: 'primary',
390
+ priority: 'secondary',
391
+ type: 'execute',
392
+ scope: AXPEntityCommandScope.Individual,
393
+ hidden: '{{ context.eval("status") === "created" || context.eval("status") === "scheduled" || context.eval("status") === "running" || context.eval("status") === "paused" || context.eval("status") === "completed" || context.eval("status") === "dead-lettered" }}',
394
+ },
395
+ {
396
+ title: '@background-job-management:jobs.actions.replay-dead-letter.title',
397
+ name: 'replay-dead-letter-background-job',
398
+ command: {
399
+ name: AXPBackgroundJobCommandKeys.JobReplayDeadLetter,
400
+ options: { jobId: '{{ context.eval("id") }}' },
401
+ },
402
+ icon: 'fa-light fa-inbox-out',
403
+ color: 'primary',
404
+ priority: 'secondary',
405
+ type: 'execute',
406
+ scope: AXPEntityCommandScope.Individual,
407
+ hidden: '{{ context.eval("status") !== "dead-lettered" }}',
408
+ },
409
+ {
410
+ title: '@background-job-management:jobs.actions.bulk-dismiss.title',
411
+ name: 'bulk-dismiss-background-job',
412
+ command: {
413
+ name: 'Entity:Bulk',
414
+ options: {
415
+ command: AXPBackgroundJobCommandKeys.JobDismiss,
416
+ entity: RootConfig.entities.backgroundJob.fullName,
417
+ idField: 'jobId',
418
+ confirm: {
419
+ title: '@background-job-management:jobs.actions.bulk-dismiss.confirm.title',
420
+ message: '@background-job-management:jobs.actions.bulk-dismiss.confirm.message',
421
+ },
422
+ },
423
+ },
424
+ icon: 'fa-light fa-eye-slash',
425
+ color: 'secondary',
426
+ priority: 'secondary',
427
+ type: 'execute',
428
+ scope: AXPEntityCommandScope.Selected,
429
+ order: 20,
430
+ },
431
+ ],
432
+ views: [
433
+ createAllQueryView({ sorts: [{ name: 'executedAt', dir: 'desc' }] }),
434
+ createQueryView('dead-lettered', '@background-job-management:jobs.menus.dead-lettered.title', true, {
435
+ conditions: [
436
+ {
437
+ name: 'status',
438
+ operator: { type: 'equal' },
439
+ value: 'dead-lettered',
440
+ visible: false,
441
+ },
442
+ ],
443
+ sorts: [{ name: 'createdAt', dir: 'desc' }],
444
+ }),
445
+ ],
446
+ },
447
+ },
448
+ },
449
+ };
450
+ return entityDef;
451
+ }
452
+
453
+ export { factoryBackgroundJob };
454
+ //# sourceMappingURL=acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job.entity-Bz33gUlR.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-background-job-management-client-contracts-entity-catalog-background-job.entity-Bz33gUlR.mjs","sources":["../../../../libs/modules/background-job-management/contracts/src/widget.keys.ts","../../../../libs/modules/background-job-management/contracts/src/entities/background-job/background-job.entity.ts"],"sourcesContent":["export const BACKGROUND_JOB_SOURCE_COLUMN_WIDGET = 'background-job-source';\n","import { AXPWidgetsCatalog, AXPWidgetsList, AXPSystemActionType } from '@acorex-platform/framework-shared/core';\nimport {\n AXPBackgroundJobCommandKeys,\n AXP_BACKGROUND_JOB_STATUS_DEFINITION_KEY,\n} from '@acorex-platform/framework-shared/background-job';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n createQueryView,\n entityMasterBulkDeleteAction,\n entityMasterDeleteAction,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { BACKGROUND_JOB_SOURCE_COLUMN_WIDGET } from '../../widget.keys';\nimport { RootConfig } from '../../root-config';\n\nconst I18N = '@background-job-management:jobs.entities.background-job';\n\nconst TRIGGER_ITEMS = [\n { name: 'manual', title: `${I18N}.triggers.manual`, cssClass: 'primary-lighter-surface' },\n { name: 'schedule', title: `${I18N}.triggers.schedule`, cssClass: 'info-lighter-surface' },\n { name: 'event', title: `${I18N}.triggers.event`, cssClass: 'secondary-lighter-surface' },\n { name: 'system', title: `${I18N}.triggers.system`, cssClass: 'lighter-surface' },\n];\n\nconst READONLY_FIELD = {\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n sort: { enabled: true },\n} as const;\n\nconst READONLY_LIST_FIELD = {\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n sort: { enabled: false },\n} as const;\n\nconst JSON_VIEWER = {\n dataType: 'object' as const,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Advanced.JsonViewer,\n options: { disabled: true },\n },\n};\n\nconst DURATION_SHOW_AS = {\n type: AXPWidgetsList.Editors.TimeDuration,\n options: {\n from: { id: 'minute', title: 'minute' },\n to: { id: 'second', title: 'second' },\n label: false,\n },\n};\n\nexport async function factoryBackgroundJob(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.backgroundJob.name,\n title: RootConfig.entities.backgroundJob.title,\n icon: RootConfig.entities.backgroundJob.icon,\n parentKey: 'parentJobId',\n plugins: [\n {\n name: 'status',\n options: {\n field: 'status',\n definition: AXP_BACKGROUND_JOB_STATUS_DEFINITION_KEY,\n showInCreate: false,\n readonly: true,\n generate: { views: { enabled: false } },\n },\n },\n ],\n formats: {\n individual: RootConfig.entities.backgroundJob.title,\n plural: RootConfig.entities.backgroundJob.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ status }}',\n },\n },\n groups: [\n { id: 'overview', title: `${I18N}.groups.overview` },\n { id: 'execution', title: `${I18N}.groups.execution` },\n { id: 'data', title: `${I18N}.groups.data` },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.backgroundJobAttempt.name}`,\n title: `${I18N}.related-entities.attempts.title`,\n columns: ['attemptNumber', 'trigger', 'status', 'startedAt', 'durationMs'],\n conditions: [{ name: 'jobId', operator: { type: 'equal' }, value: '{{ context.eval(\"id\") }}' }],\n actions: [\n {\n title: '@general:actions.view.title',\n command: { name: 'Entity:View' },\n priority: 'primary',\n default: true,\n type: AXPSystemActionType.View,\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.backgroundJob.name}`,\n title: `${I18N}.related-entities.child-jobs.title`,\n columns: ['title', 'command', 'trigger', 'status', 'executedAt', 'completedAt', 'result'],\n conditions: [{ name: 'parentJobId', operator: { type: 'equal' }, value: '{{ context.eval(\"id\") }}' }],\n actions: [\n {\n title: '@general:actions.view.title',\n command: { name: 'Entity:View' },\n priority: 'primary',\n default: true,\n type: AXPSystemActionType.View,\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'overview',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: `${I18N}.fields.title.title`,\n groupId: 'overview',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text }, readonly: true },\n options: READONLY_FIELD,\n },\n {\n name: 'parentJobId',\n title: `${I18N}.fields.parent-job-id.title`,\n groupId: 'overview',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: true,\n readonly: true,\n },\n options: READONLY_FIELD,\n },\n {\n name: 'scheduleId',\n title: `${I18N}.fields.schedule-id.title`,\n groupId: 'overview',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: true,\n readonly: true,\n },\n options: READONLY_FIELD,\n },\n {\n name: 'command',\n title: `${I18N}.fields.command.title`,\n groupId: 'overview',\n schema: {\n dataType: 'object',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.ActivityCommandConfigurator,\n options: {\n readonly: true,\n loadStrategy: 'command-registry',\n executionModeFilter: 'backend',\n capabilitiesFilter: ['background-job'],\n },\n },\n },\n options: READONLY_FIELD,\n },\n {\n name: 'trigger',\n title: `${I18N}.fields.trigger.title`,\n groupId: 'overview',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'name',\n textField: 'title',\n cssClassField: 'cssClass',\n multiple: false,\n dataSource: TRIGGER_ITEMS,\n },\n },\n },\n options: { ...READONLY_FIELD, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n {\n name: 'userId',\n title: `${I18N}.fields.started-by.title`,\n groupId: 'overview',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n expose: [\n { source: 'id', target: 'user.id' },\n { source: 'displayName', target: 'user.displayName' },\n ],\n },\n },\n },\n options: READONLY_FIELD,\n },\n {\n name: 'progress',\n title: `${I18N}.fields.progress.title`,\n groupId: 'execution',\n schema: {\n dataType: 'number',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.ProgressBox,\n options: { total: 100, showText: true, textFormat: 'percentage' },\n },\n },\n options: READONLY_LIST_FIELD,\n },\n {\n name: 'currentAttempt',\n title: `${I18N}.fields.current-attempt.title`,\n groupId: 'execution',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number }, readonly: true },\n options: READONLY_LIST_FIELD,\n },\n {\n name: 'maxAttempts',\n title: `${I18N}.fields.max-attempts.title`,\n groupId: 'execution',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number }, readonly: true },\n options: READONLY_LIST_FIELD,\n },\n {\n name: 'executedAt',\n title: `${I18N}.fields.executed-at.title`,\n groupId: 'execution',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n options: READONLY_FIELD,\n },\n {\n name: 'completedAt',\n title: `${I18N}.fields.finished-at.title`,\n groupId: 'execution',\n schema: {\n dataType: 'datetime',\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n readonly: true,\n },\n options: READONLY_FIELD,\n },\n {\n name: 'trayDismissedAt',\n title: `${I18N}.fields.tray-dismissed-at.title`,\n groupId: 'execution',\n schema: {\n dataType: 'datetime',\n visible: false,\n nullable: true,\n readonly: true,\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n options: READONLY_LIST_FIELD,\n },\n {\n name: 'totalDurationMs',\n title: `${I18N}.fields.duration.title`,\n groupId: 'execution',\n schema: {\n dataType: 'number',\n readonly: true,\n interface: { type: DURATION_SHOW_AS.type, options: DURATION_SHOW_AS.options },\n },\n options: { ...READONLY_LIST_FIELD, sort: { enabled: true } },\n },\n {\n name: 'result',\n title: `${I18N}.fields.result.title`,\n groupId: 'data',\n schema: JSON_VIEWER,\n options: READONLY_LIST_FIELD,\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px' } },\n { name: 'command', options: { width: '200px' } },\n { name: 'executedAt', options: { width: '170px' } },\n { name: 'completedAt', title: `${I18N}.fields.finished-at.title`, options: { width: '170px' } },\n {\n name: 'totalDurationMs',\n title: `${I18N}.fields.duration.title`,\n showAs: DURATION_SHOW_AS,\n options: { width: '120px' },\n },\n { name: 'progress', options: { width: '140px' } },\n { name: 'trigger', options: { width: '140px' } },\n {\n name: 'userId',\n title: `${I18N}.fields.source.title`,\n showAs: {\n type: BACKGROUND_JOB_SOURCE_COLUMN_WIDGET,\n },\n options: { width: '220px' },\n },\n {\n name: 'result',\n title: `${I18N}.fields.result-message.title`,\n showAs: { type: AXPWidgetsCatalog.text },\n options: { dataPath: 'result.message', width: '280px' },\n },\n ],\n interfaces: {\n master: {\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'overview', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'execution', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'data', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'command',\n layout: {\n label: { visible: false },\n positions: { lg: { colSpan: 12 } },\n },\n },\n { name: 'trigger', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'userId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'progress', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'currentAttempt', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'maxAttempts', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'executedAt', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'completedAt', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'totalDurationMs', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'result', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: AXPSystemActionType.View,\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n entityMasterBulkDeleteAction(),\n entityMasterDeleteAction(),\n {\n title: '@background-job-management:jobs.actions.cancel.title',\n name: 'cancel-background-job',\n command: {\n name: AXPBackgroundJobCommandKeys.JobCancel,\n options: { jobId: '{{ context.eval(\"id\") }}' },\n },\n icon: 'fa-light fa-ban',\n color: 'danger',\n priority: 'secondary',\n type: 'execute',\n scope: AXPEntityCommandScope.Individual,\n hidden:\n '{{ context.eval(\"status\") === \"completed\" || context.eval(\"status\") === \"failed\" || context.eval(\"status\") === \"cancelled\" || context.eval(\"status\") === \"dead-lettered\" }}',\n },\n {\n title: '@background-job-management:jobs.actions.retry.title',\n name: 'retry-background-job',\n command: {\n name: AXPBackgroundJobCommandKeys.JobRetry,\n options: { jobId: '{{ context.eval(\"id\") }}' },\n },\n icon: 'fa-light fa-rotate-right',\n color: 'primary',\n priority: 'secondary',\n type: 'execute',\n scope: AXPEntityCommandScope.Individual,\n hidden:\n '{{ context.eval(\"status\") === \"created\" || context.eval(\"status\") === \"scheduled\" || context.eval(\"status\") === \"running\" || context.eval(\"status\") === \"paused\" || context.eval(\"status\") === \"completed\" || context.eval(\"status\") === \"dead-lettered\" }}',\n },\n {\n title: '@background-job-management:jobs.actions.replay-dead-letter.title',\n name: 'replay-dead-letter-background-job',\n command: {\n name: AXPBackgroundJobCommandKeys.JobReplayDeadLetter,\n options: { jobId: '{{ context.eval(\"id\") }}' },\n },\n icon: 'fa-light fa-inbox-out',\n color: 'primary',\n priority: 'secondary',\n type: 'execute',\n scope: AXPEntityCommandScope.Individual,\n hidden: '{{ context.eval(\"status\") !== \"dead-lettered\" }}',\n },\n {\n title: '@background-job-management:jobs.actions.bulk-dismiss.title',\n name: 'bulk-dismiss-background-job',\n command: {\n name: 'Entity:Bulk',\n options: {\n command: AXPBackgroundJobCommandKeys.JobDismiss,\n entity: RootConfig.entities.backgroundJob.fullName,\n idField: 'jobId',\n confirm: {\n title: '@background-job-management:jobs.actions.bulk-dismiss.confirm.title',\n message: '@background-job-management:jobs.actions.bulk-dismiss.confirm.message',\n },\n },\n },\n icon: 'fa-light fa-eye-slash',\n color: 'secondary',\n priority: 'secondary',\n type: 'execute',\n scope: AXPEntityCommandScope.Selected,\n order: 20,\n },\n ],\n views: [\n createAllQueryView({ sorts: [{ name: 'executedAt', dir: 'desc' }] }),\n createQueryView(\n 'dead-lettered',\n '@background-job-management:jobs.menus.dead-lettered.title',\n true,\n {\n conditions: [\n {\n name: 'status',\n operator: { type: 'equal' },\n value: 'dead-lettered',\n visible: false,\n },\n ],\n sorts: [{ name: 'createdAt', dir: 'desc' }],\n },\n ),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;;AAAO,MAAM,mCAAmC,GAAG,uBAAuB;;ACiB1E,MAAM,IAAI,GAAG,yDAAyD;AAEtE,MAAM,aAAa,GAAG;AACpB,IAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,gBAAA,CAAkB,EAAE,QAAQ,EAAE,yBAAyB,EAAE;AACzF,IAAA,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,kBAAA,CAAoB,EAAE,QAAQ,EAAE,sBAAsB,EAAE;AAC1F,IAAA,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,eAAA,CAAiB,EAAE,QAAQ,EAAE,2BAA2B,EAAE;AACzF,IAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,gBAAA,CAAkB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;CAClF;AAED,MAAM,cAAc,GAAG;AACrB,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO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,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AACpE,wBAAA,eAAe,CACb,eAAe,EACf,2DAA2D,EAC3D,IAAI,EACJ;AACE,4BAAA,UAAU,EAAE;AACV,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;AAC3B,oCAAA,KAAK,EAAE,eAAe;AACtB,oCAAA,OAAO,EAAE,KAAK;AACf,iCAAA;AACF,6BAAA;4BACD,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;yBAC5C,CACF;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -0,0 +1,2 @@
1
+ export { b as backgroundJobManagementLocalEntityCatalog } from './acorex-platform-module-background-job-management-client-contracts-entity-catalog-acorex-platform-module-background-job-management-client-contracts-entity-catalog-BXFhpRfS.mjs';
2
+ //# sourceMappingURL=acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
2
+ import { RootConfig } from '@acorex-platform/module-background-job-management-client/contracts';
3
+ export { backgroundJobManagementLocalEntityCatalog } from '@acorex-platform/module-background-job-management-client/contracts/entity-catalog';
4
+
5
+ //#region ----- Imports -----
6
+ //#endregion
7
+ //#region ----- Provide local entities -----
8
+ /**
9
+ * Registers background-job-management layouts on the client from packaged factories.
10
+ * Each `import()` targets a secondary entry so unused entities stay out of the
11
+ * bundle. Do not add this to the demo app; demo continues to load layouts via
12
+ * `Domain:GetEntityLayout`.
13
+ */
14
+ function provideBackgroundJobManagementLocalEntities() {
15
+ return provideLocalEntityCatalog({
16
+ moduleName: RootConfig.module.name,
17
+ loaders: {
18
+ [RootConfig.entities.backgroundJob.name]: () => import('@acorex-platform/module-background-job-management-client/contracts/entities/background-job').then((m) => m.factoryBackgroundJob()),
19
+ [RootConfig.entities.backgroundJobAttempt.name]: () => import('@acorex-platform/module-background-job-management-client/contracts/entities/background-job-attempt').then((m) => m.factoryBackgroundJobAttempt()),
20
+ [RootConfig.entities.backgroundJobSchedule.name]: () => import('@acorex-platform/module-background-job-management-client/contracts/entities/background-job-schedule').then((m) => m.factoryBackgroundJobSchedule()),
21
+ },
22
+ });
23
+ }
24
+ //#endregion
25
+
26
+ /**
27
+ * Generated bundle index. Do not edit.
28
+ */
29
+
30
+ export { provideBackgroundJobManagementLocalEntities };
31
+ //# sourceMappingURL=acorex-platform-module-background-job-management-client-local-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-background-job-management-client-local-entities.mjs","sources":["../../../../libs/modules/background-job-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/background-job-management/client/src/lib/acorex-platform-module-background-job-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-background-job-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers background-job-management layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideBackgroundJobManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.backgroundJob.name]: () =>\n import('@acorex-platform/module-background-job-management-client/contracts/entities/background-job').then((m) => m.factoryBackgroundJob()),\n [RootConfig.entities.backgroundJobAttempt.name]: () =>\n import('@acorex-platform/module-background-job-management-client/contracts/entities/background-job-attempt').then((m) => m.factoryBackgroundJobAttempt()),\n [RootConfig.entities.backgroundJobSchedule.name]: () =>\n import('@acorex-platform/module-background-job-management-client/contracts/entities/background-job-schedule').then((m) => m.factoryBackgroundJobSchedule()),\n },\n });\n}\n\nexport { backgroundJobManagementLocalEntityCatalog } from '@acorex-platform/module-background-job-management-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,2CAA2C,GAAA;AACzD,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,GAAG,MACxC,OAAO,4FAA4F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,oBAAoB,EAAE,CAAC;AAC5I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,GAAG,MAC/C,OAAO,oGAAoG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,2BAA2B,EAAE,CAAC;AAC3J,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI,GAAG,MAChD,OAAO,qGAAqG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,4BAA4B,EAAE,CAAC;AAC9J,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC/BA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-background-job-management-client",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",
@@ -22,6 +22,26 @@
22
22
  "./contracts": {
23
23
  "types": "./types/acorex-platform-module-background-job-management-client-contracts.d.ts",
24
24
  "default": "./fesm2022/acorex-platform-module-background-job-management-client-contracts.mjs"
25
+ },
26
+ "./contracts/entities/background-job": {
27
+ "types": "./types/acorex-platform-module-background-job-management-client-contracts-entities-background-job.d.ts",
28
+ "default": "./fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job.mjs"
29
+ },
30
+ "./contracts/entities/background-job-attempt": {
31
+ "types": "./types/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.d.ts",
32
+ "default": "./fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-attempt.mjs"
33
+ },
34
+ "./contracts/entities/background-job-schedule": {
35
+ "types": "./types/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.d.ts",
36
+ "default": "./fesm2022/acorex-platform-module-background-job-management-client-contracts-entities-background-job-schedule.mjs"
37
+ },
38
+ "./contracts/entity-catalog": {
39
+ "types": "./types/acorex-platform-module-background-job-management-client-contracts-entity-catalog.d.ts",
40
+ "default": "./fesm2022/acorex-platform-module-background-job-management-client-contracts-entity-catalog.mjs"
41
+ },
42
+ "./local-entities": {
43
+ "types": "./types/acorex-platform-module-background-job-management-client-local-entities.d.ts",
44
+ "default": "./fesm2022/acorex-platform-module-background-job-management-client-local-entities.mjs"
25
45
  }
26
46
  },
27
47
  "type": "module"
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryBackgroundJobAttempt(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryBackgroundJobAttempt };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryBackgroundJobSchedule(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryBackgroundJobSchedule };
@@ -0,0 +1,5 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+
3
+ declare function factoryBackgroundJob(): Promise<AXPEntity | null>;
4
+
5
+ export { factoryBackgroundJob };
@@ -0,0 +1,10 @@
1
+ import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
2
+
3
+ /**
4
+ * Lazy per-entity layout factories. Do not re-export from the contracts barrel
5
+ * so RootConfig imports stay light. Server seed and client `local-entities`
6
+ * consume this catalog explicitly.
7
+ */
8
+ declare const backgroundJobManagementLocalEntityCatalog: AXPLocalEntityCatalog;
9
+
10
+ export { backgroundJobManagementLocalEntityCatalog };