plugin.ts 360 B

123456789
  1. export * as ConfigPluginV1 from "./plugin"
  2. import { Schema } from "effect"
  3. export const Options = Schema.Record(Schema.String, Schema.Unknown)
  4. export type Options = Schema.Schema.Type<typeof Options>
  5. export const Spec = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options]))])
  6. export type Spec = Schema.Schema.Type<typeof Spec>