Files
govoplan-templates/webui/src/features/templates/interfacePatterns.ts
T

36 lines
1.5 KiB
TypeScript

import type { DocumentationHelpReference } from "@govoplan/core-webui";
export const TEMPLATES_DOCUMENTATION = {
topicId: "templates.library",
documentationType: "user"
} satisfies DocumentationHelpReference;
export const TEMPLATE_FIELDS_DOCUMENTATION = {
topicId: "templates.reference.fields-and-consequences",
documentationType: "admin"
} satisfies DocumentationHelpReference;
export const TEMPLATE_OUTPUT_DOCUMENTATION = {
topicId: "templates.printable-output",
documentationType: "user"
} satisfies DocumentationHelpReference;
export const TEMPLATES_I18N = {
loading: "i18n:govoplan-templates.loading_reason",
busy: "i18n:govoplan-templates.busy_reason",
writeReason: "i18n:govoplan-templates.write_permission_reason",
publishReason: "i18n:govoplan-templates.publish_permission_reason",
renderReason: "i18n:govoplan-templates.render_permission_reason",
readOnlyReason: "i18n:govoplan-templates.read_only_reason",
noSelection: "i18n:govoplan-templates.no_selection_reason",
noChanges: "i18n:govoplan-templates.no_changes_reason",
incomplete: "i18n:govoplan-templates.incomplete_reason",
saveBeforeAction: "i18n:govoplan-templates.save_before_action_reason",
requiredAction: "i18n:govoplan-templates.required_action",
actor: "i18n:govoplan-templates.actor",
destination: "i18n:govoplan-templates.destination",
permissionAction: "i18n:govoplan-templates.permission_action",
permissionActor: "i18n:govoplan-templates.permission_actor",
permissionDestination: "i18n:govoplan-templates.permission_destination"
} as const;