refactor(core): move v1 schemas into core (#30473)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export * as ConfigPluginV1 from "./plugin"
|
||||
|
||||
import { Schema } from "effect"
|
||||
|
||||
export const Options = Schema.Record(Schema.String, Schema.Unknown)
|
||||
export type Options = Schema.Schema.Type<typeof Options>
|
||||
|
||||
export const Spec = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options]))])
|
||||
export type Spec = Schema.Schema.Type<typeof Spec>
|
||||
Reference in New Issue
Block a user