Browse Source

fix: remaining nest-cli issues

pull/7745/head
mertmit 8 months ago
parent
commit
8c24042d63
  1. 6
      packages/nocodb/src/modules/jobs/fallback/fallback-queue.service.ts
  2. 2
      packages/nocodb/tsconfig.json

6
packages/nocodb/src/modules/jobs/fallback/fallback-queue.service.ts

@ -22,7 +22,7 @@ export class QueueService {
static queueIdCounter = 1; static queueIdCounter = 1;
static processed = 0; static processed = 0;
static queueMemory: Job[] = []; static queueMemory: Job[] = [];
static emitter = new Emittery(); static _emitter: Emittery = new Emittery();
constructor( constructor(
protected readonly jobsEventService: JobsEventService, protected readonly jobsEventService: JobsEventService,
@ -103,8 +103,8 @@ export class QueueService {
} }
} }
get emitter() { get emitter(): Emittery {
return QueueService.emitter; return QueueService._emitter;
} }
get queue() { get queue() {

2
packages/nocodb/tsconfig.json

@ -42,5 +42,5 @@
] ]
}, },
"include": ["src/**/*"], "include": ["src/**/*"],
"exclude": ["src/ee"], "exclude": ["src/ee", "src/ee-on-prem"],
} }

Loading…
Cancel
Save