refactor: 完成项目整体目录重构与路径别名配置

1.  重构项目文件结构,统一文件存放位置与命名规则
2.  配置tsconfig路径别名,替换原有相对路径导入
3.  迁移drama-status枚举到dramas.types统一管理
4.  新增全局配置文件与工具类,补充完整注释与文档
5.  修复所有导入路径与依赖引用问题
This commit is contained in:
2026-07-02 19:17:56 +08:00
parent e84351e8ed
commit 4eff4d877e
71 changed files with 1216 additions and 764 deletions

View File

@@ -1,9 +1,9 @@
import { Injectable, NotFoundException, Optional } from "@nestjs/common";
import { InjectDataSource } from "@nestjs/typeorm";
import { DataSource } from "typeorm";
import { PaginatedResponse } from "../../common/dto/paginated-response.dto";
import { User } from "./entities/user.entity";
import { UserRecord } from "./interfaces/user-record.interface";
import { PaginatedResponse } from "@app/common/paginated-response.dto";
import { User } from "./user.entity";
import { UserRecord } from "./users.types";
interface UpsertTikTokUserInput {
tiktokOpenId: string;