101f595bac
Add userData players/teams, scene npcTokens with hex-inscribed sizing, session scale synced to presentation, and Playwright e2e coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
724 B
TypeScript
37 lines
724 B
TypeScript
/** Порядок разделов в окне «Инструкция». */
|
|
export const HELP_SECTION_IDS = [
|
|
'overview',
|
|
'license',
|
|
'projects',
|
|
'scenes',
|
|
'graph',
|
|
'sideStorylines',
|
|
'sceneProps',
|
|
'sceneEditor',
|
|
'grid',
|
|
'traps',
|
|
'tokens',
|
|
'campaignAudio',
|
|
'materials',
|
|
'players',
|
|
'npcs',
|
|
'session',
|
|
'controlPanel',
|
|
'transitions',
|
|
'music',
|
|
'effects',
|
|
'presentation',
|
|
'importExport',
|
|
'settings',
|
|
] as const;
|
|
|
|
export type HelpSectionId = (typeof HELP_SECTION_IDS)[number];
|
|
|
|
export function helpSectionTitleKey(id: HelpSectionId): string {
|
|
return `help.section.${id}.title`;
|
|
}
|
|
|
|
export function helpSectionBodyKey(id: HelpSectionId): string {
|
|
return `help.section.${id}.body`;
|
|
}
|