@twin.org/engine-types 0.0.1-next.79 → 0.0.1-next.81

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.
@@ -60,6 +60,7 @@ var nftModels = require('@twin.org/nft-models');
60
60
  var nftService = require('@twin.org/nft-service');
61
61
  var rightsManagementService = require('@twin.org/rights-management-service');
62
62
  var rightsManagementPapService = require('@twin.org/rights-management-pap-service');
63
+ var backgroundTaskScheduler = require('@twin.org/background-task-scheduler');
63
64
  var telemetryConnectorEntityStorage = require('@twin.org/telemetry-connector-entity-storage');
64
65
  var telemetryModels = require('@twin.org/telemetry-models');
65
66
  var telemetryService = require('@twin.org/telemetry-service');
@@ -2141,6 +2142,57 @@ function initialiseRightsManagementPapComponent(engineCore, context, instanceCon
2141
2142
  return finalInstanceType;
2142
2143
  }
2143
2144
 
2145
+ // Copyright 2024 IOTA Stiftung.
2146
+ // SPDX-License-Identifier: Apache-2.0.
2147
+ /**
2148
+ * Task scheduler component types.
2149
+ */
2150
+ // eslint-disable-next-line @typescript-eslint/naming-convention
2151
+ const TaskSchedulerComponentType = {
2152
+ /**
2153
+ * Task scheduler.
2154
+ */
2155
+ Default: "default"
2156
+ };
2157
+
2158
+ /**
2159
+ * Initialise a task scheduler.
2160
+ * @param engineCore The engine core.
2161
+ * @param context The context for the engine.
2162
+ * @param instanceConfig The instance config.
2163
+ * @param overrideInstanceType The instance type to override the default.
2164
+ * @returns The name of the instance created.
2165
+ * @throws GeneralError if the connector type is unknown.
2166
+ */
2167
+ function initialiseTaskSchedulerComponent(engineCore, context, instanceConfig, overrideInstanceType) {
2168
+ engineCore.logInfo(core.I18n.formatMessage("engineCore.configuring", {
2169
+ element: `Task Scheduler: ${instanceConfig.type}`
2170
+ }));
2171
+ const type = instanceConfig.type;
2172
+ let component;
2173
+ let instanceType;
2174
+ if (type === TaskSchedulerComponentType.Default) {
2175
+ component = new backgroundTaskScheduler.TaskSchedulerComponent({
2176
+ loggingConnectorType: context.defaultTypes.loggingConnector,
2177
+ ...instanceConfig.options
2178
+ });
2179
+ instanceType = backgroundTaskScheduler.TaskSchedulerComponent.NAMESPACE;
2180
+ }
2181
+ else {
2182
+ throw new core.GeneralError("engineCore", "componentUnknownType", {
2183
+ type,
2184
+ componentType: "taskSchedulerComponent"
2185
+ });
2186
+ }
2187
+ const finalInstanceType = overrideInstanceType ?? instanceType;
2188
+ context.componentInstances.push({
2189
+ instanceType: finalInstanceType,
2190
+ component
2191
+ });
2192
+ core.ComponentFactory.register(finalInstanceType, () => component);
2193
+ return finalInstanceType;
2194
+ }
2195
+
2144
2196
  // Copyright 2024 IOTA Stiftung.
2145
2197
  // SPDX-License-Identifier: Apache-2.0.
