@sme.up/kokos-sdk-node 0.1.0-SNAPSHOT.1704467736712 → 0.1.0-SNAPSHOT.20240111094104.53
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/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Environment.html +5 -0
- package/docs/classes/ErrorWithStatus.html +4 -4
- package/docs/classes/ExecuteFunPayload.html +2 -2
- package/docs/classes/ExecutionContext.html +4 -3
- package/docs/classes/Fun.html +2 -2
- package/docs/classes/FunObject.html +2 -2
- package/docs/classes/Registry.html +6 -0
- package/docs/classes/SmeupDataStructureWriter.html +2 -2
- package/docs/classes/SourceLibrary.html +3 -0
- package/docs/classes/User.html +2 -2
- package/docs/enums/Format.html +2 -2
- package/docs/enums/Level.html +2 -2
- package/docs/enums/SmeupDataStructureType.html +4 -4
- package/docs/functions/clearLoggerContext.html +1 -1
- package/docs/functions/configureLogger.html +1 -1
- package/docs/functions/createLoggerContext.html +1 -1
- package/docs/functions/executeFun.html +2 -0
- package/docs/functions/getSmeupDataStructureType.html +1 -1
- package/docs/functions/parseKeyValueBetweenBrackets.html +1 -1
- package/docs/functions/startServer.html +1 -1
- package/docs/functions/startServerWithCustomConfig.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/DebugInfo.html +2 -2
- package/docs/interfaces/KokosService.html +2 -2
- package/docs/interfaces/KokosServiceMethods.html +1 -1
- package/docs/interfaces/KokosServiceModule.html +2 -2
- package/docs/interfaces/LoggerContext.html +2 -2
- package/docs/interfaces/MicroExecutorConfiguration.html +2 -2
- package/docs/interfaces/SmeupCell.html +3 -3
- package/docs/interfaces/SmeupColumn.html +11 -11
- package/docs/interfaces/SmeupDataStructure.html +2 -2
- package/docs/interfaces/SmeupFeedback.html +2 -2
- package/docs/interfaces/SmeupMessage.html +2 -2
- package/docs/interfaces/SmeupObject.html +9 -9
- package/docs/interfaces/SmeupRow.html +2 -2
- package/docs/interfaces/SmeupTable.html +2 -2
- package/docs/interfaces/SmeupTree.html +2 -2
- package/docs/interfaces/SmeupTreeNode.html +2 -2
- package/docs/modules.html +6 -2
- package/docs/variables/LOGGER.html +1 -1
- package/docs/variables/SMEUP_MESSAGE_GRAVITY.html +1 -1
- package/docs/variables/SMEUP_MESSAGE_MODE.html +1 -1
- package/lib/caller/executeFun.d.ts +9 -0
- package/lib/caller/executeFun.js +22 -0
- package/lib/caller/executeFun.js.map +1 -0
- package/lib/caller/microExecutorServiceCaller.d.ts +12 -0
- package/lib/caller/microExecutorServiceCaller.js +32 -0
- package/lib/caller/microExecutorServiceCaller.js.map +1 -0
- package/lib/caller/serviceCaller.js +54 -39
- package/lib/caller/serviceCaller.js.map +1 -1
- package/lib/configuration/configuration.d.ts +3 -0
- package/lib/configuration/configuration.js +5 -0
- package/lib/configuration/configuration.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/types/general.d.ts +26 -1
- package/lib/types/general.js +56 -0
- package/lib/types/general.js.map +1 -1
- package/lib/utils/dataStructureStream.d.ts +10 -0
- package/lib/utils/dataStructureStream.js +16 -0
- package/lib/utils/dataStructureStream.js.map +1 -0
- package/package.json +3 -2
- package/swagger/openapi.yaml +95 -80
package/lib/types/general.d.ts
CHANGED
|
@@ -49,11 +49,36 @@ export declare class User {
|
|
|
49
49
|
environment: string;
|
|
50
50
|
device: string;
|
|
51
51
|
}
|
|
52
|
+
export declare class SourceLibrary {
|
|
53
|
+
path: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Registry
|
|
57
|
+
*/
|
|
58
|
+
export declare class Registry {
|
|
59
|
+
handlers?: {
|
|
60
|
+
[id: string]: string;
|
|
61
|
+
};
|
|
62
|
+
services?: {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
aliases?: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Environment
|
|
71
|
+
*/
|
|
72
|
+
export declare class Environment {
|
|
73
|
+
registry?: Registry;
|
|
74
|
+
sourceLibrary?: SourceLibrary;
|
|
75
|
+
}
|
|
52
76
|
/**
|
|
53
77
|
* Execution Context
|
|
54
78
|
*/
|
|
55
79
|
export declare class ExecutionContext {
|
|
56
|
-
user
|
|
80
|
+
user?: User;
|
|
81
|
+
environment?: Environment;
|
|
57
82
|
}
|
|
58
83
|
/**
|
|
59
84
|
* Execute Fun payalod DTO
|
package/lib/types/general.js
CHANGED
|
@@ -134,11 +134,61 @@ __decorate([
|
|
|
134
134
|
IsString(),
|
|
135
135
|
__metadata("design:type", String)
|
|
136
136
|
], User.prototype, "device", void 0);
|
|
137
|
+
export class SourceLibrary {
|
|
138
|
+
path;
|
|
139
|
+
}
|
|
140
|
+
__decorate([
|
|
141
|
+
IsString(),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], SourceLibrary.prototype, "path", void 0);
|
|
144
|
+
/**
|
|
145
|
+
* Registry
|
|
146
|
+
*/
|
|
147
|
+
export class Registry {
|
|
148
|
+
handlers;
|
|
149
|
+
services;
|
|
150
|
+
aliases;
|
|
151
|
+
}
|
|
152
|
+
__decorate([
|
|
153
|
+
IsObject(),
|
|
154
|
+
ValidateNested(),
|
|
155
|
+
__metadata("design:type", Object)
|
|
156
|
+
], Registry.prototype, "handlers", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
IsObject(),
|
|
159
|
+
ValidateNested(),
|
|
160
|
+
__metadata("design:type", Object)
|
|
161
|
+
], Registry.prototype, "services", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
IsObject(),
|
|
164
|
+
ValidateNested(),
|
|
165
|
+
__metadata("design:type", Object)
|
|
166
|
+
], Registry.prototype, "aliases", void 0);
|
|
167
|
+
/**
|
|
168
|
+
* Environment
|
|
169
|
+
*/
|
|
170
|
+
export class Environment {
|
|
171
|
+
registry;
|
|
172
|
+
sourceLibrary;
|
|
173
|
+
}
|
|
174
|
+
__decorate([
|
|
175
|
+
IsObject(),
|
|
176
|
+
IsOptional(),
|
|
177
|
+
ValidateNested(),
|
|
178
|
+
__metadata("design:type", Registry)
|
|
179
|
+
], Environment.prototype, "registry", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
IsObject(),
|
|
182
|
+
IsOptional(),
|
|
183
|
+
ValidateNested(),
|
|
184
|
+
__metadata("design:type", SourceLibrary)
|
|
185
|
+
], Environment.prototype, "sourceLibrary", void 0);
|
|
137
186
|
/**
|
|
138
187
|
* Execution Context
|
|
139
188
|
*/
|
|
140
189
|
export class ExecutionContext {
|
|
141
190
|
user;
|
|
191
|
+
environment;
|
|
142
192
|
}
|
|
143
193
|
__decorate([
|
|
144
194
|
IsObject(),
|
|
@@ -146,6 +196,12 @@ __decorate([
|
|
|
146
196
|
ValidateNested(),
|
|
147
197
|
__metadata("design:type", User)
|
|
148
198
|
], ExecutionContext.prototype, "user", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
IsObject(),
|
|
201
|
+
IsOptional(),
|
|
202
|
+
ValidateNested(),
|
|
203
|
+
__metadata("design:type", Environment)
|
|
204
|
+
], ExecutionContext.prototype, "environment", void 0);
|
|
149
205
|
/**
|
|
150
206
|
* Execute Fun payalod DTO
|
|
151
207
|
*/
|
package/lib/types/general.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general.js","sourceRoot":"","sources":["../../src/types/general.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,cAAc,GACf,MAAM,iBAAiB,CAAC;AAIzB,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACxC,MAAM,GAAG,GAAG,CAAC;IACb,YAAY,OAAe,EAAE,MAAc;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;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AEpB;IAAC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,cAAc,EAAE;8BACD,aAAa;kDAAC;AAGhC;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAI3B,IAAI,CAAQ;IAKZ,WAAW,CAAe;CAC3B;AATC;IAAC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,cAAc,EAAE;8BACV,IAAI;8CAAC;AAEZ;IAAC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,cAAc,EAAE;8BACH,WAAW;qDAAC;AAG5B;;GAEG;AACH,MAAM,OAAO,iBAAiB;IAG5B,GAAG,CAAO;IAIV,OAAO,CAAoB;CAC5B;AAPC;IAAC,QAAQ,EAAE;IACV,cAAc,EAAE;8BACX,GAAG;8CAAC;AAEV;IAAC,QAAQ,EAAE;IACV,cAAc,EAAE;8BACP,gBAAgB;kDAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { Writable } from "stream";
|
|
4
|
+
import { SmeupDataStructure } from "../../src/types/data-structures/smeupDataStructure";
|
|
5
|
+
export declare class DataStructureStream<T extends SmeupDataStructure> extends Writable {
|
|
6
|
+
private chunks;
|
|
7
|
+
constructor();
|
|
8
|
+
_write(chunk: Buffer, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
9
|
+
getDataStructure(): T;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Writable } from "stream";
|
|
2
|
+
export class DataStructureStream extends Writable {
|
|
3
|
+
chunks = [];
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
this.chunks = [];
|
|
7
|
+
}
|
|
8
|
+
_write(chunk, encoding, callback) {
|
|
9
|
+
this.chunks.push(chunk);
|
|
10
|
+
callback();
|
|
11
|
+
}
|
|
12
|
+
getDataStructure() {
|
|
13
|
+
return JSON.parse(Buffer.concat(this.chunks).toString('utf8'));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=dataStructureStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataStructureStream.js","sourceRoot":"","sources":["../../src/utils/dataStructureStream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,MAAM,OAAO,mBAAkD,SAAQ,QAAQ;IACnE,MAAM,GAAa,EAAE,CAAA;IAE7B;QACI,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,MAAM,CAAC,KAAa,EAAE,QAAwB,EAAE,QAAwC;QACpF,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,QAAQ,EAAE,CAAA;IACd,CAAC;IAED,gBAAgB;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAM,CAAC;IACxE,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/kokos-sdk-node",
|
|
3
|
-
"version": "0.1.0-SNAPSHOT.
|
|
3
|
+
"version": "0.1.0-SNAPSHOT.20240111094104.53",
|
|
4
4
|
"description": "Kokos SDK Node.js",
|
|
5
5
|
"author": "Smeup LAB <info@smeup.com> (https://www.smeup.com/)",
|
|
6
6
|
"type": "module",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"docs": "npx typedoc --out docs src/",
|
|
24
24
|
"snapshot": "node scripts/npm-snapshot.js",
|
|
25
25
|
"publish:snapshot": "npm run snapshot && npm run build && npm publish",
|
|
26
|
+
"publish:release": "npm run build && npm publish",
|
|
26
27
|
"test:win": "SET NODE_ENV=test&&jest",
|
|
27
28
|
"start:win": "SET NODE_ENV=production&&node ./lib/entrypoint/restapi/index.js",
|
|
28
29
|
"dev:win": "SET NODE_ENV=development&&nodemon --watch './**/*.ts' --exec node --experimental-specifier-resolution=node --loader ts-node/esm ./src/entrypoint/restapi/index.ts"
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
},
|
|
38
39
|
"homepage": "https://github.com/smeup/kokos-sdk-node#readme",
|
|
39
40
|
"dependencies": {
|
|
41
|
+
"axios": "^1.3.4",
|
|
40
42
|
"class-transformer": "^0.5.1",
|
|
41
43
|
"class-validator": "^0.14.0",
|
|
42
44
|
"express": "^4.18.2",
|
|
@@ -51,7 +53,6 @@
|
|
|
51
53
|
"@types/jest": "^29.5.0",
|
|
52
54
|
"@types/js-yaml": "^4.0.9",
|
|
53
55
|
"@types/node": "^20.10.3",
|
|
54
|
-
"axios": "^1.3.4",
|
|
55
56
|
"jest": "^29.5.0",
|
|
56
57
|
"ts-jest": "^29.0.5"
|
|
57
58
|
},
|
package/swagger/openapi.yaml
CHANGED
|
@@ -36,7 +36,7 @@ paths:
|
|
|
36
36
|
content:
|
|
37
37
|
application/json:
|
|
38
38
|
schema:
|
|
39
|
-
$ref: "#/components/schemas/
|
|
39
|
+
$ref: "#/components/schemas/ExecuteFunPayload"
|
|
40
40
|
responses:
|
|
41
41
|
default:
|
|
42
42
|
description: SmeupDataStructure
|
|
@@ -44,87 +44,102 @@ paths:
|
|
|
44
44
|
description: OK
|
|
45
45
|
components:
|
|
46
46
|
schemas:
|
|
47
|
-
|
|
47
|
+
ExecuteFunPayload:
|
|
48
48
|
type: object
|
|
49
49
|
properties:
|
|
50
50
|
fun:
|
|
51
|
-
|
|
52
|
-
properties:
|
|
53
|
-
component:
|
|
54
|
-
type: string
|
|
55
|
-
service:
|
|
56
|
-
type: string
|
|
57
|
-
function:
|
|
58
|
-
type: string
|
|
59
|
-
obj1:
|
|
60
|
-
type: object
|
|
61
|
-
properties:
|
|
62
|
-
t:
|
|
63
|
-
type: string
|
|
64
|
-
p:
|
|
65
|
-
type: string
|
|
66
|
-
k:
|
|
67
|
-
type: string
|
|
68
|
-
obj2:
|
|
69
|
-
type: object
|
|
70
|
-
properties:
|
|
71
|
-
t:
|
|
72
|
-
type: string
|
|
73
|
-
p:
|
|
74
|
-
type: string
|
|
75
|
-
k:
|
|
76
|
-
type: string
|
|
77
|
-
obj3:
|
|
78
|
-
type: object
|
|
79
|
-
properties:
|
|
80
|
-
t:
|
|
81
|
-
type: string
|
|
82
|
-
p:
|
|
83
|
-
type: string
|
|
84
|
-
k:
|
|
85
|
-
type: string
|
|
86
|
-
obj4:
|
|
87
|
-
type: object
|
|
88
|
-
properties:
|
|
89
|
-
t:
|
|
90
|
-
type: string
|
|
91
|
-
p:
|
|
92
|
-
type: string
|
|
93
|
-
k:
|
|
94
|
-
type: string
|
|
95
|
-
obj5:
|
|
96
|
-
type: object
|
|
97
|
-
properties:
|
|
98
|
-
t:
|
|
99
|
-
type: string
|
|
100
|
-
p:
|
|
101
|
-
type: string
|
|
102
|
-
k:
|
|
103
|
-
type: string
|
|
104
|
-
obj6:
|
|
105
|
-
type: object
|
|
106
|
-
properties:
|
|
107
|
-
t:
|
|
108
|
-
type: string
|
|
109
|
-
p:
|
|
110
|
-
type: string
|
|
111
|
-
k:
|
|
112
|
-
type: string
|
|
113
|
-
P:
|
|
114
|
-
type: string
|
|
115
|
-
INPUT:
|
|
116
|
-
type: string
|
|
51
|
+
$ref: '#/components/schemas/Fun'
|
|
117
52
|
context:
|
|
53
|
+
$ref: '#/components/schemas/ExecutionContext'
|
|
54
|
+
Fun:
|
|
55
|
+
type: object
|
|
56
|
+
properties:
|
|
57
|
+
component:
|
|
58
|
+
type: string
|
|
59
|
+
service:
|
|
60
|
+
type: string
|
|
61
|
+
function:
|
|
62
|
+
type: string
|
|
63
|
+
obj1:
|
|
64
|
+
$ref: '#/components/schemas/FunObject'
|
|
65
|
+
obj2:
|
|
66
|
+
$ref: '#/components/schemas/FunObject'
|
|
67
|
+
obj3:
|
|
68
|
+
$ref: '#/components/schemas/FunObject'
|
|
69
|
+
obj4:
|
|
70
|
+
$ref: '#/components/schemas/FunObject'
|
|
71
|
+
obj5:
|
|
72
|
+
$ref: '#/components/schemas/FunObject'
|
|
73
|
+
obj6:
|
|
74
|
+
$ref: '#/components/schemas/FunObject'
|
|
75
|
+
P:
|
|
76
|
+
type: string
|
|
77
|
+
INPUT:
|
|
78
|
+
type: string
|
|
79
|
+
FunObject:
|
|
80
|
+
type: object
|
|
81
|
+
properties:
|
|
82
|
+
t:
|
|
83
|
+
type: string
|
|
84
|
+
p:
|
|
85
|
+
type: string
|
|
86
|
+
k:
|
|
87
|
+
type: string
|
|
88
|
+
ExecutionContext:
|
|
89
|
+
type: object
|
|
90
|
+
properties:
|
|
91
|
+
user:
|
|
92
|
+
$ref: '#/components/schemas/KokosUser'
|
|
93
|
+
env:
|
|
94
|
+
$ref: '#/components/schemas/Environment'
|
|
95
|
+
KokosUser:
|
|
96
|
+
type: object
|
|
97
|
+
properties:
|
|
98
|
+
sessionId:
|
|
99
|
+
type: string
|
|
100
|
+
username:
|
|
101
|
+
type: string
|
|
102
|
+
environment:
|
|
103
|
+
type: string
|
|
104
|
+
device:
|
|
105
|
+
type: string
|
|
106
|
+
Environment:
|
|
107
|
+
type: object
|
|
108
|
+
properties:
|
|
109
|
+
libraries:
|
|
110
|
+
type: object
|
|
111
|
+
additionalProperties:
|
|
112
|
+
$ref: '#/components/schemas/SourceLibrary'
|
|
113
|
+
configs:
|
|
114
|
+
type: object
|
|
115
|
+
additionalProperties:
|
|
116
|
+
$ref: '#/components/schemas/Config'
|
|
117
|
+
registry:
|
|
118
|
+
$ref: '#/components/schemas/Registry'
|
|
119
|
+
SourceLibrary:
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
repo:
|
|
123
|
+
type: string
|
|
124
|
+
path:
|
|
125
|
+
type: string
|
|
126
|
+
Config:
|
|
127
|
+
type: object
|
|
128
|
+
properties:
|
|
129
|
+
path:
|
|
130
|
+
type: string
|
|
131
|
+
Registry:
|
|
132
|
+
type: object
|
|
133
|
+
properties:
|
|
134
|
+
handlers:
|
|
135
|
+
type: object
|
|
136
|
+
additionalProperties:
|
|
137
|
+
type: string
|
|
138
|
+
services:
|
|
139
|
+
type: object
|
|
140
|
+
additionalProperties:
|
|
141
|
+
type: string
|
|
142
|
+
aliases:
|
|
118
143
|
type: object
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
type: object
|
|
122
|
-
properties:
|
|
123
|
-
sessionId:
|
|
124
|
-
type: string
|
|
125
|
-
username:
|
|
126
|
-
type: string
|
|
127
|
-
environment:
|
|
128
|
-
type: string
|
|
129
|
-
device:
|
|
130
|
-
type: string
|
|
144
|
+
additionalProperties:
|
|
145
|
+
type: string
|