@docfy/ember-vite
Version:
Vite plugin for Docfy Ember integration with @embroider/vite
44 lines • 926 B
TypeScript
import type { Node } from 'unist';
interface Literal {
value: string;
}
export interface CodeNode extends Node, Literal {
type: 'code';
lang?: string;
meta?: string;
}
export interface ImportStatement {
name: string;
path: string;
isDefault?: boolean;
namedImports?: string[];
}
export interface DemoComponentName {
dashCase: string;
pascalCase: string;
}
export interface DemoComponentChunk {
type: string;
code: string;
ext: string;
snippet: Node;
}
export interface DemoComponent {
name: DemoComponentName;
chunks: DemoComponentChunk[];
description?: {
title?: string;
ast: Node;
editUrl?: string;
};
}
export interface FileToGenerate {
path: string;
content: string;
}
export interface PluginData {
imports?: ImportStatement[];
demoComponents?: DemoComponent[];
}
export {};
//# sourceMappingURL=types.d.ts.map