x
This commit is contained in:
1 parent
9941798a85
commit
1201bfeed7
6 files changed
+320
-75
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "StoreSettings" ADD COLUMN "headerStyle" TEXT NOT NULL DEFAULT 'single_line';
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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 }) => {
|
||||
|
||||
Reference in new issue
Block a user