We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5980b0a commit 89e8994Copy full SHA for 89e8994
1 file changed
packages/opencode/src/config/plugin.ts
@@ -11,10 +11,9 @@ export type Options = Schema.Schema.Type<typeof Options>
11
12
// Spec is the user-config value: either just a plugin identifier, or the identifier plus inline options.
13
// It answers "what should we load?" but says nothing about where that value came from.
14
-export const Spec = Schema.Union([
15
- Schema.String,
16
- Schema.mutable(Schema.Tuple([Schema.String, Options])),
17
-]).pipe(withStatics((s) => ({ zod: zod(s) })))
+export const Spec = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options]))]).pipe(
+ withStatics((s) => ({ zod: zod(s) })),
+)
18
export type Spec = Schema.Schema.Type<typeof Spec>
19
20
export type Scope = "global" | "local"
0 commit comments