/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Lightweight serializer for listing artifacts. * * This serializer is optimized for list views, excluding the potentially * large content field and including useful computed fields. * * Fields: * - id: Unique identifier for the artifact * - title: Title or identifier for the artifact * - file_extension: The extension of the file * - llm_name: Name of the LLM that generated the artifact * - llm_provider: Provider of the LLM * - date_created: Timestamp when the artifact was created * - date_updated: Timestamp when the artifact was last updated * - username: Username of the student who owns the artifact * - session_id: UUID of the session that generated the artifact * - content_length: Length of the content in characters */ export type ArtifactList = { readonly id: number; /** * Title or identifier for the artifact */ readonly title: string; /** * The extension of the file for the artifact. eg. `py`, `md`, `html`, `json`, `csv`, etc */ readonly file_extension: string; /** * True when the artifact carries `binary_content` instead of `content` */ readonly is_binary: boolean; /** * MIME type of a binary artifact, e.g. application/pdf. */ readonly mime_type: string; readonly llm_name: string; readonly llm_provider: string; readonly date_created: string; readonly date_updated: string; /** * Username of the student who owns this artifact */ readonly username: string; readonly session_id: string | null; /** * Length of the artifact content in characters (bytes for binary artifacts) */ readonly content_length: number; };