chore(book_properties): add config for all note types

This commit is contained in:
Elian Doran 2025-07-09 20:53:35 +03:00
parent e25727441d
commit c9c07f0cb0
No known key found for this signature in database

View File

@ -30,19 +30,8 @@ interface BookContext {
} }
export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = { export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
calendar: { grid: {
properties: [ properties: []
{
label: t("book_properties_config.hide-weekends"),
type: "checkbox",
bindToLabel: "calendar:hideWeekends"
},
{
label: t("book_properties_config.display-week-numbers"),
type: "checkbox",
bindToLabel: "calendar:weekNumbers"
}
]
}, },
list: { list: {
properties: [ properties: [
@ -77,5 +66,25 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
}, },
} }
] ]
},
calendar: {
properties: [
{
label: t("book_properties_config.hide-weekends"),
type: "checkbox",
bindToLabel: "calendar:hideWeekends"
},
{
label: t("book_properties_config.display-week-numbers"),
type: "checkbox",
bindToLabel: "calendar:weekNumbers"
}
]
},
geoMap: {
properties: []
},
table: {
properties: []
} }
}; };