Automerge backed Markdown editor for the Atmosphere
Something went wrong. Try again.
1234567891011121314151617import type { TFile } from '../files'
/** * Resolves a file to a registered view type before content-type dispatch. * * Resolvers are deliberately about routing only. View construction and * lifecycle remain owned by WorkspaceLeaf.openFile. */export interface FileViewResolver { readonly id: string matches(file: TFile): string | null | undefined | Promise<string | null | undefined>}
export interface FileViewResolverEntry { readonly resolver: FileViewResolver}