@operato/scene-scichart 7.0.5 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/db.sqlite +0 -0
- package/dist/charts/axis-synchronizer.d.ts +10 -0
- package/dist/charts/axis-synchronizer.js +32 -0
- package/dist/charts/axis-synchronizer.js.map +1 -0
- package/dist/charts/ox-scichart-multiple.d.ts +40 -0
- package/dist/charts/ox-scichart-multiple.js +272 -0
- package/dist/charts/ox-scichart-multiple.js.map +1 -0
- package/dist/charts/ox-scichart.d.ts +1 -1
- package/dist/charts/ox-scichart.js.map +1 -1
- package/dist/charts/scichart-builder.d.ts +10 -1
- package/dist/charts/scichart-builder.js +154 -12
- package/dist/charts/scichart-builder.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/scichart-multiple-timeseries.d.ts +14 -0
- package/dist/scichart-multiple-timeseries.js +60 -0
- package/dist/scichart-multiple-timeseries.js.map +1 -0
- package/dist/scichart-timeseries.d.ts +2 -11
- package/dist/scichart-timeseries.js +2 -42
- package/dist/scichart-timeseries.js.map +1 -1
- package/dist/templates/index.d.ts +2 -19
- package/dist/templates/index.js +2 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/scichart-multiple-timeseries.d.ts +53 -0
- package/dist/templates/scichart-multiple-timeseries.js +81 -0
- package/dist/templates/scichart-multiple-timeseries.js.map +1 -0
- package/dist/templates/scichart-timeseries.d.ts +2 -19
- package/dist/templates/scichart-timeseries.js +2 -19
- package/dist/templates/scichart-timeseries.js.map +1 -1
- package/helps/scene/component/scichart-multiple-timeseries.md +23 -0
- package/helps/scene/component/scichart-timeseries.md +18 -0
- package/icons/scichart-multiple-timeseries.png +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +9 -9
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +24 -9
- package/logs/{application-2024-07-08-22.log → application-2024-07-28-03.log} +9 -9
- package/logs/{application-2024-07-08-23.log → application-2024-07-28-17.log} +140 -43
- package/logs/{application-2024-07-09-15.log → application-2024-07-28-18.log} +18 -18
- package/logs/connections-2024-07-23-14.log +50 -0
- package/logs/connections-2024-07-25-23.log +50 -0
- package/logs/connections-2024-07-26-18.log +50 -0
- package/logs/connections-2024-07-28-03.log +50 -0
- package/logs/connections-2024-07-28-17.log +200 -0
- package/logs/connections-2024-07-28-18.log +100 -0
- package/package.json +2 -2
- package/schema.graphql +211 -0
- package/src/charts/axis-synchronizer.ts +37 -0
- package/src/charts/ox-scichart-multiple.ts +334 -0
- package/src/charts/ox-scichart.ts +1 -1
- package/src/charts/scichart-builder.ts +197 -11
- package/src/index.ts +1 -0
- package/src/scichart-multiple-timeseries.ts +74 -0
- package/src/scichart-timeseries.ts +3 -54
- package/src/templates/index.ts +2 -1
- package/src/templates/scichart-multiple-timeseries.ts +87 -0
- package/src/templates/scichart-timeseries.ts +2 -19
- package/things-scene.config.js +0 -2
- package/translations/en.json +3 -1
- package/translations/ja.json +3 -1
- package/translations/ko.json +3 -1
- package/translations/ms.json +3 -1
- package/translations/zh.json +3 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/cache/translations/system/en.json +0 -1
- package/cache/translations/system/ko.json +0 -1
- package/logs/connections-2024-07-08-22.log +0 -50
- package/logs/connections-2024-07-08-23.log +0 -100
- package/logs/connections-2024-07-09-15.log +0 -100
@@ -0,0 +1,53 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
type: string;
|
3
|
+
description: string;
|
4
|
+
group: string;
|
5
|
+
icon: string;
|
6
|
+
model: {
|
7
|
+
type: string;
|
8
|
+
left: number;
|
9
|
+
top: number;
|
10
|
+
width: number;
|
11
|
+
height: number;
|
12
|
+
data: {
|
13
|
+
timestamp: number;
|
14
|
+
count: number;
|
15
|
+
average: number;
|
16
|
+
}[];
|
17
|
+
chart: {
|
18
|
+
type: string;
|
19
|
+
data: {
|
20
|
+
datasets: {
|
21
|
+
dataKey: string;
|
22
|
+
label: string;
|
23
|
+
type: string;
|
24
|
+
borderWidth: number;
|
25
|
+
color: string;
|
26
|
+
}[];
|
27
|
+
labelDataKey: string;
|
28
|
+
};
|
29
|
+
options: {
|
30
|
+
scales: {
|
31
|
+
xAxes: {
|
32
|
+
ticks: {
|
33
|
+
beginAtZero: boolean;
|
34
|
+
};
|
35
|
+
}[];
|
36
|
+
yAxes: {
|
37
|
+
ticks: {
|
38
|
+
beginAtZero: boolean;
|
39
|
+
};
|
40
|
+
}[];
|
41
|
+
};
|
42
|
+
legend: {
|
43
|
+
display: boolean;
|
44
|
+
};
|
45
|
+
annotations: never[];
|
46
|
+
tooltip: boolean;
|
47
|
+
};
|
48
|
+
};
|
49
|
+
showOverview: boolean;
|
50
|
+
visibleSeries: string[];
|
51
|
+
};
|
52
|
+
};
|
53
|
+
export default _default;
|
@@ -0,0 +1,81 @@
|
|
1
|
+
const icon = new URL('../../icons/scichart-multiple-timeseries.png', import.meta.url).href;
|
2
|
+
function getRandomInRange(min, max) {
|
3
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
4
|
+
}
|
5
|
+
// 랜덤 데이터를 생성하는 함수
|
6
|
+
function generateRandomData(count) {
|
7
|
+
const randomData = [];
|
8
|
+
const startTimestamp = Math.floor(Date.now()); // 현재 시간을 Unix 타임스탬프로 설정
|
9
|
+
for (let i = 0; i < count; i++) {
|
10
|
+
const timestamp = startTimestamp + i * 360 * 30 * 1000; // 3초씩 증가하는 타임스탬프 설정
|
11
|
+
const randomCount = getRandomInRange(5, 35); // count 값을 5에서 35 사이로 랜덤 생성
|
12
|
+
const randomAverage = getRandomInRange(50, 150); // average 값을 50에서 150 사이로 랜덤 생성
|
13
|
+
randomData.push({
|
14
|
+
timestamp: timestamp,
|
15
|
+
count: randomCount,
|
16
|
+
average: randomAverage
|
17
|
+
});
|
18
|
+
}
|
19
|
+
return randomData;
|
20
|
+
}
|
21
|
+
// 100개의 랜덤 데이터를 생성
|
22
|
+
const data = generateRandomData(100);
|
23
|
+
export default {
|
24
|
+
type: 'scichart-multiple-timeseries',
|
25
|
+
description: 'scichart-multiple-timeseries',
|
26
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */
|
27
|
+
group: 'chartAndGauge',
|
28
|
+
icon,
|
29
|
+
model: {
|
30
|
+
type: 'scichart-multiple-timeseries',
|
31
|
+
left: 10,
|
32
|
+
top: 10,
|
33
|
+
width: 600,
|
34
|
+
height: 60,
|
35
|
+
data,
|
36
|
+
chart: {
|
37
|
+
type: 'timeseries',
|
38
|
+
data: {
|
39
|
+
datasets: [
|
40
|
+
{
|
41
|
+
dataKey: 'count',
|
42
|
+
label: '',
|
43
|
+
type: 'line',
|
44
|
+
borderWidth: 1,
|
45
|
+
color: 'green'
|
46
|
+
},
|
47
|
+
{
|
48
|
+
dataKey: 'average',
|
49
|
+
label: '',
|
50
|
+
type: 'line',
|
51
|
+
borderWidth: 1,
|
52
|
+
color: 'red'
|
53
|
+
}
|
54
|
+
],
|
55
|
+
labelDataKey: 'timestamp'
|
56
|
+
},
|
57
|
+
options: {
|
58
|
+
scales: {
|
59
|
+
xAxes: [
|
60
|
+
{
|
61
|
+
ticks: { beginAtZero: true }
|
62
|
+
}
|
63
|
+
],
|
64
|
+
yAxes: [
|
65
|
+
{
|
66
|
+
ticks: { beginAtZero: true }
|
67
|
+
}
|
68
|
+
]
|
69
|
+
},
|
70
|
+
legend: {
|
71
|
+
display: false
|
72
|
+
},
|
73
|
+
annotations: [],
|
74
|
+
tooltip: true
|
75
|
+
}
|
76
|
+
},
|
77
|
+
showOverview: true,
|
78
|
+
visibleSeries: ['count', 'average']
|
79
|
+
}
|
80
|
+
};
|
81
|
+
//# sourceMappingURL=scichart-multiple-timeseries.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scichart-multiple-timeseries.js","sourceRoot":"","sources":["../../src/templates/scichart-multiple-timeseries.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,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EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,IAAI;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE;gBACJ,QAAQ,EAAE;oBACR;wBACE,OAAO,EAAE,OAAO;wBAChB,KAAK,EAAE,EAAE;wBACT,IAAI,EAAE,MAAM;wBACZ,WAAW,EAAE,CAAC;wBACd,KAAK,EAAE,OAAO;qBACf;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,EAAE;wBACT,IAAI,EAAE,MAAM;wBACZ,WAAW,EAAE,CAAC;wBACd,KAAK,EAAE,KAAK;qBACb;iBACF;gBACD,YAAY,EAAE,WAAW;aAC1B;YACD,OAAO,EAAE;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;yBAC7B;qBACF;oBACD,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;yBAC7B;qBACF;iBACF;gBACD,MAAM,EAAE;oBACN,OAAO,EAAE,KAAK;iBACf;gBACD,WAAW,EAAE,EAAE;gBACf,OAAO,EAAE,IAAI;aACd;SACF;QACD,YAAY,EAAE,IAAI;QAClB,aAAa,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;KACpC;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/scichart-multiple-timeseries.png', import.meta.url).href\n\nfunction getRandomInRange(min: number, max: number) {\n return Math.floor(Math.random() * (max - min + 1)) + min\n}\n\n// 랜덤 데이터를 생성하는 함수\nfunction generateRandomData(count: number) {\n const randomData = []\n const startTimestamp = Math.floor(Date.now()) // 현재 시간을 Unix 타임스탬프로 설정\n\n for (let i = 0; i < count; i++) {\n const timestamp = startTimestamp + i * 360 * 30 * 1000 // 3초씩 증가하는 타임스탬프 설정\n const randomCount = getRandomInRange(5, 35) // count 값을 5에서 35 사이로 랜덤 생성\n const randomAverage = getRandomInRange(50, 150) // average 값을 50에서 150 사이로 랜덤 생성\n\n randomData.push({\n timestamp: timestamp,\n count: randomCount,\n average: randomAverage\n })\n }\n\n return randomData\n}\n\n// 100개의 랜덤 데이터를 생성\nconst data = generateRandomData(100)\n\nexport default {\n type: 'scichart-multiple-timeseries',\n description: 'scichart-multiple-timeseries',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */\n group: 'chartAndGauge',\n icon,\n model: {\n type: 'scichart-multiple-timeseries',\n left: 10,\n top: 10,\n width: 600,\n height: 60,\n data,\n chart: {\n type: 'timeseries',\n data: {\n datasets: [\n {\n dataKey: 'count',\n label: '',\n type: 'line',\n borderWidth: 1,\n color: 'green'\n },\n {\n dataKey: 'average',\n label: '',\n type: 'line',\n borderWidth: 1,\n color: 'red'\n }\n ],\n labelDataKey: 'timestamp'\n },\n options: {\n scales: {\n xAxes: [\n {\n ticks: { beginAtZero: true }\n }\n ],\n yAxes: [\n {\n ticks: { beginAtZero: true }\n }\n ]\n },\n legend: {\n display: false\n },\n annotations: [],\n tooltip: true\n }\n },\n showOverview: true,\n visibleSeries: ['count', 'average']\n }\n}\n"]}
|
@@ -17,39 +17,22 @@ declare const _default: {
|
|
17
17
|
chart: {
|
18
18
|
type: string;
|
19
19
|
data: {
|
20
|
-
datasets:
|
20
|
+
datasets: {
|
21
21
|
dataKey: string;
|
22
22
|
label: string;
|
23
23
|
type: string;
|
24
|
-
color: string;
|
25
24
|
borderWidth: number;
|
26
|
-
|
27
|
-
lineTension?: undefined;
|
28
|
-
pointStyle?: undefined;
|
29
|
-
pointRadius?: undefined;
|
30
|
-
} | {
|
31
|
-
dataKey: string;
|
32
|
-
label: string;
|
33
|
-
type: string;
|
34
|
-
color: string;
|
35
|
-
fill: boolean;
|
36
|
-
lineTension: number;
|
37
|
-
pointStyle: string;
|
38
|
-
pointRadius: number;
|
39
|
-
borderWidth?: undefined;
|
40
|
-
})[];
|
25
|
+
}[];
|
41
26
|
labelDataKey: string;
|
42
27
|
};
|
43
28
|
options: {
|
44
29
|
scales: {
|
45
30
|
xAxes: {
|
46
|
-
axisTitle: string;
|
47
31
|
ticks: {
|
48
32
|
beginAtZero: boolean;
|
49
33
|
};
|
50
34
|
}[];
|
51
35
|
yAxes: {
|
52
|
-
axisTitle: string;
|
53
36
|
ticks: {
|
54
37
|
beginAtZero: boolean;
|
55
38
|
};
|
@@ -34,25 +34,14 @@ export default {
|
|
34
34
|
height: 300,
|
35
35
|
data,
|
36
36
|
chart: {
|
37
|
-
type: '
|
37
|
+
type: 'timeseries',
|
38
38
|
data: {
|
39
39
|
datasets: [
|
40
40
|
{
|
41
41
|
dataKey: 'count',
|
42
|
-
label: '
|
42
|
+
label: '',
|
43
43
|
type: 'line',
|
44
|
-
color: 'rgba(255, 99, 132, 1)',
|
45
44
|
borderWidth: 1
|
46
|
-
},
|
47
|
-
{
|
48
|
-
dataKey: 'average',
|
49
|
-
label: 'Line Series average',
|
50
|
-
type: 'line',
|
51
|
-
color: 'rgba(54, 162, 235, 1)',
|
52
|
-
fill: false,
|
53
|
-
lineTension: 0.4,
|
54
|
-
pointStyle: 'circle',
|
55
|
-
pointRadius: 3
|
56
45
|
}
|
57
46
|
],
|
58
47
|
labelDataKey: 'timestamp'
|
@@ -61,17 +50,11 @@ export default {
|
|
61
50
|
scales: {
|
62
51
|
xAxes: [
|
63
52
|
{
|
64
|
-
axisTitle: 'timestamp',
|
65
53
|
ticks: { beginAtZero: true }
|
66
54
|
}
|
67
55
|
],
|
68
56
|
yAxes: [
|
69
57
|
{
|
70
|
-
axisTitle: 'count',
|
71
|
-
ticks: { beginAtZero: true }
|
72
|
-
},
|
73
|
-
{
|
74
|
-
axisTitle: 'average',
|
75
58
|
ticks: { beginAtZero: true }
|
76
59
|
}
|
77
60
|
]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scichart-timeseries.js","sourceRoot":"","sources":["../../src/templates/scichart-time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ED,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,mBAAmB;AACnB,MAAM,IAAI,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAA;AAEpC,eAAe;IACb,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,gGAAgG;IAChG,KAAK,EAAE,eAAe;IACtB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,IAAI;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE;gBACJ,QAAQ,EAAE;oBACR;wBACE,OAAO,EAAE,OAAO;wBAChB,KAAK,EAAE,EAAE;wBACT,IAAI,EAAE,MAAM;wBACZ,WAAW,EAAE,CAAC;qBACf;iBACF;gBACD,YAAY,EAAE,WAAW;aAC1B;YACD,OAAO,EAAE;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;yBAC7B;qBACF;oBACD,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;yBAC7B;qBACF;iBACF;gBACD,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;aAC1B;SACF;KACF;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/scichart-timeseries.png', import.meta.url).href\n\nfunction getRandomInRange(min: number, max: number) {\n return Math.floor(Math.random() * (max - min + 1)) + min\n}\n\n// 랜덤 데이터를 생성하는 함수\nfunction generateRandomData(count: number) {\n const randomData = []\n const startTimestamp = Math.floor(Date.now()) // 현재 시간을 Unix 타임스탬프로 설정\n\n for (let i = 0; i < count; i++) {\n const timestamp = startTimestamp + i * 360 * 30 * 1000 // 3초씩 증가하는 타임스탬프 설정\n const randomCount = getRandomInRange(5, 35) // count 값을 5에서 35 사이로 랜덤 생성\n const randomAverage = getRandomInRange(50, 150) // average 값을 50에서 150 사이로 랜덤 생성\n\n randomData.push({\n timestamp: timestamp,\n count: randomCount,\n average: randomAverage\n })\n }\n\n return randomData\n}\n\n// 100개의 랜덤 데이터를 생성\nconst data = generateRandomData(100)\n\nexport default {\n type: 'scichart-timeseries',\n description: 'scichart-timeseries',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */\n group: 'chartAndGauge',\n icon,\n model: {\n type: 'scichart-timeseries',\n left: 10,\n top: 10,\n width: 400,\n height: 300,\n data,\n chart: {\n type: 'timeseries',\n data: {\n datasets: [\n {\n dataKey: 'count',\n label: '',\n type: 'line',\n borderWidth: 1\n }\n ],\n labelDataKey: 'timestamp'\n },\n options: {\n scales: {\n xAxes: [\n {\n ticks: { beginAtZero: true }\n }\n ],\n yAxes: [\n {\n ticks: { beginAtZero: true }\n }\n ]\n },\n legend: { display: true }\n }\n }\n }\n}\n"]}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Scichart Multiple Timeseries Component
|
2
|
+
|
3
|
+
The Scichart Multiple Timeseries component is designed to render multiple time-series charts using the SciChart library. This component supports displaying multiple datasets and includes an optional overview chart for better visualization of large datasets.
|
4
|
+
|
5
|
+
## Features
|
6
|
+
|
7
|
+
- Render multiple time-series charts.
|
8
|
+
- Optional overview chart for dataset visualization.
|
9
|
+
- Configurable appearance and behavior through component properties.
|
10
|
+
- Dynamic updating of chart data and visibility of series.
|
11
|
+
|
12
|
+
## Properties
|
13
|
+
|
14
|
+
- **show-overview**
|
15
|
+
- Boolean property to toggle the display of the overview chart.
|
16
|
+
- **chart**
|
17
|
+
- The configuration for the chart. This includes settings for data, chart type, options, etc.
|
18
|
+
- **visibleSeries**
|
19
|
+
- An array of series names that should be visible on the chart.
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
To use this component, import it and define the `scichart-multiple-timeseries` element in your scene. Configure the `chart` property with the desired chart configuration, provide the data to be visualized, and specify which series should be visible.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Scichart Time Series Component
|
2
|
+
|
3
|
+
The Scichart Time Series component is designed to render time-series charts using the SciChart library. It supports a variety of chart configurations and can dynamically update based on the provided data.
|
4
|
+
|
5
|
+
## Features
|
6
|
+
|
7
|
+
- Render time-series charts with various configurations.
|
8
|
+
- Dynamic updating of chart data.
|
9
|
+
- Configurable appearance and behavior through component properties.
|
10
|
+
|
11
|
+
## Properties
|
12
|
+
|
13
|
+
- **chart**
|
14
|
+
- The configuration for the chart. This includes settings for data, chart type, options, etc.
|
15
|
+
|
16
|
+
## Usage
|
17
|
+
|
18
|
+
To use this component, import it and define the `scichart-timeseries` element in your scene. Configure the `chart` property with the desired chart configuration and provide the data to be visualized.
|
Binary file
|
@@ -6,19 +6,19 @@
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
7
7
|
"files": [
|
8
8
|
{
|
9
|
-
"date":
|
10
|
-
"name": "logs/application-2024-07-
|
11
|
-
"hash": "
|
9
|
+
"date": 1722103523220,
|
10
|
+
"name": "logs/application-2024-07-28-03.log",
|
11
|
+
"hash": "f820440d24499f2176bd4ccbc47bf82f5028c1e4b885e441b44ade1f40003223"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"date":
|
15
|
-
"name": "logs/application-2024-07-
|
16
|
-
"hash": "
|
14
|
+
"date": 1722154900827,
|
15
|
+
"name": "logs/application-2024-07-28-17.log",
|
16
|
+
"hash": "48079c1cf9acbb809b7d8170b5b6c1ab4372fde4e9c849ee2434d949e075dfca"
|
17
17
|
},
|
18
18
|
{
|
19
|
-
"date":
|
20
|
-
"name": "logs/application-2024-07-
|
21
|
-
"hash": "
|
19
|
+
"date": 1722158687359,
|
20
|
+
"name": "logs/application-2024-07-28-18.log",
|
21
|
+
"hash": "6f178eef875a2e8a0aac6b30aea81a2b26480d15e99d284b0a166092d633178c"
|
22
22
|
}
|
23
23
|
],
|
24
24
|
"hashType": "sha256"
|
@@ -6,19 +6,34 @@
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
7
7
|
"files": [
|
8
8
|
{
|
9
|
-
"date":
|
10
|
-
"name": "logs/connections-2024-07-
|
11
|
-
"hash": "
|
9
|
+
"date": 1721712502089,
|
10
|
+
"name": "logs/connections-2024-07-23-14.log",
|
11
|
+
"hash": "4d9d3b46cca320aa5041f14f208c0a0ace9526d5b21cff066cd4400009801fb3"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"date":
|
15
|
-
"name": "logs/connections-2024-07-
|
16
|
-
"hash": "
|
14
|
+
"date": 1721917409409,
|
15
|
+
"name": "logs/connections-2024-07-25-23.log",
|
16
|
+
"hash": "466ed531d735efadc5c24fe3166214114b57833f51b4a8091f0735463c3b5c60"
|
17
17
|
},
|
18
18
|
{
|
19
|
-
"date":
|
20
|
-
"name": "logs/connections-2024-07-
|
21
|
-
"hash": "
|
19
|
+
"date": 1721984985587,
|
20
|
+
"name": "logs/connections-2024-07-26-18.log",
|
21
|
+
"hash": "e3d9bfeb155df27a983c6e0f6e18b95c93a086ad507baec9b626cde957951efb"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"date": 1722103525156,
|
25
|
+
"name": "logs/connections-2024-07-28-03.log",
|
26
|
+
"hash": "82ed3730407210f2178db5b9a2463bb964e36038bfabca76382a7675d72b1c01"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"date": 1722154903515,
|
30
|
+
"name": "logs/connections-2024-07-28-17.log",
|
31
|
+
"hash": "19b9802a1e885d087c4bc3c64851da771895e7657831f8daeb68c48d7fac4278"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"date": 1722158689306,
|
35
|
+
"name": "logs/connections-2024-07-28-18.log",
|
36
|
+
"hash": "6715a035a47e3a8b70da488fd65fd5e346677470938676667738e8fd477f15dd"
|
22
37
|
}
|
23
38
|
],
|
24
39
|
"hashType": "sha256"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
2024-07-
|
2
|
-
2024-07-
|
1
|
+
2024-07-28T03:05:24+09:00 info: File Storage is Ready.
|
2
|
+
2024-07-28T03:05:25+09:00 error: Error: Cannot find module 'oracledb'
|
3
3
|
Require stack:
|
4
4
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/oracle-connector.js
|
5
5
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/connector/index.js
|
@@ -25,7 +25,7 @@ Require stack:
|
|
25
25
|
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
26
26
|
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
27
27
|
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
28
|
-
2024-07-
|
28
|
+
2024-07-28T03:05:25+09:00 error: Error: Cannot find module 'oracledb'
|
29
29
|
Require stack:
|
30
30
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/oracle-procedure.js
|
31
31
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js
|
@@ -46,12 +46,12 @@ Require stack:
|
|
46
46
|
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
47
47
|
at Module.require (node:internal/modules/cjs/loader:1233:19)
|
48
48
|
at require (node:internal/modules/helpers:179:18)
|
49
|
-
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js:
|
49
|
+
at Object.<anonymous> (/Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/integration-base/dist-server/engine/task/index.js:43:1)
|
50
50
|
at Module._compile (node:internal/modules/cjs/loader:1358:14)
|
51
51
|
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
52
52
|
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
53
53
|
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
54
|
-
2024-07-
|
54
|
+
2024-07-28T03:05:25+09:00 error: Error: Cannot find module '@thiagoelg/node-printer'
|
55
55
|
Require stack:
|
56
56
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/print.js
|
57
57
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/board-service/dist-server/controllers/index.js
|
@@ -76,7 +76,7 @@ Require stack:
|
|
76
76
|
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
77
77
|
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
78
78
|
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
79
|
-
2024-07-
|
79
|
+
2024-07-28T03:05:26+09:00 error: Error: Cannot find module '@thiagoelg/node-printer'
|
80
80
|
Require stack:
|
81
81
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/middlewares/index.js
|
82
82
|
- /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/print-service/dist-server/index.js
|
@@ -100,6 +100,6 @@ Require stack:
|
|
100
100
|
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
|
101
101
|
at Module.load (node:internal/modules/cjs/loader:1208:32)
|
102
102
|
at Module._load (node:internal/modules/cjs/loader:1024:12)
|
103
|
-
2024-07-
|
104
|
-
2024-07-
|
105
|
-
2024-07-
|
103
|
+
2024-07-28T03:05:26+09:00 info: Default DataSource established
|
104
|
+
2024-07-28T03:05:29+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
105
|
+
2024-07-28T03:05:29+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|