@opencode/schema 0.0.0-dev-19530 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +0 -12
- package/dist/config.js +0 -8
- package/package.json +1 -1
- package/dist/config/shell.d.ts +0 -9
- package/dist/config/shell.js +0 -7
package/dist/config.d.ts
CHANGED
|
@@ -83,18 +83,6 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
83
83
|
}>, {}>;
|
|
84
84
|
export declare class Info extends Info_base {
|
|
85
85
|
}
|
|
86
|
-
export declare const Preferences: Schema.Struct<{
|
|
87
|
-
readonly shell: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
88
|
-
readonly websearch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>, never, never>;
|
|
89
|
-
}>;
|
|
90
|
-
export interface Preferences extends Schema.Schema.Type<typeof Preferences> {
|
|
91
|
-
}
|
|
92
|
-
export declare const PreferencesPatch: Schema.Struct<{
|
|
93
|
-
readonly shell: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NullOr<Schema.String>>>, Schema.optionalKey<Schema.NullOr<Schema.String>>, never, never>;
|
|
94
|
-
readonly websearch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NullOr<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>>>, Schema.optionalKey<Schema.NullOr<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>>, never, never>;
|
|
95
|
-
}>;
|
|
96
|
-
export interface PreferencesPatch extends Schema.Schema.Type<typeof PreferencesPatch> {
|
|
97
|
-
}
|
|
98
86
|
declare const Document_base: Schema.Class<Document, Schema.Struct<{
|
|
99
87
|
readonly type: Schema.Literal<"document">;
|
|
100
88
|
readonly path: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "AbsolutePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "AbsolutePath">>, never, never>;
|
package/dist/config.js
CHANGED
|
@@ -107,14 +107,6 @@ export class Info extends Schema.Class("Config.Info")({
|
|
|
107
107
|
experimental: ConfigExperimental.Info.pipe(optional),
|
|
108
108
|
}) {
|
|
109
109
|
}
|
|
110
|
-
export const Preferences = Schema.Struct({
|
|
111
|
-
shell: Schema.String.pipe(optional),
|
|
112
|
-
websearch: ConfigWebSearch.Selection.pipe(optional),
|
|
113
|
-
}).annotate({ identifier: "Config.Preferences" });
|
|
114
|
-
export const PreferencesPatch = Schema.Struct({
|
|
115
|
-
shell: Schema.NullOr(Schema.String).pipe(optional),
|
|
116
|
-
websearch: Schema.NullOr(ConfigWebSearch.Selection).pipe(optional),
|
|
117
|
-
}).annotate({ identifier: "Config.PreferencesPatch" });
|
|
118
110
|
export class Document extends Schema.Class("Config.Document")({
|
|
119
111
|
type: Schema.Literal("document"),
|
|
120
112
|
path: AbsolutePath.pipe(optional),
|
package/package.json
CHANGED
package/dist/config/shell.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * as ConfigShell from "./shell.js";
|
|
2
|
-
import { Schema } from "effect";
|
|
3
|
-
export declare const Option: Schema.Struct<{
|
|
4
|
-
readonly path: Schema.String;
|
|
5
|
-
readonly name: Schema.String;
|
|
6
|
-
readonly acceptable: Schema.Boolean;
|
|
7
|
-
}>;
|
|
8
|
-
export interface Option extends Schema.Schema.Type<typeof Option> {
|
|
9
|
-
}
|
package/dist/config/shell.js
DELETED