import { FileUploadResponse, NewFileUploadsResponse } from './FileUpload'; import { FileUpload } from './Presentation'; export type GetFontsRequest = undefined; export type GetFontsResponse = FontResponse[]; export type CreateFontUploaderRequest = { name: string; weight: string; file: { filename: string; 'content-type': string; 'content-length': number; }; }; export type CreateFontUploaderResponse = { font: FontResponse; file_uploads: NewFileUploadsResponse; }; export type FontResponse = { id: string; name: string; weight: string; file_upload: FileUploadResponse; }; export type Font = { id: string; name: string; weight: string; fileUpload: FileUpload; };