UploadResult
Returned byclient.storage.upload().
StorageFile
Represents a stored file returned byclient.storage.getAll().
StorageGetAllOptions
Filter options forclient.storage.getAll().
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
CollabKit is currently in Beta. APIs and features may change.
Types for file upload, listing, and filtering.
import type { UploadResult, StorageFile, StorageGetAllOptions } from '@collab-kit/utils';
client.storage.upload().
interface UploadResult {
key: string;
url: string;
}
client.storage.getAll().
interface StorageFile {
key: string;
url: string;
filename: string;
mimeType: string | null;
size: number;
uploadedAt: string;
uploadedBy: string | null;
}
client.storage.getAll().
interface StorageGetAllOptions {
mimeType?: string | string[];
userId?: string;
}