@twin.org/background-task-scheduler 0.0.1-next.20 → 0.0.1-next.21

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.
@@ -6,7 +6,7 @@ var loggingModels = require('@twin.org/logging-models');
6
6
  /**
7
7
  * Class for performing task operations in entity storage.
8
8
  */
9
- class TaskScheduler {
9
+ class TaskSchedulerComponent {
10
10
  /**
11
11
  * The namespace supported by the task scheduler.
12
12
  */
@@ -14,7 +14,7 @@ class TaskScheduler {
14
14
  /**
15
15
  * Runtime name for the class.
16
16
  */
17
- CLASS_NAME = "TaskScheduler";
17
+ CLASS_NAME = "TaskSchedulerComponent";
18
18
  /**
19
19
  * The logger for the task connector.
20
20
  * @internal
@@ -36,7 +36,7 @@ class TaskScheduler {
36
36
  */
37
37
  _timer;
38
38
  /**
39
- * Create a new instance of TaskScheduler.
39
+ * Create a new instance of TaskSchedulerComponent.
40
40
  * @param options The options for the scheduler.
41
41
  */
42
42
  constructor(options) {
@@ -209,4 +209,4 @@ class TaskScheduler {
209
209
  }
210
210
  }
211
211
 
212
- exports.TaskScheduler = TaskScheduler;
212
+ exports.TaskSchedulerComponent = TaskSchedulerComponent;
@@ -4,7 +4,7 @@ import { LoggingConnectorFactory } from '@twin.org/logging-models';
4
4
  /**
5
5
  * Class for performing task operations in entity storage.
6
6
  */
7
- class TaskScheduler {
7
+ class TaskSchedulerComponent {
8
8
  /**
9
9
  * The namespace supported by the task scheduler.
10
10
  */
@@ -12,7 +12,7 @@ class TaskScheduler {
12
12
  /**
13
13
  * Runtime name for the class.
14
14
  */
15
- CLASS_NAME = "TaskScheduler";
15
+ CLASS_NAME = "TaskSchedulerComponent";
16
16
  /**
17
17
  * The logger for the task connector.
18
18
  * @internal
@@ -34,7 +34,7 @@ class TaskScheduler {
34
34
  */
35
35
  _timer;
36
36
  /**
37
- * Create a new instance of TaskScheduler.
37
+ * Create a new instance of TaskSchedulerComponent.
38
38
  * @param options The options for the scheduler.
39
39
  */
40
40
  constructor(options) {
@@ -207,4 +207,4 @@ class TaskScheduler {
207
207
  }
208
208
  }
209
209
 
210
- export { TaskScheduler };
210
+ export { TaskSchedulerComponent };
@@ -3,7 +3,7 @@ import type { ITaskSchedulerConstructorOptions } from "./models/ITaskSchedulerCo
3
3
  /**
4
4
  * Class for performing task operations in entity storage.
5
5
  */
6
- export declare class TaskScheduler implements ITaskSchedulerComponent {
6
+ export declare class TaskSchedulerComponent implements ITaskSchedulerComponent {
7
7
  /**
8
8
  * The namespace supported by the task scheduler.
9
9
  */
@@ -13,7 +13,7 @@ export declare class TaskScheduler implements ITaskSchedulerComponent {
13
13
  */
14
14
  readonly CLASS_NAME: string;
15
15
  /**
16
- * Create a new instance of TaskScheduler.
16
+ * Create a new instance of TaskSchedulerComponent.
17
17
  * @param options The options for the scheduler.
18
18
  */
19
19
  constructor(options?: ITaskSchedulerConstructorOptions);
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.1-next.21](https://github.com/twinfoundation/background-task/compare/background-task-scheduler-v0.0.1-next.20...background-task-scheduler-v0.0.1-next.21) (2025-06-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * rename task scheduler component ([2f8aa59](https://github.com/twinfoundation/background-task/commit/2f8aa59c069055ff020a3c0c149601f20c656022))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/background-task-models bumped from 0.0.1-next.20 to 0.0.1-next.21
16
+
3
17
  ## [0.0.1-next.20](https://github.com/twinfoundation/background-task/compare/background-task-scheduler-v0.0.1-next.19...background-task-scheduler-v0.0.1-next.20) (2025-06-23)
4
18
 
5
19
 
@@ -1,4 +1,4 @@
1
- # Class: TaskScheduler
1
+ # Class: TaskSchedulerComponent
2
2
 
3
3
  Class for performing task operations in entity storage.
4
4
 
@@ -10,9 +10,9 @@ Class for performing task operations in entity storage.
10
10
 
11
11
  ### Constructor
12
12
 
13
- > **new TaskScheduler**(`options?`): `TaskScheduler`
13
+ > **new TaskSchedulerComponent**(`options?`): `TaskSchedulerComponent`
14
14
 
15
- Create a new instance of TaskScheduler.
15
+ Create a new instance of TaskSchedulerComponent.
16
16
 
17
17
  #### Parameters
18
18
 
@@ -24,7 +24,7 @@ The options for the scheduler.
24
24
 
25
25
  #### Returns
26
26
 
27
- `TaskScheduler`
27
+ `TaskSchedulerComponent`
28
28
 
29
29
  ## Properties
30
30
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Classes
4
4
 
5
- - [TaskScheduler](classes/TaskScheduler.md)
5
+ - [TaskSchedulerComponent](classes/TaskSchedulerComponent.md)
6
6
 
7
7
  ## Interfaces
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/background-task-scheduler",
3
- "version": "0.0.1-next.20",
3
+ "version": "0.0.1-next.21",
4
4
  "description": "Background task scheduler",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/background-task-models": "0.0.1-next.20",
17
+ "@twin.org/background-task-models": "0.0.1-next.21",
18
18
  "@twin.org/core": "next",
19
19
  "@twin.org/logging-models": "next",
20
20
  "@twin.org/nameof": "next"