Interface for the document storage

Hierarchy

  • IStorage

Index

Properties

Properties

load

load: function

loads the current document definition

Type declaration

    • (): Promise<string | unknown>
    • Returns Promise<string | unknown>

save

save: function

Returns undefined or the function to store the new document definition. To cover the case where a definition is switched between a readonly state and a writabel state.

Type declaration

    • (): function | undefined
    • Returns function | undefined