(path: string)
| 48 | * paths default to markdown, matching template content resolution. |
| 49 | */ |
| 50 | export function isMarkdownTemplatePath(path: string): boolean { |
| 51 | return ( |
| 52 | !CANVAS_FILE_EXTENSION_REGEX.test(path) && |
| 53 | !BASE_FILE_EXTENSION_REGEX.test(path) |
| 54 | ); |
| 55 | } |
| 56 | |
| 57 | export function templatePickerItemLabel(item: TemplatePickerItem): string { |
| 58 | return item.kind === "choice" |
no outgoing calls
no test coverage detected