1 | import { Dictionary } from '@stoplight/types';
|
2 | export declare enum StoplightConfigError {
|
3 | Syntax = "syntax",
|
4 | Validation = "validation",
|
5 | IO = "io"
|
6 | }
|
7 | export declare enum StoplightKnownPath {
|
8 | OAS = "openapi",
|
9 | Json_Schema = "json_schema",
|
10 | Image = "image",
|
11 | Markdown = "markdown"
|
12 | }
|
13 | export declare type FormatPaths = null | {
|
14 | rootDir: string;
|
15 | include?: string[];
|
16 | };
|
17 | export declare type TreeDefinition<T extends string[] = string[]> = {
|
18 | formats: T;
|
19 | };
|
20 | export declare type StoplightConfig = {
|
21 | exclude?: string[];
|
22 | formats?: Dictionary<FormatPaths, string>;
|
23 | trees?: Dictionary<TreeDefinition, string>;
|
24 | };
|