@comet-cli/plugin-documentation
Version:
Plugin for generating API documentation
21 lines (20 loc) • 551 B
TypeScript
import { Vue } from 'vue-property-decorator';
import { Schema } from '@comet-cli/types';
interface ItemSchema extends Schema {
id?: number;
isRequired?: boolean;
name?: string;
}
export default class BodyItem extends Vue {
name: string;
readonly schema: Schema | undefined;
readonly isRoot: boolean;
readonly propertyName: string | undefined;
readonly required: boolean;
readonly depth: number;
get displayName(): string;
get enum(): any[];
get items(): ItemSchema[];
private getItems;
}
export {};