@ecoba-vn/tender-feature
Version:
31 lines (30 loc) • 919 B
TypeScript
export declare type BillModel = {
billCode: string;
description: string;
unit: string;
quantity: number;
internalQuantity: number;
mappedQuantity: number;
projectCode: string;
versionCode: number;
};
declare function getAll(projectCode: string): Promise<BillModel[]>;
export declare type BillModelView = {
billCode: string;
billDescription?: string;
idCode: string;
idDescription: string;
componentCode: string;
componentDescription: string;
elementCode: string;
elementDescription: string;
quantity: number;
};
declare function getView(projectCode: string, version?: string): Promise<BillModelView[]>;
declare function upload(projectCode: string, files: File[]): Promise<any>;
declare const billService: {
getAll: typeof getAll;
getView: typeof getView;
upload: typeof upload;
};
export default billService;