@things-factory/dataset 8.0.59 → 8.0.61

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/dataset",
3
- "version": "8.0.59",
3
+ "version": "8.0.61",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,21 +40,21 @@
40
40
  "@operato/shell": "^8.0.0",
41
41
  "@operato/styles": "^8.0.0",
42
42
  "@operato/utils": "^8.0.0",
43
- "@things-factory/auth-base": "^8.0.55",
44
- "@things-factory/aws-base": "^8.0.55",
45
- "@things-factory/board-service": "^8.0.55",
43
+ "@things-factory/auth-base": "^8.0.61",
44
+ "@things-factory/aws-base": "^8.0.61",
45
+ "@things-factory/board-service": "^8.0.61",
46
46
  "@things-factory/env": "^8.0.37",
47
- "@things-factory/integration-base": "^8.0.55",
48
- "@things-factory/organization": "^8.0.55",
49
- "@things-factory/personalization": "^8.0.55",
50
- "@things-factory/scheduler-client": "^8.0.55",
51
- "@things-factory/shell": "^8.0.55",
52
- "@things-factory/work-shift": "^8.0.55",
53
- "@things-factory/worklist": "^8.0.59",
47
+ "@things-factory/integration-base": "^8.0.61",
48
+ "@things-factory/organization": "^8.0.61",
49
+ "@things-factory/personalization": "^8.0.61",
50
+ "@things-factory/scheduler-client": "^8.0.61",
51
+ "@things-factory/shell": "^8.0.61",
52
+ "@things-factory/work-shift": "^8.0.61",
53
+ "@things-factory/worklist": "^8.0.61",
54
54
  "cron-parser": "^4.3.0",
55
55
  "moment-timezone": "^0.5.45",
56
56
  "simple-statistics": "^7.8.3",
57
57
  "statistics": "^3.3.0"
58
58
  },
59
- "gitHead": "4d01243f9ea9e925cdbeb7d31d78f1830c727ba7"
59
+ "gitHead": "72a14cc70333dcba45b4c1a6ca8140a8dc1c87a5"
60
60
  }
@@ -14,7 +14,7 @@ import {
14
14
 
15
15
  import { Role, User } from '@things-factory/auth-base'
16
16
  import { ApprovalLineItem } from '@things-factory/organization'
17
- import { Domain, ScalarObject } from '@things-factory/shell'
17
+ import { Domain, ScalarObject, cronMonthZeroBasedTransformer } from '@things-factory/shell'
18
18
  import { AssigneeItem } from '@things-factory/worklist'
19
19
  import { Scenario } from '@things-factory/integration-base'
20
20
 
@@ -268,7 +268,7 @@ export class DataSet {
268
268
  @Field(type => [DataItem], { nullable: true, description: 'Data items for the dataset' })
269
269
  dataItems: DataItem[]
270
270
 
271
- @Column({ nullable: true })
271
+ @Column({ nullable: true, transformer: cronMonthZeroBasedTransformer })
272
272
  @Field({ nullable: true, description: 'The schedule of the dataset' })
273
273
  schedule?: string
274
274
 
@@ -9,7 +9,7 @@ import {
9
9
  } from '@operato/typeorm-history'
10
10
  import { User } from '@things-factory/auth-base'
11
11
  import { ApprovalLineItem } from '@things-factory/organization'
12
- import { Domain, ScalarObject } from '@things-factory/shell'
12
+ import { Domain, ScalarObject, cronMonthZeroBasedTransformer } from '@things-factory/shell'
13
13
  import { AssigneeItem } from '@things-factory/worklist'
14
14
  import { config } from '@things-factory/env'
15
15
 
@@ -144,7 +144,7 @@ export class DataSetHistory implements HistoryEntityInterface<DataSet> {
144
144
  @Field(type => [DataItem], { nullable: true })
145
145
  dataItems: DataItem[]
146
146
 
147
- @Column({ nullable: true })
147
+ @Column({ nullable: true, transformer: cronMonthZeroBasedTransformer })
148
148
  @Field({ nullable: true })
149
149
  schedule?: string
150
150