mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-16 09:33:24 +00:00
12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
import { Context, Schema } from "effect"
|
|
|
|
export * as Location from "./location"
|
|
|
|
export const Ref = Schema.Struct({
|
|
directory: Schema.String,
|
|
workspaceID: Schema.optional(Schema.String),
|
|
}).annotate({ identifier: "Location.Ref" })
|
|
export type Ref = typeof Ref.Type
|
|
|
|
export class Service extends Context.Service<Service, Ref>()("@opencode/Location") {}
|