@kosdev-code/kos-ui-sdk 2.0.45 → 2.0.46
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 +0 -30
- package/common/events/eventBus.d.ts.map +1 -1
- package/common/events/eventBus.functional.d.ts +0 -48
- package/common/events/eventBus.functional.d.ts.map +1 -1
- package/common/events/eventBus.state.d.ts +0 -33
- package/common/events/eventBus.state.d.ts.map +1 -1
- package/core/core/decorators/index.d.ts +0 -11
- package/core/core/decorators/index.d.ts.map +1 -1
- package/core/core/decorators/kos-child.d.ts +0 -2
- package/core/core/decorators/kos-child.d.ts.map +1 -1
- package/core/core/decorators/kos-companion.d.ts +8 -158
- package/core/core/decorators/kos-companion.d.ts.map +1 -1
- package/core/core/decorators/kos-context.d.ts +0 -6
- package/core/core/decorators/kos-context.d.ts.map +1 -1
- package/core/core/decorators/kos-http-decorators.d.ts +0 -15
- package/core/core/decorators/kos-http-decorators.d.ts.map +1 -1
- package/core/core/decorators/kos-log.d.ts +0 -4
- package/core/core/decorators/kos-log.d.ts.map +1 -1
- package/core/core/decorators/kos-model-effect.d.ts +0 -9
- package/core/core/decorators/kos-model-effect.d.ts.map +1 -1
- package/core/core/decorators/kos-parent.d.ts +0 -4
- package/core/core/decorators/kos-parent.d.ts.map +1 -1
- package/core/core/decorators/kos-reference.d.ts +0 -9
- package/core/core/decorators/kos-reference.d.ts.map +1 -1
- package/core/core/decorators/kos-topic-handler-flow-control.d.ts +1 -17
- package/core/core/decorators/kos-topic-handler-flow-control.d.ts.map +1 -1
- package/core/core/decorators/kosDependency.d.ts +1 -4
- package/core/core/decorators/kosDependency.d.ts.map +1 -1
- package/core/core/decorators/kosModel.d.ts +2 -17
- package/core/core/decorators/kosModel.d.ts.map +1 -1
- package/core/core/decorators/kosSubscribe.d.ts +0 -9
- package/core/core/decorators/kosSubscribe.d.ts.map +1 -1
- package/core/core/decorators/kosTopicHandler.d.ts +5 -87
- package/core/core/decorators/kosTopicHandler.d.ts.map +1 -1
- package/core/core/decorators/propKeys.d.ts +0 -14
- package/core/core/decorators/propKeys.d.ts.map +1 -1
- package/core/core/decorators/resolve-parameters.d.ts.map +1 -1
- package/core/core/extension/extension-manager.d.ts +4 -64
- package/core/core/extension/extension-manager.d.ts.map +1 -1
- package/core/core/extension/initialize-extension.d.ts +0 -24
- package/core/core/extension/initialize-extension.d.ts.map +1 -1
- package/core/core/extension/plugin-extension-manager.d.ts +0 -11
- package/core/core/extension/plugin-extension-manager.d.ts.map +1 -1
- package/core/core/kos-container-model.d.ts +0 -188
- package/core/core/kos-container-model.d.ts.map +1 -1
- package/core/core/kos-data-container.d.ts +1 -93
- package/core/core/kos-data-container.d.ts.map +1 -1
- package/core/core/kos-registration.d.ts.map +1 -1
- package/core/core/kos-singleton-registration.d.ts.map +1 -1
- package/core/core/kosCore.d.ts.map +1 -1
- package/core/core/kosModel.d.ts +2 -55
- package/core/core/kosModel.d.ts.map +1 -1
- package/core/core/kosModelManager.d.ts +1 -11
- package/core/core/kosModelManager.d.ts.map +1 -1
- package/core/core/log/log.d.ts.map +1 -1
- package/core/core/model/apply-kos-dev-tool-support.d.ts.map +1 -1
- package/core/core/model/kos-fsm-manager.d.ts +4 -1
- package/core/core/model/kos-fsm-manager.d.ts.map +1 -1
- package/core/core/model/kos-model-component-factory.d.ts +0 -4
- package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
- package/core/core/model/kos-offline-queue.d.ts +1 -78
- package/core/core/model/kos-offline-queue.d.ts.map +1 -1
- package/core/core/model/kos-online-lifecycle-manager.d.ts.map +1 -1
- package/core/core/model/kos-subscription-manager.d.ts +0 -20
- package/core/core/model/kos-subscription-manager.d.ts.map +1 -1
- package/core/core/model/model-introspection-utils.d.ts +0 -1
- package/core/core/model/model-introspection-utils.d.ts.map +1 -1
- package/core/core/model-instantiator.d.ts +0 -19
- package/core/core/model-instantiator.d.ts.map +1 -1
- package/core/core/registration/index.d.ts +0 -1
- package/core/core/registration/index.d.ts.map +1 -1
- package/core/core/services/browser-router.d.ts.map +1 -1
- package/core/core/transport/webSocketTransport.d.ts +1 -2
- package/core/core/transport/webSocketTransport.d.ts.map +1 -1
- package/core/core/types/registration.d.ts +0 -7
- package/core/core/types/registration.d.ts.map +1 -1
- package/core/index.d.ts +1 -2
- package/core/index.d.ts.map +1 -1
- package/core/types/index.d.ts +0 -1
- package/core/types/index.d.ts.map +1 -1
- package/core/types/kos-dependency.d.ts +1 -48
- package/core/types/kos-dependency.d.ts.map +1 -1
- package/core/types/utils/kos-fetch.d.ts +0 -121
- package/core/types/utils/kos-fetch.d.ts.map +1 -1
- package/core/util/api-request-id.d.ts +0 -4
- package/core/util/api-request-id.d.ts.map +1 -1
- package/core/util/apply-mixins.d.ts +0 -4
- package/core/util/apply-mixins.d.ts.map +1 -1
- package/core/util/array-utils.d.ts +0 -4
- package/core/util/array-utils.d.ts.map +1 -1
- package/core/util/container-utils.d.ts +11 -264
- package/core/util/container-utils.d.ts.map +1 -1
- package/core/util/date-utils.d.ts +0 -29
- package/core/util/date-utils.d.ts.map +1 -1
- package/core/util/debounce.d.ts +0 -3
- package/core/util/debounce.d.ts.map +1 -1
- package/core/util/feature-flags.d.ts +0 -19
- package/core/util/feature-flags.d.ts.map +1 -1
- package/core/util/get-query-params.d.ts +0 -4
- package/core/util/get-query-params.d.ts.map +1 -1
- package/core/util/hsl-to-hex.d.ts +0 -16
- package/core/util/hsl-to-hex.d.ts.map +1 -1
- package/core/util/index.d.ts +0 -3
- package/core/util/index.d.ts.map +1 -1
- package/core/util/kos-config-init.d.ts +0 -37
- package/core/util/kos-config-init.d.ts.map +1 -1
- package/core/util/kos-data-mapper-utils.d.ts +0 -9
- package/core/util/kos-data-mapper-utils.d.ts.map +1 -1
- package/core/util/kos-fetch.d.ts +0 -12
- package/core/util/kos-fetch.d.ts.map +1 -1
- package/core/util/kos-message-utils.d.ts +0 -88
- package/core/util/kos-message-utils.d.ts.map +1 -1
- package/core/util/kos-model-utils.d.ts +0 -46
- package/core/util/kos-model-utils.d.ts.map +1 -1
- package/core/util/kos-model-visitor.d.ts +0 -2
- package/core/util/kos-model-visitor.d.ts.map +1 -1
- package/core/util/kos-service-request.d.ts +3 -43
- package/core/util/kos-service-request.d.ts.map +1 -1
- package/core/util/log-utils.d.ts +0 -12
- package/core/util/log-utils.d.ts.map +1 -1
- package/core/util/middleware.d.ts +0 -15
- package/core/util/middleware.d.ts.map +1 -1
- package/core/util/model-attribute-utils.d.ts +0 -7
- package/core/util/model-attribute-utils.d.ts.map +1 -1
- package/core/util/model-factory.d.ts +0 -4
- package/core/util/model-factory.d.ts.map +1 -1
- package/core/util/model-registration-utils.d.ts +0 -8
- package/core/util/model-registration-utils.d.ts.map +1 -1
- package/core/util/model-utils.d.ts +29 -40
- package/core/util/model-utils.d.ts.map +1 -1
- package/core/util/observable-proxy-map.d.ts +0 -11
- package/core/util/observable-proxy-map.d.ts.map +1 -1
- package/core/util/paired-client-heartbeat.d.ts +0 -2
- package/core/util/paired-client-heartbeat.d.ts.map +1 -1
- package/core/util/pipe.d.ts +0 -4
- package/core/util/pipe.d.ts.map +1 -1
- package/core/util/retry-with-exponential-backoff.d.ts +0 -3
- package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
- package/core/util/service-factory.d.ts +0 -10
- package/core/util/service-factory.d.ts.map +1 -1
- package/core/util/session-utils.d.ts +0 -8
- package/core/util/session-utils.d.ts.map +1 -1
- package/core/util/wait-for-request.d.ts +0 -16
- package/core/util/wait-for-request.d.ts.map +1 -1
- package/core/util/when-ready.d.ts +0 -3
- package/core/util/when-ready.d.ts.map +1 -1
- package/index.cjs +123 -26909
- package/index.cjs.map +1 -1
- package/index.d.cts +3 -6
- package/index.d.ts +3 -6
- package/index.d.ts.map +1 -1
- package/index.js +13460 -25275
- package/index.js.map +1 -1
- package/models/constants/index.d.ts +1 -3
- package/models/constants/index.d.ts.map +1 -1
- package/models/decorators/future-service.d.ts +2 -27
- package/models/decorators/future-service.d.ts.map +1 -1
- package/models/models/browser-router/browser-router-model.d.ts +1 -80
- package/models/models/browser-router/browser-router-model.d.ts.map +1 -1
- package/models/models/browser-router/types/index.d.ts +1 -26
- package/models/models/canvas-dispatcher/types/index.d.ts +0 -5
- package/models/models/canvas-renderer/types/index.d.ts +0 -5
- package/models/models/config-bean/config-bean-model-builder.d.ts +2 -4
- package/models/models/config-bean/config-bean-model-builder.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-model.d.ts +13 -117
- package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-types.d.ts +3 -6
- package/models/models/config-bean/config-bean-types.d.ts.map +1 -1
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts +1 -112
- 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 +19 -301
- package/models/models/device/device-model.d.ts +9 -219
- package/models/models/device/device-model.d.ts.map +1 -1
- package/models/models/device/device-registration.d.ts +48 -61
- package/models/models/device/device-registration.d.ts.map +1 -1
- package/models/models/device/types/index.d.ts +0 -42
- package/models/models/future/future-aware.d.ts +0 -82
- package/models/models/future/future-aware.d.ts.map +1 -1
- package/models/models/future/future-model.d.ts +5 -34
- package/models/models/future/future-model.d.ts.map +1 -1
- package/models/models/future/future-types.d.ts +9 -202
- package/models/models/future/future-types.d.ts.map +1 -1
- package/models/models/future-container/future-container-model.d.ts +2 -2
- package/models/models/index.d.ts +0 -1
- package/models/models/index.d.ts.map +1 -1
- package/models/models/key-value/index.d.ts +0 -4
- package/models/models/key-value/index.d.ts.map +1 -1
- package/models/models/key-value/key-value-model.d.ts +0 -111
- package/models/models/key-value/key-value-model.d.ts.map +1 -1
- package/models/models/key-value/services/key-value-services.d.ts +2 -124
- package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
- package/models/models/key-value/types/index.d.ts +0 -57
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts +14 -61
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
- package/models/models/kos-log-manager/types/index.d.ts +0 -191
- package/models/models/kos-time/kos-time-model.d.ts +0 -64
- package/models/models/kos-time/kos-time-model.d.ts.map +1 -1
- package/models/models/kos-time/types/index.d.ts +0 -83
- package/models/models/log-block/log-block-container-model.d.ts +0 -132
- package/models/models/log-block/log-block-container-model.d.ts.map +1 -1
- package/models/models/log-block/log-block-model.d.ts +0 -185
- package/models/models/log-block/log-block-model.d.ts.map +1 -1
- package/models/models/log-block/types/index.d.ts +0 -133
- package/models/models/log-stream/index.d.ts +2 -6
- package/models/models/log-stream/index.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-container-model.d.ts +0 -62
- package/models/models/log-stream/log-stream-container-model.d.ts.map +1 -1
- package/models/models/log-stream/log-stream-model.d.ts +0 -55
- package/models/models/log-stream/log-stream-model.d.ts.map +1 -1
- package/models/models/log-stream/services/log-stream-services.d.ts +1 -2
- package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
- package/models/models/log-stream/types/index.d.ts +0 -79
- package/models/models/network-interface/index.d.ts +2 -6
- package/models/models/network-interface/index.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-container-model.d.ts +0 -62
- package/models/models/network-interface/network-interface-container-model.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-container-registration.d.ts +1 -2
- package/models/models/network-interface/network-interface-container-registration.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-model.d.ts +0 -77
- package/models/models/network-interface/network-interface-model.d.ts.map +1 -1
- package/models/models/network-interface/network-interface-registration.d.ts +1 -2
- package/models/models/network-interface/network-interface-registration.d.ts.map +1 -1
- package/models/models/network-interface/services/network-interface-services.d.ts +0 -54
- package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
- package/models/models/network-interface/types/index.d.ts +0 -22
- package/models/models/ota/ota-model.d.ts +0 -79
- package/models/models/ota/ota-model.d.ts.map +1 -1
- package/models/models/ota/types/index.d.ts +0 -177
- package/models/models/region-info/region-info-model.d.ts +3 -8
- 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 +13 -191
- package/models/models/region-info/types/index.d.ts.map +1 -1
- package/models/models/region-info/utils/unit-system-utils.d.ts.map +1 -1
- package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
- package/models/models/software-info/software-info-model.d.ts +2 -74
- package/models/models/software-info/software-info-model.d.ts.map +1 -1
- package/models/models/software-info/types/index.d.ts +17 -52
- package/models/models/state-bean/state-bean-model.d.ts +9 -86
- package/models/models/state-bean/state-bean-model.d.ts.map +1 -1
- package/models/models/state-bean/types/index.d.ts +6 -117
- package/models/models/state-prop/state-prop-model.d.ts +1 -78
- package/models/models/state-prop/state-prop-model.d.ts.map +1 -1
- package/models/models/state-prop/types/index.d.ts +7 -57
- package/models/models/storage-device/services/storage-device-services.d.ts +0 -1
- package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -1
- package/models/models/storage-device/storage-device-container-model.d.ts +2 -289
- package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
- package/models/models/storage-device/storage-device-model.d.ts +2 -84
- package/models/models/storage-device/storage-device-model.d.ts.map +1 -1
- package/models/models/storage-device/types/index.d.ts +0 -114
- package/models/models/studio-properties/studio-properties-model.d.ts +0 -75
- package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
- package/models/models/studio-properties/types/index.d.ts +0 -29
- package/models/models/translation/services/translation-services.d.ts +2 -128
- package/models/models/translation/services/translation-services.d.ts.map +1 -1
- package/models/models/translation/translation-container-model.d.ts +10 -100
- package/models/models/translation/translation-container-model.d.ts.map +1 -1
- package/models/models/translation/translation-container-registration.d.ts +1 -2
- package/models/models/translation/translation-container-registration.d.ts.map +1 -1
- package/models/models/translation/translation-context.d.ts +16 -1
- package/models/models/translation/translation-context.d.ts.map +1 -1
- package/models/models/translation/translation-model.d.ts +1 -113
- package/models/models/translation/translation-model.d.ts.map +1 -1
- package/models/models/translation/types/index.d.ts +0 -343
- package/models/models/trouble/index.d.ts +1 -2
- package/models/models/trouble/index.d.ts.map +1 -1
- package/models/models/trouble/services/trouble-services.d.ts +4 -6
- package/models/models/trouble/services/trouble-services.d.ts.map +1 -1
- package/models/models/trouble/trouble-model.d.ts +1 -4
- package/models/models/trouble/trouble-model.d.ts.map +1 -1
- package/models/models/trouble/types/index.d.ts +93 -34
- package/models/models/trouble/utils/is-trouble-aware.d.ts +2 -2
- package/models/models/trouble/utils/is-trouble-aware.d.ts.map +1 -1
- package/models/models/trouble-container/index.d.ts +3 -4
- package/models/models/trouble-container/index.d.ts.map +1 -1
- package/models/models/trouble-container/trouble-container-model.d.ts +6 -10
- package/models/models/trouble-container/trouble-container-model.d.ts.map +1 -1
- package/models/models/trouble-container/trouble-container-registration.d.ts +5 -0
- package/models/models/trouble-container/trouble-container-registration.d.ts.map +1 -0
- package/models/models/trouble-container/types/index.d.ts +15 -6
- package/models/models/usb-update/types/index.d.ts +0 -10
- package/models/services/config-bean/index.d.ts +2 -2
- package/models/services/config-bean/index.d.ts.map +1 -1
- package/models/utils/client.d.ts +12 -16
- package/models/utils/client.d.ts.map +1 -1
- package/models/utils/core-registration-manager.d.ts +1 -1
- package/models/utils/core-registration-manager.d.ts.map +1 -1
- package/models/utils/extension-manager.d.ts +13 -54
- package/models/utils/extension-manager.d.ts.map +1 -1
- package/models/utils/index.d.ts +2 -3
- package/models/utils/index.d.ts.map +1 -1
- package/models/utils/kosmodel-compatible-future-mixin.d.ts +142 -0
- package/models/utils/kosmodel-compatible-future-mixin.d.ts.map +1 -0
- package/models/utils/kosmodel-interface-companion-mixin.d.ts +83 -0
- package/models/utils/kosmodel-interface-companion-mixin.d.ts.map +1 -0
- package/models/utils/service.d.ts +13 -91
- package/models/utils/service.d.ts.map +1 -1
- package/package.json +2 -16
- package/ui/contexts/kos-core-context.d.ts.map +1 -1
- package/ui/contexts/state-bean/state-bean-provider.d.ts.map +1 -1
- package/ui/hooks/device/use-device.d.ts +0 -6
- package/ui/hooks/device/use-device.d.ts.map +1 -1
- package/ui/hooks/index.d.ts +0 -1
- package/ui/hooks/index.d.ts.map +1 -1
- package/ui/hooks/kos-time/use-kos-time.d.ts +0 -6
- 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 +0 -6
- package/ui/hooks/network-interface-container/use-network-interface-container.d.ts.map +1 -1
- package/ui/hooks/ota/use-ota.d.ts +0 -6
- package/ui/hooks/ota/use-ota.d.ts.map +1 -1
- package/ui/hooks/software-info/use-software-info.d.ts +0 -6
- package/ui/hooks/software-info/use-software-info.d.ts.map +1 -1
- package/ui/hooks/state-bean/use-state-bean.d.ts +2 -2
- package/ui/hooks/state-bean/use-state-bean.d.ts.map +1 -1
- package/ui/hooks/state-bean/with-state-bean.d.ts.map +1 -1
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts +0 -6
- package/ui/hooks/storage-device-container/use-storage-device-container.d.ts.map +1 -1
- package/ui/hooks/translation-container/trans.d.ts +0 -6
- package/ui/hooks/translation-container/trans.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation-container.d.ts +33 -10
- package/ui/hooks/translation-container/use-translation-container.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation.d.ts +0 -7
- package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
- package/ui/hooks/translation-container/with-translation-container.d.ts +0 -6
- 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 +0 -6
- package/ui/hooks/usb-update-container/use-usb-update-container.d.ts.map +1 -1
- package/ui/hooks/use-config-bean.d.ts +0 -6
- package/ui/hooks/use-config-bean.d.ts.map +1 -1
- package/ui/hooks/use-config-property.d.ts +0 -6
- package/ui/hooks/use-config-property.d.ts.map +1 -1
- package/ui/hooks/use-kos-model.d.ts +0 -7
- package/ui/hooks/use-kos-model.d.ts.map +1 -1
- package/ui/hooks/use-kos-regions.d.ts.map +1 -1
- package/core/constants/model-constants.d.ts +0 -9
- package/core/constants/model-constants.d.ts.map +0 -1
- package/core/core/companion-instantiator.d.ts +0 -71
- package/core/core/companion-instantiator.d.ts.map +0 -1
- package/core/core/decorators/fsm-injection-utils.d.ts +0 -16
- package/core/core/decorators/fsm-injection-utils.d.ts.map +0 -1
- package/core/core/decorators/kos-container-aware.d.ts +0 -619
- package/core/core/decorators/kos-container-aware.d.ts.map +0 -1
- package/core/core/decorators/kos-execution-context.d.ts +0 -63
- package/core/core/decorators/kos-execution-context.d.ts.map +0 -1
- package/core/core/decorators/kos-future-aware.d.ts +0 -162
- package/core/core/decorators/kos-future-aware.d.ts.map +0 -1
- package/core/core/decorators/kos-logger-aware.d.ts +0 -105
- package/core/core/decorators/kos-logger-aware.d.ts.map +0 -1
- package/core/core/decorators/kos-multiple-future-aware.d.ts +0 -217
- package/core/core/decorators/kos-multiple-future-aware.d.ts.map +0 -1
- package/core/core/decorators/kos-service-request-helpers.d.ts +0 -60
- package/core/core/decorators/kos-service-request-helpers.d.ts.map +0 -1
- package/core/core/decorators/kos-service-request.d.ts +0 -498
- package/core/core/decorators/kos-service-request.d.ts.map +0 -1
- package/core/core/decorators/kos-state-machine.d.ts +0 -534
- package/core/core/decorators/kos-state-machine.d.ts.map +0 -1
- package/core/core/decorators/kos-trouble-aware.d.ts +0 -77
- package/core/core/decorators/kos-trouble-aware.d.ts.map +0 -1
- package/core/core/decorators/kos-view-model.d.ts +0 -176
- package/core/core/decorators/kos-view-model.d.ts.map +0 -1
- package/core/core/model/kos-service-request-manager.d.ts +0 -102
- package/core/core/model/kos-service-request-manager.d.ts.map +0 -1
- package/core/core/model/service-response-store.d.ts +0 -164
- package/core/core/model/service-response-store.d.ts.map +0 -1
- package/core/types/service-response-store.d.ts +0 -162
- package/core/types/service-response-store.d.ts.map +0 -1
- package/core/util/ancestor-path-visitor.d.ts +0 -60
- package/core/util/ancestor-path-visitor.d.ts.map +0 -1
- package/core/util/error-logger.d.ts +0 -16
- package/core/util/error-logger.d.ts.map +0 -1
- package/core/util/model-error-utils.d.ts +0 -61
- package/core/util/model-error-utils.d.ts.map +0 -1
- package/core/util/model-transition-utils.d.ts +0 -41
- package/core/util/model-transition-utils.d.ts.map +0 -1
- package/core/util/model-type-guards.d.ts +0 -26
- package/core/util/model-type-guards.d.ts.map +0 -1
- package/core/util/promise-utils.d.ts +0 -58
- package/core/util/promise-utils.d.ts.map +0 -1
- package/core/util/service-request-error.d.ts +0 -60
- package/core/util/service-request-error.d.ts.map +0 -1
- package/core/util/service-response.d.ts +0 -125
- package/core/util/service-response.d.ts.map +0 -1
- package/kos-models.json +0 -426
- package/models/models/config-bean/types/index.d.ts +0 -34
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts +0 -25
- package/models/models/gpio-chip/gpio-chip-container-model.d.ts.map +0 -1
- package/models/models/gpio-chip/gpio-chip-model.d.ts +0 -30
- package/models/models/gpio-chip/gpio-chip-model.d.ts.map +0 -1
- package/models/models/gpio-chip/index.d.ts +0 -7
- package/models/models/gpio-chip/index.d.ts.map +0 -1
- package/models/models/gpio-chip/services/gpio-chip-services.d.ts +0 -86
- package/models/models/gpio-chip/services/gpio-chip-services.d.ts.map +0 -1
- package/models/models/gpio-chip/services/index.d.ts +0 -2
- package/models/models/gpio-chip/services/index.d.ts.map +0 -1
- package/models/models/gpio-chip/types/index.d.ts +0 -24
- package/models/models/gpio-pin/gpio-pin-container-model.d.ts +0 -23
- package/models/models/gpio-pin/gpio-pin-container-model.d.ts.map +0 -1
- package/models/models/gpio-pin/gpio-pin-model.d.ts +0 -26
- package/models/models/gpio-pin/gpio-pin-model.d.ts.map +0 -1
- package/models/models/gpio-pin/index.d.ts +0 -6
- package/models/models/gpio-pin/index.d.ts.map +0 -1
- package/models/models/gpio-pin/types/index.d.ts +0 -23
- package/models/models/kos-expression-evaluator/index.d.ts +0 -4
- package/models/models/kos-expression-evaluator/index.d.ts.map +0 -1
- package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts +0 -209
- package/models/models/kos-expression-evaluator/kos-expression-evaluator-model.d.ts.map +0 -1
- package/models/models/kos-expression-evaluator/services/index.d.ts +0 -6
- package/models/models/kos-expression-evaluator/services/index.d.ts.map +0 -1
- package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts +0 -15
- package/models/models/kos-expression-evaluator/services/kos-expression-evaluator-services.d.ts.map +0 -1
- package/models/models/kos-expression-evaluator/types/index.d.ts +0 -6
- package/models/utils/get-kos-connection-id.d.ts +0 -2
- package/models/utils/get-kos-connection-id.d.ts.map +0 -1
- package/models/utils/openapi-index.d.ts +0 -3
- package/models/utils/openapi-index.d.ts.map +0 -1
- package/models/utils/service-accessor.d.ts +0 -86
- package/models/utils/service-accessor.d.ts.map +0 -1
- package/models/utils/services/kos/1.6.5/openapi.d.ts +0 -3809
- package/models/utils/services/kos/1.6.5/service.d.ts +0 -124
- package/models/utils/services/kos/1.6.5/service.d.ts.map +0 -1
- package/models/utils/services/kos/1.8.1/openapi.d.ts +0 -4344
- package/models/utils/services/kos/1.8.1/service.d.ts +0 -124
- package/models/utils/services/kos/1.8.1/service.d.ts.map +0 -1
- package/models/utils/services/kos/1.9.x/openapi.d.ts +0 -4597
- package/models/utils/services/kos/1.9.x/service.d.ts +0 -124
- package/models/utils/services/kos/1.9.x/service.d.ts.map +0 -1
- package/models/utils/services/kos/daily/openapi.d.ts +0 -4349
- package/models/utils/services/kos/daily/service.d.ts +0 -124
- package/models/utils/services/kos/daily/service.d.ts.map +0 -1
- package/models/utils/services/vfs/1.6.5/openapi.d.ts +0 -51
- package/models/utils/services/vfs/1.6.5/service.d.ts +0 -124
- package/models/utils/services/vfs/1.6.5/service.d.ts.map +0 -1
- package/models/utils/services/vfs/1.8.1/openapi.d.ts +0 -51
- package/models/utils/services/vfs/1.8.1/service.d.ts +0 -124
- package/models/utils/services/vfs/1.8.1/service.d.ts.map +0 -1
- package/models/utils/services/vfs/1.9.x/openapi.d.ts +0 -51
- package/models/utils/services/vfs/1.9.x/service.d.ts +0 -124
- package/models/utils/services/vfs/1.9.x/service.d.ts.map +0 -1
- package/models/utils/services/vfs/daily/openapi.d.ts +0 -51
- package/models/utils/services/vfs/daily/service.d.ts +0 -124
- package/models/utils/services/vfs/daily/service.d.ts.map +0 -1
- package/models/utils/services-index.d.ts +0 -9
- package/models/utils/services-index.d.ts.map +0 -1
- package/ui/hooks/view-model/index.d.ts +0 -2
- package/ui/hooks/view-model/index.d.ts.map +0 -1
- package/ui/hooks/view-model/use-view-model.d.ts +0 -80
- package/ui/hooks/view-model/use-view-model.d.ts.map +0 -1
|
@@ -3,100 +3,87 @@ import { DeviceModel } from './device-model';
|
|
|
3
3
|
import { SingletonKosModelRegistrationFactory } from '../../../core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* # Device
|
|
6
|
+
* # Device
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* The registration bean includes convenience methods for creating and working with DeviceModel instances.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* ## type
|
|
11
|
+
* The type property is a string that identifies the model type.
|
|
12
|
+
* The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
|
|
13
|
+
* used when declaring dependencies on models.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* ### type
|
|
16
|
-
*
|
|
17
|
-
* Model type identifier used for dependency injection and type narrowing.
|
|
18
|
-
* Essential for declaring model dependencies in other components.
|
|
19
|
-
*
|
|
20
|
-
* @example Model Dependency Declaration
|
|
15
|
+
* @example
|
|
21
16
|
* ```typescript
|
|
17
|
+
*
|
|
22
18
|
* @kosDependency({modelType: Device.type, id: "deviceId"})
|
|
23
19
|
* private deviceModel: DeviceModel;
|
|
24
20
|
* ```
|
|
25
21
|
*
|
|
26
|
-
* ### factory
|
|
27
22
|
*
|
|
28
|
-
*
|
|
29
|
-
* ensuring system-wide device identity consistency.
|
|
23
|
+
* ## factory
|
|
30
24
|
*
|
|
31
|
-
*
|
|
25
|
+
* The factory method creates a factory function that can be used to create new DeviceModel instances.
|
|
32
26
|
*
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
* const device = Device.factory({
|
|
36
|
-
* serialNumber: 'KOS-DEVICE-001',
|
|
37
|
-
* name: 'Production Dispenser Alpha',
|
|
38
|
-
* nodeId: 'primary-controller'
|
|
39
|
-
* });
|
|
27
|
+
|
|
28
|
+
* As this is a singleton model, the factory function accepts the model options as its argument.
|
|
40
29
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* console.log(`Node: ${device.nodeType}-${device.nodeName}`);
|
|
44
|
-
* ```
|
|
30
|
+
* If a model with the same model type already exists, the factory function will return the existing model. The options will be ignored
|
|
31
|
+
* in this case and the existing model will be returned in its current state.
|
|
45
32
|
*
|
|
46
|
-
* @example
|
|
33
|
+
* @example
|
|
47
34
|
* ```typescript
|
|
48
|
-
* const
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* // Coordinate based on node roles
|
|
52
|
-
* if (primaryDevice.nodeType === 'primary') {
|
|
53
|
-
* // Handle primary node responsibilities
|
|
54
|
-
* }
|
|
35
|
+
* const model = Device.factory({
|
|
36
|
+
* // Add option data
|
|
37
|
+
* });
|
|
55
38
|
* ```
|
|
39
|
+
|
|
40
|
+
|
|
56
41
|
*
|
|
57
|
-
*
|
|
42
|
+
* ## predicate
|
|
58
43
|
*
|
|
59
|
-
* [
|
|
60
|
-
* for identifying and narrowing models to DeviceModel instances.
|
|
44
|
+
* [Typescript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) function that will identify and narrow down a model to a DeviceModel.
|
|
61
45
|
*
|
|
62
|
-
* @example
|
|
46
|
+
* @example
|
|
63
47
|
* ```typescript
|
|
64
|
-
*
|
|
48
|
+
*
|
|
49
|
+
* const model: IKosDataModel = ...; // some model
|
|
65
50
|
*
|
|
66
51
|
* if (Device.predicate(model)) {
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
52
|
+
* // if the function evaluates to true, the model is narrowed down to DeviceModel
|
|
53
|
+
* // and the compiler will know that the model has the DeviceModel interface
|
|
54
|
+
* model.updateAvailability(false);
|
|
70
55
|
* }
|
|
71
56
|
* ```
|
|
72
57
|
*
|
|
73
|
-
*
|
|
58
|
+
* ## registration
|
|
59
|
+
*
|
|
60
|
+
* The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
|
|
61
|
+
* can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
|
|
74
62
|
*
|
|
75
|
-
* Registration object for model registry integration. Provides all required information
|
|
76
|
-
* for registering the DeviceModelImpl implementation with the model registry.
|
|
77
63
|
*
|
|
78
|
-
* @example
|
|
64
|
+
* @example
|
|
65
|
+
*
|
|
66
|
+
* In an application registration file you can declare the model registration as follows:
|
|
67
|
+
*
|
|
68
|
+
* **registration.ts**
|
|
79
69
|
* ```typescript
|
|
80
|
-
* // registration.ts
|
|
81
70
|
* import { Device } from "@kos-ui/project-models";
|
|
82
71
|
* import { KosModelRegistry } from "@kosdev-code/kos-dispense-sdk";
|
|
83
72
|
*
|
|
73
|
+
* import { initKosProvider } from "@kosdev-code/kos-ui-sdk";
|
|
74
|
+
*
|
|
84
75
|
* KosModelRegistry.dispense
|
|
85
|
-
*
|
|
86
|
-
*
|
|
76
|
+
* .models()
|
|
77
|
+
* .model(Device);
|
|
87
78
|
* ```
|
|
88
79
|
*
|
|
89
|
-
* ##
|
|
90
|
-
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* - Subsequent factory calls return existing instance
|
|
94
|
-
* - Options are ignored after initial creation
|
|
95
|
-
* - Uses model type as unique identifier
|
|
96
|
-
* - Guarantees device identity consistency across system
|
|
80
|
+
* ## registration.singleton
|
|
81
|
+
|
|
82
|
+
* The device model is a singleton model. This means that each time the factory function is called , the same instance will be returned.
|
|
83
|
+
* If the model does not yet exist, it will be created passing in the provided options to initialize it.
|
|
97
84
|
*
|
|
98
|
-
*
|
|
99
|
-
|
|
100
|
-
*/
|
|
85
|
+
* Singleton models don't require an ID as they will use the model type as their ID to guarantee uniqueness throughout the system.
|
|
86
|
+
|
|
87
|
+
* */
|
|
101
88
|
export declare const Device: SingletonKosModelRegistrationFactory<DeviceModel, DeviceOptions>;
|
|
102
89
|
//# sourceMappingURL=device-registration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/device/device-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C
|
|
1
|
+
{"version":3,"file":"device-registration.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/device/device-registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkFK;AACL,eAAO,MAAM,MAAM,kEAMjB,CAAC"}
|
|
@@ -1,47 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for Device model instances.
|
|
3
|
-
*
|
|
4
|
-
* Defines device identity and node-specific parameters for KOS device modeling.
|
|
5
|
-
* Device models represent the physical device identity and node configuration
|
|
6
|
-
* within a KOS system deployment.
|
|
7
|
-
*
|
|
8
|
-
* @example Basic Device Configuration
|
|
9
|
-
* ```typescript
|
|
10
|
-
* const deviceOptions: DeviceOptions = {
|
|
11
|
-
* serialNumber: 'KOS-DEVICE-12345',
|
|
12
|
-
* name: 'Main Beverage Dispenser',
|
|
13
|
-
* nodeId: 'primary-node-01'
|
|
14
|
-
* };
|
|
15
|
-
*
|
|
16
|
-
* const device = Device.factory(deviceOptions);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @kosService core.device
|
|
20
|
-
* @group KOS Model
|
|
21
|
-
* @category Service Integration
|
|
22
|
-
*/
|
|
23
1
|
export interface DeviceOptions {
|
|
24
|
-
/**
|
|
25
|
-
* Unique device serial number from hardware.
|
|
26
|
-
*
|
|
27
|
-
* Retrieved from the device's hardware identification system.
|
|
28
|
-
* Used for warranty tracking, support, and device-specific configuration.
|
|
29
|
-
*/
|
|
30
2
|
serialNumber?: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Human-readable device name for identification.
|
|
34
|
-
*
|
|
35
|
-
* Typically configured during device setup and used in administrative
|
|
36
|
-
* interfaces for device identification and management.
|
|
37
|
-
*/
|
|
38
3
|
name?: string;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Node identifier within the KOS deployment.
|
|
42
|
-
*
|
|
43
|
-
* Identifies the specific node role and instance within a multi-node
|
|
44
|
-
* KOS deployment. Format typically follows 'type-instance' pattern.
|
|
45
|
-
*/
|
|
46
4
|
nodeId?: string;
|
|
47
5
|
}
|
|
@@ -1,45 +1,5 @@
|
|
|
1
1
|
import { FutureAwareContainer, FutureContainer, IFutureModel, MultiFutureAware } from './future-types';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Future handler for managing multiple concurrent long-running operations.
|
|
5
|
-
*
|
|
6
|
-
* Provides comprehensive lifecycle management for models that coordinate multiple
|
|
7
|
-
* device operations simultaneously. Each Future is tracked with its own alias
|
|
8
|
-
* and receives automatic progress updates and cleanup when operations complete.
|
|
9
|
-
*
|
|
10
|
-
* @example Managing Multiple Operations
|
|
11
|
-
* ```typescript
|
|
12
|
-
* @kosModel("device-maintenance-model")
|
|
13
|
-
* export class DeviceMaintenanceModel implements FutureContainer {
|
|
14
|
-
* futureHandler: MultipleFutureHandler;
|
|
15
|
-
*
|
|
16
|
-
* constructor(modelId: string, options: any, context: KosCreationContext) {
|
|
17
|
-
* this.id = modelId;
|
|
18
|
-
* this.futureHandler = new MultipleFutureHandler(this);
|
|
19
|
-
* }
|
|
20
|
-
*
|
|
21
|
-
* async startCalibration(deviceId: string): Promise<CalibrationResult> {
|
|
22
|
-
* const future = await this.createFuture('/device/calibrate', { deviceId });
|
|
23
|
-
* this.futureHandler.addFuture(future, `calibration-${deviceId}`);
|
|
24
|
-
* return future;
|
|
25
|
-
* }
|
|
26
|
-
*
|
|
27
|
-
* async startCleaning(deviceId: string): Promise<CleaningResult> {
|
|
28
|
-
* const future = await this.createFuture('/device/clean', { deviceId });
|
|
29
|
-
* this.futureHandler.addFuture(future, `cleaning-${deviceId}`);
|
|
30
|
-
* return future;
|
|
31
|
-
* }
|
|
32
|
-
*
|
|
33
|
-
* onFutureUpdate(future: IFutureModel): void {
|
|
34
|
-
* // Handle progress updates from any managed Future
|
|
35
|
-
* console.log(`${future.id}: ${future.progress}% complete`);
|
|
36
|
-
* }
|
|
37
|
-
* }
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @group KOS Model
|
|
41
|
-
* @category Asynchronous Operations
|
|
42
|
-
*/
|
|
43
3
|
export declare class MultipleFutureHandler<T extends {} = Record<string, unknown>> implements FutureAwareContainer<T>, MultiFutureAware<T> {
|
|
44
4
|
private futures;
|
|
45
5
|
private defaultContext;
|
|
@@ -54,48 +14,6 @@ export declare class MultipleFutureHandler<T extends {} = Record<string, unknown
|
|
|
54
14
|
getFuture(alias?: string): IFutureModel<T> | undefined;
|
|
55
15
|
get futureMap(): Map<string, IFutureModel<T>>;
|
|
56
16
|
}
|
|
57
|
-
/**
|
|
58
|
-
* Future handler for managing single long-running operations with simplified API.
|
|
59
|
-
*
|
|
60
|
-
* Provides streamlined lifecycle management for models that typically handle
|
|
61
|
-
* one operation at a time. Automatically tracks progress and provides reactive
|
|
62
|
-
* status information for UI integration.
|
|
63
|
-
*
|
|
64
|
-
* @example Single Operation Management
|
|
65
|
-
* ```typescript
|
|
66
|
-
* @kosModel("brewing-system-model")
|
|
67
|
-
* export class BrewingSystemModel implements FutureContainer {
|
|
68
|
-
* futureHandler: FutureHandler;
|
|
69
|
-
*
|
|
70
|
-
* constructor(modelId: string, options: any, context: KosCreationContext) {
|
|
71
|
-
* this.id = modelId;
|
|
72
|
-
* this.futureHandler = new FutureHandler(this);
|
|
73
|
-
* }
|
|
74
|
-
*
|
|
75
|
-
* async startBrewingCycle(recipe: Recipe): Promise<BrewingResult> {
|
|
76
|
-
* const future = await this.createFuture('/brewing/start', { recipe });
|
|
77
|
-
* this.futureHandler.addFuture(future);
|
|
78
|
-
* return future;
|
|
79
|
-
* }
|
|
80
|
-
*
|
|
81
|
-
* get isOperationActive(): boolean {
|
|
82
|
-
* return this.futureHandler.status !== 'NOT_RESOLVED';
|
|
83
|
-
* }
|
|
84
|
-
*
|
|
85
|
-
* get operationProgress(): number {
|
|
86
|
-
* return this.futureHandler.progress;
|
|
87
|
-
* }
|
|
88
|
-
*
|
|
89
|
-
* onFutureUpdate(future: IFutureModel): void {
|
|
90
|
-
* // Handle progress updates from the active Future
|
|
91
|
-
* console.log(`Brewing: ${future.progress}% complete`);
|
|
92
|
-
* }
|
|
93
|
-
* }
|
|
94
|
-
* ```
|
|
95
|
-
*
|
|
96
|
-
* @group KOS Model
|
|
97
|
-
* @category Asynchronous Operations
|
|
98
|
-
*/
|
|
99
17
|
export declare class FutureHandler<T extends object = Record<string, unknown>> implements FutureAwareContainer<T> {
|
|
100
18
|
private disposer?;
|
|
101
19
|
private _future?;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"future-aware.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-aware.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAExB
|
|
1
|
+
{"version":3,"file":"future-aware.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-aware.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAExB,qBAAa,qBAAqB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACvE,YAAW,oBAAoB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAEvD,OAAO,CAAC,OAAO,CAA+B;IAC9C,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,SAAS,CAAC,CAAqB;gBAC3B,SAAS,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,EAAE,MAAM;IAQnE,IAAI,UAAU,sBAEb;IAED,IAAI,MAAM,gCAET;IACD,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM;IAWjD,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM;IAM3B,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM;IAKxB,IAAI,SAAS,iCAEZ;CACF;AAED,qBAAa,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACnE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAElC,OAAO,CAAC,QAAQ,CAAC,CAAa;IAE9B,OAAO,CAAC,OAAO,CAAC,CAAkB;IAClC,OAAO,CAAC,SAAS,CAAC,CAAqB;gBAC3B,SAAS,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC;IAK1C,YAAY;IAMZ,IAAI,MAAM,gCAET;IACD,SAAS,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS;IAIxC,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;IAWjC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEjE,IAAI,UAAU,sBAEb;IACD,IAAI,aAAa,WAEhB;IAED,IAAI,MAAM,WAET;IAED,IAAI,QAAQ,WAEX;IAEK,MAAM;CAUb"}
|
|
@@ -27,7 +27,7 @@ declare class FutureModel implements IFutureModel {
|
|
|
27
27
|
*/
|
|
28
28
|
constructor(modelId: string, options: IFutureModelOptions, context: KosCreationContext);
|
|
29
29
|
/**
|
|
30
|
-
* @
|
|
30
|
+
* @category Lifecycle
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
33
|
* No action is taken as part of the load lifecycle method.
|
|
@@ -35,9 +35,6 @@ declare class FutureModel implements IFutureModel {
|
|
|
35
35
|
* In future additional information about the workspace could be loaded
|
|
36
36
|
*/
|
|
37
37
|
load(): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
38
|
unload(): void;
|
|
42
39
|
/**
|
|
43
40
|
* @category Action
|
|
@@ -51,42 +48,16 @@ declare class FutureModel implements IFutureModel {
|
|
|
51
48
|
* @see cancelFutureService
|
|
52
49
|
*/
|
|
53
50
|
cancelFuture(): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Gets the current status of the future operation.
|
|
56
|
-
*
|
|
57
|
-
* @returns Status string: "NOT_ACTIVE", "IN_PROGRESS", "Success", or "Fail"
|
|
58
|
-
*
|
|
59
|
-
* @example Monitor Status
|
|
60
|
-
* ```typescript
|
|
61
|
-
* if (future.status === "IN_PROGRESS") {
|
|
62
|
-
* console.log(`Operation running: ${future.progress}% complete`);
|
|
63
|
-
* } else if (future.status === "Success") {
|
|
64
|
-
* console.log("Operation completed successfully!");
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
51
|
get status(): FutureEndState | "IN_PROGRESS" | "NOT_ACTIVE";
|
|
69
|
-
/**
|
|
70
|
-
* Gets human-readable time remaining for the operation.
|
|
71
|
-
*
|
|
72
|
-
* @returns Formatted time string (e.g., "5 minutes", "30 seconds") or empty string if unknown
|
|
73
|
-
*
|
|
74
|
-
* @example Display Time Remaining
|
|
75
|
-
* ```typescript
|
|
76
|
-
* const timeLeft = future.timeRemaining;
|
|
77
|
-
* if (timeLeft) {
|
|
78
|
-
* console.log(`${timeLeft} remaining`);
|
|
79
|
-
* }
|
|
80
|
-
* ```
|
|
81
|
-
*/
|
|
82
52
|
get timeRemaining(): string;
|
|
83
53
|
/**
|
|
84
|
-
* @internal
|
|
85
54
|
* @category Subscription
|
|
86
|
-
* Updates the Future model when a `kos.future/
|
|
55
|
+
* Updates the Future model when a `kos.future/ID` event
|
|
87
56
|
* is received from the server.
|
|
88
57
|
*
|
|
89
|
-
*
|
|
58
|
+
*
|
|
59
|
+
* @param data - the raw callback
|
|
60
|
+
* @param data.body - the Future that was updated.
|
|
90
61
|
* @see FutureResponse
|
|
91
62
|
*/
|
|
92
63
|
handleFutureUpdated(future: FutureResponse): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"future-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-model.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EAGd,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAOxE,UAAU,WAAY,SAAQ,YAAY;CAAG;AAI7C;;;;;;;GAOG;AACH,cACM,WAAY,YAAW,YAAY;IACvC,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,aAAa,CAGuB;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;;;OAQG;gBAED,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,kBAAkB;IAwB7B;;;;;;;OAOG;IACG,IAAI;IAIV
|
|
1
|
+
{"version":3,"file":"future-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-ui-sdk/src/models/models/future/future-model.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EAGd,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAOxE,UAAU,WAAY,SAAQ,YAAY;CAAG;AAI7C;;;;;;;GAOG;AACH,cACM,WAAY,YAAW,YAAY;IACvC,OAAO,CAAC,MAAM,CAAmB;IACjC,OAAO,CAAC,aAAa,CAGuB;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;;;;OAQG;gBAED,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,mBAAmB,EAC5B,OAAO,EAAE,kBAAkB;IAwB7B;;;;;;;OAOG;IACG,IAAI;IAIV,MAAM;IAMN;;;;;;;;;;OAUG;IACG,YAAY;IASlB,IAAI,MAAM,kDAMT;IAED,IAAI,aAAa,WAoChB;IAID;;;;;;;;;OASG;IAIH,mBAAmB,CAAC,MAAM,EAAE,cAAc;CAM3C;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,123 +1,23 @@
|
|
|
1
1
|
import { FutureEndState } from '../../services/future';
|
|
2
2
|
import { IKosDataModel } from '../../../core';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Basic Future delegation interface for models that hold a single Future reference.
|
|
6
|
-
*
|
|
7
|
-
* @kosService core.future-aware
|
|
8
|
-
* @group KOS Model
|
|
9
|
-
* @category Asynchronous Operations
|
|
10
|
-
* @kosApiLevel 2
|
|
11
|
-
*/
|
|
12
4
|
export interface FutureDelegate<T extends {} = Record<string, unknown>> {
|
|
13
5
|
future?: IFutureModel<T>;
|
|
14
6
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Container pattern for managing multiple Future operations in KOS models.
|
|
17
|
-
*
|
|
18
|
-
* Provides comprehensive Future management capabilities for models that handle
|
|
19
|
-
* multiple concurrent long-running operations with centralized lifecycle management.
|
|
20
|
-
*
|
|
21
|
-
* @example Basic Future Container
|
|
22
|
-
* ```typescript
|
|
23
|
-
* @kosModel("device-operations-model")
|
|
24
|
-
* export class DeviceOperationsModel implements FutureContainer {
|
|
25
|
-
* futureHandler: FutureAwareContainer;
|
|
26
|
-
*
|
|
27
|
-
* constructor(modelId: string, options: any, context: KosCreationContext) {
|
|
28
|
-
* this.id = modelId;
|
|
29
|
-
* this.futureHandler = new FutureHandler(this);
|
|
30
|
-
* }
|
|
31
|
-
*
|
|
32
|
-
* onFutureUpdate(future: IFutureModel, alias?: string): void {
|
|
33
|
-
* // Handle progress updates from any managed Future
|
|
34
|
-
* console.log(`Operation ${alias || future.id}: ${future.progress}%`);
|
|
35
|
-
* }
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @kosService core.future-aware
|
|
40
|
-
* @group KOS Model
|
|
41
|
-
* @category Asynchronous Operations
|
|
42
|
-
* @kosApiLevel 2
|
|
43
|
-
*/
|
|
44
7
|
export interface FutureContainer<T extends {} = Record<string, unknown>> {
|
|
45
8
|
futureHandler: FutureAwareContainer<T>;
|
|
46
|
-
onFutureUpdate?: (future: IFutureModel<T
|
|
9
|
+
onFutureUpdate?: (future: IFutureModel<T>) => void;
|
|
47
10
|
}
|
|
48
|
-
/**
|
|
49
|
-
* Advanced pattern for models managing multiple named Future operations.
|
|
50
|
-
*
|
|
51
|
-
* @kosService core.future-aware
|
|
52
|
-
* @group KOS Model
|
|
53
|
-
* @category Asynchronous Operations
|
|
54
|
-
* @kosApiLevel 7
|
|
55
|
-
*/
|
|
56
11
|
export interface MultiFutureAware<T extends {} = Record<string, unknown>> {
|
|
57
12
|
futureMap: Map<string, IFutureModel<T>>;
|
|
58
13
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Container interface providing comprehensive Future lifecycle management.
|
|
61
|
-
*
|
|
62
|
-
* Handles multiple concurrent Futures with operations for adding, removing,
|
|
63
|
-
* and querying Future instances. Essential for complex models that coordinate
|
|
64
|
-
* multiple device operations simultaneously.
|
|
65
|
-
*
|
|
66
|
-
* @example Future Container Operations
|
|
67
|
-
* ```typescript
|
|
68
|
-
* // Add new Future with optional alias
|
|
69
|
-
* container.addFuture(calibrationFuture, 'pump-calibration');
|
|
70
|
-
*
|
|
71
|
-
* // Query specific Future
|
|
72
|
-
* const future = container.getFuture('pump-calibration');
|
|
73
|
-
*
|
|
74
|
-
* // Remove completed Future
|
|
75
|
-
* container.removeFuture('pump-calibration');
|
|
76
|
-
*
|
|
77
|
-
* // Get all active Futures
|
|
78
|
-
* const activeFutures = container.allFutures;
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* @kosService core.future-aware
|
|
82
|
-
* @group KOS Model
|
|
83
|
-
* @category Asynchronous Operations
|
|
84
|
-
* @kosApiLevel 2
|
|
85
|
-
*/
|
|
86
14
|
export interface FutureAwareContainer<T extends {} = Record<string, unknown>> extends FutureDelegate<T> {
|
|
87
15
|
removeFuture(alias?: string): void;
|
|
88
16
|
getFuture(alias?: string): IFutureModel<T> | undefined;
|
|
89
17
|
addFuture(future: IFutureModel<T>, alias?: string): void;
|
|
90
18
|
allFutures: IFutureModel<T>[];
|
|
91
|
-
onFutureUpdate?: (future: IFutureModel<T
|
|
19
|
+
onFutureUpdate?: (future: IFutureModel<T>) => void;
|
|
92
20
|
}
|
|
93
|
-
/**
|
|
94
|
-
* Simplified interface for models that need basic Future awareness.
|
|
95
|
-
*
|
|
96
|
-
* Provides essential Future status information without full container complexity.
|
|
97
|
-
* Ideal for models that typically handle single operations or need simple
|
|
98
|
-
* Future integration.
|
|
99
|
-
*
|
|
100
|
-
* @example Basic Future Awareness
|
|
101
|
-
* ```typescript
|
|
102
|
-
* function OperationStatus({ model }: { model: FutureAware }) {
|
|
103
|
-
* return (
|
|
104
|
-
* <div>
|
|
105
|
-
* <p>Status: {model.status}</p>
|
|
106
|
-
* <progress value={model.progress} max={100} />
|
|
107
|
-
* <p>Time remaining: {model.timeRemaining}</p>
|
|
108
|
-
* {model.status === 'IN_PROGRESS' && (
|
|
109
|
-
* <button onClick={() => model.cancel()}>Cancel</button>
|
|
110
|
-
* )}
|
|
111
|
-
* </div>
|
|
112
|
-
* );
|
|
113
|
-
* }
|
|
114
|
-
* ```
|
|
115
|
-
*
|
|
116
|
-
* @kosService core.future-aware
|
|
117
|
-
* @group KOS Model
|
|
118
|
-
* @category Asynchronous Operations
|
|
119
|
-
* @kosApiLevel 2
|
|
120
|
-
*/
|
|
121
21
|
export interface FutureAware {
|
|
122
22
|
readonly statusFuture?: IFutureModel;
|
|
123
23
|
status: string;
|
|
@@ -126,35 +26,16 @@ export interface FutureAware {
|
|
|
126
26
|
cancel: () => Promise<void>;
|
|
127
27
|
}
|
|
128
28
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* Defines the initial state and parameters for Future operations including
|
|
132
|
-
* progress tracking, client data attachment, and namespace configuration.
|
|
29
|
+
* Additional properties that can be passed into the constructor in order
|
|
30
|
+
* to set initial values
|
|
133
31
|
*
|
|
134
32
|
* @remarks
|
|
135
33
|
* Used to identify additional data that can be set on the model during
|
|
136
|
-
* instantiation.
|
|
137
|
-
* in the constructor.
|
|
34
|
+
* instantiation. It is expected that implementers will set these properties
|
|
35
|
+
* in the constructor. The value <strong>might</strong> be overriden by
|
|
138
36
|
* subsequent lifecycle methods or updates.
|
|
139
37
|
*
|
|
140
|
-
* @
|
|
141
|
-
* ```typescript
|
|
142
|
-
* const futureOptions: IFutureModelOptions = {
|
|
143
|
-
* id: 'calibration-123',
|
|
144
|
-
* namespace: 'kos',
|
|
145
|
-
* progress: 0,
|
|
146
|
-
* clientData: { deviceId: 'pump-S4', targetRate: 1.2 }
|
|
147
|
-
* };
|
|
148
|
-
*
|
|
149
|
-
* const future = FutureFactory.instance('my-future')
|
|
150
|
-
* .options(futureOptions)
|
|
151
|
-
* .build();
|
|
152
|
-
* ```
|
|
153
|
-
*
|
|
154
|
-
* @kosService core.future-aware
|
|
155
|
-
* @group KOS Model
|
|
156
|
-
* @category Asynchronous Operations
|
|
157
|
-
* @kosApiLevel 2
|
|
38
|
+
* @category future
|
|
158
39
|
*/
|
|
159
40
|
export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
|
|
160
41
|
id: string;
|
|
@@ -178,83 +59,9 @@ export interface IFutureModelOptions<T extends {} = Record<string, unknown>> {
|
|
|
178
59
|
note?: string;
|
|
179
60
|
}
|
|
180
61
|
/**
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* The Future model provides comprehensive tracking and management of asynchronous operations
|
|
184
|
-
* with real-time progress updates, cancellation support, and automatic lifecycle management.
|
|
185
|
-
* Essential for building responsive user interfaces that handle time-consuming operations.
|
|
186
|
-
*
|
|
187
|
-
* ## Key Features
|
|
188
|
-
* - **Real-Time Progress Tracking** - Live updates via WebSocket topics with percentage completion
|
|
189
|
-
* - **Cancellation Support** - Ability to cancel in-progress operations safely
|
|
190
|
-
* - **Automatic Cleanup** - Models self-destruct when operations complete or fail
|
|
191
|
-
* - **Status Management** - Clear status reporting (NOT_ACTIVE, IN_PROGRESS, Success, Fail)
|
|
192
|
-
* - **Time Estimation** - Remaining time calculations with localized formatting
|
|
193
|
-
* - **Client Data Attachment** - Associate custom data with future operations
|
|
194
|
-
* - **Namespace Support** - Separate futures for different services (kos, studio, etc.)
|
|
195
|
-
*
|
|
196
|
-
* ## Operation Lifecycle
|
|
197
|
-
* Futures progress through distinct states with automatic status management:
|
|
198
|
-
* - **NOT_ACTIVE** - Operation not yet started or queued
|
|
199
|
-
* - **IN_PROGRESS** - Operation actively executing with progress updates
|
|
200
|
-
* - **Success** - Operation completed successfully (triggers automatic cleanup)
|
|
201
|
-
* - **Fail** - Operation failed with error details (triggers automatic cleanup)
|
|
202
|
-
*
|
|
203
|
-
* ## Common Use Cases
|
|
204
|
-
* - **Device Operations** - Track pump calibration, system diagnostics, configuration updates
|
|
205
|
-
* - **File Transfers** - Monitor upload/download progress with cancellation support
|
|
206
|
-
* - **System Updates** - Track firmware updates, package installations, system maintenance
|
|
207
|
-
* - **Data Processing** - Monitor analysis operations, report generation, bulk operations
|
|
208
|
-
* - **VM Management** - Track VM creation, deployment, and lifecycle operations
|
|
209
|
-
*
|
|
210
|
-
* @example Basic Future Tracking
|
|
211
|
-
* ```typescript
|
|
212
|
-
* const calibrationFuture = FutureFactory.instance('calibration-op')
|
|
213
|
-
* .options({
|
|
214
|
-
* id: 'pump-cal-123',
|
|
215
|
-
* namespace: 'kos',
|
|
216
|
-
* clientData: { pumpId: 'S4', targetRate: 0.9 }
|
|
217
|
-
* })
|
|
218
|
-
* .build();
|
|
219
|
-
*
|
|
220
|
-
* // Monitor progress
|
|
221
|
-
* console.log(`Status: ${calibrationFuture.status}`);
|
|
222
|
-
* console.log(`Progress: ${calibrationFuture.progress}%`);
|
|
223
|
-
* console.log(`Time remaining: ${calibrationFuture.timeRemaining}`);
|
|
224
|
-
*
|
|
225
|
-
* // Cancel if needed
|
|
226
|
-
* await calibrationFuture.cancelFuture();
|
|
227
|
-
* ```
|
|
228
|
-
*
|
|
229
|
-
* @example React Integration
|
|
230
|
-
* ```typescript
|
|
231
|
-
* function CalibrationProgress({ futureId }: { futureId: string }) {
|
|
232
|
-
* const future = useFuture(futureId);
|
|
233
|
-
*
|
|
234
|
-
* return (
|
|
235
|
-
* <div>
|
|
236
|
-
* <progress value={future.progress} max={100} />
|
|
237
|
-
* <p>{future.timeRemaining} remaining</p>
|
|
238
|
-
* {future.status === 'IN_PROGRESS' && (
|
|
239
|
-
* <button onClick={() => future.cancelFuture()}>
|
|
240
|
-
* Cancel Operation
|
|
241
|
-
* </button>
|
|
242
|
-
* )}
|
|
243
|
-
* </div>
|
|
244
|
-
* );
|
|
245
|
-
* }
|
|
246
|
-
* ```
|
|
247
|
-
*
|
|
248
|
-
* @interface
|
|
249
|
-
* @kosService core.future-aware
|
|
250
|
-
* @group KOS Model
|
|
251
|
-
* @category Asynchronous Operations
|
|
252
|
-
* @useDeclaredType
|
|
62
|
+
* Represents the public interface of a `IFutureModel`
|
|
253
63
|
*
|
|
254
|
-
* @
|
|
255
|
-
* @see {@link FutureAware} - Interface for models that integrate with Futures
|
|
256
|
-
* @see {@link FutureContainer} - Container pattern for managing multiple Futures
|
|
257
|
-
* @kosApiLevel 2
|
|
64
|
+
* @category Model
|
|
258
65
|
*/
|
|
259
66
|
export interface IFutureModel<T extends {} = Record<string, unknown>> extends IKosDataModel, Omit<IFutureModelOptions<T>, "modifyFuture"> {
|
|
260
67
|
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,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACpE,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B;AACD,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,KAAK,IAAI,CAAC;CACpD;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACtE,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AACD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAC1E,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACvD,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzD,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACpD;AACD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACzE,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EACP;QACE,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,GACD;QACE,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,GACD;QACE,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACR,UAAU,CAAC,EAAE,CAAC,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAClE,SAAQ,aAAa,EACnB,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EACP;QACE,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,GACD;QACE,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACR,UAAU,CAAC,EAAE,CAAC,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -70,7 +70,7 @@ declare class FutureContainerModel implements IFutureContainerModel {
|
|
|
70
70
|
* actions on elements in a collection without requiring the models to have
|
|
71
71
|
* explicit knowledge of the operation being performed.
|
|
72
72
|
*
|
|
73
|
-
* @
|
|
73
|
+
* @category KOS Model
|
|
74
74
|
* @internal
|
|
75
75
|
*/
|
|
76
76
|
/**
|
|
@@ -85,7 +85,7 @@ declare class FutureContainerModel implements IFutureContainerModel {
|
|
|
85
85
|
* relationship.
|
|
86
86
|
*
|
|
87
87
|
* @returns - the collection of Future models maintained by this model.
|
|
88
|
-
* @
|
|
88
|
+
* @category KOS Model
|
|
89
89
|
* @internal
|
|
90
90
|
*/
|
|
91
91
|
/**
|