18 lines
564 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Detail } from "./Detail";
import type { StoragePath } from "./StoragePath";
/**
* A file stored in an object storage backend, with data.
* This struct can NOT be stored in the database.
* Note: `File` supports both `ObjectStorageFilePointer` and `ObjectStorageFile`.
*/
export type ObjectStorageFile = {
data: string;
source_url?: string;
mime_type: string;
storage_path: StoragePath;
detail?: Detail;
filename?: string;
};