Skip to main content

Interface: OpenOptions

Defined in: contract.ts:161

@rasd/storage — the public entry point.

This package owns three things and nothing else: the frozen StorageAdapter contract, a reference implementation of it, and the suite that proves any other implementation matches. It deliberately has no dependency on @rasd/license — that is what makes export() available in every licence state a property of the module graph rather than a promise (docs/09 §10).

Properties

atRest?

optional atRest?: "off" | "preferred" | "required";

Defined in: contract.ts:166

preferred (default) encrypts when the platform supports it and warns otherwise.


encryptionKey?

optional encryptionKey?: unknown;

Defined in: contract.ts:163


migrations?

optional migrations?: Migration[];

Defined in: contract.ts:164


namespace

namespace: string;

Defined in: contract.ts:162