2146
2198
  /**
@@ -2559,6 +2611,7 @@ exports.NftComponentType = NftComponentType;
2559
2611
  exports.NftConnectorType = NftConnectorType;
2560
2612
  exports.RightsManagementComponentType = RightsManagementComponentType;
2561
2613
  exports.RightsManagementPapComponentType = RightsManagementPapComponentType;
2614
+ exports.TaskSchedulerComponentType = TaskSchedulerComponentType;
2562
2615
  exports.TelemetryComponentType = TelemetryComponentType;
2563
2616
  exports.TelemetryConnectorType = TelemetryConnectorType;
2564
2617
  exports.VaultConnectorType = VaultConnectorType;
@@ -2599,6 +2652,7 @@ exports.initialiseNftComponent = initialiseNftComponent;
2599
2652
  exports.initialiseNftConnector = initialiseNftConnector;
2600
2653
  exports.initialiseRightsManagementComponent = initialiseRightsManagementComponent;
2601
2654
  exports.initialiseRightsManagementPapComponent = initialiseRightsManagementPapComponent;
2655
+ exports.initialiseTaskSchedulerComponent = initialiseTaskSchedulerComponent;
2602
2656
  exports.initialiseTelemetryComponent = initialiseTelemetryComponent;
2603
2657
  exports.initialiseTelemetryConnector = initialiseTelemetryConnector;
2604
2658
  exports.initialiseVaultConnector = initialiseVaultConnector;
@@ -58,6 +58,7 @@ import { NftConnectorFactory } from '@twin.org/nft-models';
58
58
  import { NftService } from '@twin.org/nft-service';
59
59
  import { RightsManagementService } from '@twin.org/rights-management-service';
60
60
  import { initSchema as initSchema$c, PolicyAdministrationPointService } from '@twin.org/rights-management-pap-service';
61
+ import { TaskSchedulerComponent } from '@twin.org/background-task-scheduler';
61
62
  import { initSchema as initSchema$d, EntityStorageTelemetryConnector } from '@twin.org/telemetry-connector-entity-storage';
62
63
  import { TelemetryConnectorFactory } from '@twin.org/telemetry-models';
63
64
  import { TelemetryService } from '@twin.org/telemetry-service';
@@ -2139,6 +2140,57 @@ function initialiseRightsManagementPapComponent(engineCore, context, instanceCon
2139
2140
  return finalInstanceType;
2140
2141
  }
2141
2142
 
2143
+ // Copyright 2024 IOTA Stiftung.
2144
+ // SPDX-License-Identifier: Apache-2.0.
2145
+ /**
2146
+ * Task scheduler component types.
2147
+ */
2148
+ // eslint-disable-next-line @typescript-eslint/naming-convention
2149
+ const TaskSchedulerComponentType = {
2150
+ /**
2151
+ * Task scheduler.
2152
+ */
2153
+ Default: "default"
2154
+ };
2155
+
2156
+ /**
2157
+ * Initialise a task scheduler.
2158
+ * @param engineCore The engine core.
2159
+ * @param context The context for the engine.
2160
+ * @param instanceConfig The instance config.
2161
+ * @param overrideInstanceType The instance type to override the default.
2162
+ * @returns The name of the instance created.
2163
+ * @throws GeneralError if the connector type is unknown.
2164
+ */
2165
+ function initialiseTaskSchedulerComponent(engineCore, context, instanceConfig, overrideInstanceType) {
2166
+ engineCore.logInfo(I18n.formatMessage("engineCore.configuring", {
2167
+ element: `Task Scheduler: ${instanceConfig.type}`
2168
+ }));
2169
+ const type = instanceConfig.type;
2170
+ let component;
2171
+ let instanceType;
2172
+ if (type === TaskSchedulerComponentType.Default) {
2173
+ component = new TaskSchedulerComponent({
2174
+ loggingConnectorType: context.defaultTypes.loggingConnector,
2175
+ ...instanceConfig.options
2176
+ });
2177
+ instanceType = TaskSchedulerComponent.NAMESPACE;
2178
+ }
2179
+ else {
2180
+ throw new GeneralError("engineCore", "componentUnknownType", {
2181
+ type,
2182
+ componentType: "taskSchedulerComponent"
2183
+ });
2184
+ }
2185
+ const finalInstanceType = overrideInstanceType ?? instanceType;
2186
+ context.componentInstances.push({
2187
+ instanceType: finalInstanceType,
2188
+ component
2189
+ });
2190
+ ComponentFactory.register(finalInstanceType, () => component);
2191
+ return finalInstanceType;
2192
+ }
2193
+
2142
2194
  // Copyright 2024 IOTA Stiftung.
2143
2195
  // SPDX-License-Identifier: Apache-2.0.
