@opencode/schema 0.0.0-dev-19562 → 0.0.0-dev-19564

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 CHANGED
@@ -83,17 +83,10 @@ 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>;
86
+ export declare const Patch: Schema.Struct<{
87
+ readonly shell: Schema.NullOr<Schema.String>;
95
88
  }>;
96
- export interface PreferencesPatch extends Schema.Schema.Type<typeof PreferencesPatch> {
89
+ export interface Patch extends Schema.Schema.Type<typeof Patch> {
97
90
  }
98
91
  declare const Document_base: Schema.Class<Document, Schema.Struct<{
99
92
  readonly type: Schema.Literal<"document">;
package/dist/config.js CHANGED
@@ -107,14 +107,9 @@ 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" });
110
+ export const Patch = Schema.Struct({
111
+ shell: Schema.NullOr(Schema.String),
112
+ }).annotate({ identifier: "Config.Patch" });
118
113
  export class Document extends Schema.Class("Config.Document")({
119
114
  type: Schema.Literal("document"),
120
115
  path: AbsolutePath.pipe(optional),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-19562",
4
+ "version": "0.0.0-dev-19564",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {