mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
refactor!: migrate class-validator to zod (#26597)
This commit is contained in:
parent
3753b7a4d1
commit
7d8f843be6
318 changed files with 7830 additions and 8316 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue