Files
privacy.sexy/src/application/application.yaml.d.ts
undergroundwires 66d4d39d5b refactorings
2020-08-09 03:00:18 +01:00

30 lines
770 B
TypeScript

declare module 'js-yaml-loader!*' {
export type CategoryOrScript = YamlCategory | YamlScript;
export type DocumentationUrls = ReadonlyArray<string> | string;
export interface YamlDocumentable {
docs?: DocumentationUrls;
}
export interface YamlScript extends YamlDocumentable {
name: string;
code: string;
revertCode: string;
recommend: boolean;
}
export interface YamlCategory extends YamlDocumentable {
children: ReadonlyArray<CategoryOrScript>;
category: string;
}
export interface ApplicationYaml {
name: string;
repositoryUrl: string;
actions: ReadonlyArray<YamlCategory>;
}
const content: ApplicationYaml;
export default content;
}