kimi-code / packages /transcript /src /model /attachment.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
4e23b01 verified
Raw
History Blame Contribute Delete
481 Bytes
import type { AttachmentId } from './ids';
export type AttachmentSource =
| { readonly kind: 'url'; readonly url: string }
| { readonly kind: 'file'; readonly fileId: string }
| { readonly kind: 'session_media'; readonly fileId: string };
export interface TranscriptAttachment {
readonly attachmentId: AttachmentId;
readonly mediaType: string;
readonly name?: string;
readonly size?: number;
readonly source?: AttachmentSource;
readonly placeholder?: string;
}