Hiyve Components - v1.0.0
    Preparing search index...

    Interface AIAssistantFileClient

    Minimal file-operation interface used by AIAssistant for note saving. Compatible with the Hiyve client returned by useClient().

    interface AIAssistantFileClient {
        modifyFile: (opts: { file: File; fileId: string }) => Promise<void>;
        uploadFile: (
            opts: { file: File; location: string; resourceType?: string },
        ) => Promise<{ fileId: string }>;
    }
    Index

    Properties

    modifyFile: (opts: { file: File; fileId: string }) => Promise<void>
    uploadFile: (
        opts: { file: File; location: string; resourceType?: string },
    ) => Promise<{ fileId: string }>