@uns-kit/temporal 0.0.23 → 0.0.26
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.
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { UnsAttributeType } from "@uns-kit/core/graphql/schema.js";
|
|
2
|
+
import { UnsAsset } from "@uns-kit/core/uns/uns-asset.js";
|
|
3
|
+
import { UnsObjectId, UnsObjectType } from "@uns-kit/core/uns/uns-object.js";
|
|
2
4
|
export interface ITemporalTopic {
|
|
3
5
|
attribute: string;
|
|
4
6
|
topic: string;
|
|
@@ -7,4 +9,7 @@ export interface ITemporalTopic {
|
|
|
7
9
|
dataGroup?: string | undefined;
|
|
8
10
|
description?: string | undefined;
|
|
9
11
|
tags?: string[] | undefined;
|
|
12
|
+
objectType: UnsObjectType;
|
|
13
|
+
objectId: UnsObjectId;
|
|
14
|
+
asset: UnsAsset;
|
|
10
15
|
}
|
|
@@ -43,6 +43,9 @@ export default class UnsTemporalProxy extends UnsProxy {
|
|
|
43
43
|
const unsTopic = {
|
|
44
44
|
timestamp: UnsPacket.formatToISO8601(new Date()),
|
|
45
45
|
topic: temporalTopic.topic,
|
|
46
|
+
asset: temporalTopic.asset,
|
|
47
|
+
objectType: temporalTopic.objectType,
|
|
48
|
+
objectId: temporalTopic.objectId,
|
|
46
49
|
attribute: temporalTopic.attribute,
|
|
47
50
|
attributeType: temporalTopic.attributeType,
|
|
48
51
|
description: temporalTopic.description ?? "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/temporal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "Temporal.io integration plugin for UnsProxyProcess, wiring workflows into the UNS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"types": "dist/index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@temporalio/client": "^1.13.0",
|
|
35
|
-
"@uns-kit/core": "1.0.
|
|
35
|
+
"@uns-kit/core": "1.0.9"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsc -p tsconfig.build.json",
|