Skip to main content

SettingsStoreControls

What the settings contract needs besides the store itself.

This is an interface exported by @mapcairn/core/contracts, checked against version 0.2.0.

Signature​

import type { SettingsStoreControls } from "@mapcairn/core/contracts";

interface SettingsStoreControls

Methods​

createBlocked​

createBlocked?(): SettingsStore;

Builds a store whose storage is blocked (every read and write throws). Optional because an in-memory store has no storage to block.

See also​

Source: packages/core/src/contracts/settingsStore.contract.ts:7