@punks/backend-entity-manager 0.0.367 → 0.0.368

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 CHANGED
@@ -4263,11 +4263,11 @@ const WpEntitySnapshotService = (entityName, props = {}) => common.applyDecorato
4263
4263
  }));
4264
4264
 
4265
4265
  const TASK_KEY = "wp_task";
4266
- var TaskConcurrency;
4266
+ exports.TaskConcurrency = void 0;
4267
4267
  (function (TaskConcurrency) {
4268
4268
  TaskConcurrency["Single"] = "single";
4269
4269
  TaskConcurrency["Multiple"] = "multiple";
4270
- })(TaskConcurrency || (TaskConcurrency = {}));
4270
+ })(exports.TaskConcurrency || (exports.TaskConcurrency = {}));
4271
4271
  function WpTask(name, settings) {
4272
4272
  return common.applyDecorators(common.Injectable(), common.SetMetadata(TASK_KEY, {
4273
4273
  name,
@@ -34822,9 +34822,9 @@ let TaskShell = TaskShell_1 = class TaskShell {
34822
34822
  }
34823
34823
  async executeTask(instance, settings) {
34824
34824
  switch (settings.concurrency) {
34825
- case TaskConcurrency.Single:
34825
+ case exports.TaskConcurrency.Single:
34826
34826
  return await this.executeTaskSequential(instance, settings);
34827
- case TaskConcurrency.Multiple:
34827
+ case exports.TaskConcurrency.Multiple:
34828
34828
  return await this.executeTaskParallel(instance, settings);
34829
34829
  default:
34830
34830
  throw new Error(`Unknown task concurrency: ${settings.concurrency}`);