UNPKG

mongoose-management

Version:
14 lines (13 loc) 513 B
/** * This function converts old data structure into the new structure. */ import { dataColumnType, dataIndexType, dataType } from './types'; declare type subType = { type: string; subType?: subType; }; export declare const converterSubType: (column: subType) => string[]; export declare const recursionSubType: (column: dataColumnType) => void; export declare const convertColumnIndex: (index: dataIndexType) => void; export declare const converter: (data: dataType) => void; export default converter;