@punks/backend-entity-manager 0.0.370 → 0.0.371
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.js +6 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/decorators/tasks.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/extensions/tasks/providers/registry/index.d.ts +4 -0
- package/dist/cjs/types/platforms/nest/extensions/tasks/services/tasks-service/index.d.ts +4 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/decorators/tasks.d.ts +1 -0
- package/dist/esm/types/platforms/nest/extensions/tasks/providers/registry/index.d.ts +4 -0
- package/dist/esm/types/platforms/nest/extensions/tasks/services/tasks-service/index.d.ts +4 -0
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -34928,6 +34928,9 @@ let TasksRegistry = class TasksRegistry {
|
|
|
34928
34928
|
}
|
|
34929
34929
|
return task;
|
|
34930
34930
|
}
|
|
34931
|
+
getTasks() {
|
|
34932
|
+
return Array.from(this.tasks.values());
|
|
34933
|
+
}
|
|
34931
34934
|
};
|
|
34932
34935
|
TasksRegistry = __decorate([
|
|
34933
34936
|
common.Injectable()
|
|
@@ -34999,6 +35002,9 @@ exports.TasksService = TasksService_1 = class TasksService {
|
|
|
34999
35002
|
await this.jobShell.executeTask(task.instance, task.props, exports.TaskRunType.OnDemand);
|
|
35000
35003
|
this.logger.log(`Manual task ${name} -> completed`);
|
|
35001
35004
|
}
|
|
35005
|
+
async getTasks() {
|
|
35006
|
+
return this.registry.getTasks();
|
|
35007
|
+
}
|
|
35002
35008
|
};
|
|
35003
35009
|
exports.TasksService = TasksService_1 = __decorate([
|
|
35004
35010
|
common.Injectable(),
|