ngx-bit
Version:
A flexible NG-ZORRO helper library
34 lines (33 loc) • 791 B
TypeScript
import { CurdOption, I18nOption, UploadStorage } from './types';
export declare class BitConfig {
url: {
api: string;
static: string;
icon?: string;
};
api: {
namespace: string;
withCredentials: boolean;
upload: string;
uploadStorage?: UploadStorage;
uploadFetchSigned?: string;
uploadFetchSignedMethod?: string;
uploadSize?: number;
};
curd: CurdOption;
col: {
[key: string]: any;
};
locale: {
default: string;
mapping: string[];
bind: any[];
};
i18n: {
default: string;
contain: string[];
switch: I18nOption[];
};
page: number;
query: 'sql-orm' | 'mongo' | 'cloud';
}