690322:2047 Fixing Deployment Blocking TypeScript Errors
CI Pipeline / build (push) Failing after 9m47s
Build and Deploy / deploy (push) Failing after 4m42s

This commit is contained in:
2026-03-22 20:47:22 +07:00
parent 11984bfa29
commit 5dad7ab7c1
16 changed files with 17 additions and 18 deletions
@@ -490,7 +490,7 @@ export class DocumentNumberingService {
}): Promise<DocumentNumberAudit> {
const audit = this.auditRepo.create({
documentNumber: data.documentNumber,
counterKey: data.counterKey,
counterKey: data.counterKey as Record<string, unknown>,
templateUsed: data.templateUsed,
isSuccess: data.isSuccess,
operation: data.operation,
@@ -26,7 +26,7 @@ export class ManualOverrideService {
documentNumber: `OVERRIDE-TO-${dto.newLastNumber}`,
operation: 'MANUAL_OVERRIDE',
status: 'MANUAL',
counterKey: dto, // CounterKeyDto part of ManualOverrideDto
counterKey: dto as unknown as Record<string, unknown>, // CounterKeyDto part of ManualOverrideDto
templateUsed: 'MANUAL_OVERRIDE',
userId: userId,
isSuccess: true,
@@ -1,4 +1,4 @@
import { Injectable, _Logger } from '@nestjs/common';
import { Injectable, Logger } from '@nestjs/common';
import { Counter, Gauge, Histogram } from 'prom-client';
import { InjectMetric } from '@willsoto/nestjs-prometheus';
@@ -1,4 +1,4 @@
import { Injectable, Logger, _NotFoundException } from '@nestjs/common';
import { Injectable, Logger, NotFoundException } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { DocumentNumberFormat } from '../entities/document-number-format.entity';