mirror of
https://github.com/immich-app/immich.git
synced 2026-06-05 22:35:16 -04:00
refactor!: migrate class-validator to zod (#26597)
This commit is contained in:
@@ -3,7 +3,6 @@ import { INestApplication } from '@nestjs/common';
|
||||
import { Reflector } from '@nestjs/core';
|
||||
import { SchedulerRegistry } from '@nestjs/schedule';
|
||||
import { Test } from '@nestjs/testing';
|
||||
import { ClassConstructor } from 'class-transformer';
|
||||
import { ClsModule } from 'nestjs-cls';
|
||||
import { KyselyModule } from 'nestjs-kysely';
|
||||
import { OpenTelemetryModule } from 'nestjs-otel';
|
||||
@@ -44,7 +43,7 @@ export class SqlLogger {
|
||||
|
||||
const reflector = new Reflector();
|
||||
|
||||
type Repository = ClassConstructor<any>;
|
||||
type Repository = new (...args: any[]) => any;
|
||||
type SqlGeneratorOptions = { targetDir: string };
|
||||
|
||||
class SqlGenerator {
|
||||
|
||||
Reference in New Issue
Block a user