@kosdev-code/kos-ui-sdk 2.1.36 → 2.1.38
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/fsm-injection-utils.d.ts.map +1 -1
- package/core/core/decorators/index.d.ts +1 -0
- package/core/core/decorators/index.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-helpers.d.ts +4 -2
- package/core/core/decorators/kos-service-request-helpers.d.ts.map +1 -1
- package/core/core/decorators/kos-service-request.d.ts +44 -3
- 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 +34 -0
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/extension/extension-manager.d.ts +50 -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/model/kos-service-request-manager.d.ts.map +1 -1
- package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
- package/core/core/services/browser-router.d.ts.map +1 -1
- package/core/core/transport/webSocketTransport.d.ts +2 -1
- package/core/core/transport/webSocketTransport.d.ts.map +1 -1
- package/core/index.d.ts +1 -1
- package/core/index.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 +121 -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/index.d.ts +2 -0
- package/core/util/index.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-org-utils.d.ts +3 -0
- package/core/util/kos-org-utils.d.ts.map +1 -0
- package/core/util/kos-service-request.d.ts +34 -2
- 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 +60 -0
- package/core/util/service-request-error.d.ts.map +1 -0
- 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 +70 -70
- package/index.cjs.map +1 -1
- package/index.d.cts +6 -4
- package/index.d.ts +6 -4
- package/index.d.ts.map +1 -1
- package/index.js +9257 -9251
- package/index.js.map +1 -1
- package/kos-models.json +426 -0
- package/models/constants/index.d.ts +3 -1
- package/models/constants/index.d.ts.map +1 -1
- package/models/decorators/future-service.d.ts.map +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/config-bean-model.d.ts.map +1 -1
- package/models/models/config-bean/types/index.d.ts +1 -0
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts +1 -1
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
- package/models/models/config-bean-prop/types/index.d.ts +8 -2
- 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/gpio-chip-container-model.d.ts +25 -0
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +1 -0
- package/models/models/gpio-chip/gpio-chip-model.d.ts +30 -0
- package/models/models/gpio-chip/gpio-chip-model.d.ts.map +1 -0
- package/models/models/gpio-chip/index.d.ts +7 -0
- package/models/models/gpio-chip/index.d.ts.map +1 -0
- package/models/models/gpio-chip/services/gpio-chip-services.d.ts +86 -0
- package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +1 -0
- package/models/models/gpio-chip/services/index.d.ts +2 -0
- package/models/models/gpio-chip/services/index.d.ts.map +1 -0
- package/models/models/gpio-chip/types/index.d.ts +24 -0
- package/models/models/gpio-pin/gpio-pin-container-model.d.ts +23 -0
- package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +1 -0
- package/models/models/gpio-pin/gpio-pin-model.d.ts +26 -0
- package/models/models/gpio-pin/gpio-pin-model.d.ts.map +1 -0
- package/models/models/gpio-pin/index.d.ts +6 -0
- package/models/models/gpio-pin/index.d.ts.map +1 -0
- package/models/models/gpio-pin/types/index.d.ts +23 -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/services/network-interface-services.d.ts.map +1 -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/region-info-model.d.ts +1 -0
- package/models/models/region-info/region-info-model.d.ts.map +1 -1
- package/models/models/region-info/services/region-info-services.d.ts +2 -2
- package/models/models/region-info/services/region-info-services.d.ts.map +1 -1
- package/models/models/region-info/types/index.d.ts +50 -0
- package/models/models/region-info/types/index.d.ts.map +1 -1
- package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
- package/models/models/software-info/types/index.d.ts +4 -1
- 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/services/trouble-services.d.ts +1 -0
- package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
- package/models/models/trouble/trouble-model.d.ts +3 -1
- package/models/models/trouble/trouble-model.d.ts.map +1 -1
- package/models/models/trouble/types/index.d.ts +12 -0
- package/models/models/trouble-container/trouble-container-model.d.ts +3 -2
- package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
- package/models/models/trouble-container/types/index.d.ts +5 -0
- package/models/models/usb-update/types/index.d.ts +10 -0
- package/models/utils/client.d.ts +4 -0
- package/models/utils/client.d.ts.map +1 -1
- package/models/utils/extension-manager.d.ts +5 -0
- package/models/utils/extension-manager.d.ts.map +1 -1
- package/models/utils/get-kos-connection-id.d.ts +2 -0
- package/models/utils/get-kos-connection-id.d.ts.map +1 -0
- package/models/utils/index.d.ts +2 -0
- package/models/utils/index.d.ts.map +1 -1
- package/models/utils/openapi-index.d.ts +2 -2
- package/models/utils/service-accessor.d.ts +86 -0
- package/models/utils/service-accessor.d.ts.map +1 -0
- package/models/utils/service.d.ts +4 -0
- package/models/utils/service.d.ts.map +1 -1
- package/models/utils/services/kos/1.6.5/service.d.ts +4 -0
- package/models/utils/services/kos/1.6.5/service.d.ts.map +1 -1
- package/models/utils/services/kos/1.8.1/service.d.ts +4 -0
- package/models/utils/services/kos/1.8.1/service.d.ts.map +1 -1
- package/models/utils/services/kos/1.9.x/openapi.d.ts +4597 -0
- package/models/utils/services/kos/1.9.x/service.d.ts +124 -0
- package/models/utils/services/kos/1.9.x/service.d.ts.map +1 -0
- package/models/utils/services/kos/daily/service.d.ts +4 -0
- package/models/utils/services/kos/daily/service.d.ts.map +1 -1
- package/models/utils/services/vfs/1.6.5/service.d.ts +4 -0
- package/models/utils/services/vfs/1.6.5/service.d.ts.map +1 -1
- package/models/utils/services/vfs/1.8.1/service.d.ts +4 -0
- package/models/utils/services/vfs/1.8.1/service.d.ts.map +1 -1
- package/models/utils/services/vfs/1.9.x/openapi.d.ts +51 -0
- package/models/utils/services/vfs/1.9.x/service.d.ts +124 -0
- package/models/utils/services/vfs/1.9.x/service.d.ts.map +1 -0
- package/models/utils/services/vfs/daily/service.d.ts +4 -0
- package/models/utils/services/vfs/daily/service.d.ts.map +1 -1
- package/models/utils/services-index.d.ts +2 -0
- package/models/utils/services-index.d.ts.map +1 -1
- package/package.json +4 -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/ui/hooks/use-kos-regions.d.ts.map +1 -1
- package/core/core/declarative/declarative-actions-wiring.d.ts +0 -13
- package/core/core/declarative/declarative-actions-wiring.d.ts.map +0 -1
- package/core/core/declarative/declarative-model-bindings.d.ts +0 -191
- package/core/core/declarative/declarative-model-bindings.d.ts.map +0 -1
- package/core/core/declarative/declarative-model-discovery.d.ts +0 -74
- package/core/core/declarative/declarative-model-discovery.d.ts.map +0 -1
- package/core/core/declarative/declarative-model-factory.d.ts +0 -58
- package/core/core/declarative/declarative-model-factory.d.ts.map +0 -1
- package/core/core/declarative/declarative-model-types.d.ts +0 -96
- package/core/core/declarative/declarative-model-types.d.ts.map +0 -1
- package/core/core/declarative/index.d.ts +0 -7
- package/core/core/declarative/index.d.ts.map +0 -1
- package/core/core/declarative/types.d.ts +0 -304
- package/core/core/declarative/types.d.ts.map +0 -1
|
@@ -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,10 @@ 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
|
+
*/
|
|
234
|
+
readonly serviceBasePath: string;
|
|
195
235
|
/**
|
|
196
236
|
* The detailed information of the selected region, extended with additional data.
|
|
197
237
|
* The type of additional data is determined by the generic parameter `AdditionalData`.
|
|
@@ -276,6 +316,11 @@ export interface RegionInfoModel<AdditionalData extends BaseRegionResponse = Bas
|
|
|
276
316
|
*/
|
|
277
317
|
getDefaultUnitDecimalPlaces(measure: string, unitSystem: string, unit?: string): number;
|
|
278
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* Enum for keys used in UnitTuple.
|
|
321
|
+
*
|
|
322
|
+
* @kosService core.region-info
|
|
323
|
+
*/
|
|
279
324
|
export declare enum UnitTupleKeys {
|
|
280
325
|
family = 0,
|
|
281
326
|
scale = 1,
|
|
@@ -284,6 +329,11 @@ export declare enum UnitTupleKeys {
|
|
|
284
329
|
alias = 4,
|
|
285
330
|
system = 5
|
|
286
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* Tuple type for unit properties: family, scale, offset, decimals, alias.
|
|
334
|
+
*
|
|
335
|
+
* @kosService core.region-info
|
|
336
|
+
*/
|
|
287
337
|
export type UnitTuple = [
|
|
288
338
|
family: string,
|
|
289
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":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"software-info-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/software-info/services/software-info-services.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"software-info-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/software-info/services/software-info-services.ts"],"names":[],"mappings":"AAKA,OAAO,EAAO,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAU5D,MAAM,WAAW,KAAK;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,8BAA8B,EAAE,CAAC;CAC7C;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CACvD,wBAAwB,EACxB,KAAK,CACN,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,YAClB,WAAW,KACnB,QAAQ,0BAA0B,CAkBpC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,0BAA0B;;;;GACK,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
|
*/
|
|
@@ -64,4 +68,3 @@ export interface NodeInfoType {
|
|
|
64
68
|
/** Artifacts organized by functional groups */
|
|
65
69
|
group: Record<string, ArtifactsType[]>;
|
|
66
70
|
}
|
|
67
|
-
|
|
@@ -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
|
*/
|
|
@@ -27,6 +27,7 @@ import { KosParentAware } from '../../../../core';
|
|
|
27
27
|
* .build();
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
+
* @kosService core.storage
|
|
30
31
|
* @category Model Configuration
|
|
31
32
|
* @category Device Management
|
|
32
33
|
*/
|
|
@@ -126,6 +127,7 @@ export interface StorageDeviceOptions extends KosParentAware {
|
|
|
126
127
|
* updates via WebSocket topics. Currently uses an empty configuration object as
|
|
127
128
|
* the container's behavior is primarily driven by discovered storage devices.
|
|
128
129
|
*
|
|
130
|
+
* @kosService core.storage
|
|
129
131
|
* @category Model Configuration
|
|
130
132
|
* @category Device Management
|
|
131
133
|
*/
|
|
@@ -79,6 +79,7 @@ import { KosContext, KosParentAware } from '../../../../core';
|
|
|
79
79
|
* };
|
|
80
80
|
* ```
|
|
81
81
|
*
|
|
82
|
+
* @kosService core.translation
|
|
82
83
|
* @group KOS Model
|
|
83
84
|
* @category i18n
|
|
84
85
|
*/
|
|
@@ -249,6 +250,7 @@ export interface TranslationOptions extends KosParentAware {
|
|
|
249
250
|
* };
|
|
250
251
|
* ```
|
|
251
252
|
*
|
|
253
|
+
* @kosService core.translation
|
|
252
254
|
* @group KOS Model
|
|
253
255
|
* @category i18n
|
|
254
256
|
*/
|
|
@@ -319,6 +321,7 @@ export interface TranslationContainerOptions {
|
|
|
319
321
|
* Translation models support sophisticated variable substitution patterns
|
|
320
322
|
* for dynamic content in internationalized applications.
|
|
321
323
|
*
|
|
324
|
+
* @kosService core.translation
|
|
322
325
|
* @group KOS Model
|
|
323
326
|
* @category Internationalization
|
|
324
327
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trouble-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble/services/trouble-services.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"trouble-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble/services/trouble-services.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,kBAAkB,EAInB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAkB,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO1E,MAAM,WAAW,eAAe,CAAC,gBAAgB,GAAG,GAAG;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAGD,eAAO,MAAM,kBAAkB,QAAO,MAAM,GAAG,SAY9C,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,WAAW,gBAAuB,MAAM,oEAapD,CAAC;AAEF,eAAO,MAAM,cAAc,cACd,MAAM,kCAEP,MAAM,4BAwBjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,MAAM,EAAE,kCAEV,MAAM,4BAwBjB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DeferAware, TroubleModel, TroubleOptions } from './types';
|
|
2
|
+
import { TroubleResponse } from './services';
|
|
2
3
|
import { FutureAwareContainer } from '../future/future-types';
|
|
3
4
|
import { IKosModelLogger, KosContextLogger, KosCreationContext } from '../../../core';
|
|
4
5
|
|
|
@@ -21,8 +22,9 @@ export declare class TroubleModelImpl<AdditionalData extends object = any> imple
|
|
|
21
22
|
servicePath: string;
|
|
22
23
|
group?: string;
|
|
23
24
|
createTime?: string;
|
|
25
|
+
rawJson?: TroubleResponse<any>;
|
|
24
26
|
private _mapped;
|
|
25
|
-
constructor(modelId: string, { resolvable, tags, info, id, clientData, rank, ifaces, type, group, createTime, role, color, servicePath, ...rest }: TroubleOptions, context: KosCreationContext);
|
|
27
|
+
constructor(modelId: string, { resolvable, tags, info, id, clientData, rank, ifaces, type, group, createTime, role, color, servicePath, rawJson, ...rest }: TroubleOptions, context: KosCreationContext);
|
|
26
28
|
getTitleWithContext(context: string): string;
|
|
27
29
|
getSubtitleWithContext(context: string): string;
|
|
28
30
|
get rawId(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trouble-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble/trouble-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"trouble-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble/trouble-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAExE,eAAO,MAAM,UAAU,kBAAkB,CAAC;AAM1C,qBACa,gBAAgB,CAAC,cAAc,SAAS,MAAM,GAAG,GAAG,CAC/D,YAAW,YAAY,CAAC,cAAc,CAAC,EAAE,eAAe;IAExD,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,WAAW,CAAU;IAE7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,oBAAoB,CAAC;IACpC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC;IAC/B,OAAO,CAAC,OAAO,CAAwB;gBAErC,OAAO,EAAE,MAAM,EACf,EACE,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,EAAE,EACF,UAAU,EACV,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,EACP,GAAG,IAAI,EACR,EAAE,cAAc,EACjB,OAAO,EAAE,kBAAkB;IA0B7B,mBAAmB,CAAC,OAAO,EAAE,MAAM;IAWnC,sBAAsB,CAAC,OAAO,EAAE,MAAM;IAWtC,IAAI,KAAK,WAER;IACD,IAAI,KAAK,WAER;IAED,IAAI,QAAQ,WAEX;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,UAAU,YAEb;IAED,IAAI,MAAM,uFAET;IAEK,iBAAiB;IAIvB,IAAI,iBAAiB,qEAMpB;IACD,IAAI,QAAQ,YAKX;IACD,IAAI,WAAW,IAAI,OAAO,CAMzB;IAED,UAAU;IAGV,KAAK;IAIL,WAAW;IAML,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM;CAc/B"}
|
|
@@ -28,6 +28,7 @@ import { IKosDataModel } from '../../../core';
|
|
|
28
28
|
* };
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
31
|
+
* @kosService core.trouble-aware
|
|
31
32
|
* @group KOS Model
|
|
32
33
|
* @category Types
|
|
33
34
|
*/
|
|
@@ -60,6 +61,8 @@ export interface TroubleOptions<AdditionalData extends object = any> {
|
|
|
60
61
|
group?: string;
|
|
61
62
|
/** Service path for the trouble instance */
|
|
62
63
|
servicePath?: string;
|
|
64
|
+
/** Raw JSON data for the trouble instance */
|
|
65
|
+
rawJson?: TroubleResponse<any>;
|
|
63
66
|
/** Index signature for additional domain-specific data */
|
|
64
67
|
[key: keyof AdditionalData]: AdditionalData[key];
|
|
65
68
|
}
|
|
@@ -97,6 +100,7 @@ export interface TroubleOptions<AdditionalData extends object = any> {
|
|
|
97
100
|
* ```
|
|
98
101
|
*
|
|
99
102
|
* @useDeclaredType
|
|
103
|
+
* @kosService core.trouble-aware
|
|
100
104
|
* @group KOS Model
|
|
101
105
|
* @category Trouble Management
|
|
102
106
|
*
|
|
@@ -130,6 +134,8 @@ export interface TroubleModel<AdditionalData extends object = any>
|
|
|
130
134
|
info: unknown;
|
|
131
135
|
/** Original trouble ID before any transformations */
|
|
132
136
|
rawId: string;
|
|
137
|
+
/** Full response data object */
|
|
138
|
+
rawJson?: TroubleResponse<any>;
|
|
133
139
|
/** Resolves the trouble, returning a promise with the resolution response */
|
|
134
140
|
resolve: () => Promise<FutureResponse | undefined>;
|
|
135
141
|
/** Domain-specific additional data attached to the trouble */
|
|
@@ -149,6 +155,7 @@ export interface TroubleModel<AdditionalData extends object = any>
|
|
|
149
155
|
/**
|
|
150
156
|
* Domain-specific trouble data for handle-related issues.
|
|
151
157
|
*
|
|
158
|
+
* @kosService core.trouble-aware
|
|
152
159
|
* @group KOS Model
|
|
153
160
|
* @category Domain Data
|
|
154
161
|
*/
|
|
@@ -160,6 +167,7 @@ export interface HandleTroubleData {
|
|
|
160
167
|
/**
|
|
161
168
|
* Domain-specific trouble data for nozzle-related issues.
|
|
162
169
|
*
|
|
170
|
+
* @kosService core.trouble-aware
|
|
163
171
|
* @group KOS Model
|
|
164
172
|
* @category Domain Data
|
|
165
173
|
*/
|
|
@@ -171,6 +179,7 @@ export interface NozzleTroubleData {
|
|
|
171
179
|
/**
|
|
172
180
|
* Domain-specific trouble data for container-related issues.
|
|
173
181
|
*
|
|
182
|
+
* @kosService core.trouble-aware
|
|
174
183
|
* @group KOS Model
|
|
175
184
|
* @category Domain Data
|
|
176
185
|
*/
|
|
@@ -199,6 +208,7 @@ export interface ContainerTroubleData {
|
|
|
199
208
|
* }
|
|
200
209
|
* ```
|
|
201
210
|
*
|
|
211
|
+
* @kosService core.trouble-aware
|
|
202
212
|
* @group KOS Model
|
|
203
213
|
* @category Capabilities
|
|
204
214
|
*/
|
|
@@ -243,6 +253,7 @@ export interface ResolveAware {
|
|
|
243
253
|
* }
|
|
244
254
|
* ```
|
|
245
255
|
*
|
|
256
|
+
* @kosService core.trouble-aware
|
|
246
257
|
* @group KOS Model
|
|
247
258
|
* @category Capabilities
|
|
248
259
|
*/
|
|
@@ -339,6 +350,7 @@ export interface DeferAware {
|
|
|
339
350
|
* }
|
|
340
351
|
* ```
|
|
341
352
|
*
|
|
353
|
+
* @kosService core.trouble-aware
|
|
342
354
|
* @group KOS Model
|
|
343
355
|
* @category Interfaces
|
|
344
356
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TroubleContainerOptions } from './types';
|
|
2
2
|
import { TroubleModel } from '../trouble/types';
|
|
3
3
|
import { TroubleResponse } from '../trouble/services';
|
|
4
|
-
import { IKosDataModel, IKosIdentifiable, KosContainerAwareWithProp, KosLoggerAware, KosModelRegistrationType, PublicModelInterface } from '../../../core';
|
|
4
|
+
import { IKosDataModel, IKosIdentifiable, KosContainerAwareWithProp, KosFutureAwareFull, KosLoggerAware, KosModelRegistrationType, PublicModelInterface } from '../../../core';
|
|
5
5
|
|
|
6
6
|
export declare const MODEL_TYPE = "trouble-container-model";
|
|
7
7
|
export type TroubleContainerModel = PublicModelInterface<TroubleContainerModelImpl>;
|
|
8
|
-
export interface TroubleContainerModelImpl extends KosContainerAwareWithProp<TroubleModel, "troubles">, KosLoggerAware {
|
|
8
|
+
export interface TroubleContainerModelImpl extends KosContainerAwareWithProp<TroubleModel, "troubles">, KosFutureAwareFull, KosLoggerAware {
|
|
9
9
|
}
|
|
10
10
|
export declare class Troubles {
|
|
11
11
|
static readonly INDEX_TROUBLES_BY_IFACE = "byIface";
|
|
@@ -21,6 +21,7 @@ export declare class TroubleContainerModelImpl implements IKosIdentifiable, IKos
|
|
|
21
21
|
servicePath: string;
|
|
22
22
|
constructor(modelId: string, options: TroubleContainerOptions);
|
|
23
23
|
load(): Promise<void>;
|
|
24
|
+
resolveAll(tracker?: string): Promise<import('../..').FutureResponse>;
|
|
24
25
|
handleTroubleRemoved(id: string): void;
|
|
25
26
|
handleTroubleAdded(trouble: TroubleResponse): void;
|
|
26
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trouble-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble-container/trouble-container-model.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"trouble-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/trouble-container/trouble-container-model.ts"],"names":[],"mappings":"AACA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EAC1B,MAAM,eAAe,CAAC;AASvB,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAqCvD,eAAO,MAAM,UAAU,4BAA4B,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAC/B,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAClD,MAAM,WAAW,yBACf,SAAQ,yBAAyB,CAAC,YAAY,EAAE,UAAU,CAAC,EACzD,kBAAkB,EAClB,cAAc;CAAG;AACrB,qBAAa,QAAQ;IACnB,MAAM,CAAC,QAAQ,CAAC,uBAAuB,aAAa;IACpD,MAAM,CAAC,QAAQ,CAAC,sBAAsB,YAAY;IAClD,MAAM,CAAC,QAAQ,CAAC,uBAAuB,aAAa;IACpD,MAAM,CAAC,QAAQ,CAAC,0BAA0B,gBAAgB;IAC1D,MAAM,CAAC,QAAQ,CAAC,aAAa,UAAU;IACvC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,UAAU;CAC5C;AACD,qBAea,yBACX,YAAW,gBAAgB,EAAE,aAAa;IAE1C,MAAM,CAAC,YAAY,EAAE,wBAAwB,CAC3C,yBAAyB,EACzB,uBAAuB,CACxB,CAAC;IACF,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,SAAuB;gBACtB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB;IAOvD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAyBrB,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM;IAYjC,oBAAoB,CAAC,EAAE,EAAE,MAAM;IAW/B,kBAAkB,CAAC,OAAO,EAAE,eAAe;CAiB5C"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { UpdateNote } from '../services';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Configuration options for UsbUpdate model instances.
|
|
6
|
+
*
|
|
7
|
+
* @kosService core.usb-update
|
|
8
|
+
*/
|
|
4
9
|
export interface UsbUpdateOptions {
|
|
5
10
|
active: boolean;
|
|
6
11
|
blocked: boolean;
|
|
@@ -11,4 +16,9 @@ export interface UsbUpdateOptions {
|
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
// --------------- UsbUpdateContainer ---------------
|
|
19
|
+
/**
|
|
20
|
+
* Configuration options for UsbUpdateContainer model instances.
|
|
21
|
+
*
|
|
22
|
+
* @kosService core.usb-update
|
|
23
|
+
*/
|
|
14
24
|
export interface UsbUpdateContainerOptions {}
|
package/models/utils/client.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const api: {
|
|
|
16
16
|
signal?: AbortSignal | undefined;
|
|
17
17
|
stream?: boolean | undefined;
|
|
18
18
|
responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
|
|
19
|
+
retry?: boolean | import('../../core').RetryConfig | undefined;
|
|
19
20
|
} | undefined) => Promise<import('../../core').ServiceResponse<ClientResponse<paths, K, "get">>>;
|
|
20
21
|
post: <K_1 extends "/api/app/kosdev.ddk/auth/pincode/{pin}" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/pour" | "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/fixed/{name}" | "/api/kos/browser/{nodeId}" | "/api/kos/browser/{nodeId}/{name}" | "/api/kos/browser/intent" | "/api/kos/browser/url" | "/api/kos/future/{futureId}/cancel" | "/api/kos/ota/resume/{name}" | "/api/kos/ota/cancel" | "/api/kos/ota/cancel/{name}" | "/api/kos/ota/pause/{name}" | "/api/app/kosdev.ddk/copyLogs/eraseAndCopy/{id}" | "/api/app/kosdev.ddk/copyLogs/{id}" | "/api/ext/freestyle/can/stats" | "/api/ext/freestyle/can/write/byte/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/short/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/float/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/can/write/int/{boardPath}/{index}/{subIndex}/{val}" | "/api/ext/freestyle/fcm/diagnostics/{pump}/pressureTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/opennessTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/flowTest" | "/api/ext/freestyle/fcm/diagnostics/{pump}/electricalTest" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/ext/freestyle/microCalibration/cal/{pump}/running/{val}" | "/api/ext/freestyle/microCalibration/cal/{pump}/code/{code}" | "/api/ext/freestyle/microCalibration/cal/{pump}/baseline/{val}" | "/api/ext/freestyle/microCalibration/cal/{pump}/both/{val}" | "/api/kos/config/{path}" | "/api/kos/config/bulk" | "/api/ext/freestyle/brandset/grantProperties" | "/api/ext/freestyle/fcm/calibration/{pump}/calibrate" | "/api/ext/freestyle/fcm/calibration/{pump}/preCalibrate" | "/api/ext/freestyle/fcm/calibration/{pump}/verify/{calVolume}" | "/api/ext/freestyle/fcm/calibration/{pump}/baseline/{value}" | "/api/ext/freestyle/fcm/calibration/{pump}/complete/{calVolume}/{verifyVolume}" | "/api/kos/update/install" | "/api/kos/troubles/resolve" | "/api/kos/troubles/resolve/{troubleId}" | "/api/ext/dispense/pumpEvents/replaceLine/{holder}" | "/api/ext/dispense/pumpEvents/replacePump/{pump}" | "/api/kos/time/date" | "/api/kos/time/timezone" | "/api/kos/time/time" | "/api/ext/dispense/soldOuts/container/{pump}/{reason}" | "/api/ext/dispense/soldOuts/slice/{pump}/{reason}" | "/api/app/kosdev.ddk/setup/complete/{stepName}" | "/api/ext/dispense/assignments" | "/api/kos/nodeMgr/reboot" | "/api/kos/nodeMgr/node/{nodeId}/reboot" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests/{manifestId}" | "/api/kos/nodeMgr/blockedManifests/{manifestId}" | "/api/app/kosdev.ddk/lockout/unlock/{pin}" | "/api/kos/criticalData/data" | "/api/kos/criticalData/data/{name}" | "/api/app/kosdev.ddk/ncui/reboot" | "/api/kos/device/serialNumber/{serialNum}" | "/api/ext/freestyle/ice/type/{path}/{type}" | "/api/app/tccc.fits/medusa/profile" | "/api/app/tccc.fits/medusa/profiles/{profileId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/resume" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/exit" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/stop" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}/json" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}/run" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/pause" | "/api/app/tccc.fits/medusa/profiles/{profileId}/test" | "/api/app/tccc.fits/medusa/profiles/{profileId}/activate" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs/{bevId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipe" | "/api/app/tccc.fits/medusa/profiles/{profileId}/mapper/discovery" | "/api/app/tccc.fits/medusa/profiles/{profileId}/mapper/builder" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/validate" | "/api/app/tccc.fits/medusa/profiles/{profileId}/validate/all" | "/api/app/tccc.fits/scales/{serialNum}" | "/api/app/tccc.fits.sim/scales/{serialNum}/disconnect" | "/api/app/tccc.fits.sim/scales/{serialNum}/reading/reset" | "/api/app/tccc.fits.sim/scales/{serialNum}/reading/{value}" | "/api/app/tccc.fits.sim/scales/{serialNum}/connect" | "/api/app/tccc.fits.sim/scale" | "/api/app/tccc.fits.sim/pumps/{pumpPath}/disconnect" | "/api/app/tccc.fits.sim/pumps/{pumpPath}/reading/unlock" | "/api/app/tccc.fits.sim/pumps/{pumpPath}/reading/lock" | "/api/app/tccc.fits.sim/pumps/{pumpPath}/connect/{serialNum}" | "/api/app/tccc.fits/persistence/sources/{storageId}/{name}" | "/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/pour/{path}/{intent}" | "/api/app/tccc.fits/session/pop/all" | "/api/app/tccc.fits/session/pop/include/{type}" | "/api/app/tccc.fits/session/pop/to/{type}" | "/api/app/tccc.fits/session/data/{key}" | "/api/handle/assembly:core:board:macro:agitator:agit/test">(endpoint: K_1, params?: (paths[K_1]["post"] extends {
|
|
21
22
|
parameters: infer P_1;
|
|
@@ -35,6 +36,7 @@ export declare const api: {
|
|
|
35
36
|
signal?: AbortSignal | undefined;
|
|
36
37
|
stream?: boolean | undefined;
|
|
37
38
|
responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
|
|
39
|
+
retry?: boolean | import('../../core').RetryConfig | undefined;
|
|
38
40
|
} | undefined) => Promise<import('../../core').ServiceResponse<ClientResponse<paths, K_1, "post">>>;
|
|
39
41
|
put: <K_2 extends never>(endpoint: K_2, params?: (paths[K_2]["put"] extends {
|
|
40
42
|
parameters: infer P_2;
|
|
@@ -54,6 +56,7 @@ export declare const api: {
|
|
|
54
56
|
signal?: AbortSignal | undefined;
|
|
55
57
|
stream?: boolean | undefined;
|
|
56
58
|
responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
|
|
59
|
+
retry?: boolean | import('../../core').RetryConfig | undefined;
|
|
57
60
|
} | undefined) => Promise<import('../../core').ServiceResponse<ClientResponse<paths, K_2, "put">>>;
|
|
58
61
|
delete: <K_3 extends "/api/ext/dispense/nozzle/nozzle/pipeline/beverage/select" | "/api/app/kosdev.ddk/copyLogs/{id}" | "/api/ext/dispense/metrics/{name}" | "/api/ext/dispense/metrics/{nozzle}/{name}" | "/api/ext/dispense/assignments/{holderPath}" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests" | "/api/kos/nodeMgr/node/{nodeId}/blockedManifests/{manifestId}" | "/api/kos/nodeMgr/blockedManifests/{manifestId}" | "/api/kos/criticalData/data/{name}" | "/api/app/tccc.fits/medusa/profiles/{profileId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/recipes/{name}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/tests/{testId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/blocks" | "/api/app/tccc.fits/medusa/profiles/{profileId}/builder/bevs/{bevId}" | "/api/app/tccc.fits/medusa/profiles/{profileId}/results/{resultsId}" | "/api/app/tccc.fits/scales/{serialNum}" | "/api/app/tccc.fits.sim/scales/{serialNum}" | "/api/app/tccc.fits/session/data/{key}">(endpoint: K_3, params?: (paths[K_3]["delete"] extends {
|
|
59
62
|
parameters: infer P_3;
|
|
@@ -73,6 +76,7 @@ export declare const api: {
|
|
|
73
76
|
signal?: AbortSignal | undefined;
|
|
74
77
|
stream?: boolean | undefined;
|
|
75
78
|
responseType?: "text" | "json" | "arraybuffer" | "blob" | undefined;
|
|
79
|
+
retry?: boolean | import('../../core').RetryConfig | undefined;
|
|
76
80
|
} | undefined) => Promise<import('../../core').ServiceResponse<ClientResponse<paths, K_3, "delete">>>;
|
|
77
81
|
};
|
|
78
82
|
export type BaseResponseType<K extends keyof paths, M extends AvailableMethods<paths[K]>> = ClientResponse<paths, K, M>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;AAEzC,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,MAAM,KAAK,EACrB,CAAC,SAAS,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAClC,cAAc,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { TroubleResponse } from '../models/trouble/services';
|
|
2
|
+
import { IConfigBeanModel, RegionInfoModel } from '../models';
|
|
2
3
|
import { ExtensionOptions, PropertyMapper, DataLoader } from '../../core';
|
|
3
4
|
|
|
4
5
|
export type TroubleRankMapper = PropertyMapper<TroubleResponse, number, any>;
|
|
5
6
|
export type TroubleColorMapper = PropertyMapper<TroubleResponse, string, any>;
|
|
6
7
|
export type TroubleRoleMapper = PropertyMapper<TroubleResponse, string, any>;
|
|
8
|
+
export type RegionServicePathMapper = PropertyMapper<RegionInfoModel, string, any>;
|
|
9
|
+
export type ConfigServicePathMapper = PropertyMapper<IConfigBeanModel, string, any>;
|
|
7
10
|
export declare class CoreExtensionManager {
|
|
8
11
|
/**
|
|
9
12
|
* Maps the rank property of the trouble into the {@link TroubleModel}.
|
|
@@ -46,6 +49,7 @@ export declare class CoreExtensionManager {
|
|
|
46
49
|
* Set to `"continue"` to log the error and return `undefined` instead.
|
|
47
50
|
*/
|
|
48
51
|
registerModelLoader(id: string, loader: DataLoader, options?: ExtensionOptions): void;
|
|
52
|
+
registerRegionServicePathMapper(regionServicePathMapper: RegionServicePathMapper): this;
|
|
49
53
|
/**
|
|
50
54
|
* Registers a data loader for the {@link CanvasDispatcher} pattern data.
|
|
51
55
|
*
|
|
@@ -55,5 +59,6 @@ export declare class CoreExtensionManager {
|
|
|
55
59
|
* Set to `"continue"` to log the error and return `undefined` instead.
|
|
56
60
|
*/
|
|
57
61
|
registerCanvasPatternLoader(loader: DataLoader, options?: ExtensionOptions): void;
|
|
62
|
+
registerConfigServicePathMapper(configServicePathMapper: ConfigServicePathMapper): this;
|
|
58
63
|
}
|
|
59
64
|
//# sourceMappingURL=extension-manager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/extension-manager.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"extension-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/extension-manager.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,KAAK,UAAU,EAChB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AAE7E,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAClD,eAAe,EACf,MAAM,EACN,GAAG,CACJ,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAClD,gBAAgB,EAChB,MAAM,EACN,GAAG,CACJ,CAAC;AACF,qBAAa,oBAAoB;IAC/B;;;;;;;;SAQK;IACL,yBAAyB,CACvB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,gBAAgB;IAU5B;;;;;;;;SAQK;IACL,yBAAyB,CACvB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,gBAAgB;IAU5B;;;;;;;;SAQK;IACL,0BAA0B,CACxB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,gBAAgB;IAU5B;;;;;;;;;OASG;IACH,mBAAmB,CACjB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,UAAU,EAClB,OAAO,CAAC,EAAE,gBAAgB;IAK5B,+BAA+B,CAC7B,uBAAuB,EAAE,uBAAuB;IASlD;;;;;;;OAOG;IACH,2BAA2B,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAQ1E,+BAA+B,CAC7B,uBAAuB,EAAE,uBAAuB;CAQnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-kos-connection-id.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/get-kos-connection-id.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,QAAO,MAAM,GAAG,SAQ9C,CAAC"}
|
package/models/utils/index.d.ts
CHANGED
|
@@ -3,10 +3,12 @@ export * from './conversion-utils';
|
|
|
3
3
|
export * from './core-registration-manager';
|
|
4
4
|
export * from './extension-manager';
|
|
5
5
|
export * from './future-manager';
|
|
6
|
+
export * from './get-kos-connection-id';
|
|
6
7
|
export * from './model-event-utils';
|
|
7
8
|
export * from './persistence-store';
|
|
8
9
|
export * from './prop-utils';
|
|
9
10
|
export * from './region-utils';
|
|
11
|
+
export * from './service-accessor';
|
|
10
12
|
export * from './services-index';
|
|
11
13
|
export * from './timer-manager';
|
|
12
14
|
export * from './timezone-utils';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-ui-sdk/src/models/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as kos from './services/kos/1.
|
|
2
|
-
export * as vfs from './services/vfs/1.
|
|
1
|
+
export * as kos from './services/kos/1.9.x/openapi';
|
|
2
|
+
export * as vfs from './services/vfs/1.9.x/openapi';
|
|
3
3
|
//# sourceMappingURL=openapi-index.d.ts.map
|