@kemu-io/hs 0.4.43 → 0.4.45
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/cjs/types/kemuCore.d.ts +37 -0
- package/cjs/types/kemuCore.js +219 -0
- package/mjs/types/kemuCore.d.ts +37 -0
- package/mjs/types/kemuCore.js +94 -0
- package/package.json +4 -2
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
+
|
|
3
|
+
export declare enum RecipeType {
|
|
4
|
+
Browser = "browser",
|
|
5
|
+
Cloud = "cloud",
|
|
6
|
+
Desktop = "desktop"
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Valid Kemu Data types
|
|
10
|
+
**/
|
|
11
|
+
export declare enum DataType {
|
|
12
|
+
Number = 0,
|
|
13
|
+
String = 1,
|
|
14
|
+
ArrayBuffer = 2,
|
|
15
|
+
Array = 3,
|
|
16
|
+
Boolean = 4,
|
|
17
|
+
/** a javascript object */
|
|
18
|
+
JsonObj = 5,
|
|
19
|
+
/**
|
|
20
|
+
* Does not care; mostly used by actions to indicate they accept anything since they probably won't use the
|
|
21
|
+
* value.
|
|
22
|
+
**/
|
|
23
|
+
Anything = 6,
|
|
24
|
+
/** Raw image data, produced in browser environments */
|
|
25
|
+
ImageData = 7,
|
|
26
|
+
/** Raw audio data fraction */
|
|
27
|
+
AudioBuffer = 8,
|
|
28
|
+
Rect = 9,
|
|
29
|
+
Point = 10,
|
|
30
|
+
ImageBitmap = 11,
|
|
31
|
+
/**
|
|
32
|
+
* Custom binary data. Use the `format` property to specify the type of data, i.e. 'image/png', 'audio/mp3', etc.
|
|
33
|
+
**/
|
|
34
|
+
BinaryFile = 12
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
var kemuCore$1 = {};
|
|
8
|
+
|
|
9
|
+
var cjs = {};
|
|
10
|
+
|
|
11
|
+
var kemu_t = {};
|
|
12
|
+
|
|
13
|
+
var hasRequiredKemu_t;
|
|
14
|
+
|
|
15
|
+
function requireKemu_t () {
|
|
16
|
+
if (hasRequiredKemu_t) return kemu_t;
|
|
17
|
+
hasRequiredKemu_t = 1;
|
|
18
|
+
Object.defineProperty(kemu_t, "__esModule", { value: true });
|
|
19
|
+
kemu_t.DataTypeStr = kemu_t.DataType = kemu_t.RecipeType = void 0;
|
|
20
|
+
var RecipeType;
|
|
21
|
+
(function (RecipeType) {
|
|
22
|
+
RecipeType["Browser"] = "browser";
|
|
23
|
+
RecipeType["Cloud"] = "cloud";
|
|
24
|
+
RecipeType["Desktop"] = "desktop";
|
|
25
|
+
})(RecipeType || (kemu_t.RecipeType = RecipeType = {}));
|
|
26
|
+
var DataType;
|
|
27
|
+
(function (DataType) {
|
|
28
|
+
DataType[DataType["Number"] = 0] = "Number";
|
|
29
|
+
DataType[DataType["String"] = 1] = "String";
|
|
30
|
+
DataType[DataType["ArrayBuffer"] = 2] = "ArrayBuffer";
|
|
31
|
+
DataType[DataType["Array"] = 3] = "Array";
|
|
32
|
+
DataType[DataType["Boolean"] = 4] = "Boolean";
|
|
33
|
+
DataType[DataType["JsonObj"] = 5] = "JsonObj";
|
|
34
|
+
DataType[DataType["Anything"] = 6] = "Anything";
|
|
35
|
+
DataType[DataType["ImageData"] = 7] = "ImageData";
|
|
36
|
+
DataType[DataType["AudioBuffer"] = 8] = "AudioBuffer";
|
|
37
|
+
DataType[DataType["Rect"] = 9] = "Rect";
|
|
38
|
+
DataType[DataType["Point"] = 10] = "Point";
|
|
39
|
+
DataType[DataType["ImageBitmap"] = 11] = "ImageBitmap";
|
|
40
|
+
DataType[DataType["BinaryFile"] = 12] = "BinaryFile";
|
|
41
|
+
})(DataType || (kemu_t.DataType = DataType = {}));
|
|
42
|
+
var DataTypeStr;
|
|
43
|
+
(function (DataTypeStr) {
|
|
44
|
+
DataTypeStr["Number"] = "Number";
|
|
45
|
+
DataTypeStr["String"] = "String";
|
|
46
|
+
DataTypeStr["ArrayBuffer"] = "ArrayBuffer";
|
|
47
|
+
DataTypeStr["Array"] = "Array";
|
|
48
|
+
DataTypeStr["Boolean"] = "Boolean";
|
|
49
|
+
DataTypeStr["JsonObj"] = "JsonObj";
|
|
50
|
+
DataTypeStr["Anything"] = "Anything";
|
|
51
|
+
DataTypeStr["ImageData"] = "ImageData";
|
|
52
|
+
DataTypeStr["AudioBuffer"] = "AudioBuffer";
|
|
53
|
+
DataTypeStr["Rect"] = "Rect";
|
|
54
|
+
DataTypeStr["Point"] = "Point";
|
|
55
|
+
DataTypeStr["ImageBitmap"] = "ImageBitmap";
|
|
56
|
+
DataTypeStr["BinaryFile"] = "BinaryFile";
|
|
57
|
+
})(DataTypeStr || (kemu_t.DataTypeStr = DataTypeStr = {}));
|
|
58
|
+
return kemu_t;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
var widget_t = {};
|
|
62
|
+
|
|
63
|
+
var hasRequiredWidget_t;
|
|
64
|
+
|
|
65
|
+
function requireWidget_t () {
|
|
66
|
+
if (hasRequiredWidget_t) return widget_t;
|
|
67
|
+
hasRequiredWidget_t = 1;
|
|
68
|
+
Object.defineProperty(widget_t, "__esModule", { value: true });
|
|
69
|
+
return widget_t;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
var serviceWidget_t = {};
|
|
73
|
+
|
|
74
|
+
var hasRequiredServiceWidget_t;
|
|
75
|
+
|
|
76
|
+
function requireServiceWidget_t () {
|
|
77
|
+
if (hasRequiredServiceWidget_t) return serviceWidget_t;
|
|
78
|
+
hasRequiredServiceWidget_t = 1;
|
|
79
|
+
Object.defineProperty(serviceWidget_t, "__esModule", { value: true });
|
|
80
|
+
return serviceWidget_t;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var serviceManifest_t = {};
|
|
84
|
+
|
|
85
|
+
var hasRequiredServiceManifest_t;
|
|
86
|
+
|
|
87
|
+
function requireServiceManifest_t () {
|
|
88
|
+
if (hasRequiredServiceManifest_t) return serviceManifest_t;
|
|
89
|
+
hasRequiredServiceManifest_t = 1;
|
|
90
|
+
Object.defineProperty(serviceManifest_t, "__esModule", { value: true });
|
|
91
|
+
serviceManifest_t.ProcessorType = void 0;
|
|
92
|
+
var ProcessorType;
|
|
93
|
+
(function (ProcessorType) {
|
|
94
|
+
ProcessorType["Javascript"] = "js";
|
|
95
|
+
ProcessorType["Python"] = "py";
|
|
96
|
+
ProcessorType["Executable"] = "exe";
|
|
97
|
+
})(ProcessorType || (serviceManifest_t.ProcessorType = ProcessorType = {}));
|
|
98
|
+
return serviceManifest_t;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
var kemuHub_t = {};
|
|
102
|
+
|
|
103
|
+
var hasRequiredKemuHub_t;
|
|
104
|
+
|
|
105
|
+
function requireKemuHub_t () {
|
|
106
|
+
if (hasRequiredKemuHub_t) return kemuHub_t;
|
|
107
|
+
hasRequiredKemuHub_t = 1;
|
|
108
|
+
Object.defineProperty(kemuHub_t, "__esModule", { value: true });
|
|
109
|
+
kemuHub_t.Transport = kemuHub_t.ServiceToServiceFunctions = kemuHub_t.KemuHubFunctions = kemuHub_t.KemuHubCommand = void 0;
|
|
110
|
+
var KemuHubCommand;
|
|
111
|
+
(function (KemuHubCommand) {
|
|
112
|
+
KemuHubCommand["IpcAcknowledge"] = "iack:";
|
|
113
|
+
KemuHubCommand["SocketAcknowledge"] = "sack:";
|
|
114
|
+
KemuHubCommand["AcknowledgeResponse"] = "ackr:";
|
|
115
|
+
KemuHubCommand["ServicesListChanged"] = "update-services";
|
|
116
|
+
KemuHubCommand["SendManifest"] = "send-manifest";
|
|
117
|
+
KemuHubCommand["BroadcastStart"] = "broadcast-start";
|
|
118
|
+
KemuHubCommand["BroadcastEnd"] = "broadcast-end";
|
|
119
|
+
KemuHubCommand["AssumeSession"] = "assume:";
|
|
120
|
+
})(KemuHubCommand || (kemuHub_t.KemuHubCommand = KemuHubCommand = {}));
|
|
121
|
+
var KemuHubFunctions;
|
|
122
|
+
(function (KemuHubFunctions) {
|
|
123
|
+
KemuHubFunctions["GetServices"] = "getServices";
|
|
124
|
+
KemuHubFunctions["SubscribeToService"] = "subscribeToService";
|
|
125
|
+
KemuHubFunctions["UnsubscribeFromService"] = "unsubscribeFromService";
|
|
126
|
+
KemuHubFunctions["GetServiceContents"] = "getServiceContents";
|
|
127
|
+
KemuHubFunctions["SocketAckResponse"] = "socketAckResponse";
|
|
128
|
+
KemuHubFunctions["ShowSecretsConfigScreen"] = "showSecretsConfigScreen";
|
|
129
|
+
KemuHubFunctions["GetMappedSecrets"] = "getMappedSecrets";
|
|
130
|
+
KemuHubFunctions["GetSecretContexts"] = "getSecretContexts";
|
|
131
|
+
KemuHubFunctions["OnParentEvent"] = "onParentEvent";
|
|
132
|
+
KemuHubFunctions["GetDefaultState"] = "getDefaultState";
|
|
133
|
+
KemuHubFunctions["BroadcastEvent"] = "broadcastEvent";
|
|
134
|
+
KemuHubFunctions["HubBroadcastEvent"] = "hubBroadcastEvent";
|
|
135
|
+
KemuHubFunctions["ServiceManifest"] = "serviceManifest";
|
|
136
|
+
KemuHubFunctions["GetState"] = "getState";
|
|
137
|
+
KemuHubFunctions["SetState"] = "setState";
|
|
138
|
+
KemuHubFunctions["SetOutputs"] = "setOutputs";
|
|
139
|
+
KemuHubFunctions["UIEvent"] = "uiEvent";
|
|
140
|
+
KemuHubFunctions["InitializeInstance"] = "initializeInstance";
|
|
141
|
+
KemuHubFunctions["TerminateInstance"] = "terminateInstance";
|
|
142
|
+
KemuHubFunctions["ChooseDirectoryDialog"] = "chooseDirectoryDialog";
|
|
143
|
+
KemuHubFunctions["ChooseFileDialog"] = "chooseFileDialog";
|
|
144
|
+
KemuHubFunctions["GetUniqueId"] = "getUniqueId";
|
|
145
|
+
})(KemuHubFunctions || (kemuHub_t.KemuHubFunctions = KemuHubFunctions = {}));
|
|
146
|
+
var ServiceToServiceFunctions;
|
|
147
|
+
(function (ServiceToServiceFunctions) {
|
|
148
|
+
ServiceToServiceFunctions["SetDependencyPath"] = "setDependencyPath";
|
|
149
|
+
ServiceToServiceFunctions["GetDependencyPath"] = "getDependencyPath";
|
|
150
|
+
})(ServiceToServiceFunctions || (kemuHub_t.ServiceToServiceFunctions = ServiceToServiceFunctions = {}));
|
|
151
|
+
var Transport;
|
|
152
|
+
(function (Transport) {
|
|
153
|
+
Transport["IPC"] = "ipc";
|
|
154
|
+
Transport["WS"] = "ws";
|
|
155
|
+
})(Transport || (kemuHub_t.Transport = Transport = {}));
|
|
156
|
+
return kemuHub_t;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
var helpers_t = {};
|
|
160
|
+
|
|
161
|
+
var hasRequiredHelpers_t;
|
|
162
|
+
|
|
163
|
+
function requireHelpers_t () {
|
|
164
|
+
if (hasRequiredHelpers_t) return helpers_t;
|
|
165
|
+
hasRequiredHelpers_t = 1;
|
|
166
|
+
Object.defineProperty(helpers_t, "__esModule", { value: true });
|
|
167
|
+
return helpers_t;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
var hasRequiredCjs;
|
|
171
|
+
|
|
172
|
+
function requireCjs () {
|
|
173
|
+
if (hasRequiredCjs) return cjs;
|
|
174
|
+
hasRequiredCjs = 1;
|
|
175
|
+
(function (exports) {
|
|
176
|
+
var __createBinding = (cjs && cjs.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
177
|
+
if (k2 === undefined) k2 = k;
|
|
178
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
179
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
180
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
181
|
+
}
|
|
182
|
+
Object.defineProperty(o, k2, desc);
|
|
183
|
+
}) : (function(o, m, k, k2) {
|
|
184
|
+
if (k2 === undefined) k2 = k;
|
|
185
|
+
o[k2] = m[k];
|
|
186
|
+
}));
|
|
187
|
+
var __exportStar = (cjs && cjs.__exportStar) || function(m, exports) {
|
|
188
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
189
|
+
};
|
|
190
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191
|
+
__exportStar(requireKemu_t(), exports);
|
|
192
|
+
__exportStar(requireWidget_t(), exports);
|
|
193
|
+
__exportStar(requireServiceWidget_t(), exports);
|
|
194
|
+
__exportStar(requireServiceManifest_t(), exports);
|
|
195
|
+
__exportStar(requireKemuHub_t(), exports);
|
|
196
|
+
__exportStar(requireHelpers_t(), exports);
|
|
197
|
+
} (cjs));
|
|
198
|
+
return cjs;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
var hasRequiredKemuCore;
|
|
202
|
+
|
|
203
|
+
function requireKemuCore () {
|
|
204
|
+
if (hasRequiredKemuCore) return kemuCore$1;
|
|
205
|
+
hasRequiredKemuCore = 1;
|
|
206
|
+
(function (exports) {
|
|
207
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
208
|
+
exports.RecipeType = exports.DataType = void 0;
|
|
209
|
+
const hs_types_1 = requireCjs();
|
|
210
|
+
Object.defineProperty(exports, "DataType", { enumerable: true, get: function () { return hs_types_1.DataType; } });
|
|
211
|
+
Object.defineProperty(exports, "RecipeType", { enumerable: true, get: function () { return hs_types_1.RecipeType; } });
|
|
212
|
+
} (kemuCore$1));
|
|
213
|
+
return kemuCore$1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
var kemuCoreExports = requireKemuCore();
|
|
217
|
+
var kemuCore = /*@__PURE__*/getDefaultExportFromCjs(kemuCoreExports);
|
|
218
|
+
|
|
219
|
+
module.exports = kemuCore;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
+
|
|
3
|
+
export declare enum RecipeType {
|
|
4
|
+
Browser = "browser",
|
|
5
|
+
Cloud = "cloud",
|
|
6
|
+
Desktop = "desktop"
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Valid Kemu Data types
|
|
10
|
+
**/
|
|
11
|
+
export declare enum DataType {
|
|
12
|
+
Number = 0,
|
|
13
|
+
String = 1,
|
|
14
|
+
ArrayBuffer = 2,
|
|
15
|
+
Array = 3,
|
|
16
|
+
Boolean = 4,
|
|
17
|
+
/** a javascript object */
|
|
18
|
+
JsonObj = 5,
|
|
19
|
+
/**
|
|
20
|
+
* Does not care; mostly used by actions to indicate they accept anything since they probably won't use the
|
|
21
|
+
* value.
|
|
22
|
+
**/
|
|
23
|
+
Anything = 6,
|
|
24
|
+
/** Raw image data, produced in browser environments */
|
|
25
|
+
ImageData = 7,
|
|
26
|
+
/** Raw audio data fraction */
|
|
27
|
+
AudioBuffer = 8,
|
|
28
|
+
Rect = 9,
|
|
29
|
+
Point = 10,
|
|
30
|
+
ImageBitmap = 11,
|
|
31
|
+
/**
|
|
32
|
+
* Custom binary data. Use the `format` property to specify the type of data, i.e. 'image/png', 'audio/mp3', etc.
|
|
33
|
+
**/
|
|
34
|
+
BinaryFile = 12
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
var RecipeType;
|
|
2
|
+
(function (RecipeType) {
|
|
3
|
+
RecipeType["Browser"] = "browser";
|
|
4
|
+
RecipeType["Cloud"] = "cloud";
|
|
5
|
+
RecipeType["Desktop"] = "desktop";
|
|
6
|
+
})(RecipeType || (RecipeType = {}));
|
|
7
|
+
var DataType;
|
|
8
|
+
(function (DataType) {
|
|
9
|
+
DataType[DataType["Number"] = 0] = "Number";
|
|
10
|
+
DataType[DataType["String"] = 1] = "String";
|
|
11
|
+
DataType[DataType["ArrayBuffer"] = 2] = "ArrayBuffer";
|
|
12
|
+
DataType[DataType["Array"] = 3] = "Array";
|
|
13
|
+
DataType[DataType["Boolean"] = 4] = "Boolean";
|
|
14
|
+
DataType[DataType["JsonObj"] = 5] = "JsonObj";
|
|
15
|
+
DataType[DataType["Anything"] = 6] = "Anything";
|
|
16
|
+
DataType[DataType["ImageData"] = 7] = "ImageData";
|
|
17
|
+
DataType[DataType["AudioBuffer"] = 8] = "AudioBuffer";
|
|
18
|
+
DataType[DataType["Rect"] = 9] = "Rect";
|
|
19
|
+
DataType[DataType["Point"] = 10] = "Point";
|
|
20
|
+
DataType[DataType["ImageBitmap"] = 11] = "ImageBitmap";
|
|
21
|
+
DataType[DataType["BinaryFile"] = 12] = "BinaryFile";
|
|
22
|
+
})(DataType || (DataType = {}));
|
|
23
|
+
var DataTypeStr;
|
|
24
|
+
(function (DataTypeStr) {
|
|
25
|
+
DataTypeStr["Number"] = "Number";
|
|
26
|
+
DataTypeStr["String"] = "String";
|
|
27
|
+
DataTypeStr["ArrayBuffer"] = "ArrayBuffer";
|
|
28
|
+
DataTypeStr["Array"] = "Array";
|
|
29
|
+
DataTypeStr["Boolean"] = "Boolean";
|
|
30
|
+
DataTypeStr["JsonObj"] = "JsonObj";
|
|
31
|
+
DataTypeStr["Anything"] = "Anything";
|
|
32
|
+
DataTypeStr["ImageData"] = "ImageData";
|
|
33
|
+
DataTypeStr["AudioBuffer"] = "AudioBuffer";
|
|
34
|
+
DataTypeStr["Rect"] = "Rect";
|
|
35
|
+
DataTypeStr["Point"] = "Point";
|
|
36
|
+
DataTypeStr["ImageBitmap"] = "ImageBitmap";
|
|
37
|
+
DataTypeStr["BinaryFile"] = "BinaryFile";
|
|
38
|
+
})(DataTypeStr || (DataTypeStr = {}));
|
|
39
|
+
|
|
40
|
+
var ProcessorType;
|
|
41
|
+
(function (ProcessorType) {
|
|
42
|
+
ProcessorType["Javascript"] = "js";
|
|
43
|
+
ProcessorType["Python"] = "py";
|
|
44
|
+
ProcessorType["Executable"] = "exe";
|
|
45
|
+
})(ProcessorType || (ProcessorType = {}));
|
|
46
|
+
|
|
47
|
+
var KemuHubCommand;
|
|
48
|
+
(function (KemuHubCommand) {
|
|
49
|
+
KemuHubCommand["IpcAcknowledge"] = "iack:";
|
|
50
|
+
KemuHubCommand["SocketAcknowledge"] = "sack:";
|
|
51
|
+
KemuHubCommand["AcknowledgeResponse"] = "ackr:";
|
|
52
|
+
KemuHubCommand["ServicesListChanged"] = "update-services";
|
|
53
|
+
KemuHubCommand["SendManifest"] = "send-manifest";
|
|
54
|
+
KemuHubCommand["BroadcastStart"] = "broadcast-start";
|
|
55
|
+
KemuHubCommand["BroadcastEnd"] = "broadcast-end";
|
|
56
|
+
KemuHubCommand["AssumeSession"] = "assume:";
|
|
57
|
+
})(KemuHubCommand || (KemuHubCommand = {}));
|
|
58
|
+
var KemuHubFunctions;
|
|
59
|
+
(function (KemuHubFunctions) {
|
|
60
|
+
KemuHubFunctions["GetServices"] = "getServices";
|
|
61
|
+
KemuHubFunctions["SubscribeToService"] = "subscribeToService";
|
|
62
|
+
KemuHubFunctions["UnsubscribeFromService"] = "unsubscribeFromService";
|
|
63
|
+
KemuHubFunctions["GetServiceContents"] = "getServiceContents";
|
|
64
|
+
KemuHubFunctions["SocketAckResponse"] = "socketAckResponse";
|
|
65
|
+
KemuHubFunctions["ShowSecretsConfigScreen"] = "showSecretsConfigScreen";
|
|
66
|
+
KemuHubFunctions["GetMappedSecrets"] = "getMappedSecrets";
|
|
67
|
+
KemuHubFunctions["GetSecretContexts"] = "getSecretContexts";
|
|
68
|
+
KemuHubFunctions["OnParentEvent"] = "onParentEvent";
|
|
69
|
+
KemuHubFunctions["GetDefaultState"] = "getDefaultState";
|
|
70
|
+
KemuHubFunctions["BroadcastEvent"] = "broadcastEvent";
|
|
71
|
+
KemuHubFunctions["HubBroadcastEvent"] = "hubBroadcastEvent";
|
|
72
|
+
KemuHubFunctions["ServiceManifest"] = "serviceManifest";
|
|
73
|
+
KemuHubFunctions["GetState"] = "getState";
|
|
74
|
+
KemuHubFunctions["SetState"] = "setState";
|
|
75
|
+
KemuHubFunctions["SetOutputs"] = "setOutputs";
|
|
76
|
+
KemuHubFunctions["UIEvent"] = "uiEvent";
|
|
77
|
+
KemuHubFunctions["InitializeInstance"] = "initializeInstance";
|
|
78
|
+
KemuHubFunctions["TerminateInstance"] = "terminateInstance";
|
|
79
|
+
KemuHubFunctions["ChooseDirectoryDialog"] = "chooseDirectoryDialog";
|
|
80
|
+
KemuHubFunctions["ChooseFileDialog"] = "chooseFileDialog";
|
|
81
|
+
KemuHubFunctions["GetUniqueId"] = "getUniqueId";
|
|
82
|
+
})(KemuHubFunctions || (KemuHubFunctions = {}));
|
|
83
|
+
var ServiceToServiceFunctions;
|
|
84
|
+
(function (ServiceToServiceFunctions) {
|
|
85
|
+
ServiceToServiceFunctions["SetDependencyPath"] = "setDependencyPath";
|
|
86
|
+
ServiceToServiceFunctions["GetDependencyPath"] = "getDependencyPath";
|
|
87
|
+
})(ServiceToServiceFunctions || (ServiceToServiceFunctions = {}));
|
|
88
|
+
var Transport;
|
|
89
|
+
(function (Transport) {
|
|
90
|
+
Transport["IPC"] = "ipc";
|
|
91
|
+
Transport["WS"] = "ws";
|
|
92
|
+
})(Transport || (Transport = {}));
|
|
93
|
+
|
|
94
|
+
export { DataType, RecipeType };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kemu-io/hs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.45",
|
|
5
5
|
"description": "Kemu Hub Service - NodeJs library for creating Kemu Services",
|
|
6
6
|
"author": "Kemu Pty Ltd",
|
|
7
7
|
"main": "service.js",
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
"mjs/service.js",
|
|
25
25
|
"mjs/service.d.ts",
|
|
26
26
|
"cjs/service.js",
|
|
27
|
-
"cjs/service.d.ts"
|
|
27
|
+
"cjs/service.d.ts",
|
|
28
|
+
"mjs/types/**",
|
|
29
|
+
"cjs/types/**"
|
|
28
30
|
],
|
|
29
31
|
"dependencies": {
|
|
30
32
|
"debug": "^4.3.5",
|