SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface StoreConstructorOptions

    interface StoreConstructorOptions {
        author?: string;
        maxCommits?: number;
        sync?: boolean;
        transient?: boolean;
    }
    Index
    author?: string

    The creator of the transactions.

    maxCommits?: number

    The maximum number of commits retained for restore/revert and the log.

    1000
    

    When exceeded, the oldest commits are dropped: IStore.getLog simply ends there and a restore/revert to a dropped commit fails with an invalid id. Snapshots share unchanged records structurally, so the cost of history is per-commit bookkeeping, not full copies — but unbounded agent-driven histories still add up.

    sync?: boolean

    If true will try to default to synchronous eventing.

    'setDefaultSync'
    
    transient?: boolean

    If true will not track changes for restoring.

    false
    

    Useful for creating temporary models that don't need to be tracked.