@ginstone/nga-api
Version:
21 lines (20 loc) • 592 B
TypeScript
import { AttachmentView } from "../field/attach/AttachmentView";
export declare class UploadBody {
readonly attachments: string;
readonly attachments_check: string;
readonly isImg: boolean;
readonly thumb: number;
readonly url: string;
readonly extension: string;
readonly file: File;
readonly description: string;
view: AttachmentView;
constructor(raw: UploadBodyRaw, file: File, description: string);
}
export interface UploadBodyRaw {
attachments: string;
attachments_check: string;
isImg: boolean;
thumb: number;
url: string;
}