Skip to content

ElectronClearStorageDataOptions

Unofficial

Options controlling which storage data is cleared.

Import:

import type { ElectronClearStorageDataOptions } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronClearStorageDataOptions

Properties

Property Type Description
origin? string Should follow window.location.origin's representation scheme://host:port.
quotas? string[] The types of quotas to clear, can contain persistent, syncable or temporary. If not specified, clear all quotas.
storages? string[] The types of storages to clear. If not specified, clear all storage types.