2144
2196
  /**
@@ -2522,4 +2574,4 @@ const DltConfigType = {
2522
2574
  Iota: "iota"
2523
2575
  };
2524
2576
 
2525
- export { AttestationComponentType, AttestationConnectorType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, BackgroundTaskConnectorType, BlobStorageComponentType, BlobStorageConnectorType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType, DltConfigType, DocumentManagementComponentType, EntityStorageComponentType, EntityStorageConnectorType, EventBusComponentType, EventBusConnectorType, FaucetConnectorType, FederatedCatalogueComponentType, IdentityComponentType, IdentityConnectorType, IdentityProfileComponentType, IdentityProfileConnectorType, IdentityResolverComponentType, IdentityResolverConnectorType, ImmutableProofComponentType, LoggingComponentType, LoggingConnectorType, MessagingComponentType, MessagingEmailConnectorType, MessagingPushNotificationConnectorType, MessagingSmsConnectorType, NftComponentType, NftConnectorType, RightsManagementComponentType, RightsManagementPapComponentType, TelemetryComponentType, TelemetryConnectorType, VaultConnectorType, VerifiableStorageComponentType, VerifiableStorageConnectorType, WalletConnectorType, initialiseAttestationComponent, initialiseAttestationConnector, initialiseAuditableItemGraphComponent, initialiseAuditableItemStreamComponent, initialiseBackgroundTaskConnector, initialiseBlobStorageComponent, initialiseBlobStorageConnector, initialiseDataConverterConnector, initialiseDataExtractorConnector, initialiseDataProcessingComponent, initialiseDocumentManagementComponent, initialiseEntityStorageComponent, initialiseEntityStorageConnector, initialiseEventBusComponent, initialiseEventBusConnector, initialiseFaucetConnector, initialiseFederatedCatalogueComponent, initialiseIdentityComponent, initialiseIdentityConnector, initialiseIdentityProfileComponent, initialiseIdentityProfileConnector, initialiseIdentityResolverComponent, initialiseIdentityResolverConnector, initialiseImmutableProofComponent, initialiseLoggingComponent, initialiseLoggingConnector, initialiseMessagingComponent, initialiseMessagingEmailConnector, initialiseMessagingPushNotificationConnector, initialiseMessagingSmsConnector, initialiseNftComponent, initialiseNftConnector, initialiseRightsManagementComponent, initialiseRightsManagementPapComponent, initialiseTelemetryComponent, initialiseTelemetryConnector, initialiseVaultConnector, initialiseVerifiableStorageComponent, initialiseVerifiableStorageConnector, initialiseWalletConnector, initialiseWalletStorage };
2577
+ export { AttestationComponentType, AttestationConnectorType, AuditableItemGraphComponentType, AuditableItemStreamComponentType, BackgroundTaskConnectorType, BlobStorageComponentType, BlobStorageConnectorType, DataConverterConnectorType, DataExtractorConnectorType, DataProcessingComponentType, DltConfigType, DocumentManagementComponentType, EntityStorageComponentType, EntityStorageConnectorType, EventBusComponentType, EventBusConnectorType, FaucetConnectorType, FederatedCatalogueComponentType, IdentityComponentType, IdentityConnectorType, IdentityProfileComponentType, IdentityProfileConnectorType, IdentityResolverComponentType, IdentityResolverConnectorType, ImmutableProofComponentType, LoggingComponentType, LoggingConnectorType, MessagingComponentType, MessagingEmailConnectorType, MessagingPushNotificationConnectorType, MessagingSmsConnectorType, NftComponentType, NftConnectorType, RightsManagementComponentType, RightsManagementPapComponentType, TaskSchedulerComponentType, TelemetryComponentType, TelemetryConnectorType, VaultConnectorType, VerifiableStorageComponentType, VerifiableStorageConnectorType, WalletConnectorType, initialiseAttestationComponent, initialiseAttestationConnector, initialiseAuditableItemGraphComponent, initialiseAuditableItemStreamComponent, initialiseBackgroundTaskConnector, initialiseBlobStorageComponent, initialiseBlobStorageConnector, initialiseDataConverterConnector, initialiseDataExtractorConnector, initialiseDataProcessingComponent, initialiseDocumentManagementComponent, initialiseEntityStorageComponent, initialiseEntityStorageConnector, initialiseEventBusComponent, initialiseEventBusConnector, initialiseFaucetConnector, initialiseFederatedCatalogueComponent, initialiseIdentityComponent, initialiseIdentityConnector, initialiseIdentityProfileComponent, initialiseIdentityProfileConnector, initialiseIdentityResolverComponent, initialiseIdentityResolverConnector, initialiseImmutableProofComponent, initialiseLoggingComponent, initialiseLoggingConnector, initialiseMessagingComponent, initialiseMessagingEmailConnector, initialiseMessagingPushNotificationConnector, initialiseMessagingSmsConnector, initialiseNftComponent, initialiseNftConnector, initialiseRightsManagementComponent, initialiseRightsManagementPapComponent, initialiseTaskSchedulerComponent, initialiseTelemetryComponent, initialiseTelemetryConnector, initialiseVaultConnector, initialiseVerifiableStorageComponent, initialiseVerifiableStorageConnector, initialiseWalletConnector, initialiseWalletStorage };
@@ -1,4 +1,4 @@
1
- import type { IEngineCoreContext, IEngineCore } from "@twin.org/engine-models";
1
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
2
2
  import type { BackgroundTaskConnectorConfig } from "../models/config/backgroundTaskConnectorConfig";
3
3
  import type { IEngineConfig } from "../models/IEngineConfig";
4
4
  /**
@@ -0,0 +1,13 @@
1
+ import type { IEngineCore, IEngineCoreContext } from "@twin.org/engine-models";
2
+ import type { TaskSchedulerComponentConfig } from "../models/config/taskSchedulerComponentConfig";
3
+ import type { IEngineConfig } from "../models/IEngineConfig";
4
+ /**
5
+ * Initialise a task scheduler.
6
+ * @param engineCore The engine core.
7
+ * @param context The context for the engine.
8
+ * @param instanceConfig The instance config.
9
+ * @param overrideInstanceType The instance type to override the default.
10
+ * @returns The name of the instance created.
11
+ * @throws GeneralError if the connector type is unknown.
12
+ */
13
+ export declare function initialiseTaskSchedulerComponent(engineCore: IEngineCore<IEngineConfig>, context: IEngineCoreContext<IEngineConfig>, instanceConfig: TaskSchedulerComponentConfig, overrideInstanceType?: string): string | undefined;
@@ -18,6 +18,7 @@ export * from "./components/messaging";
18
18
  export * from "./components/nft";
