1 | import { MarkdownPageEvent } from '../events/index.js';
|
2 | import { OutputFileStrategy } from '../options/maps.js';
|
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 | group?: string;
|
20 | template: (data: MarkdownPageEvent<Model>) => string;
|
21 | }
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export interface NavigationItem {
|
27 | title: string;
|
28 | path?: string | null;
|
29 | kind?: ReflectionKind;
|
30 | children?: NavigationItem[];
|
31 | }
|
32 |
|
33 |
|
34 |
|
35 | export interface TemplateMapping {
|
36 | directory: string | null;
|
37 | template: any;
|
38 | kind: ReflectionKind;
|
39 | }
|
40 |
|
41 |
|
42 |
|
43 | export interface UrlOption {
|
44 | parentUrl?: string;
|
45 | directory?: string | null;
|
46 | forceDirectory?: boolean;
|
47 | outputFileStrategy?: OutputFileStrategy;
|
48 | entryModule?: string;
|
49 | entryFileName?: string;
|
50 | group?: string;
|
51 | }
|
52 |
|
53 |
|
54 |
|
55 | export type RenderTemplate<T> = (data: T) => string;
|