@qodalis/cli-server-plugin-jobs 1.0.0-beta.12
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/LICENSE +21 -0
- package/README.md +94 -0
- package/dist/cli-job-execution-context.d.ts +10 -0
- package/dist/cli-job-execution-context.d.ts.map +1 -0
- package/dist/cli-job-execution-context.js +19 -0
- package/dist/cli-job-execution-context.js.map +1 -0
- package/dist/cli-job-logger.d.ts +13 -0
- package/dist/cli-job-logger.d.ts.map +1 -0
- package/dist/cli-job-logger.js +32 -0
- package/dist/cli-job-logger.js.map +1 -0
- package/dist/cli-job-scheduler.d.ts +107 -0
- package/dist/cli-job-scheduler.d.ts.map +1 -0
- package/dist/cli-job-scheduler.js +462 -0
- package/dist/cli-job-scheduler.js.map +1 -0
- package/dist/cli-jobs-builder.d.ts +46 -0
- package/dist/cli-jobs-builder.d.ts.map +1 -0
- package/dist/cli-jobs-builder.js +59 -0
- package/dist/cli-jobs-builder.js.map +1 -0
- package/dist/cli-jobs-controller.d.ts +24 -0
- package/dist/cli-jobs-controller.d.ts.map +1 -0
- package/dist/cli-jobs-controller.js +150 -0
- package/dist/cli-jobs-controller.js.map +1 -0
- package/dist/in-memory-job-storage-provider.d.ts +22 -0
- package/dist/in-memory-job-storage-provider.d.ts.map +1 -0
- package/dist/in-memory-job-storage-provider.js +50 -0
- package/dist/in-memory-job-storage-provider.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/interval-parser.d.ts +6 -0
- package/dist/interval-parser.d.ts.map +1 -0
- package/dist/interval-parser.js +25 -0
- package/dist/interval-parser.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +40 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 Qodalis Solutions
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# @qodalis/cli-server-plugin-jobs
|
|
2
|
+
|
|
3
|
+
Background job scheduling plugin for [Qodalis CLI Server (Node.js)](https://github.com/qodalis-solutions/cli-server-node). Provides cron and interval-based job scheduling, execution history, retry policies, and a REST API for management.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @qodalis/cli-server-plugin-jobs
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
1. Implement `ICliJob`:
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ICliJob, ICliJobExecutionContext } from '@qodalis/cli-server-abstractions';
|
|
17
|
+
|
|
18
|
+
export class HealthCheckJob implements ICliJob {
|
|
19
|
+
async executeAsync(context: ICliJobExecutionContext, signal: AbortSignal): Promise<void> {
|
|
20
|
+
context.logger.info('Running health check...');
|
|
21
|
+
// your logic here
|
|
22
|
+
context.logger.info('Health check passed');
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
2. Build the plugin and mount it:
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { CliJobsBuilder } from '@qodalis/cli-server-plugin-jobs';
|
|
31
|
+
|
|
32
|
+
const jobsPlugin = new CliJobsBuilder()
|
|
33
|
+
.addJob(new HealthCheckJob(), {
|
|
34
|
+
name: 'health-check',
|
|
35
|
+
description: 'Periodic health check',
|
|
36
|
+
group: 'monitoring',
|
|
37
|
+
interval: '30s',
|
|
38
|
+
})
|
|
39
|
+
.build((msg) => eventSocketManager.broadcastMessage(msg));
|
|
40
|
+
|
|
41
|
+
// Using createCliServer:
|
|
42
|
+
mountPlugin(jobsPlugin);
|
|
43
|
+
|
|
44
|
+
// Or on an existing Express app:
|
|
45
|
+
app.use(jobsPlugin.prefix, jobsPlugin.router);
|
|
46
|
+
|
|
47
|
+
await jobsPlugin.scheduler.start();
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Configuration Options
|
|
51
|
+
|
|
52
|
+
| Option | Type | Default | Description |
|
|
53
|
+
|--------|------|---------|-------------|
|
|
54
|
+
| `name` | `string?` | Class name | Job display name |
|
|
55
|
+
| `description` | `string?` | Name | Human-readable description |
|
|
56
|
+
| `group` | `string?` | — | Logical grouping |
|
|
57
|
+
| `schedule` | `string?` | — | Cron expression (5-field) |
|
|
58
|
+
| `interval` | `string?` | — | Fixed interval (`30s`, `5m`, `1h`, `1d`) |
|
|
59
|
+
| `enabled` | `boolean` | `true` | Whether the job starts active |
|
|
60
|
+
| `maxRetries` | `number` | `0` | Retry count on failure |
|
|
61
|
+
| `timeout` | `string?` | — | Max execution duration (same format as interval) |
|
|
62
|
+
| `overlapPolicy` | `string` | `skip` | `skip`, `queue`, or `cancel` |
|
|
63
|
+
|
|
64
|
+
## REST API
|
|
65
|
+
|
|
66
|
+
All endpoints are mounted at the plugin's built-in prefix (`/api/v1/qcli/jobs`).
|
|
67
|
+
|
|
68
|
+
| Method | Endpoint | Description |
|
|
69
|
+
|--------|----------|-------------|
|
|
70
|
+
| GET | `/` | List all jobs |
|
|
71
|
+
| GET | `/:id` | Get job details |
|
|
72
|
+
| POST | `/:id/trigger` | Trigger immediate execution |
|
|
73
|
+
| POST | `/:id/pause` | Pause scheduled execution |
|
|
74
|
+
| POST | `/:id/resume` | Resume a paused job |
|
|
75
|
+
| POST | `/:id/stop` | Stop job and cancel if running |
|
|
76
|
+
| POST | `/:id/cancel` | Cancel current execution only |
|
|
77
|
+
| PUT | `/:id` | Update job options |
|
|
78
|
+
| GET | `/:id/history` | Paginated execution history |
|
|
79
|
+
| GET | `/:id/history/:execId` | Execution detail with logs |
|
|
80
|
+
|
|
81
|
+
## Custom Storage
|
|
82
|
+
|
|
83
|
+
By default, execution history is stored in memory. Provide a custom `ICliJobStorageProvider` for persistence:
|
|
84
|
+
|
|
85
|
+
```typescript
|
|
86
|
+
const plugin = new CliJobsBuilder()
|
|
87
|
+
.setStorageProvider(new MyDatabaseStorageProvider())
|
|
88
|
+
.addJob(new HealthCheckJob(), { name: 'health-check', interval: '30s' })
|
|
89
|
+
.build();
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## License
|
|
93
|
+
|
|
94
|
+
MIT
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICliJobExecutionContext, ICliJobLogger } from '@qodalis/cli-server-abstractions';
|
|
2
|
+
/** Concrete execution context provided to each job run, wrapping a logger for capturing output. */
|
|
3
|
+
export declare class CliJobExecutionContext implements ICliJobExecutionContext {
|
|
4
|
+
readonly logger: ICliJobLogger;
|
|
5
|
+
private readonly _jobLogger;
|
|
6
|
+
constructor();
|
|
7
|
+
/** Returns the collected log entries from the job execution. */
|
|
8
|
+
get logEntries(): import("@qodalis/cli-server-abstractions").JobLogEntry[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=cli-job-execution-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-job-execution-context.d.ts","sourceRoot":"","sources":["../cli-job-execution-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAG1F,mGAAmG;AACnG,qBAAa,sBAAuB,YAAW,uBAAuB;IAClE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAE/B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAe;;IAO1C,gEAAgE;IAChE,IAAI,UAAU,6DAEb;CACJ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CliJobExecutionContext = void 0;
|
|
4
|
+
const cli_job_logger_1 = require("./cli-job-logger");
|
|
5
|
+
/** Concrete execution context provided to each job run, wrapping a logger for capturing output. */
|
|
6
|
+
class CliJobExecutionContext {
|
|
7
|
+
logger;
|
|
8
|
+
_jobLogger;
|
|
9
|
+
constructor() {
|
|
10
|
+
this._jobLogger = new cli_job_logger_1.CliJobLogger();
|
|
11
|
+
this.logger = this._jobLogger;
|
|
12
|
+
}
|
|
13
|
+
/** Returns the collected log entries from the job execution. */
|
|
14
|
+
get logEntries() {
|
|
15
|
+
return this._jobLogger.entries;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.CliJobExecutionContext = CliJobExecutionContext;
|
|
19
|
+
//# sourceMappingURL=cli-job-execution-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-job-execution-context.js","sourceRoot":"","sources":["../cli-job-execution-context.ts"],"names":[],"mappings":";;;AACA,qDAAgD;AAEhD,mGAAmG;AACnG,MAAa,sBAAsB;IACtB,MAAM,CAAgB;IAEd,UAAU,CAAe;IAE1C;QACI,IAAI,CAAC,UAAU,GAAG,IAAI,6BAAY,EAAE,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;IAClC,CAAC;IAED,gEAAgE;IAChE,IAAI,UAAU;QACV,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IACnC,CAAC;CACJ;AAdD,wDAcC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ICliJobLogger, JobLogEntry } from '@qodalis/cli-server-abstractions';
|
|
2
|
+
/** In-memory logger that collects structured log entries during a job execution. */
|
|
3
|
+
export declare class CliJobLogger implements ICliJobLogger {
|
|
4
|
+
private readonly _entries;
|
|
5
|
+
debug(message: string): void;
|
|
6
|
+
info(message: string): void;
|
|
7
|
+
warning(message: string): void;
|
|
8
|
+
error(message: string): void;
|
|
9
|
+
/** Returns all log entries captured so far. */
|
|
10
|
+
get entries(): JobLogEntry[];
|
|
11
|
+
private _log;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=cli-job-logger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-job-logger.d.ts","sourceRoot":"","sources":["../cli-job-logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAe,MAAM,kCAAkC,CAAC;AAE3F,oFAAoF;AACpF,qBAAa,YAAa,YAAW,aAAa;IAC9C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI5B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI9B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI5B,+CAA+C;IAC/C,IAAI,OAAO,IAAI,WAAW,EAAE,CAE3B;IAED,OAAO,CAAC,IAAI;CAOf"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CliJobLogger = void 0;
|
|
4
|
+
/** In-memory logger that collects structured log entries during a job execution. */
|
|
5
|
+
class CliJobLogger {
|
|
6
|
+
_entries = [];
|
|
7
|
+
debug(message) {
|
|
8
|
+
this._log('debug', message);
|
|
9
|
+
}
|
|
10
|
+
info(message) {
|
|
11
|
+
this._log('info', message);
|
|
12
|
+
}
|
|
13
|
+
warning(message) {
|
|
14
|
+
this._log('warning', message);
|
|
15
|
+
}
|
|
16
|
+
error(message) {
|
|
17
|
+
this._log('error', message);
|
|
18
|
+
}
|
|
19
|
+
/** Returns all log entries captured so far. */
|
|
20
|
+
get entries() {
|
|
21
|
+
return this._entries;
|
|
22
|
+
}
|
|
23
|
+
_log(level, message) {
|
|
24
|
+
this._entries.push({
|
|
25
|
+
timestamp: new Date().toISOString(),
|
|
26
|
+
level,
|
|
27
|
+
message,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.CliJobLogger = CliJobLogger;
|
|
32
|
+
//# sourceMappingURL=cli-job-logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-job-logger.js","sourceRoot":"","sources":["../cli-job-logger.ts"],"names":[],"mappings":";;;AAEA,oFAAoF;AACpF,MAAa,YAAY;IACJ,QAAQ,GAAkB,EAAE,CAAC;IAE9C,KAAK,CAAC,OAAe;QACjB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAChC,CAAC;IAED,IAAI,CAAC,OAAe;QAChB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,OAAO,CAAC,OAAe;QACnB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,OAAe;QACjB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAChC,CAAC;IAED,+CAA+C;IAC/C,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEO,IAAI,CAAC,KAAkB,EAAE,OAAe;QAC5C,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YACf,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,KAAK;YACL,OAAO;SACV,CAAC,CAAC;IACP,CAAC;CACJ;AA/BD,oCA+BC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ICliJob, CliJobOptions, ICliJobStorageProvider, JobStatus } from '@qodalis/cli-server-abstractions';
|
|
2
|
+
/** Internal state for a registered job, including timers and execution queue. */
|
|
3
|
+
export interface JobRegistration {
|
|
4
|
+
id: string;
|
|
5
|
+
job: ICliJob;
|
|
6
|
+
options: CliJobOptions;
|
|
7
|
+
status: JobStatus;
|
|
8
|
+
currentExecutionId?: string;
|
|
9
|
+
currentAbortController?: AbortController;
|
|
10
|
+
nextRunAt?: string;
|
|
11
|
+
lastRunAt?: string;
|
|
12
|
+
lastRunStatus?: string;
|
|
13
|
+
lastRunDuration?: number;
|
|
14
|
+
timer?: ReturnType<typeof setTimeout> | ReturnType<typeof setInterval>;
|
|
15
|
+
timerType?: 'cron' | 'interval';
|
|
16
|
+
/** Queued executions for overlap policy 'queue' */
|
|
17
|
+
queue: Array<{
|
|
18
|
+
resolve: () => void;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
21
|
+
/** Data transfer object exposing job metadata and current state to API consumers. */
|
|
22
|
+
export interface JobDto {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
description: string;
|
|
26
|
+
group?: string;
|
|
27
|
+
status: JobStatus;
|
|
28
|
+
schedule?: string;
|
|
29
|
+
interval?: string;
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
maxRetries: number;
|
|
32
|
+
retryDelay: string;
|
|
33
|
+
retryStrategy: string;
|
|
34
|
+
timeout?: string;
|
|
35
|
+
overlapPolicy: string;
|
|
36
|
+
currentExecutionId?: string;
|
|
37
|
+
nextRunAt?: string;
|
|
38
|
+
lastRunAt?: string;
|
|
39
|
+
lastRunStatus?: string;
|
|
40
|
+
lastRunDuration?: number;
|
|
41
|
+
}
|
|
42
|
+
type BroadcastFn = (message: Record<string, unknown>) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Manages job registration, scheduling (cron / interval), execution with
|
|
45
|
+
* retry logic, overlap policies, and state persistence.
|
|
46
|
+
*/
|
|
47
|
+
export declare class CliJobScheduler {
|
|
48
|
+
private readonly _registrations;
|
|
49
|
+
private readonly _storage;
|
|
50
|
+
private _broadcastFn;
|
|
51
|
+
private _running;
|
|
52
|
+
constructor(storage: ICliJobStorageProvider);
|
|
53
|
+
/** Set the function used to broadcast job lifecycle events (e.g. via WebSocket). */
|
|
54
|
+
setBroadcastFn(fn: BroadcastFn): void;
|
|
55
|
+
/**
|
|
56
|
+
* Register a job with the scheduler.
|
|
57
|
+
*
|
|
58
|
+
* @param job - The job implementation.
|
|
59
|
+
* @param options - Scheduling and retry configuration.
|
|
60
|
+
* @returns The generated job ID.
|
|
61
|
+
*/
|
|
62
|
+
register(job: ICliJob, options: CliJobOptions): string;
|
|
63
|
+
/** Load persisted job states and start timers for all active jobs. */
|
|
64
|
+
start(): Promise<void>;
|
|
65
|
+
/** Stop all timers, cancel running executions, and persist final states. */
|
|
66
|
+
stop(): Promise<void>;
|
|
67
|
+
/** Return DTOs for all registered jobs. */
|
|
68
|
+
getAll(): JobDto[];
|
|
69
|
+
/** Return the DTO for a single job, or `undefined` if not found. */
|
|
70
|
+
get(id: string): JobDto | undefined;
|
|
71
|
+
/** Return the internal registration for a job (used by the controller for history lookups). */
|
|
72
|
+
getRegistration(id: string): JobRegistration | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Trigger an immediate execution of a job, respecting the configured overlap policy.
|
|
75
|
+
*
|
|
76
|
+
* @throws {JobError} If the job is not found or is already running with a 'skip' policy.
|
|
77
|
+
*/
|
|
78
|
+
triggerAsync(id: string): Promise<void>;
|
|
79
|
+
/** Pause a running job's schedule without cancelling the current execution. */
|
|
80
|
+
pauseAsync(id: string): Promise<void>;
|
|
81
|
+
/** Resume a paused job, restarting its schedule timer. */
|
|
82
|
+
resumeAsync(id: string): Promise<void>;
|
|
83
|
+
/** Stop a job entirely, cancelling any running execution and clearing its timer. */
|
|
84
|
+
stopJobAsync(id: string): Promise<void>;
|
|
85
|
+
/** Cancel the currently running execution of a job without changing its schedule. */
|
|
86
|
+
cancelCurrentAsync(id: string): Promise<void>;
|
|
87
|
+
/** Update mutable job options (schedule, retry policy, etc.) and restart timers if active. */
|
|
88
|
+
updateOptionsAsync(id: string, updates: Partial<Pick<CliJobOptions, 'description' | 'group' | 'schedule' | 'interval' | 'maxRetries' | 'retryDelay' | 'retryStrategy' | 'timeout' | 'overlapPolicy'>>): Promise<void>;
|
|
89
|
+
get storage(): ICliJobStorageProvider;
|
|
90
|
+
private _toDto;
|
|
91
|
+
private _startTimer;
|
|
92
|
+
private _startCronTimer;
|
|
93
|
+
private _startIntervalTimer;
|
|
94
|
+
private _handleTimerFire;
|
|
95
|
+
private _executeJobAsync;
|
|
96
|
+
private _stopTimer;
|
|
97
|
+
private _persistState;
|
|
98
|
+
private _broadcast;
|
|
99
|
+
}
|
|
100
|
+
/** Typed error thrown by the scheduler, carrying an error code and HTTP status. */
|
|
101
|
+
export declare class JobError extends Error {
|
|
102
|
+
readonly code: string;
|
|
103
|
+
readonly statusCode: number;
|
|
104
|
+
constructor(message: string, code: string, statusCode: number);
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
107
|
+
//# sourceMappingURL=cli-job-scheduler.d.ts.map
|
|
@@ -0,0 +1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