19
19
  export * from "./components/rightsManagement";
20
20
  export * from "./components/rightsManagementPap";
21
+ export * from "./components/taskScheduler";
21
22
  export * from "./components/telemetry";
22
23
  export * from "./components/vault";
23
24
  export * from "./components/verifiableStorage";
@@ -57,6 +58,7 @@ export * from "./models/config/nftComponentConfig";
57
58
  export * from "./models/config/nftConnectorConfig";
58
59
  export * from "./models/config/rightsManagementComponentConfig";
59
60
  export * from "./models/config/rightsManagementPapComponentConfig";
61
+ export * from "./models/config/taskSchedulerComponentConfig";
60
62
  export * from "./models/config/telemetryComponentConfig";
61
63
  export * from "./models/config/telemetryConnectorConfig";
62
64
  export * from "./models/config/vaultConnectorConfig";
@@ -99,6 +101,7 @@ export * from "./models/types/nftComponentType";
99
101
  export * from "./models/types/nftConnectorType";
100
102
  export * from "./models/types/rightsManagementComponentType";
101
103
  export * from "./models/types/rightsManagementPapComponentType";
104
+ export * from "./models/types/taskSchedulerComponentType";
102
105
  export * from "./models/types/telemetryComponentType";
103
106
  export * from "./models/types/telemetryConnectorType";
104
107
  export * from "./models/types/vaultConnectorType";
@@ -34,6 +34,7 @@ import type { NftComponentConfig } from "./config/nftComponentConfig";
34
34
  import type { NftConnectorConfig } from "./config/nftConnectorConfig";
35
35
  import type { RightsManagementComponentConfig } from "./config/rightsManagementComponentConfig";
36
36
  import type { RightsManagementPapComponentConfig } from "./config/rightsManagementPapComponentConfig";
37
+ import type { TaskSchedulerComponentConfig } from "./config/taskSchedulerComponentConfig";
37
38
  import type { TelemetryComponentConfig } from "./config/telemetryComponentConfig";
38
39
  import type { TelemetryConnectorConfig } from "./config/telemetryConnectorConfig";
39
40
  import type { VaultConnectorConfig } from "./config/vaultConnectorConfig";
