Files
obsidian-excalidraw-plugin/src/types/utilTypes.ts
T

37 lines
745 B
TypeScript

export type FILENAMEPARTS = {
filepath: string;
hasBlockref: boolean;
hasGroupref: boolean;
hasTaskbone: boolean;
hasArearef: boolean;
hasFrameref: boolean;
hasClippedFrameref: boolean;
hasSectionref: boolean;
blockref: string;
sectionref: string;
linkpartReference: string;
linkpartAlias: string;
/** Optional non-negative export padding parsed from an image-reference link. */
padding?: number;
};
export enum PreviewImageType {
PNG = "PNG",
SVGIMG = "SVGIMG",
SVG = "SVG",
}
export interface FrameRenderingOptions {
enabled: boolean;
name: boolean;
outline: boolean;
clip: boolean;
}
export type PaneTarget =
| "active-pane"
| "new-pane"
| "popout-window"
| "new-tab"
| "md-properties";