Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
import { t } from "../../services/i18n.js";
import { ROUTINE_OCCURRENCES_PER_WEEK } from "../collections/calendar/recurrence.js";
export interface AttrHelpEntry {
description: string;
helpPage?: string;
}
type AttrHelpMap = Record<string, Record<string, string | AttrHelpEntry>>;
export const ATTR_HELP: AttrHelpMap = {
label: {
disableVersioning: t("attribute_detail.disable_versioning"),
calendarRoot: t("attribute_detail.calendar_root"),
archived: t("attribute_detail.archived"),
excludeFromExport: t("attribute_detail.exclude_from_export"),
run: t("attribute_detail.run"),
runOnInstance: t("attribute_detail.run_on_instance"),
runAtHour: t("attribute_detail.run_at_hour"),
disableInclusion: t("attribute_detail.disable_inclusion"),
sorted: t("attribute_detail.sorted"),
sortDirection: t("attribute_detail.sort_direction"),
sortFoldersFirst: t("attribute_detail.sort_folders_first"),
top: t("attribute_detail.top"),
hidePromotedAttributes: t("attribute_detail.hide_promoted_attributes"),
readOnly: t("attribute_detail.read_only"),
autoReadOnlyDisabled: t("attribute_detail.auto_read_only_disabled"),
appCss: t("attribute_detail.app_css"),
appTheme: t("attribute_detail.app_theme"),
appThemeBase: t("attribute_detail.app_theme_base"),
customFont: t("attribute_detail.custom_font"),
cssClass: t("attribute_detail.css_class"),
iconClass: t("attribute_detail.icon_class"),
pageSize: t("attribute_detail.page_size"),
customRequestHandler: { description: t("attribute_detail.custom_request_handler"), helpPage: "J5Ex1ZrMbyJ6" },
customResourceProvider: { description: t("attribute_detail.custom_resource_provider"), helpPage: "J5Ex1ZrMbyJ6" },
widget: t("attribute_detail.widget"),
workspace: t("attribute_detail.workspace"),
workspaceIconClass: t("attribute_detail.workspace_icon_class"),
workspaceTabBackgroundColor: t("attribute_detail.workspace_tab_background_color"),
workspaceCalendarRoot: t("attribute_detail.workspace_calendar_root"),
workspaceTemplate: t("attribute_detail.workspace_template"),
searchHome: t("attribute_detail.search_home"),
workspaceSearchHome: t("attribute_detail.workspace_search_home"),
inbox: t("attribute_detail.inbox"),
meetingRecording: t("attribute_detail.meeting_recording"),
workspaceInbox: t("attribute_detail.workspace_inbox"),
sqlConsoleHome: t("attribute_detail.sql_console_home"),
bookmarkFolder: t("attribute_detail.bookmark_folder"),
bookmarkOpenMode: t("attribute_detail.bookmark_open_mode"),
shareHiddenFromTree: t("attribute_detail.share_hidden_from_tree"),
shareExternalLink: t("attribute_detail.share_external_link"),
shareAlias: t("attribute_detail.share_alias"),
shareOmitDefaultCss: t("attribute_detail.share_omit_default_css"),
shareRoot: t("attribute_detail.share_root"),
shareDescription: t("attribute_detail.share_description"),
shareRaw: t("attribute_detail.share_raw"),
shareDisallowRobotIndexing: t("attribute_detail.share_disallow_robot_indexing"),
shareCredentials: t("attribute_detail.share_credentials"),
shareIndex: t("attribute_detail.share_index"),
displayRelations: t("attribute_detail.display_relations"),
hideRelations: t("attribute_detail.hide_relations"),
titleTemplate: t("attribute_detail.title_template"),
"template:titleTemplate": t("attribute_detail.template_title_template"),
template: t("attribute_detail.template"),
color: t("attribute_detail.color"),
keyboardShortcut: t("attribute_detail.keyboard_shortcut"),
keepCurrentHoisting: t("attribute_detail.keep_current_hoisting"),
executeButton: t("attribute_detail.execute_button"),
executeDescription: t("attribute_detail.execute_description"),
excludeFromNoteMap: t("attribute_detail.exclude_from_note_map"),
excludeFromLlm: t("attribute_detail.exclude_from_llm"),
newNotesOnTop: t("attribute_detail.new_notes_on_top"),
printLandscape: t("attribute_detail.print_landscape"),
printPageSize: t("attribute_detail.print_page_size"),
printScale: t("attribute_detail.print_scale"),
printMargins: t("attribute_detail.print_margins"),
versioningLimit: t("attribute_detail.versioning_limit"),
llmChatHome: t("attribute_detail.llm_chat_home"),
workspaceLlmChatHome: t("attribute_detail.workspace_llm_chat_home"),
datePattern: t("attribute_detail.date_pattern"),
weekPattern: t("attribute_detail.week_pattern"),
enableWeekNote: t("attribute_detail.enable_week_note"),
monthPattern: t("attribute_detail.month_pattern"),
quarterPattern: t("attribute_detail.quarter_pattern"),
yearPattern: t("attribute_detail.year_pattern"),
enableQuarterNote: t("attribute_detail.enable_quarter_note"),
dateNote: t("attribute_detail.date_note"),
weekNote: t("attribute_detail.week_note"),
monthNote: t("attribute_detail.month_note"),
quarterNote: t("attribute_detail.quarter_note"),
yearNote: t("attribute_detail.year_note"),
viewType: t("attribute_detail.view_type"),
mapRootNoteId: t("attribute_detail.map_root_note_id"),
mapExcludeRelation: t("attribute_detail.map_exclude_relation"),
mapIncludeRelation: t("attribute_detail.map_include_relation"),
sortNatural: t("attribute_detail.sort_natural"),
sortLocale: t("attribute_detail.sort_locale"),
bottom: t("attribute_detail.bottom"),
fullContentWidth: t("attribute_detail.full_content_width"),
subtreeHidden: t("attribute_detail.subtree_hidden"),
expanded: t("attribute_detail.expanded"),
shareExternal: t("attribute_detail.share_external"),
shareRootLink: t("attribute_detail.share_root_link"),
shareLogoWidth: t("attribute_detail.share_logo_width"),
shareLogoHeight: t("attribute_detail.share_logo_height"),
shareOpenGraphColor: t("attribute_detail.share_open_graph_color"),
shareOpenGraphURL: t("attribute_detail.share_open_graph_url"),
shareOpenGraphDomain: t("attribute_detail.share_open_graph_domain"),
shareOpenGraphImage: t("attribute_detail.share_open_graph_image"),
shareHtmlLocation: t("attribute_detail.share_html_location"),
snippet: t("attribute_detail.snippet"),
snippetDescription: t("attribute_detail.snippet_description"),
textSnippet: t("attribute_detail.text_snippet"),
textSnippetDescription: t("attribute_detail.text_snippet_description"),
aiQuickAction: t("attribute_detail.ai_quick_action"),
executeTitle: t("attribute_detail.execute_title"),
clipperInbox: t("attribute_detail.clipper_inbox"),
clipType: t("attribute_detail.clip_type"),
sentFromSender: t("attribute_detail.sent_from_sender"),
hideChildrenOverview: t("attribute_detail.hide_children_overview"),
mediaNotesPlayMode: t("attribute_detail.media_notes_play_mode"),
collection: t("attribute_detail.collection"),
webViewSrc: t("attribute_detail.web_view_src"),
iconPack: t("attribute_detail.icon_pack"),
docName: t("attribute_detail.doc_name"),
docUrl: t("attribute_detail.doc_url"),
language: t("attribute_detail.language"),
originalFileName: t("attribute_detail.original_file_name"),
pageUrl: t("attribute_detail.page_url"),
pageDescription: t("attribute_detail.page_description"),
pageAuthor: t("attribute_detail.page_author"),
publishedDate: t("attribute_detail.published_date"),
modifiedDate: t("attribute_detail.modified_date"),
command: t("attribute_detail.command"),
displayMode: t("attribute_detail.display_mode"),
searchString: t("attribute_detail.search_string"),
ancestorDepth: t("attribute_detail.ancestor_depth"),
orderBy: t("attribute_detail.order_by"),
orderDirection: t("attribute_detail.order_direction"),
limit: t("attribute_detail.limit"),
fastSearch: t("attribute_detail.fast_search"),
includeArchivedNotes: t("attribute_detail.include_archived_notes"),
debug: t("attribute_detail.debug"),
launcherType: t("attribute_detail.launcher_type"),
builtinWidget: t("attribute_detail.builtin_widget"),
scriptInLauncherContent: t("attribute_detail.script_in_launcher_content"),
baseSize: t("attribute_detail.base_size"),
growthFactor: t("attribute_detail.growth_factor"),
desktopOnly: t("attribute_detail.desktop_only"),
electronOnly: t("attribute_detail.electron_only"),
serverOnly: t("attribute_detail.server_only"),
beta: t("attribute_detail.beta"),
oneNotePageId: t("attribute_detail.one_note_page_id"),
oneNoteSectionId: t("attribute_detail.one_note_section_id"),
oneNoteImportFailed: t("attribute_detail.one_note_import_failed"),
status: t("attribute_detail.status"),
"board:groupBy": t("attribute_detail.board_group_by"),
stateId: t("attribute_detail.state_id"),
markdownSymbol: t("attribute_detail.markdown_symbol"),
isCompleted: t("attribute_detail.is_completed"),
isHidden: t("attribute_detail.is_hidden"),
maxNestingDepth: t("attribute_detail.max_nesting_depth"),
includeArchived: t("attribute_detail.include_archived"),
"board:showInbox": t("attribute_detail.board_show_inbox"),
"board:hideAddColumn": t("attribute_detail.board_hide_add_column"),
"board:columnWidth": t("attribute_detail.board_column_width"),
"board:sortColumns": t("attribute_detail.board_sort_columns"),
"board:sortColumnsDescending": t("attribute_detail.board_sort_columns_descending"),
"calendar:view": t("attribute_detail.calendar_view"),
"calendar:initialDate": t("attribute_detail.calendar_initial_date"),
"calendar:hideWeekends": t("attribute_detail.calendar_hide_weekends"),
"calendar:weekNumbers": t("attribute_detail.calendar_week_numbers"),
"calendar:hideRoutineEvents": t("attribute_detail.calendar_hide_routine_events", {
days: ROUTINE_OCCURRENCES_PER_WEEK
}),
"calendar:slotDuration": t("attribute_detail.calendar_slot_duration"),
"calendar:slotLabelInterval": t("attribute_detail.calendar_slot_label_interval"),
"calendar:title": t("attribute_detail.calendar_title"),
"calendar:titleTemplate": t("attribute_detail.calendar_title_template"),
"calendar:displayedAttributes": t("attribute_detail.calendar_displayed_attributes"),
"calendar:startDate": t("attribute_detail.calendar_start_date"),
"calendar:endDate": t("attribute_detail.calendar_end_date"),
"calendar:startTime": t("attribute_detail.calendar_start_time"),
"calendar:endTime": t("attribute_detail.calendar_end_time"),
"calendar:recurrence": t("attribute_detail.calendar_recurrence"),
startDate: t("attribute_detail.start_date"),
endDate: t("attribute_detail.end_date"),
startTime: t("attribute_detail.start_time"),
endTime: t("attribute_detail.end_time"),
recurrence: t("attribute_detail.recurrence"),
geolocation: t("attribute_detail.geolocation"),
geoShape: t("attribute_detail.geo_shape"),
mapPosition: t("attribute_detail.map_position"),
mapShape: t("attribute_detail.map_shape"),
"map:imageBounds": t("attribute_detail.map_image_bounds"),
mapType: t("attribute_detail.map_type"),
"map:style": t("attribute_detail.map_style"),
"map:darkStyle": t("attribute_detail.map_dark_style"),
"map:scale": t("attribute_detail.map_scale"),
"map:hideLabels": t("attribute_detail.map_hide_labels"),
"map:cluster": t("attribute_detail.map_cluster"),
"presentation:theme": t("attribute_detail.presentation_theme"),
"slide:background": t("attribute_detail.slide_background"),
tabWidth: t("attribute_detail.tab_width"),
indentWithTabs: t("attribute_detail.indent_with_tabs"),
wrapLines: t("attribute_detail.wrap_lines"),
internalBookmark: t("attribute_detail.internal_bookmark")
},
relation: {
"board:cardRedirectTo": t("attribute_detail.board_card_redirect_to"),
boardCardRedirectTo: t("attribute_detail.board_card_redirect_to"),
runOnNoteCreation: t("attribute_detail.run_on_note_creation"),
runOnChildNoteCreation: t("attribute_detail.run_on_child_note_creation"),
runOnNoteTitleChange: t("attribute_detail.run_on_note_title_change"),
runOnNoteContentChange: t("attribute_detail.run_on_note_content_change"),
runOnNoteChange: t("attribute_detail.run_on_note_change"),
runOnNoteDeletion: t("attribute_detail.run_on_note_deletion"),
runOnBranchCreation: t("attribute_detail.run_on_branch_creation"),
runOnBranchChange: t("attribute_detail.run_on_branch_change"),
runOnBranchDeletion: t("attribute_detail.run_on_branch_deletion"),
runOnAttributeCreation: t("attribute_detail.run_on_attribute_creation"),
runOnAttributeChange: t("attribute_detail.run_on_attribute_change"),
template: t("attribute_detail.relation_template"),
"template:newNoteDefaultParent": t("attribute_detail.template_new_note_default_parent"),
inherit: t("attribute_detail.inherit"),
renderNote: t("attribute_detail.render_note"),
widget: t("attribute_detail.widget_relation"),
shareCss: t("attribute_detail.share_css"),
shareJs: t("attribute_detail.share_js"),
shareTemplate: t("attribute_detail.share_template"),
shareFavicon: t("attribute_detail.share_favicon"),
internalLink: t("attribute_detail.internal_link"),
imageLink: t("attribute_detail.image_link"),
relationMapLink: t("attribute_detail.relation_map_link"),
"map:image": t("attribute_detail.map_image"),
includeNoteLink: t("attribute_detail.include_note_link"),
dateTemplate: t("attribute_detail.date_template"),
weekTemplate: t("attribute_detail.week_template"),
monthTemplate: t("attribute_detail.month_template"),
quarterTemplate: t("attribute_detail.quarter_template"),
yearTemplate: t("attribute_detail.year_template"),
searchScript: t("attribute_detail.search_script"),
ancestor: t("attribute_detail.ancestor"),
target: t("attribute_detail.target"),
script: t("attribute_detail.script"),
hoistedNote: t("attribute_detail.hoisted_note"),
shareLogo: t("attribute_detail.share_logo"),
shareOpenGraphImage: t("attribute_detail.share_open_graph_image_relation"),
shareHtml: t("attribute_detail.share_html")
}
};