mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-05-10 07:14:37 +02:00
26 lines
584 B
TypeScript
26 lines
584 B
TypeScript
import { Position } from 'vscode';
|
|
import { NavigationType } from '../dashboardWebView/models';
|
|
import { BlockFieldData } from './BlockFieldData';
|
|
|
|
export interface DashboardData {
|
|
type: NavigationType;
|
|
data?: ViewData;
|
|
}
|
|
|
|
export interface ViewData {
|
|
filePath?: string;
|
|
fieldName?: string;
|
|
position?: Position;
|
|
fileTitle?: string;
|
|
selection?: string;
|
|
pageBundle?: boolean;
|
|
metadataInsert?: boolean;
|
|
blockData?: BlockFieldData;
|
|
parents?: string[];
|
|
multiple?: string[];
|
|
value?: string;
|
|
|
|
// File fields
|
|
type: "file" | "media";
|
|
fileExtensions?: string[];
|
|
} |