(path: string | undefined)
| 41 | } |
| 42 | |
| 43 | function getDirectory(path: string | undefined) { |
| 44 | const data = useData() |
| 45 | return relativizeProjectPaths(_getDirectory(path), data.directory) |
| 46 | } |
| 47 | |
| 48 | export function registerPartComponent(type: string, component: PartComponent) { |
| 49 | PART_MAPPING[type] = component |
nothing calls this directly
no test coverage detected