Download packages/transcript/src/model/attachment.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/transcript/src/model/attachment.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/transcript/src/model/attachment.ts
-
curl -L -o attachment.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/transcript/src/model/attachment.ts
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; | |
| } | |