location.ts 357 B

1234567891011
  1. import { Context, Schema } from "effect"
  2. export * as Location from "./location"
  3. export const Ref = Schema.Struct({
  4. directory: Schema.String,
  5. workspaceID: Schema.optional(Schema.String),
  6. }).annotate({ identifier: "Location.Ref" })
  7. export type Ref = typeof Ref.Type
  8. export class Service extends Context.Service<Service, Ref>()("@opencode/Location") {}