@twin.org/background-task-scheduler 0.0.1-next.20 → 0.0.1
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/dist/cjs/index.cjs
CHANGED
|
@@ -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
|
|
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 = "
|
|
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
|
|
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.
|
|
212
|
+
exports.TaskSchedulerComponent = TaskSchedulerComponent;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -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
|
|
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 = "
|
|
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
|
|
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 {
|
|
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
|
|
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
|
|
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,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.1 (2025-07-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* release to production ([7ce9896](https://github.com/twinfoundation/background-task/commit/7ce989659e6819f05655c86b1bda2a265af5d281))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/background-task-models bumped from ^0.0.0 to ^0.0.1
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* rename task scheduler component ([2f8aa59](https://github.com/twinfoundation/background-task/commit/2f8aa59c069055ff020a3c0c149601f20c656022))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/background-task-models bumped from 0.0.1-next.20 to 0.0.1-next.21
|
|
30
|
+
|
|
3
31
|
## [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
32
|
|
|
5
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Class:
|
|
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
|
|
13
|
+
> **new TaskSchedulerComponent**(`options?`): `TaskSchedulerComponent`
|
|
14
14
|
|
|
15
|
-
Create a new instance of
|
|
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
|
-
`
|
|
27
|
+
`TaskSchedulerComponent`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
package/docs/reference/index.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/background-task-scheduler",
|
|
3
|
-
"version": "0.0.1
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Background task scheduler",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,11 +13,44 @@
|
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"clean": "rimraf dist coverage docs/reference",
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"dev": "nodemon --watch src --ext ts --exec \"npm run build && npm run bundle:esm\"",
|
|
20
|
+
"test": "vitest --run --config ./vitest.config.ts --no-cache",
|
|
21
|
+
"coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
|
|
22
|
+
"bundle:esm": "rollup --config rollup.config.mjs --environment MODULE:esm",
|
|
23
|
+
"bundle:cjs": "rollup --config rollup.config.mjs --environment MODULE:cjs",
|
|
24
|
+
"bundle": "npm run bundle:esm && npm run bundle:cjs",
|
|
25
|
+
"docs:clean": "rimraf docs/reference",
|
|
26
|
+
"docs:generate": "typedoc",
|
|
27
|
+
"docs": "npm run docs:clean && npm run docs:generate",
|
|
28
|
+
"dist": "npm run clean && npm run build && npm run test && npm run bundle && npm run docs",
|
|
29
|
+
"dist:no-test": "npm run clean && npm run build && npm run bundle && npm run docs",
|
|
30
|
+
"prepare": "ts-patch install -s"
|
|
31
|
+
},
|
|
16
32
|
"dependencies": {
|
|
17
|
-
"@twin.org/background-task-models": "0.0.1
|
|
18
|
-
"@twin.org/core": "
|
|
19
|
-
"@twin.org/
|
|
20
|
-
"@twin.org/
|
|
33
|
+
"@twin.org/background-task-models": "^0.0.1",
|
|
34
|
+
"@twin.org/core": "^0.0.1",
|
|
35
|
+
"@twin.org/nameof": "^0.0.1",
|
|
36
|
+
"@twin.org/logging-models": "^0.0.1"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@twin.org/nameof-transformer": "^0.0.1",
|
|
40
|
+
"@twin.org/nameof-vitest-plugin": "^0.0.1",
|
|
41
|
+
"@types/node": "24.0.1",
|
|
42
|
+
"@vitest/coverage-v8": "3.2.3",
|
|
43
|
+
"copyfiles": "2.4.1",
|
|
44
|
+
"dotenv": "16.5.0",
|
|
45
|
+
"rimraf": "6.0.1",
|
|
46
|
+
"rollup": "4.43.0",
|
|
47
|
+
"rollup-plugin-copy": "3.5.0",
|
|
48
|
+
"ts-patch": "3.3.0",
|
|
49
|
+
"nodemon": "3.1.10",
|
|
50
|
+
"typedoc": "0.28.5",
|
|
51
|
+
"typedoc-plugin-markdown": "4.6.4",
|
|
52
|
+
"typescript": "5.8.3",
|
|
53
|
+
"vitest": "3.2.3"
|
|
21
54
|
},
|
|
22
55
|
"main": "./dist/cjs/index.cjs",
|
|
23
56
|
"module": "./dist/esm/index.mjs",
|