refactor: 将枚举和常量从utils移动到constants

This commit is contained in:
xingyu4j
2025-09-04 18:19:49 +08:00
parent d7d445617f
commit 37fba1474e
144 changed files with 255 additions and 245 deletions

View File

@@ -1,2 +1,5 @@
export * from './core';
export * from './dict-enum';
export * from './system-enum';
export * from '@vben-core/shared/constants';

View File

@@ -30,9 +30,9 @@ export const AiModelTypeEnum = {
RERANK: 6, // 重排
};
export interface ImageModel {
image?: string;
key: string;
name: string;
image?: string;
}
export const OtherPlatformEnum: ImageModel[] = [
{
@@ -330,11 +330,11 @@ export const InfraApiErrorLogProcessStatusEnum = {
IGNORE: 2, // 已忽略
};
export interface ImageSize {
height: string;
key: string;
name?: string;
style: string;
width: string;
height: string;
}
export const Dall3SizeList: ImageSize[] = [
{

View File

@@ -1,2 +0,0 @@
export * from './dict-enum';
export * from './system-enum';

View File

@@ -1,4 +1,3 @@
export * from './constants';
export * from './helpers';
export * from './validator';
export * from '@vben-core/shared/cache';