@@ -101,6 +102,10 @@ export interface IEngineConfig extends IEngineCoreConfig {
101
102
  * Background task connector options which can be overridden by individual components by specifying types other than default.
102
103
  */
103
104
  backgroundTaskConnector?: IEngineCoreTypeConfig<BackgroundTaskConnectorConfig>[];
105
+ /**
106
+ * Task scheduler component options which can be overridden by individual components by specifying types other than default.
107
+ */
108
+ taskSchedulerComponent?: IEngineCoreTypeConfig<TaskSchedulerComponentConfig>[];
104
109
  /**
105
110
  * Event bus connector options which can be overridden by individual components by specifying types other than default.
106
111
  */
@@ -0,0 +1,9 @@
1
+ import type { ITaskSchedulerConstructorOptions } from "@twin.org/background-task-scheduler";
2
+ import type { TaskSchedulerComponentType } from "../types/taskSchedulerComponentType";
3
+ /**
4
+ * Background task scheduled component config types.
5
+ */
6
+ export type TaskSchedulerComponentConfig = {
7
+ type: typeof TaskSchedulerComponentType.Default;
8
+ options?: ITaskSchedulerConstructorOptions;
9
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Task scheduler component types.
3
+ */
4
+ export declare const TaskSchedulerComponentType: {
5
+ /**
6
+ * Task scheduler.
7
+ */
8
+ readonly Default: "default";
9
+ };
10
+ /**
11
+ * Task scheduler component types.
12
+ */
13
+ export type TaskSchedulerComponentType = (typeof TaskSchedulerComponentType)[keyof typeof TaskSchedulerComponentType];
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @twin.org/engine-types - Changelog
2
2
 
3
+ ## [0.0.1-next.81](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.80...engine-types-v0.0.1-next.81) (2025-07-07)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **engine-types:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/engine-models bumped from 0.0.1-next.80 to 0.0.1-next.81
16
+
17
+ ## [0.0.1-next.80](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.79...engine-types-v0.0.1-next.80) (2025-06-23)
18
+
19
+
20
+ ### Features
21
+
22
+ * add task scheduler ([0951107](https://github.com/twinfoundation/engine/commit/09511073ad042194a45206303f0ef31d8d6af5db))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/engine-models bumped from 0.0.1-next.79 to 0.0.1-next.80
30
+
3
31
  ## [0.0.1-next.79](https://github.com/twinfoundation/engine/compare/engine-types-v0.0.1-next.78...engine-types-v0.0.1-next.79) (2025-06-18)
4
32
 
5
33
 
@@ -0,0 +1,41 @@
1
+ # Function: initialiseTaskSchedulerComponent()
2
+
3
+ > **initialiseTaskSchedulerComponent**(`engineCore`, `context`, `instanceConfig`, `overrideInstanceType?`): `undefined` \| `string`
4
+
5
+ Initialise a task scheduler.
6
+
7
+ ## Parameters
8
+
9
+ ### engineCore
10
+
11
+ `IEngineCore`\<[`IEngineConfig`](../interfaces/IEngineConfig.md)\>
12
+
13
+ The engine core.
14
+
15
+ ### context
16
+
17
+ `IEngineCoreContext`\<[`IEngineConfig`](../interfaces/IEngineConfig.md)\>
18
+
19
+ The context for the engine.
20
+
21
+ ### instanceConfig
22
+
23
+ [`TaskSchedulerComponentConfig`](../type-aliases/TaskSchedulerComponentConfig.md)
24
+
25
+ The instance config.
26
+
27
+ ### overrideInstanceType?
28
+
29
+ `string`
30
+
31
+ The instance type to override the default.
32
+
33
+ ## Returns
34
+
35
+ `undefined` \| `string`
36
+
37
+ The name of the instance created.
38
+
39
+ ## Throws
40
+
41
+ GeneralError if the connector type is unknown.
@@ -41,6 +41,7 @@
41
41
  - [NftConnectorConfig](type-aliases/NftConnectorConfig.md)
42
42
  - [RightsManagementComponentConfig](type-aliases/RightsManagementComponentConfig.md)
43
43
  - [RightsManagementPapComponentConfig](type-aliases/RightsManagementPapComponentConfig.md)
44
+ - [TaskSchedulerComponentConfig](type-aliases/TaskSchedulerComponentConfig.md)
44
45
  - [TelemetryComponentConfig](type-aliases/TelemetryComponentConfig.md)
45
46
  - [TelemetryConnectorConfig](type-aliases/TelemetryConnectorConfig.md)
46
47
  - [VaultConnectorConfig](type-aliases/VaultConnectorConfig.md)
@@ -82,6 +83,7 @@
82
83
  - [NftConnectorType](type-aliases/NftConnectorType.md)
83
84
  - [RightsManagementComponentType](type-aliases/RightsManagementComponentType.md)
84
85
  - [RightsManagementPapComponentType](type-aliases/RightsManagementPapComponentType.md)
86
+ - [TaskSchedulerComponentType](type-aliases/TaskSchedulerComponentType.md)
85
87
  - [TelemetryComponentType](type-aliases/TelemetryComponentType.md)
86
88
  - [TelemetryConnectorType](type-aliases/TelemetryConnectorType.md)
87
89
  - [VaultConnectorType](type-aliases/VaultConnectorType.md)
@@ -126,6 +128,7 @@
126
128
  - [NftConnectorType](variables/NftConnectorType.md)
127
129
  - [RightsManagementComponentType](variables/RightsManagementComponentType.md)
128
130
  - [RightsManagementPapComponentType](variables/RightsManagementPapComponentType.md)
131
+ - [TaskSchedulerComponentType](variables/TaskSchedulerComponentType.md)
129
132
  - [TelemetryComponentType](variables/TelemetryComponentType.md)
130
133
  - [TelemetryConnectorType](variables/TelemetryConnectorType.md)
131
134
  - [VaultConnectorType](variables/VaultConnectorType.md)
@@ -169,6 +172,7 @@
169
172
  - [initialiseNftComponent](functions/initialiseNftComponent.md)
170
173
  - [initialiseRightsManagementComponent](functions/initialiseRightsManagementComponent.md)
171
174
  - [initialiseRightsManagementPapComponent](functions/initialiseRightsManagementPapComponent.md)
175
+ - [initialiseTaskSchedulerComponent](functions/initialiseTaskSchedulerComponent.md)
172
176
  - [initialiseTelemetryConnector](functions/initialiseTelemetryConnector.md)
173
177
  - [initialiseTelemetryComponent](functions/initialiseTelemetryComponent.md)
174
178
  - [initialiseVaultConnector](functions/initialiseVaultConnector.md)
@@ -96,6 +96,12 @@ Messaging component options which can be overridden by individual components by
96
96
 
97
97
  Background task connector options which can be overridden by individual components by specifying types other than default.
98
98
 
99
+ #### taskSchedulerComponent?
100
+
101
+ > `optional` **taskSchedulerComponent**: `IEngineCoreTypeConfig`\<[`TaskSchedulerComponentConfig`](../type-aliases/TaskSchedulerComponentConfig.md)\>[]
102
+
103
+ Task scheduler component options which can be overridden by individual components by specifying types other than default.
104
+
99
105
  #### eventBusConnector?
100
106
 
101
107
  > `optional` **eventBusConnector**: `IEngineCoreTypeConfig`\<[`EventBusConnectorConfig`](../type-aliases/EventBusConnectorConfig.md)\>[]
@@ -0,0 +1,17 @@
1
+ # Type Alias: TaskSchedulerComponentConfig
2
+
3
+ > **TaskSchedulerComponentConfig** = `object`
4
+
5
+ Background task scheduled component config types.
6
+
7
+ ## Properties
8
+
9
+ ### type
10
+
11
+ > **type**: *typeof* [`Default`](../variables/TaskSchedulerComponentType.md#default)
12
+
13
+ ***
14
+
15
+ ### options?
16
+
17
+ > `optional` **options**: `ITaskSchedulerConstructorOptions`
@@ -0,0 +1,5 @@
1
+ # Type Alias: TaskSchedulerComponentType
2
+
3
+ > **TaskSchedulerComponentType** = *typeof* [`TaskSchedulerComponentType`](../variables/TaskSchedulerComponentType.md)\[keyof *typeof* [`TaskSchedulerComponentType`](../variables/TaskSchedulerComponentType.md)\]
4
+
5
+ Task scheduler component types.
@@ -0,0 +1,13 @@
1
+ # Variable: TaskSchedulerComponentType
2
+
3
+ > `const` **TaskSchedulerComponentType**: `object`
4
+
5
+ Task scheduler component types.
6
+
7
+ ## Type declaration
8
+
9
+ ### Default
10
+
11
+ > `readonly` **Default**: `"default"` = `"default"`
12
+
13
+ Task scheduler.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-types",
3
- "version": "0.0.1-next.79",
3
+ "version": "0.0.1-next.81",
4
4
  "description": "Types to use in an engine.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/crypto": "next",
19
19
  "@twin.org/data-core": "next",
20
- "@twin.org/engine-models": "0.0.1-next.79",
20
+ "@twin.org/engine-models": "0.0.1-next.81",
21
21
  "@twin.org/entity": "next",
22
22
  "@twin.org/modules": "next",
23
23
  "@twin.org/nameof": "next"
@@ -32,6 +32,7 @@
32
32
  "@twin.org/auditable-item-stream-service": "next",
33
33
  "@twin.org/background-task-connector-entity-storage": "next",
34
34
  "@twin.org/background-task-models": "next",
35
+ "@twin.org/background-task-scheduler": "next",
35
36
  "@twin.org/blob-storage-connector-aws-s3": "next",
36
37
  "@twin.org/blob-storage-connector-azure": "next",
37
38
  "@twin.org/blob-storage-connector-file": "next",