refactor: 将枚举和常量从utils移动到constants
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
export * from './core';
|
||||
export * from './dict-enum';
|
||||
export * from './system-enum';
|
||||
|
||||
export * from '@vben-core/shared/constants';
|
||||
|
||||
@@ -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[] = [
|
||||
{
|
||||
@@ -1,2 +0,0 @@
|
||||
export * from './dict-enum';
|
||||
export * from './system-enum';
|
||||
@@ -1,4 +1,3 @@
|
||||
export * from './constants';
|
||||
export * from './helpers';
|
||||
export * from './validator';
|
||||
export * from '@vben-core/shared/cache';
|
||||
|
||||
Reference in New Issue
Block a user