@kosdev-code/kos-ui-sdk 0.1.0-dev.5789 → 0.1.0-dev.5797
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/common/events/eventBus.d.ts +30 -0
- package/common/events/eventBus.d.ts.map +1 -1
- package/common/events/eventBus.functional.d.ts +48 -0
- package/common/events/eventBus.functional.d.ts.map +1 -1
- package/common/events/eventBus.state.d.ts +33 -0
- package/common/events/eventBus.state.d.ts.map +1 -1
- package/core/core/decorators/kos-child.d.ts +2 -0
- package/core/core/decorators/kos-child.d.ts.map +1 -1
- package/core/core/decorators/kos-companion.d.ts +14 -0
- package/core/core/decorators/kos-companion.d.ts.map +1 -1
- package/core/core/decorators/kos-container-aware.d.ts +21 -0
- package/core/core/decorators/kos-container-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-context.d.ts +6 -0
- package/core/core/decorators/kos-context.d.ts.map +1 -1
- package/core/core/decorators/kos-execution-context.d.ts +4 -1
- package/core/core/decorators/kos-execution-context.d.ts.map +1 -1
- package/core/core/decorators/kos-future-aware.d.ts +12 -0
- package/core/core/decorators/kos-future-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-http-decorators.d.ts +15 -0
- package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
- package/core/core/decorators/kos-log.d.ts +4 -0
- package/core/core/decorators/kos-log.d.ts.map +1 -1
- package/core/core/decorators/kos-logger-aware.d.ts +9 -0
- package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-model-effect.d.ts +9 -0
- package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
- package/core/core/decorators/kos-multiple-future-aware.d.ts +14 -0
- package/core/core/decorators/kos-multiple-future-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-parent.d.ts +4 -0
- package/core/core/decorators/kos-parent.d.ts.map +1 -1
- package/core/core/decorators/kos-reference.d.ts +9 -0
- package/core/core/decorators/kos-reference.d.ts.map +1 -1
- package/core/core/decorators/kos-service-request.d.ts +25 -0
- package/core/core/decorators/kos-service-request.d.ts.map +1 -1
- package/core/core/decorators/kos-state-machine.d.ts +24 -0
- package/core/core/decorators/kos-state-machine.d.ts.map +1 -1
- package/core/core/decorators/kos-topic-handler-flow-control.d.ts +17 -1
- package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
- package/core/core/decorators/kos-trouble-aware.d.ts +6 -0
- package/core/core/decorators/kos-trouble-aware.d.ts.map +1 -1
- package/core/core/decorators/kos-view-model.d.ts +14 -0
- package/core/core/decorators/kos-view-model.d.ts.map +1 -1
- package/core/core/decorators/kosDependency.d.ts +2 -0
- package/core/core/decorators/kosDependency.d.ts.map +1 -1
- package/core/core/decorators/kosModel.d.ts +2 -0
- package/core/core/decorators/kosModel.d.ts.map +1 -1
- package/core/core/decorators/kosSubscribe.d.ts +9 -0
- package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts +27 -0
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/extension/extension-manager.d.ts +49 -0
- package/core/core/extension/extension-manager.d.ts.map +1 -1
- package/core/core/extension/initialize-extension.d.ts +24 -0
- package/core/core/extension/initialize-extension.d.ts.map +1 -1
- package/core/core/extension/plugin-extension-manager.d.ts +11 -0
- package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
- package/core/core/kosModel.d.ts +38 -0
- package/core/core/kosModel.d.ts.map +1 -1
- package/core/core/services/browser-router.d.ts.map +1 -1
- package/core/types/kos-dependency.d.ts +10 -1
- package/core/types/kos-dependency.d.ts.map +1 -1
- package/core/types/service-response-store.d.ts +10 -0
- package/core/types/service-response-store.d.ts.map +1 -1
- package/core/types/utils/kos-fetch.d.ts +59 -0
- package/core/types/utils/kos-fetch.d.ts.map +1 -1
- package/core/util/ancestor-path-visitor.d.ts +2 -0
- package/core/util/ancestor-path-visitor.d.ts.map +1 -1
- package/core/util/api-request-id.d.ts +4 -0
- package/core/util/api-request-id.d.ts.map +1 -1
- package/core/util/apply-mixins.d.ts +4 -0
- package/core/util/apply-mixins.d.ts.map +1 -1
- package/core/util/array-utils.d.ts +4 -0
- package/core/util/array-utils.d.ts.map +1 -1
- package/core/util/container-utils.d.ts +14 -0
- package/core/util/container-utils.d.ts.map +1 -1
- package/core/util/date-utils.d.ts +29 -0
- package/core/util/date-utils.d.ts.map +1 -1
- package/core/util/debounce.d.ts +3 -0
- package/core/util/debounce.d.ts.map +1 -1
- package/core/util/feature-flags.d.ts +19 -0
- package/core/util/feature-flags.d.ts.map +1 -1
- package/core/util/get-query-params.d.ts +4 -0
- package/core/util/get-query-params.d.ts.map +1 -1
- package/core/util/hsl-to-hex.d.ts +16 -0
- package/core/util/hsl-to-hex.d.ts.map +1 -1
- package/core/util/kos-config-init.d.ts +36 -0
- package/core/util/kos-config-init.d.ts.map +1 -1
- package/core/util/kos-data-mapper-utils.d.ts +9 -0
- package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
- package/core/util/kos-fetch.d.ts +12 -0
- package/core/util/kos-fetch.d.ts.map +1 -1
- package/core/util/kos-message-utils.d.ts +88 -0
- package/core/util/kos-message-utils.d.ts.map +1 -1
- package/core/util/kos-model-utils.d.ts +46 -0
- package/core/util/kos-model-utils.d.ts.map +1 -1
- package/core/util/kos-model-visitor.d.ts +2 -0
- package/core/util/kos-model-visitor.d.ts.map +1 -1
- package/core/util/kos-service-request.d.ts +31 -0
- package/core/util/kos-service-request.d.ts.map +1 -1
- package/core/util/log-utils.d.ts +12 -0
- package/core/util/log-utils.d.ts.map +1 -1
- package/core/util/middleware.d.ts +15 -0
- package/core/util/middleware.d.ts.map +1 -1
- package/core/util/model-attribute-utils.d.ts +7 -0
- package/core/util/model-attribute-utils.d.ts.map +1 -1
- package/core/util/model-factory.d.ts +4 -0
- package/core/util/model-factory.d.ts.map +1 -1
- package/core/util/model-registration-utils.d.ts +8 -0
- package/core/util/model-registration-utils.d.ts.map +1 -1
- package/core/util/model-utils.d.ts +30 -6
- package/core/util/model-utils.d.ts.map +1 -1
- package/core/util/observable-proxy-map.d.ts +11 -0
- package/core/util/observable-proxy-map.d.ts.map +1 -1
- package/core/util/paired-client-heartbeat.d.ts +2 -0
- package/core/util/paired-client-heartbeat.d.ts.map +1 -1
- package/core/util/pipe.d.ts +4 -0
- package/core/util/pipe.d.ts.map +1 -1
- package/core/util/retry-with-exponential-backoff.d.ts +3 -0
- package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
- package/core/util/service-factory.d.ts +10 -0
- package/core/util/service-factory.d.ts.map +1 -1
- package/core/util/service-request-error.d.ts +4 -0
- package/core/util/service-request-error.d.ts.map +1 -1
- package/core/util/service-response.d.ts +15 -0
- package/core/util/service-response.d.ts.map +1 -1
- package/core/util/session-utils.d.ts +8 -0
- package/core/util/session-utils.d.ts.map +1 -1
- package/core/util/wait-for-request.d.ts +16 -0
- package/core/util/wait-for-request.d.ts.map +1 -1
- package/core/util/when-ready.d.ts +3 -0
- package/core/util/when-ready.d.ts.map +1 -1
- package/index.cjs +34 -34
- package/index.cjs.map +1 -1
- package/index.d.cts +5 -5
- package/index.d.ts +5 -5
- package/index.d.ts.map +1 -1
- package/index.js +3864 -3858
- package/index.js.map +1 -1
- package/kos-models.json +1 -1
- package/models/models/browser-router/types/index.d.ts +1 -0
- package/models/models/canvas-dispatcher/types/index.d.ts +5 -0
- package/models/models/canvas-renderer/types/index.d.ts +5 -0
- package/models/models/config-bean/types/index.d.ts +1 -0
- package/models/models/config-bean-prop/types/index.d.ts +6 -0
- package/models/models/device/types/index.d.ts +1 -0
- package/models/models/future/future-types.d.ts +14 -0
- package/models/models/future/future-types.d.ts.map +1 -1
- package/models/models/gpio-chip/types/index.d.ts +10 -0
- package/models/models/gpio-pin/types/index.d.ts +10 -0
- package/models/models/key-value/types/index.d.ts +1 -0
- package/models/models/kos-expression-evaluator/types/index.d.ts +5 -0
- package/models/models/kos-log-manager/types/index.d.ts +4 -0
- package/models/models/kos-time/types/index.d.ts +3 -0
- package/models/models/log-block/types/index.d.ts +4 -0
- package/models/models/log-stream/types/index.d.ts +3 -1
- package/models/models/network-interface/types/index.d.ts +1 -0
- package/models/models/ota/types/index.d.ts +31 -0
- package/models/models/region-info/types/index.d.ts +49 -0
- package/models/models/region-info/types/index.d.ts.map +1 -1
- package/models/models/software-info/types/index.d.ts +4 -0
- package/models/models/state-bean/types/index.d.ts +3 -0
- package/models/models/state-prop/types/index.d.ts +2 -0
- package/models/models/storage-device/types/index.d.ts +2 -0
- package/models/models/translation/types/index.d.ts +3 -0
- package/models/models/trouble/types/index.d.ts +8 -0
- package/models/models/trouble-container/types/index.d.ts +5 -0
- package/models/models/usb-update/types/index.d.ts +10 -0
- package/package.json +3 -2
- package/ui/hooks/device/use-device.d.ts +6 -0
- package/ui/hooks/device/use-device.d.ts.map +1 -1
- package/ui/hooks/kos-time/use-kos-time.d.ts +6 -0
- package/ui/hooks/kos-time/use-kos-time.d.ts.map +1 -1
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts +6 -0
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
- package/ui/hooks/ota/use-ota.d.ts +6 -0
- package/ui/hooks/ota/use-ota.d.ts.map +1 -1
- package/ui/hooks/software-info/use-software-info.d.ts +6 -0
- package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +6 -0
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
- package/ui/hooks/translation-container/trans.d.ts +6 -0
- package/ui/hooks/translation-container/trans.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation-container.d.ts +6 -0
- package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation.d.ts +7 -0
- package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
- package/ui/hooks/translation-container/with-translation-container.d.ts +6 -0
- package/ui/hooks/translation-container/with-translation-container.d.ts.map +1 -1
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts +6 -0
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
- package/ui/hooks/use-config-bean.d.ts +6 -0
- package/ui/hooks/use-config-bean.d.ts.map +1 -1
- package/ui/hooks/use-config-property.d.ts +6 -0
- package/ui/hooks/use-config-property.d.ts.map +1 -1
- package/ui/hooks/use-kos-model.d.ts +6 -0
- package/ui/hooks/use-kos-model.d.ts.map +1 -1
package/kos-models.json
CHANGED
|
@@ -8,6 +8,7 @@ import { KosServiceResponse } from '../../../../core';
|
|
|
8
8
|
* Specifies which configuration path to access and optionally provides custom
|
|
9
9
|
* service implementations for testing or alternative backends.
|
|
10
10
|
*
|
|
11
|
+
* @kosService core.use-config-property
|
|
11
12
|
* @category Model Configuration
|
|
12
13
|
* @category System Integration
|
|
13
14
|
*/
|
|
@@ -29,6 +29,7 @@ import { UnitConverter } from '../../../decorators';
|
|
|
29
29
|
* };
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
|
+
* @kosService core.use-config-property
|
|
32
33
|
* @group KOS Model
|
|
33
34
|
* @category Configuration
|
|
34
35
|
*/
|
|
@@ -77,6 +78,7 @@ export interface ConfigPropConverter {
|
|
|
77
78
|
* };
|
|
78
79
|
* ```
|
|
79
80
|
*
|
|
81
|
+
* @kosService core.use-config-property
|
|
80
82
|
* @group KOS Model
|
|
81
83
|
* @category Configuration
|
|
82
84
|
*/
|
|
@@ -99,6 +101,7 @@ export type FormatOptions =
|
|
|
99
101
|
* ];
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @kosService core.use-config-property
|
|
102
105
|
* @group KOS Model
|
|
103
106
|
* @category Configuration
|
|
104
107
|
*/
|
|
@@ -144,6 +147,7 @@ export interface OptionsType {
|
|
|
144
147
|
* };
|
|
145
148
|
* ```
|
|
146
149
|
*
|
|
150
|
+
* @kosService core.use-config-property
|
|
147
151
|
* @group KOS Model
|
|
148
152
|
* @category Configuration
|
|
149
153
|
*/
|
|
@@ -183,6 +187,7 @@ export type OptionsExpander =
|
|
|
183
187
|
* };
|
|
184
188
|
* ```
|
|
185
189
|
*
|
|
190
|
+
* @kosService core.use-config-property
|
|
186
191
|
* @group KOS Model
|
|
187
192
|
* @category Configuration
|
|
188
193
|
*/
|
|
@@ -299,6 +304,7 @@ export interface ConfigBeanPropOptions {
|
|
|
299
304
|
* });
|
|
300
305
|
* ```
|
|
301
306
|
*
|
|
307
|
+
* @kosService core.use-config-property
|
|
302
308
|
* @group KOS Model
|
|
303
309
|
* @category Configuration
|
|
304
310
|
*/
|
|
@@ -4,8 +4,10 @@ import { IKosDataModel } from '../../../core';
|
|
|
4
4
|
/**
|
|
5
5
|
* Basic Future delegation interface for models that hold a single Future reference.
|
|
6
6
|
*
|
|
7
|
+
* @kosService core.future-aware
|
|
7
8
|
* @group KOS Model
|
|
8
9
|
* @category Asynchronous Operations
|
|
10
|
+
* @kosApiLevel 2
|
|
9
11
|
*/
|
|
10
12
|
export interface FutureDelegate<T extends {} = Record<string, unknown>> {
|
|
11
13
|
future?: IFutureModel<T>;
|
|
@@ -34,8 +36,10 @@ export interface FutureDelegate<T extends {} = Record<string, unknown>> {
|
|
|
34
36
|
* }
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
39
|
+
* @kosService core.future-aware
|
|
37
40
|
* @group KOS Model
|
|
38
41
|
* @category Asynchronous Operations
|
|
42
|
+
* @kosApiLevel 2
|
|
39
43
|
*/
|
|
40
44
|
export interface FutureContainer<T extends {} = Record<string, unknown>> {
|
|
41
45
|
futureHandler: FutureAwareContainer<T>;
|
|
@@ -44,8 +48,10 @@ export interface FutureContainer<T extends {} = Record<string, unknown>> {
|
|
|
44
48
|
/**
|
|
45
49
|
* Advanced pattern for models managing multiple named Future operations.
|
|
46
50
|
*
|
|
51
|
+
* @kosService core.future-aware
|
|
47
52
|
* @group KOS Model
|
|
48
53
|
* @category Asynchronous Operations
|
|
54
|
+
* @kosApiLevel 7
|
|
49
55
|
*/
|
|
50
56
|
export interface MultiFutureAware<T extends {} = Record<string, unknown>> {
|
|
51
57
|
futureMap: Map<string, IFutureModel<T>>;
|
|
@@ -72,8 +78,10 @@ export interface MultiFutureAware<T extends {} = Record<string, unknown>> {
|
|
|
72
78
|
* const activeFutures = container.allFutures;
|
|
73
79
|
* ```
|
|
74
80
|
*
|
|
81
|
+
* @kosService core.future-aware
|
|
75
82
|
* @group KOS Model
|
|
76
83
|
* @category Asynchronous Operations
|
|
84
|
+
* @kosApiLevel 2
|
|
77
85
|
*/
|
|
78
86
|
export interface FutureAwareContainer<T extends {} = Record<string, unknown>> extends FutureDelegate<T> {
|
|
79
87
|
removeFuture(alias?: string): void;
|
|
@@ -105,8 +113,10 @@ export interface FutureAwareContainer<T extends {} = Record<string, unknown>> ex
|
|
|
105
113
|
* }
|
|
106
114
|
* ```
|
|
107
115
|
*
|
|
116
|
+
* @kosService core.future-aware
|
|
108
117
|
* @group KOS Model
|
|
109
118
|
* @category Asynchronous Operations
|
|
119
|
+
* @kosApiLevel 2
|
|
110
120
|
*/
|
|
111
121
|
export interface FutureAware {
|
|
112
122
|
readonly statusFuture?: IFutureModel;
|
|
@@ -141,8 +151,10 @@ export interface FutureAware {
|
|
|
141
151
|
* .build();
|
|
142
152
|
* ```
|
|
143
153
|
*
|
|
154
|
+
* @kosService core.future-aware
|
|
144
155
|
* @group KOS Model
|
|
145
156
|
* @category Asynchronous Operations
|
|
157
|
+
* @kosApiLevel 2
|
|
146
158
|
*/
|
|
147
159
|
export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
|
|
148
160
|
id: string;
|
|
@@ -234,6 +246,7 @@ export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
|
|
|
234
246
|
* ```
|
|
235
247
|
*
|
|
236
248
|
* @interface
|
|
249
|
+
* @kosService core.future-aware
|
|
237
250
|
* @group KOS Model
|
|
238
251
|
* @category Asynchronous Operations
|
|
239
252
|
* @useDeclaredType
|
|
@@ -241,6 +254,7 @@ export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
|
|
|
241
254
|
* @see {@link IFutureModelOptions} - Configuration options for Future instances
|
|
242
255
|
* @see {@link FutureAware} - Interface for models that integrate with Futures
|
|
243
256
|
* @see {@link FutureContainer} - Container pattern for managing multiple Futures
|
|
257
|
+
* @kosApiLevel 2
|
|
244
258
|
*/
|
|
245
259
|
export interface IFutureModel<T extends {} = Record<string, unknown>> extends IKosDataModel, Omit<IFutureModelOptions<T>, "modifyFuture"> {
|
|
246
260
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"future-types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD
|
|
1
|
+
{"version":3,"file":"future-types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpE,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACrE,aAAa,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KA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,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// --------------- GpioChip ---------------
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Configuration options for GpioChip model instances.
|
|
5
|
+
*
|
|
6
|
+
* @kosService core.gpio
|
|
7
|
+
*/
|
|
3
8
|
export interface GpioChipOptions {
|
|
4
9
|
num: number;
|
|
5
10
|
devName: string;
|
|
@@ -9,6 +14,11 @@ export interface GpioChipOptions {
|
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
// --------------- GpioChipContainer ---------------
|
|
17
|
+
/**
|
|
18
|
+
* Configuration options for GpioChipContainer model instances.
|
|
19
|
+
*
|
|
20
|
+
* @kosService core.gpio
|
|
21
|
+
*/
|
|
12
22
|
export interface GpioChipContainerOptions {
|
|
13
23
|
destinationAddress?: string;
|
|
14
24
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// --------------- GpioPin ---------------
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Configuration options for GpioPin model instances.
|
|
5
|
+
*
|
|
6
|
+
* @kosService core.gpio
|
|
7
|
+
*/
|
|
3
8
|
export interface GpioPinOptions {
|
|
4
9
|
name: string;
|
|
5
10
|
chipNum: number;
|
|
@@ -10,4 +15,9 @@ export interface GpioPinOptions {
|
|
|
10
15
|
}
|
|
11
16
|
|
|
12
17
|
// --------------- GpioPinContainer ---------------
|
|
18
|
+
/**
|
|
19
|
+
* Configuration options for GpioPinContainer model instances.
|
|
20
|
+
*
|
|
21
|
+
* @kosService core.gpio
|
|
22
|
+
*/
|
|
13
23
|
export interface GpioPinContainerOptions {}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* .build();
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
+
* @kosService core.logging
|
|
19
20
|
* @group KOS Model
|
|
20
21
|
* @category Device Logging
|
|
21
22
|
*/
|
|
@@ -42,6 +43,7 @@ export interface KosLogManagerOptions {}
|
|
|
42
43
|
* const troubleshootingLevel: LogLevelNames = 'trace';
|
|
43
44
|
* ```
|
|
44
45
|
*
|
|
46
|
+
* @kosService core.logging
|
|
45
47
|
* @group KOS Model
|
|
46
48
|
* @category Device Logging
|
|
47
49
|
*/
|
|
@@ -99,6 +101,7 @@ export type LogLevelNames = "trace" | "debug" | "info" | "warn" | "error";
|
|
|
99
101
|
* // ... and all other loggers starting with 'kos-ui-sdk'
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @kosService core.logging
|
|
102
105
|
* @group KOS Model
|
|
103
106
|
* @category Device Logging
|
|
104
107
|
*/
|
|
@@ -179,6 +182,7 @@ export interface LogOverride {
|
|
|
179
182
|
* );
|
|
180
183
|
* ```
|
|
181
184
|
*
|
|
185
|
+
* @kosService core.logging
|
|
182
186
|
* @group KOS Model
|
|
183
187
|
* @category Device Logging
|
|
184
188
|
*/
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* await timeModel.updateSystemTime(morningTime);
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
|
+
* @kosService core.kos-time
|
|
24
25
|
* @category System Integration
|
|
25
26
|
* @category Time Management
|
|
26
27
|
*/
|
|
@@ -56,6 +57,7 @@ export interface TimeBean {
|
|
|
56
57
|
* await timeModel.updateSystemDate(newYear);
|
|
57
58
|
* ```
|
|
58
59
|
*
|
|
60
|
+
* @kosService core.kos-time
|
|
59
61
|
* @category System Integration
|
|
60
62
|
* @category Time Management
|
|
61
63
|
*/
|
|
@@ -86,6 +88,7 @@ export interface DateBean {
|
|
|
86
88
|
* .build();
|
|
87
89
|
* ```
|
|
88
90
|
*
|
|
91
|
+
* @kosService core.kos-time
|
|
89
92
|
* @category Model Configuration
|
|
90
93
|
* @category System Integration
|
|
91
94
|
*/
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
* .build();
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
+
* @kosService core.logging
|
|
28
29
|
* @group KOS Model
|
|
29
30
|
* @category Device Logging
|
|
30
31
|
*/
|
|
@@ -101,6 +102,7 @@ export interface LogBlockOptions {
|
|
|
101
102
|
* configuration options such as block sorting preferences, memory limits,
|
|
102
103
|
* or automatic cleanup policies.
|
|
103
104
|
*
|
|
105
|
+
* @kosService core.logging
|
|
104
106
|
* @group KOS Model
|
|
105
107
|
* @category Device Logging
|
|
106
108
|
*/
|
|
@@ -114,6 +116,7 @@ export interface LogBlockContainerOptions {}
|
|
|
114
116
|
* as received from the KOS system. Similar to LogBlockOptions but uses
|
|
115
117
|
* timestamp numbers instead of Date objects for serialization efficiency.
|
|
116
118
|
*
|
|
119
|
+
* @kosService core.logging
|
|
117
120
|
* @group KOS Model
|
|
118
121
|
* @category Device Logging
|
|
119
122
|
*/
|
|
@@ -142,6 +145,7 @@ export interface LogBlockType {
|
|
|
142
145
|
* Used in topic handlers for log line events, containing both the actual
|
|
143
146
|
* log lines and the block metadata. Extends LogBlockType with the lines array.
|
|
144
147
|
*
|
|
148
|
+
* @kosService core.logging
|
|
145
149
|
* @group KOS Model
|
|
146
150
|
* @category Device Logging
|
|
147
151
|
*/
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
* .build();
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
|
+
* @kosService core.logging
|
|
39
40
|
* @group KOS Model
|
|
40
41
|
* @category Device Logging
|
|
41
42
|
*/
|
|
@@ -79,8 +80,9 @@ export interface LogStreamOptions {
|
|
|
79
80
|
* .build();
|
|
80
81
|
* ```
|
|
81
82
|
*
|
|
83
|
+
* @kosService core.logging
|
|
82
84
|
* @category Model Configuration
|
|
83
|
-
* @category Data Persistence
|
|
85
|
+
* @category Data Persistence
|
|
84
86
|
*/
|
|
85
87
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
86
88
|
export interface LogStreamContainerOptions {}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status values for OTA artifact installation state.
|
|
3
|
+
*
|
|
4
|
+
* @kosService core.ota
|
|
5
|
+
*/
|
|
1
6
|
export type OTAStatus =
|
|
2
7
|
| "INSTALLED" // Green Check
|
|
3
8
|
| "INVALID"
|
|
4
9
|
| "MISSING"
|
|
5
10
|
| "STAGED"; // Green Half Check
|
|
6
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Information about an OTA artifact.
|
|
14
|
+
*
|
|
15
|
+
* @kosService core.ota
|
|
16
|
+
*/
|
|
7
17
|
export interface OTAArtifactInfo {
|
|
8
18
|
hash: string;
|
|
9
19
|
identifier: string;
|
|
@@ -13,6 +23,11 @@ export interface OTAArtifactInfo {
|
|
|
13
23
|
version?: string;
|
|
14
24
|
}
|
|
15
25
|
|
|
26
|
+
/**
|
|
27
|
+
* OTA download request information.
|
|
28
|
+
*
|
|
29
|
+
* @kosService core.ota
|
|
30
|
+
*/
|
|
16
31
|
export interface OTARequest {
|
|
17
32
|
currentSize: number;
|
|
18
33
|
downloaderActive: boolean;
|
|
@@ -24,6 +39,11 @@ export interface OTARequest {
|
|
|
24
39
|
lastUpdateTime: number;
|
|
25
40
|
}
|
|
26
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Response from the OTA artifact service.
|
|
44
|
+
*
|
|
45
|
+
* @kosService core.ota
|
|
46
|
+
*/
|
|
27
47
|
export interface OTAArtifactResponse {
|
|
28
48
|
artifactInfo?: OTAArtifactInfo;
|
|
29
49
|
done: boolean;
|
|
@@ -32,6 +52,11 @@ export interface OTAArtifactResponse {
|
|
|
32
52
|
status: OTAStatus;
|
|
33
53
|
}
|
|
34
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Status values for an individual updater operation.
|
|
57
|
+
*
|
|
58
|
+
* @kosService core.ota
|
|
59
|
+
*/
|
|
35
60
|
export type UpdaterStatus =
|
|
36
61
|
| "downloading"
|
|
37
62
|
| "error"
|
|
@@ -39,6 +64,11 @@ export type UpdaterStatus =
|
|
|
39
64
|
| "pending"
|
|
40
65
|
| "ready";
|
|
41
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Individual update item tracking information.
|
|
69
|
+
*
|
|
70
|
+
* @kosService core.ota
|
|
71
|
+
*/
|
|
42
72
|
export interface UpdaterItem {
|
|
43
73
|
manifest?: boolean;
|
|
44
74
|
error?: string;
|
|
@@ -194,6 +224,7 @@ export interface UpdaterItem {
|
|
|
194
224
|
* };
|
|
195
225
|
* ```
|
|
196
226
|
*
|
|
227
|
+
* @kosService core.ota
|
|
197
228
|
* @category Model Configuration
|
|
198
229
|
* @category System Integration
|
|
199
230
|
*/
|
|
@@ -27,8 +27,10 @@ import { IKosDataModel } from '../../../../core';
|
|
|
27
27
|
* console.log(result); // '8.047'
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
+
* @kosService core.region-info
|
|
30
31
|
* @group KOS Model
|
|
31
32
|
* @category Region Info
|
|
33
|
+
* @kosApiLevel 2
|
|
32
34
|
*/
|
|
33
35
|
export interface UnitSource {
|
|
34
36
|
/** Measurement system identifier (e.g., 'metric', 'imperial', 'us') */
|
|
@@ -38,10 +40,35 @@ export interface UnitSource {
|
|
|
38
40
|
/** Specific unit name (e.g., 'meter', 'kilogram', 'fahrenheit') */
|
|
39
41
|
unit?: string;
|
|
40
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Key type for measure maps — a string or the literal 'default'.
|
|
45
|
+
*
|
|
46
|
+
* @kosService core.region-info
|
|
47
|
+
*/
|
|
41
48
|
export type MeasureMapKeys = string | "default";
|
|
49
|
+
/**
|
|
50
|
+
* Record mapping MeasureMapKeys to Unit, defining units for each measurement system.
|
|
51
|
+
*
|
|
52
|
+
* @kosService core.region-info
|
|
53
|
+
*/
|
|
42
54
|
export type SystemMeasureMap = Record<MeasureMapKeys, Unit>;
|
|
55
|
+
/**
|
|
56
|
+
* Record mapping measurement types to their respective SystemMeasureMap.
|
|
57
|
+
*
|
|
58
|
+
* @kosService core.region-info
|
|
59
|
+
*/
|
|
43
60
|
export type MeasureMap = Record<string, SystemMeasureMap>;
|
|
61
|
+
/**
|
|
62
|
+
* Record mapping strings, typically used for default settings.
|
|
63
|
+
*
|
|
64
|
+
* @kosService core.region-info
|
|
65
|
+
*/
|
|
44
66
|
export type SystemDefaultMap = Record<string, string>;
|
|
67
|
+
/**
|
|
68
|
+
* Record mapping unit systems to their default settings.
|
|
69
|
+
*
|
|
70
|
+
* @kosService core.region-info
|
|
71
|
+
*/
|
|
45
72
|
export type DefaultMeasureMap = Record<string, SystemDefaultMap>;
|
|
46
73
|
/**
|
|
47
74
|
* Configuration options for creating RegionInfoModel instances.
|
|
@@ -58,6 +85,7 @@ export type DefaultMeasureMap = Record<string, SystemDefaultMap>;
|
|
|
58
85
|
* const regionModel = RegionInfo.instance().options(options).build();
|
|
59
86
|
* ```
|
|
60
87
|
*
|
|
88
|
+
* @kosService core.region-info
|
|
61
89
|
* @group KOS Model
|
|
62
90
|
* @category Region Info
|
|
63
91
|
*/
|
|
@@ -83,8 +111,10 @@ interface FormatOptions extends BaseOptions {
|
|
|
83
111
|
* ];
|
|
84
112
|
* ```
|
|
85
113
|
*
|
|
114
|
+
* @kosService core.region-info
|
|
86
115
|
* @group KOS Model
|
|
87
116
|
* @category Region Info
|
|
117
|
+
* @kosApiLevel 2
|
|
88
118
|
*/
|
|
89
119
|
export interface TimeFormatOptions extends FormatOptions {
|
|
90
120
|
/** True if using 12-hour format with AM/PM, false for 24-hour format */
|
|
@@ -105,8 +135,10 @@ export interface TimeFormatOptions extends FormatOptions {
|
|
|
105
135
|
* ];
|
|
106
136
|
* ```
|
|
107
137
|
*
|
|
138
|
+
* @kosService core.region-info
|
|
108
139
|
* @group KOS Model
|
|
109
140
|
* @category Region Info
|
|
141
|
+
* @kosApiLevel 2
|
|
110
142
|
*/
|
|
111
143
|
export interface DateFormatOptions extends FormatOptions {
|
|
112
144
|
/** Order of date components: 'MDY', 'DMY', 'YMD', etc. */
|
|
@@ -127,8 +159,10 @@ export interface DateFormatOptions extends FormatOptions {
|
|
|
127
159
|
* ];
|
|
128
160
|
* ```
|
|
129
161
|
*
|
|
162
|
+
* @kosService core.region-info
|
|
130
163
|
* @group KOS Model
|
|
131
164
|
* @category Region Info
|
|
165
|
+
* @kosApiLevel 2
|
|
132
166
|
*/
|
|
133
167
|
export interface UnitSystemOptions extends BaseOptions {
|
|
134
168
|
/** Display name of the unit system (e.g., 'Metric System', 'Imperial System') */
|
|
@@ -168,12 +202,14 @@ export interface UnitSystemOptions extends BaseOptions {
|
|
|
168
202
|
* console.log(regionModel.selectedCountry); // 'us'
|
|
169
203
|
* ```
|
|
170
204
|
*
|
|
205
|
+
* @kosService core.region-info
|
|
171
206
|
* @group KOS Model
|
|
172
207
|
* @category Region Info
|
|
173
208
|
* @useDeclaredType
|
|
174
209
|
*
|
|
175
210
|
* @see {@link UnitSource} - Unit conversion source specification
|
|
176
211
|
* @see {@link RegionInfoOptions} - Configuration options for RegionInfoModel instances
|
|
212
|
+
* @kosApiLevel 2
|
|
177
213
|
*/
|
|
178
214
|
export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = BaseRegionResponse> extends RegionInfoOptions, IKosDataModel {
|
|
179
215
|
/** Unique identifier for the region model instance. */
|
|
@@ -192,6 +228,9 @@ export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = Bas
|
|
|
192
228
|
readonly selectedCountry: string;
|
|
193
229
|
/** The currently selected time zone. */
|
|
194
230
|
readonly selectedTimeZone: string;
|
|
231
|
+
/**
|
|
232
|
+
* @kosApiLevel 22
|
|
233
|
+
*/
|
|
195
234
|
readonly serviceBasePath: string;
|
|
196
235
|
/**
|
|
197
236
|
* The detailed information of the selected region, extended with additional data.
|
|
@@ -277,6 +316,11 @@ export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = Bas
|
|
|
277
316
|
*/
|
|
278
317
|
getDefaultUnitDecimalPlaces(measure: string, unitSystem: string, unit?: string): number;
|
|
279
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* Enum for keys used in UnitTuple.
|
|
321
|
+
*
|
|
322
|
+
* @kosService core.region-info
|
|
323
|
+
*/
|
|
280
324
|
export declare enum UnitTupleKeys {
|
|
281
325
|
family = 0,
|
|
282
326
|
scale = 1,
|
|
@@ -285,6 +329,11 @@ export declare enum UnitTupleKeys {
|
|
|
285
329
|
alias = 4,
|
|
286
330
|
system = 5
|
|
287
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* Tuple type for unit properties: family, scale, offset, decimals, alias.
|
|
334
|
+
*
|
|
335
|
+
* @kosService core.region-info
|
|
336
|
+
*/
|
|
288
337
|
export type UnitTuple = [
|
|
289
338
|
family: string,
|
|
290
339
|
scale: number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/region-info/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,UAAU;IACzB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;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jE;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC;;;;;;OAMG;IACH,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAEtE;;;;;;;OAOG;IACH,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAEzC;;;OAGG;IACH,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAEzC;;;;;;;OAOG;IACH,2BAA2B,CACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ,MAAM,CAAC;CACX;AAED;;;;GAIG;AACH,oBAAY,aAAa;IACvB,MAAM,IAAA;IACN,KAAK,IAAA;IACL,MAAM,IAAA;IACN,QAAQ,IAAA;IACR,KAAK,IAAA;IACL,MAAM,IAAA;CACP;AAED;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;CACf,CAAC"}
|
|
@@ -14,6 +14,7 @@ import { PublicModelInterface } from '../../../../core';
|
|
|
14
14
|
* const softwareInfo = SoftwareInfo.instance('system-info').build();
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
+
* @kosService core.software-info
|
|
17
18
|
* @category Model Configuration
|
|
18
19
|
* @category System Integration
|
|
19
20
|
*/
|
|
@@ -24,6 +25,7 @@ export interface SoftwareInfoOptions {
|
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* @interface
|
|
28
|
+
* @kosService core.software-info
|
|
27
29
|
* @useDeclaredType
|
|
28
30
|
*/
|
|
29
31
|
export type SoftwareInfoModel = PublicModelInterface<SoftwareInfoModelImpl>;
|
|
@@ -34,6 +36,7 @@ export type SoftwareInfoModel = PublicModelInterface<SoftwareInfoModelImpl>;
|
|
|
34
36
|
* This interface describes a software artifact (component, package, or module)
|
|
35
37
|
* installed on a KOS device node, including its identification, grouping, and version.
|
|
36
38
|
*
|
|
39
|
+
* @kosService core.software-info
|
|
37
40
|
* @group KOS Model
|
|
38
41
|
* @category Types
|
|
39
42
|
*/
|
|
@@ -53,6 +56,7 @@ export interface ArtifactsType {
|
|
|
53
56
|
* including the node identification, KOS framework version, and all installed artifacts
|
|
54
57
|
* organized by functional groups.
|
|
55
58
|
*
|
|
59
|
+
* @kosService core.software-info
|
|
56
60
|
* @group KOS Model
|
|
57
61
|
* @category Types
|
|
58
62
|
*/
|
|
@@ -48,6 +48,7 @@ import { StatePropertyTypes } from '../../types';
|
|
|
48
48
|
* .build();
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
|
+
* @kosService core.state-bean
|
|
51
52
|
* @category Model Configuration
|
|
52
53
|
* @category State Management
|
|
53
54
|
*/
|
|
@@ -100,6 +101,7 @@ type StateKeys<T extends Record<string, StatePropertyTypes>> = keyof T;
|
|
|
100
101
|
*
|
|
101
102
|
* @template T - The state property type mapping
|
|
102
103
|
*
|
|
104
|
+
* @kosService core.state-bean
|
|
103
105
|
* @group KOS Model
|
|
104
106
|
* @category Types
|
|
105
107
|
*/
|
|
@@ -112,6 +114,7 @@ export type StatePropsMap<T> = Map<StateKeys<T>, T[keyof T]>;
|
|
|
112
114
|
* access to device state properties through an observable Map structure. The interface
|
|
113
115
|
* supports real-time synchronization with device state via WebSocket topics.
|
|
114
116
|
*
|
|
117
|
+
* @kosService core.state-bean
|
|
115
118
|
* @group KOS Model
|
|
116
119
|
* @category Model Interface
|
|
117
120
|
*/
|
|
@@ -18,6 +18,7 @@ import { StatePropertyTypes } from '../../types';
|
|
|
18
18
|
* .build();
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
|
+
* @kosService core.state-prop
|
|
21
22
|
* @category Model Configuration
|
|
22
23
|
* @category State Management
|
|
23
24
|
*/
|
|
@@ -51,6 +52,7 @@ export interface StatePropOptions {
|
|
|
51
52
|
* access to individual properties within a StateBean through automatic dependency
|
|
52
53
|
* management and reactive value updates.
|
|
53
54
|
*
|
|
55
|
+
* @kosService core.state-prop
|
|
54
56
|
* @group KOS Model
|
|
55
57
|
* @category Model Interface
|
|
56
58
|
*/
|