@kosdev-code/kos-ui-sdk 0.1.0-dev.5656 → 0.1.0-dev.5685
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/core/core/declarative/declarative-actions-wiring.d.ts +14 -0
- package/core/core/declarative/declarative-actions-wiring.d.ts.map +1 -0
- package/core/core/declarative/declarative-model-bindings.d.ts +191 -0
- package/core/core/declarative/declarative-model-bindings.d.ts.map +1 -0
- package/core/core/declarative/declarative-model-discovery.d.ts +74 -0
- package/core/core/declarative/declarative-model-discovery.d.ts.map +1 -0
- package/core/core/declarative/declarative-model-factory.d.ts +58 -0
- package/core/core/declarative/declarative-model-factory.d.ts.map +1 -0
- package/core/core/declarative/declarative-model-types.d.ts +100 -0
- package/core/core/declarative/declarative-model-types.d.ts.map +1 -0
- package/core/core/declarative/index.d.ts +7 -0
- package/core/core/declarative/index.d.ts.map +1 -0
- package/core/core/declarative/types.d.ts +320 -0
- package/core/core/declarative/types.d.ts.map +1 -0
- package/core/core/decorators/kos-service-request.d.ts +2 -2
- package/core/core/decorators/kos-service-request.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts +20 -0
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/model/kos-subscription-manager.d.ts +2 -0
- package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
- package/core/index.d.ts +1 -0
- package/core/index.d.ts.map +1 -1
- package/index.cjs +75 -75
- package/index.cjs.map +1 -1
- package/index.js +6783 -6189
- package/index.js.map +1 -1
- package/kos-models.json +375 -0
- package/models/decorators/future-service.d.ts +20 -2
- package/models/decorators/future-service.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts +1 -1
- package/models/services/config-bean/index.d.ts +1 -2
- package/models/services/config-bean/index.d.ts.map +1 -1
- package/package.json +3 -2
package/kos-models.json
ADDED
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generatedAt": "2026-02-25T22:25:20.276Z",
|
|
3
|
+
"packageName": "@kosdev-code/kos-ui-sdk",
|
|
4
|
+
"models": {
|
|
5
|
+
"browser-router-model": {
|
|
6
|
+
"modelTypeId": "browser-router-model",
|
|
7
|
+
"className": "BrowserRouterModelImpl",
|
|
8
|
+
"singleton": true,
|
|
9
|
+
"container": false,
|
|
10
|
+
"sourcePath": "src/models/models/browser-router/browser-router-model.ts",
|
|
11
|
+
"dependencies": [],
|
|
12
|
+
"children": []
|
|
13
|
+
},
|
|
14
|
+
"log-stream-model": {
|
|
15
|
+
"modelTypeId": "log-stream-model",
|
|
16
|
+
"className": "LogStreamModelImpl",
|
|
17
|
+
"singleton": false,
|
|
18
|
+
"container": false,
|
|
19
|
+
"sourcePath": "src/models/models/log-stream/log-stream-model.ts",
|
|
20
|
+
"dependencies": [],
|
|
21
|
+
"children": [
|
|
22
|
+
{
|
|
23
|
+
"propertyName": "_blocks",
|
|
24
|
+
"modelType": "log-block-container-model"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"log-stream-container-model": {
|
|
29
|
+
"modelTypeId": "log-stream-container-model",
|
|
30
|
+
"className": "LogStreamContainerModelImpl",
|
|
31
|
+
"singleton": true,
|
|
32
|
+
"container": true,
|
|
33
|
+
"sourcePath": "src/models/models/log-stream/log-stream-container-model.ts",
|
|
34
|
+
"dependencies": [],
|
|
35
|
+
"children": [
|
|
36
|
+
{
|
|
37
|
+
"propertyName": "_models",
|
|
38
|
+
"modelType": "log-stream-model"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"log-block-model": {
|
|
43
|
+
"modelTypeId": "log-block-model",
|
|
44
|
+
"className": "LogBlockModelImpl",
|
|
45
|
+
"singleton": false,
|
|
46
|
+
"container": false,
|
|
47
|
+
"sourcePath": "src/models/models/log-block/log-block-model.ts",
|
|
48
|
+
"dependencies": [],
|
|
49
|
+
"children": []
|
|
50
|
+
},
|
|
51
|
+
"log-block-container-model": {
|
|
52
|
+
"modelTypeId": "log-block-container-model",
|
|
53
|
+
"className": "LogBlockContainerModelImpl",
|
|
54
|
+
"singleton": true,
|
|
55
|
+
"container": true,
|
|
56
|
+
"sourcePath": "src/models/models/log-block/log-block-container-model.ts",
|
|
57
|
+
"dependencies": [],
|
|
58
|
+
"children": [
|
|
59
|
+
{
|
|
60
|
+
"propertyName": "_models",
|
|
61
|
+
"modelType": "log-block-model"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"studio-properties-model": {
|
|
66
|
+
"modelTypeId": "studio-properties-model",
|
|
67
|
+
"className": "StudioPropertiesModelImpl",
|
|
68
|
+
"singleton": false,
|
|
69
|
+
"container": false,
|
|
70
|
+
"sourcePath": "src/models/models/studio-properties/studio-properties-model.ts",
|
|
71
|
+
"dependencies": [],
|
|
72
|
+
"children": []
|
|
73
|
+
},
|
|
74
|
+
"canvas-renderer-model": {
|
|
75
|
+
"modelTypeId": "canvas-renderer-model",
|
|
76
|
+
"className": "CanvasRendererModelImpl",
|
|
77
|
+
"singleton": false,
|
|
78
|
+
"container": false,
|
|
79
|
+
"sourcePath": "src/models/models/canvas-renderer/canvas-renderer-model.ts",
|
|
80
|
+
"dependencies": [],
|
|
81
|
+
"children": []
|
|
82
|
+
},
|
|
83
|
+
"kos-log-manager-model": {
|
|
84
|
+
"modelTypeId": "kos-log-manager-model",
|
|
85
|
+
"className": "KosLogManagerModelImpl",
|
|
86
|
+
"singleton": true,
|
|
87
|
+
"container": false,
|
|
88
|
+
"sourcePath": "src/models/models/kos-log-manager/kos-log-manager-model.ts",
|
|
89
|
+
"dependencies": [],
|
|
90
|
+
"children": []
|
|
91
|
+
},
|
|
92
|
+
"kos-expression-evaluator-model": {
|
|
93
|
+
"modelTypeId": "kos-expression-evaluator-model",
|
|
94
|
+
"className": "KosExpressionEvaluatorModelImpl",
|
|
95
|
+
"singleton": false,
|
|
96
|
+
"container": false,
|
|
97
|
+
"sourcePath": "src/models/models/kos-expression-evaluator/kos-expression-evaluator-model.ts",
|
|
98
|
+
"dependencies": [],
|
|
99
|
+
"children": []
|
|
100
|
+
},
|
|
101
|
+
"usb-update-container-model": {
|
|
102
|
+
"modelTypeId": "usb-update-container-model",
|
|
103
|
+
"className": "UsbUpdateContainerModelImpl",
|
|
104
|
+
"singleton": true,
|
|
105
|
+
"container": false,
|
|
106
|
+
"sourcePath": "src/models/models/usb-update/usb-update-container-model.ts",
|
|
107
|
+
"dependencies": [],
|
|
108
|
+
"children": [
|
|
109
|
+
{
|
|
110
|
+
"propertyName": "_models",
|
|
111
|
+
"modelType": "usb-update-model"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"usb-update-model": {
|
|
116
|
+
"modelTypeId": "usb-update-model",
|
|
117
|
+
"className": "UsbUpdateModelImpl",
|
|
118
|
+
"singleton": false,
|
|
119
|
+
"container": false,
|
|
120
|
+
"sourcePath": "src/models/models/usb-update/usb-update-model.ts",
|
|
121
|
+
"dependencies": [],
|
|
122
|
+
"children": []
|
|
123
|
+
},
|
|
124
|
+
"canvas-dispatcher-model": {
|
|
125
|
+
"modelTypeId": "canvas-dispatcher-model",
|
|
126
|
+
"className": "CanvasDispatcherModelImpl",
|
|
127
|
+
"singleton": true,
|
|
128
|
+
"container": false,
|
|
129
|
+
"sourcePath": "src/models/models/canvas-dispatcher/canvas-dispatcher-model.ts",
|
|
130
|
+
"dependencies": [],
|
|
131
|
+
"children": [
|
|
132
|
+
{
|
|
133
|
+
"propertyName": "_endpointRenderers",
|
|
134
|
+
"modelType": "canvas-renderer-model"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"state-bean-model": {
|
|
139
|
+
"modelTypeId": "state-bean-model",
|
|
140
|
+
"className": "StateBeanModelImpl",
|
|
141
|
+
"singleton": false,
|
|
142
|
+
"container": false,
|
|
143
|
+
"sourcePath": "src/models/models/state-bean/state-bean-model.ts",
|
|
144
|
+
"dependencies": [],
|
|
145
|
+
"children": []
|
|
146
|
+
},
|
|
147
|
+
"region-info-model": {
|
|
148
|
+
"modelTypeId": "region-info-model",
|
|
149
|
+
"className": "RegionInfoModelImpl",
|
|
150
|
+
"singleton": false,
|
|
151
|
+
"container": false,
|
|
152
|
+
"sourcePath": "src/models/models/region-info/region-info-model.ts",
|
|
153
|
+
"dependencies": [],
|
|
154
|
+
"children": []
|
|
155
|
+
},
|
|
156
|
+
"ota-model": {
|
|
157
|
+
"modelTypeId": "ota-model",
|
|
158
|
+
"className": "OtaModelImpl",
|
|
159
|
+
"singleton": true,
|
|
160
|
+
"container": false,
|
|
161
|
+
"sourcePath": "src/models/models/ota/ota-model.ts",
|
|
162
|
+
"dependencies": [],
|
|
163
|
+
"children": []
|
|
164
|
+
},
|
|
165
|
+
"software-info-model": {
|
|
166
|
+
"modelTypeId": "software-info-model",
|
|
167
|
+
"className": "SoftwareInfoModelImpl",
|
|
168
|
+
"singleton": false,
|
|
169
|
+
"container": false,
|
|
170
|
+
"sourcePath": "src/models/models/software-info/software-info-model.ts",
|
|
171
|
+
"dependencies": [],
|
|
172
|
+
"children": []
|
|
173
|
+
},
|
|
174
|
+
"device-maintenance-model": {
|
|
175
|
+
"modelTypeId": "device-maintenance-model",
|
|
176
|
+
"singleton": false,
|
|
177
|
+
"container": false,
|
|
178
|
+
"dependencies": [],
|
|
179
|
+
"children": []
|
|
180
|
+
},
|
|
181
|
+
"brewing-system-model": {
|
|
182
|
+
"modelTypeId": "brewing-system-model",
|
|
183
|
+
"singleton": false,
|
|
184
|
+
"container": false,
|
|
185
|
+
"dependencies": [],
|
|
186
|
+
"children": []
|
|
187
|
+
},
|
|
188
|
+
"device-operations-model": {
|
|
189
|
+
"modelTypeId": "device-operations-model",
|
|
190
|
+
"singleton": false,
|
|
191
|
+
"container": false,
|
|
192
|
+
"dependencies": [],
|
|
193
|
+
"children": []
|
|
194
|
+
},
|
|
195
|
+
"device-model": {
|
|
196
|
+
"modelTypeId": "device-model",
|
|
197
|
+
"className": "DeviceModelImpl",
|
|
198
|
+
"singleton": true,
|
|
199
|
+
"container": false,
|
|
200
|
+
"sourcePath": "src/models/models/device/device-model.ts",
|
|
201
|
+
"dependencies": [],
|
|
202
|
+
"children": []
|
|
203
|
+
},
|
|
204
|
+
"state-prop-model": {
|
|
205
|
+
"modelTypeId": "state-prop-model",
|
|
206
|
+
"className": "StatePropModelImpl",
|
|
207
|
+
"singleton": false,
|
|
208
|
+
"container": false,
|
|
209
|
+
"sourcePath": "src/models/models/state-prop/state-prop-model.ts",
|
|
210
|
+
"dependencies": [
|
|
211
|
+
{
|
|
212
|
+
"modelType": "state-bean-model",
|
|
213
|
+
"propertyName": "stateBean"
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"children": []
|
|
217
|
+
},
|
|
218
|
+
"kos-time-model": {
|
|
219
|
+
"modelTypeId": "kos-time-model",
|
|
220
|
+
"className": "KosTimeModelImpl",
|
|
221
|
+
"singleton": true,
|
|
222
|
+
"container": false,
|
|
223
|
+
"sourcePath": "src/models/models/kos-time/kos-time-model.ts",
|
|
224
|
+
"dependencies": [],
|
|
225
|
+
"children": []
|
|
226
|
+
},
|
|
227
|
+
"key-value-model": {
|
|
228
|
+
"modelTypeId": "key-value-model",
|
|
229
|
+
"className": "KeyValueModelImpl",
|
|
230
|
+
"singleton": false,
|
|
231
|
+
"container": false,
|
|
232
|
+
"sourcePath": "src/models/models/key-value/key-value-model.ts",
|
|
233
|
+
"dependencies": [],
|
|
234
|
+
"children": []
|
|
235
|
+
},
|
|
236
|
+
"config-bean-prop-model": {
|
|
237
|
+
"modelTypeId": "config-bean-prop-model",
|
|
238
|
+
"className": "KosConfigPropertyImpl",
|
|
239
|
+
"singleton": false,
|
|
240
|
+
"container": false,
|
|
241
|
+
"sourcePath": "src/models/models/config-bean-prop/config-bean-prop-model.ts",
|
|
242
|
+
"dependencies": [
|
|
243
|
+
{
|
|
244
|
+
"modelType": "region-info-model",
|
|
245
|
+
"propertyName": "regionInfo"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"children": []
|
|
249
|
+
},
|
|
250
|
+
"translation-model": {
|
|
251
|
+
"modelTypeId": "translation-model",
|
|
252
|
+
"className": "TranslationModelImpl",
|
|
253
|
+
"singleton": false,
|
|
254
|
+
"container": false,
|
|
255
|
+
"sourcePath": "src/models/models/translation/translation-model.ts",
|
|
256
|
+
"dependencies": [],
|
|
257
|
+
"children": []
|
|
258
|
+
},
|
|
259
|
+
"translation-container-model": {
|
|
260
|
+
"modelTypeId": "translation-container-model",
|
|
261
|
+
"className": "TranslationContainerModelImpl",
|
|
262
|
+
"singleton": true,
|
|
263
|
+
"container": false,
|
|
264
|
+
"sourcePath": "src/models/models/translation/translation-container-model.ts",
|
|
265
|
+
"dependencies": [],
|
|
266
|
+
"children": [
|
|
267
|
+
{
|
|
268
|
+
"propertyName": "_models",
|
|
269
|
+
"modelType": "translation-model"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"storage-device-model": {
|
|
274
|
+
"modelTypeId": "storage-device-model",
|
|
275
|
+
"className": "StorageDeviceModelImpl",
|
|
276
|
+
"singleton": false,
|
|
277
|
+
"container": false,
|
|
278
|
+
"sourcePath": "src/models/models/storage-device/storage-device-model.ts",
|
|
279
|
+
"dependencies": [],
|
|
280
|
+
"children": []
|
|
281
|
+
},
|
|
282
|
+
"storage-device-container-model": {
|
|
283
|
+
"modelTypeId": "storage-device-container-model",
|
|
284
|
+
"className": "StorageDeviceContainerModelImpl",
|
|
285
|
+
"singleton": true,
|
|
286
|
+
"container": false,
|
|
287
|
+
"sourcePath": "src/models/models/storage-device/storage-device-container-model.ts",
|
|
288
|
+
"dependencies": [],
|
|
289
|
+
"children": [
|
|
290
|
+
{
|
|
291
|
+
"propertyName": "_models",
|
|
292
|
+
"modelType": "storage-device-model"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
"trouble-model": {
|
|
297
|
+
"modelTypeId": "trouble-model",
|
|
298
|
+
"className": "TroubleModelImpl",
|
|
299
|
+
"singleton": false,
|
|
300
|
+
"container": false,
|
|
301
|
+
"sourcePath": "src/models/models/trouble/trouble-model.ts",
|
|
302
|
+
"dependencies": [],
|
|
303
|
+
"children": []
|
|
304
|
+
},
|
|
305
|
+
"network-interface-container-model": {
|
|
306
|
+
"modelTypeId": "network-interface-container-model",
|
|
307
|
+
"className": "NetworkInterfaceContainerModelImpl",
|
|
308
|
+
"singleton": true,
|
|
309
|
+
"container": false,
|
|
310
|
+
"sourcePath": "src/models/models/network-interface/network-interface-container-model.ts",
|
|
311
|
+
"dependencies": [],
|
|
312
|
+
"children": [
|
|
313
|
+
{
|
|
314
|
+
"propertyName": "_models",
|
|
315
|
+
"modelType": "network-interface-model"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
"network-interface-model": {
|
|
320
|
+
"modelTypeId": "network-interface-model",
|
|
321
|
+
"className": "NetworkInterfaceModelImpl",
|
|
322
|
+
"singleton": false,
|
|
323
|
+
"container": false,
|
|
324
|
+
"sourcePath": "src/models/models/network-interface/network-interface-model.ts",
|
|
325
|
+
"dependencies": [],
|
|
326
|
+
"children": []
|
|
327
|
+
},
|
|
328
|
+
"future-model": {
|
|
329
|
+
"modelTypeId": "future-model",
|
|
330
|
+
"className": "FutureModel",
|
|
331
|
+
"singleton": false,
|
|
332
|
+
"container": false,
|
|
333
|
+
"sourcePath": "src/models/models/future/future-model.ts",
|
|
334
|
+
"dependencies": [],
|
|
335
|
+
"children": []
|
|
336
|
+
},
|
|
337
|
+
"future-container-model": {
|
|
338
|
+
"modelTypeId": "future-container-model",
|
|
339
|
+
"className": "FutureContainerModel",
|
|
340
|
+
"singleton": false,
|
|
341
|
+
"container": false,
|
|
342
|
+
"sourcePath": "src/models/models/future-container/future-container-model.ts",
|
|
343
|
+
"dependencies": [],
|
|
344
|
+
"children": [
|
|
345
|
+
{
|
|
346
|
+
"propertyName": "_futures",
|
|
347
|
+
"modelType": "future-model"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"trouble-container-model": {
|
|
352
|
+
"modelTypeId": "trouble-container-model",
|
|
353
|
+
"className": "TroubleContainerModelImpl",
|
|
354
|
+
"singleton": true,
|
|
355
|
+
"container": false,
|
|
356
|
+
"sourcePath": "src/models/models/trouble-container/trouble-container-model.ts",
|
|
357
|
+
"dependencies": [],
|
|
358
|
+
"children": [
|
|
359
|
+
{
|
|
360
|
+
"propertyName": "container",
|
|
361
|
+
"modelType": "trouble-model"
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"config-bean-model": {
|
|
366
|
+
"modelTypeId": "config-bean-model",
|
|
367
|
+
"className": "ConfigBeanModelImpl",
|
|
368
|
+
"singleton": false,
|
|
369
|
+
"container": false,
|
|
370
|
+
"sourcePath": "src/models/models/config-bean/config-bean-model.ts",
|
|
371
|
+
"dependencies": [],
|
|
372
|
+
"children": []
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { FutureResponse } from '../services';
|
|
2
|
+
import { FutureContainer } from '../models/future/future-types';
|
|
3
|
+
|
|
4
|
+
export interface FutureProps {
|
|
2
5
|
alias?: string;
|
|
3
6
|
namespace?: string;
|
|
4
7
|
/**
|
|
@@ -16,6 +19,21 @@ interface FutureProps {
|
|
|
16
19
|
*/
|
|
17
20
|
trackerPolicy?: "id" | "context";
|
|
18
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrap an async function with Future lifecycle management.
|
|
24
|
+
*
|
|
25
|
+
* This is the core wrapper logic shared by the `@kosFuture` decorator
|
|
26
|
+
* and the declarative model factory. It handles:
|
|
27
|
+
* - Tracker ID generation and injection
|
|
28
|
+
* - Future placeholder creation and readiness waiting
|
|
29
|
+
* - AbortController integration (bi-directional cancellation)
|
|
30
|
+
* - Future model mapping from the service response
|
|
31
|
+
*
|
|
32
|
+
* @param original - The raw async function to wrap.
|
|
33
|
+
* @param methodName - Name of the method (used for logging).
|
|
34
|
+
* @param props - Future configuration properties.
|
|
35
|
+
* @returns A wrapped handler function suitable for the FutureService Symbol.
|
|
36
|
+
*/
|
|
37
|
+
export declare function wrapWithFutureLifecycle(original: (...args: any[]) => Promise<any>, methodName: string, props?: FutureProps): (this: FutureContainer, ...args: Array<unknown>) => Promise<FutureResponse | undefined>;
|
|
19
38
|
export declare function kosFuture(props?: FutureProps): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
20
|
-
export {};
|
|
21
39
|
//# sourceMappingURL=future-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"future-service.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/decorators/future-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"future-service.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/decorators/future-service.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAClC;AASD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,EAC1C,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,WAAgB,GACtB,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAyKzF;AAED,wBAAgB,SAAS,CAAC,KAAK,GAAE,WAAgB,YAE/B,GAAG,eAAe,MAAM,cAAc,kBAAkB,UAgBzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-bean-model-builder.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/config-bean/config-bean-model-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"config-bean-model-builder.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/config-bean/config-bean-model-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EAExB,KAAK,WAAW,EACjB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,wBAAgB,cAAc,CAAC,MAAM,GAAE,WAAW,EAAO,MAQxD;AAsBD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB,QAC7B,kBAAkB,SAChB,gBAAgB,SAWxB,CAAC;AAEF,eAAO,MAAM,6BAA6B,QACnC,wBAAwB,SACtB,gBAAgB,SA4CxB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,UAAW,gBAAgB,sBAI9D,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,oBAAoB,YACrB,aAAa,gBAAgB,EAAE,uBAAuB,CAAC,eACvD,MAAM,yBACI,uBAAuB,qBAG1C,CAAC"}
|
|
@@ -45,7 +45,7 @@ declare class KosConfigPropertyImpl implements KosConfigProperty {
|
|
|
45
45
|
*
|
|
46
46
|
* @returns Schema type string (e.g., "String", "Number", "Boolean", "enum")
|
|
47
47
|
*/
|
|
48
|
-
get schemaType(): import('../../services/config-bean').SchemaNodeType
|
|
48
|
+
get schemaType(): "enum" | import('../../services/config-bean').SchemaNodeType;
|
|
49
49
|
/**
|
|
50
50
|
* Gets the schema format hint for this property.
|
|
51
51
|
*
|
|
@@ -117,7 +117,7 @@ export interface SchemaResponse {
|
|
|
117
117
|
[key: string]: SchemaNodeDef;
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
interface ConfigBeanUpdateRecord {
|
|
120
|
+
export interface ConfigBeanUpdateRecord {
|
|
121
121
|
attr: string;
|
|
122
122
|
currentValue: string;
|
|
123
123
|
previousValue: string;
|
|
@@ -141,5 +141,4 @@ export declare const modifyConfigBean: (id: string, model: ConfigBeanRequest, pa
|
|
|
141
141
|
* @returns an empty response with status 200.
|
|
142
142
|
*/
|
|
143
143
|
export declare const getConfigBean: (id: string, path?: string) => Promise<import('../../../core').KosServiceResponse<ConfigBeanResponse> | undefined>;
|
|
144
|
-
export {};
|
|
145
144
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/services/config-bean/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AASnD;;;;;;;GAOG;AAEH;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,yBAAyB,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAA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,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,cAAc,CAAC;AACxD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE;QACN,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAC9B,CAAC;CACH;AAOD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/services/config-bean/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AASnD;;;;;;;GAOG;AAEH;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,yBAAyB,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;CACjD;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE;QACJ,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAAC;KACpC,CAAC;IACF,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC;CAClC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,WAAW,YAAa,GAAG,4BACW,CAAC;AACpD,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AACrE,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE;QACX,CAAC,CAAC,EAAE,MAAM,GAAG;YACX,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE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@kosdev-code/kos-ui-sdk",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.5685",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"react-dom": "^18.2.0",
|
|
28
28
|
"react-router-dom": "^6.11.2"
|
|
29
29
|
},
|
|
30
|
+
"kosModels": "./kos-models.json",
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"mobx": "^6.9.0",
|
|
32
33
|
"mobx-react-lite": "^3.4.3",
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
},
|
|
37
38
|
"kos": {
|
|
38
39
|
"build": {
|
|
39
|
-
"gitHash": "
|
|
40
|
+
"gitHash": "05fdd9d43095e00deafb0bcbf8787497e64336d3"
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
}
|