Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
12345678910import type { Effect, Schema } from "effect"import type { StorageScanOptions, StorageScanResult } from "../storage.js"
export interface StorageDomain { readonly get: (key: string) => Effect.Effect<Schema.Json | undefined> readonly set: (key: string, value: Schema.Json) => Effect.Effect<void> readonly remove: (key: string) => Effect.Effect<void> readonly scan: (options: StorageScanOptions) => Effect.Effect<StorageScanResult>}