mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-21 11:19:27 -10: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
|
|
}
|