compile.ts 726 B

123456789101112131415161718192021222324252627282930313233343536
  1. export type CompileOutputFile = {
  2. path: string
  3. url: string
  4. downloadURL?: string
  5. type: string
  6. build: string
  7. ranges?: {
  8. start: number
  9. end: number
  10. hash: string
  11. objectId: string
  12. }[]
  13. contentId?: string
  14. size?: number
  15. // assigned by buildFileList in frontend
  16. main?: boolean
  17. }
  18. export type CompileResponseData = {
  19. fromCache?: boolean
  20. status: string
  21. outputFiles: CompileOutputFile[]
  22. compileGroup?: string
  23. clsiServerId?: string
  24. pdfDownloadDomain?: string
  25. pdfCachingMinChunkSize: number
  26. validationProblems: any
  27. stats: any
  28. timings: any
  29. outputFilesArchive?: CompileOutputFile
  30. // assigned on response body by DocumentCompiler in frontend
  31. rootDocId?: string
  32. options: any
  33. }