1 | import { MarkdownPageEvent } from '../events';
|
2 | import { OutputFileStrategy } from '../options/maps';
|
3 | import { Options, ReflectionKind } from 'typedoc';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export interface PackageMetaData {
|
9 | description: string;
|
10 | options: Options;
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export interface UrlMapping</** @ignore */ Model> {
|
17 | url: string;
|
18 | model: Model;
|
19 | template: (data: MarkdownPageEvent<Model>) => string;
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export interface NavigationItem {
|
26 | title: string;
|
27 | path?: string | null;
|
28 | kind?: ReflectionKind;
|
29 | children?: NavigationItem[];
|
30 | }
|
31 |
|
32 |
|
33 |
|
34 | export interface TemplateMapping {
|
35 | directory: string | null;
|
36 | template: any;
|
37 | kind: ReflectionKind;
|
38 | }
|
39 |
|
40 |
|
41 |
|
42 | export interface UrlOption {
|
43 | parentUrl?: string;
|
44 | directory?: string | null;
|
45 | forceDirectory?: boolean;
|
46 | outputFileStrategy?: OutputFileStrategy;
|
47 | entryModule?: string;
|
48 | entryFileName?: string;
|
49 | }
|
50 |
|
51 |
|
52 |
|
53 | export type RenderTemplate<T> = (data: T) => string;
|