mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-21 04:42:20 -06:00
Path mapping & deps fix & bundler changed to tsup
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { ConfigService, Database } from '@config/env.config';
|
||||
import { ROOT_DIR } from '@config/path.config';
|
||||
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
||||
import { join } from 'path';
|
||||
|
||||
import { ConfigService, Database } from '../../config/env.config';
|
||||
import { ROOT_DIR } from '../../config/path.config';
|
||||
|
||||
export type IInsert = { insertCount: number };
|
||||
|
||||
export interface IRepository {
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
import 'express-async-errors';
|
||||
|
||||
import { GetParticipant, GroupInvite } from '@api/dto/group.dto';
|
||||
import { InstanceDto } from '@api/dto/instance.dto';
|
||||
import { Logger } from '@config/logger.config';
|
||||
import { BadRequestException } from '@exceptions';
|
||||
import { Request } from 'express';
|
||||
import { JSONSchema7 } from 'json-schema';
|
||||
import { validate } from 'jsonschema';
|
||||
|
||||
import { Logger } from '../../config/logger.config';
|
||||
import { BadRequestException } from '../../exceptions';
|
||||
import { GetParticipant, GroupInvite } from '../dto/group.dto';
|
||||
import { InstanceDto } from '../dto/instance.dto';
|
||||
|
||||
type DataValidate<T> = {
|
||||
request: Request;
|
||||
schema: JSONSchema7;
|
||||
|
||||
Reference in New Issue
Block a user