Interface MockOptions

Mock 数据选项

interface MockOptions {
    arrayTypes?: (MockDataType | {
        options?: MockOptions;
        type: MockDataType;
    })[];
    endDate?: Date;
    format?: string | false;
    length?: number;
    max?: number;
    min?: number;
    objectKeys?: {
        [key: string]: MockDataType | {
            options?: MockOptions;
            type: MockDataType;
        };
    };
    startDate?: Date;
}

Properties

arrayTypes?: (MockDataType | {
    options?: MockOptions;
    type: MockDataType;
})[]
endDate?: Date
format?: string | false
length?: number
max?: number
min?: number
objectKeys?: {
    [key: string]: MockDataType | {
        options?: MockOptions;
        type: MockDataType;
    };
}
startDate?: Date