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

    Interface UseClipPersistenceResult

    Result of useClipPersistence hook.

    interface UseClipPersistenceResult {
        clearError: () => void;
        error: string | null;
        fileId: string | null;
        hasUnsavedChanges: boolean;
        isSaving: boolean;
        lastSaved: Date | null;
        markUnsaved: () => void;
        save: () => Promise<string | null>;
    }
    Index

    Properties

    clearError: () => void

    Clear error state

    error: string | null

    Error message

    fileId: string | null

    Current file ID

    hasUnsavedChanges: boolean

    Whether there are unsaved changes

    isSaving: boolean

    Whether currently saving

    lastSaved: Date | null

    Last save timestamp

    markUnsaved: () => void

    Mark content as changed

    save: () => Promise<string | null>

    Trigger manual save