mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 06:33:01 -04:00
18 lines
353 B
TypeScript
18 lines
353 B
TypeScript
import type { Schema } from "effect"
|
|
|
|
export interface StorageEntry {
|
|
readonly key: string
|
|
readonly value: Schema.Json
|
|
}
|
|
|
|
export interface StorageScanOptions {
|
|
readonly prefix: string
|
|
readonly after?: string
|
|
readonly limit?: number
|
|
}
|
|
|
|
export interface StorageScanResult {
|
|
readonly entries: readonly StorageEntry[]
|
|
readonly next?: string
|
|
}
|