refactor(SW-438): update namings
This commit is contained in:
@@ -7,9 +7,9 @@ import { SidebarEnums } from "@/types/enums/sidebar"
|
||||
export const quickLinksSchema = z
|
||||
.object({
|
||||
typename: z
|
||||
.literal(SidebarEnums.blocks.Shortcuts)
|
||||
.literal(SidebarEnums.blocks.QuickLinks)
|
||||
.optional()
|
||||
.default(SidebarEnums.blocks.Shortcuts),
|
||||
.default(SidebarEnums.blocks.QuickLinks),
|
||||
})
|
||||
.merge(shortcutsBlockSchema)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user