trans2 / ui /lib /api /schemas /imageData.ts
Mayo
feat: Codex integration
dab69e9 unverified
/**
* Generated by orval v8.8.1 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.1
*/
import type { BlobRef } from './blobRef'
import type { ImageRole } from './imageRole'
export interface ImageData {
blob: BlobRef
/** @nullable */
name?: string | null
/** @minimum 0 */
naturalHeight: number
/** @minimum 0 */
naturalWidth: number
opacity?: number
/** Role tags differentiate source / inpainted / rendered / user-imported images.
Role is immutable on an existing node — switching roles = delete + add. */
role: ImageRole
}