interface VersionRestore {
    operationKey: "restore";
    params: {
        message: string;
        restoreTitle?: boolean;
        versionNumber: number;
    } & {
        [key: string]: unknown;
    };
}

Hierarchy

  • Record<string, unknown>
    • VersionRestore

Properties

Properties

operationKey

Set to 'restore'.

params: {
    message: string;
    restoreTitle?: boolean;
    versionNumber: number;
} & {
    [key: string]: unknown;
}

Type declaration

  • message: string

    Description for the version.

  • OptionalrestoreTitle?: boolean

    If true, the content title will be the same as the title from the version restored. Defaults to false.

  • versionNumber: number

    The version number to be restored.