refactor: 将枚举和常量从utils移动到constants
This commit is contained in:
@@ -12,6 +12,7 @@ export namespace AiImageApi {
|
||||
// AI 绘图
|
||||
export interface Image {
|
||||
id: number; // 编号
|
||||
userId: number;
|
||||
platform: string; // 平台
|
||||
model: string; // 模型
|
||||
prompt: string; // 提示词
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { AiWriteTypeEnum } from '@vben/constants';
|
||||
import type { PageParam, PageResult } from '@vben/request';
|
||||
import type { AiWriteTypeEnum } from '@vben/utils';
|
||||
|
||||
import { useAppConfig } from '@vben/hooks';
|
||||
import { fetchEventSource } from '@vben/request';
|
||||
|
||||
Reference in New Issue
Block a user