bfg-common 1.4.697 → 1.4.698

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.
@@ -14,10 +14,12 @@ export interface UI_I_RTaskQuery {
14
14
  }
15
15
 
16
16
  export interface API_UI_I_RTaskExtra {
17
- created_objects: {
18
- created_id: string
19
- created_name: string
20
- }[] | {}
17
+ created_objects:
18
+ | {
19
+ created_id: string
20
+ created_name: string
21
+ }[]
22
+ | {}
21
23
  }
22
24
  export interface API_UI_I_RTaskGroupExtra {
23
25
  task_group_extra: {
@@ -97,7 +99,7 @@ export interface API_UI_I_TaskItem<T, E = any> {
97
99
  args?: string // base64
98
100
  }
99
101
 
100
- export interface UI_I_TaskItem<T> {
102
+ export interface UI_I_TaskItem<T, E = any> {
101
103
  relatedEvents: any
102
104
  completion: number | string
103
105
  queuedFor: number
@@ -115,6 +117,8 @@ export interface UI_I_TaskItem<T> {
115
117
  taskName: string
116
118
  id: string
117
119
  zone: string
120
+ extra: E
121
+ args: string // base64
118
122
  }
119
123
 
120
124
  export interface API_UI_I_Task<T>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.697",
4
+ "version": "1.4.698",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -17,6 +17,8 @@ export const tasksConstructor = (
17
17
  return {
18
18
  // relatedEvents: task?.RelatedEvents || '',
19
19
  relatedEvents: '',
20
+ args: task?.args || '',
21
+ extra: task?.extra || '',
20
22
  completion: task.completion || '--',
21
23
  queuedFor: task.start_time - task.creation_time,
22
24
  execution: Math.abs(task.start_time - task.completion),