@things-factory/dataset 6.2.138 → 6.2.139

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": "6.2.138",
3
+ "version": "6.2.139",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,20 +40,20 @@
40
40
  "@operato/shell": "^1.0.1",
41
41
  "@operato/styles": "^1.0.0",
42
42
  "@operato/utils": "^1.0.1",
43
- "@things-factory/auth-base": "^6.2.138",
44
- "@things-factory/aws-base": "^6.2.138",
45
- "@things-factory/board-service": "^6.2.138",
46
- "@things-factory/env": "^6.2.122",
47
- "@things-factory/integration-base": "^6.2.138",
48
- "@things-factory/organization": "^6.2.138",
49
- "@things-factory/scheduler-client": "^6.2.138",
50
- "@things-factory/shell": "^6.2.133",
51
- "@things-factory/work-shift": "^6.2.138",
52
- "@things-factory/worklist": "^6.2.138",
43
+ "@things-factory/auth-base": "^6.2.139",
44
+ "@things-factory/aws-base": "^6.2.139",
45
+ "@things-factory/board-service": "^6.2.139",
46
+ "@things-factory/env": "^6.2.139",
47
+ "@things-factory/integration-base": "^6.2.139",
48
+ "@things-factory/organization": "^6.2.139",
49
+ "@things-factory/scheduler-client": "^6.2.139",
50
+ "@things-factory/shell": "^6.2.139",
51
+ "@things-factory/work-shift": "^6.2.139",
52
+ "@things-factory/worklist": "^6.2.139",
53
53
  "cron-parser": "^4.3.0",
54
54
  "moment-timezone": "^0.5.40",
55
55
  "simple-statistics": "^7.8.3",
56
56
  "statistics": "^3.3.0"
57
57
  },
58
- "gitHead": "b3a06b97cb5c24cc44ea35f0dd3dde4971fa1a5a"
58
+ "gitHead": "66c1ee297ad4de4d68ad54bc4c06ffb14f8e40b5"
59
59
  }
@@ -10,7 +10,7 @@ import { createDataSample } from '../../controllers/create-data-sample'
10
10
  async function CreateDataSample(step: InputStep, context: Context) {
11
11
  const { logger, data, domain, user, lng } = context
12
12
  var {
13
- params: { dataset: dataSetId, source: sourceAccessor, rawData: rawDataAccessor, data: dataAccessor, timestamp }
13
+ params: { dataset: dataSetId, source: sourceAccessor, rawData: rawDataAccessor, data: dataAccessor, timestamp: timestampAccessor }
14
14
  } = step
15
15
 
16
16
  if (!dataSetId) {
@@ -28,6 +28,7 @@ async function CreateDataSample(step: InputStep, context: Context) {
28
28
  var source = await access(sourceAccessor, data)
29
29
  var extractedData = await access(dataAccessor, data)
30
30
  var extractedRawData = rawDataAccessor && (await access(rawDataAccessor, data))
31
+ var timestamp = timestampAccessor && (await access(timestampAccessor, data))
31
32
 
32
33
  const dataSample = await createDataSample(
33
34
  {