🎉 first commit

This commit is contained in:
LIlGG
2025-09-24 13:06:25 +08:00
commit 1f4fb103e9
409 changed files with 61222 additions and 0 deletions

12
app/types/artifact.ts Normal file
View File

@@ -0,0 +1,12 @@
/**
* UPageArtifactData 是 UPage 的 artifact 类型,由 AI 返回的结构化数据。
* 最终对应 editor 的 Page 数据。
*/
export interface UPageArtifactData {
// artifact id唯一
id: string;
// 页面名称,最终渲染为页面文件名,如 `index.html`,不包含后缀。唯一
name: string;
// 页面标题,最终渲染为页面标题
title: string;
}