diff --git a/node_modules/sartography-workflow-lib/lib/types/file.d.ts b/node_modules/sartography-workflow-lib/lib/types/file.d.ts new file mode 100644 index 0000000..d2db7c8 --- /dev/null +++ b/node_modules/sartography-workflow-lib/lib/types/file.d.ts @@ -0,0 +1,90 @@ +export declare enum FileType { + AIF = "aif", + AI = "ai", + AVI = "avi", + BPMN = "bpmn", + CSV = "csv", + DMG = "dmg", + DMN = "dmn", + DOC = "doc", + DOCX = "docx", + EML = "eml", + GIF = "gif", + HTML = "html", + ICS = "ics", + ISO = "iso", + JAVASCRIPT = "javascript", + JPEG = "jpeg", + JPG = "jpg", + JS = "js", + MD = "md", + MOV = "mov", + MP_3 = "mp3", + MP_4 = "mp4", + MPG = "mpg", + MSG = "msg", + MSI = "msi", + OGG = "ogg", + PDF = "pdf", + PHP = "php", + PKGINFO = "pkginfo", + PLAIN = "plain", + PLIST = "plist", + PNG = "png", + POSTSCRIPT = "postscript", + PPT = "ppt", + PPTX = "pptx", + PSD = "psd", + PY = "py", + RTF = "rtf", + SQL = "sql", + SVG = "svg", + SVG_XML = "svg+xml", + TGZ = "tgz", + TIFF = "tiff", + TXT = "txt", + UNKNOWN = "unknown", + WAV = "wav", + XLS = "xls", + XLSX = "xlsx", + XML = "xml", + ZIP = "zip" +} +export interface DocumentDirectory { + level: string; + file: FileMeta; + expanded: boolean; + filecount: number; + children: DocumentDirectory[]; +} +export interface FileMeta { + content_type: string; + id?: number; + name: string; + primary?: boolean; + type: FileType; + latest_version?: string; + last_modified?: string; + user_uid?: string; + workflow_spec_id?: string; + workflow_id?: number; + study_id?: number; + task_id?: string; + form_field_key?: string | number | string[]; + is_reference?: boolean; + irb_doc_code?: string; + category?: string; + primary_process_id?: string; + is_status?: boolean; + size?: number; + data_store?: any; + file?: File; +} +export interface FileParams { + workflow_spec_id?: string; + workflow_id?: number; + study_id?: number; + task_spec_name?: string; + irb_doc_code?: string | number | string[]; +} +//# sourceMappingURL=file.d.ts.map \ No newline at end of file