1 | import { Heading } from 'docz-utils/lib/mdast';
|
2 | export interface EntryObj {
|
3 | id: string;
|
4 | filepath: string;
|
5 | link: string | null;
|
6 | slug: string;
|
7 | name: string;
|
8 | route: string;
|
9 | order: number;
|
10 | menu: string | null;
|
11 | headings: Heading[];
|
12 | [key: string]: any;
|
13 | }
|
14 | export declare class Entry {
|
15 | readonly [key: string]: any;
|
16 | id: string;
|
17 | filepath: string;
|
18 | link: string | null;
|
19 | slug: string;
|
20 | route: string;
|
21 | name: string;
|
22 | order: number;
|
23 | menu: string | null;
|
24 | headings: Heading[];
|
25 | settings: {
|
26 | [key: string]: any;
|
27 | };
|
28 | constructor(ast: any, file: string, src: string);
|
29 | setLink(url: string): void;
|
30 | private getFilepath;
|
31 | private getName;
|
32 | private slugify;
|
33 | private getRoute;
|
34 | }
|