refactor: remove obsolete project mode

This commit is contained in:
saturn
2026-03-25 15:39:16 +08:00
parent fd8f5f8635
commit ca5d8a58f7
47 changed files with 40 additions and 157 deletions

View File

@@ -15,12 +15,11 @@ export async function createFixtureUser() {
})
}
export async function createFixtureProject(userId: string, mode: 'novel-promotion' | 'general' = 'novel-promotion') {
export async function createFixtureProject(userId: string) {
const id = suffix()
return await prisma.project.create({
data: {
userId,
mode,
name: `project_${id}`,
},
})