Type Alias: RasdStorageEvent
type RasdStorageEvent =
| {
id?: string;
scope: StorageScope;
type: "change";
}
| {
reason: string;
type: "blocked";
}
| {
level: "warning" | "critical";
quotaBytes: number | null;
type: "quota";
usageBytes: number;
}
| {
error: unknown;
type: "error";
}
| {
done: number;
id: string;
phase: "start" | "progress" | "done";
total: number;
type: "migration";
};
Defined in: contract.ts:132
@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).