This commit is contained in:
Your Name committed 2026-07-26 18:12:57 -04:00
1 parent 9941798a85
commit 1201bfeed7
6 files changed
+320 -75

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "StoreSettings" ADD COLUMN "headerStyle" TEXT NOT NULL DEFAULT 'single_line';
+1
View File
@@ -278,6 +278,7 @@ model StoreSettings {
scrollRevealEnabled Boolean @default(true)
scrollRevealStyle String @default("fade-up")
scrollRevealDuration Int @default(700)
headerStyle String @default("single_line")
translations StoreSettingsTranslation[]
updatedAt DateTime @updatedAt
}
+1
View File
@@ -151,6 +151,7 @@ export const settingsRoute = new Elysia({ prefix: "/settings" })
scrollRevealEnabled: t.Optional(t.Boolean()),
scrollRevealStyle: t.Optional(t.String()),
scrollRevealDuration: t.Optional(t.Number()),
headerStyle: t.Optional(t.String()),
})
})
.patch("/translations", async ({ body, set }) => {