@opencode/schema 0.0.0-dev-19563 → 0.0.0-dev-19565
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 +5 -0
- package/dist/config.js +3 -0
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -83,6 +83,11 @@ 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 Patch: Schema.Struct<{
|
|
87
|
+
readonly shell: Schema.NullOr<Schema.String>;
|
|
88
|
+
}>;
|
|
89
|
+
export interface Patch extends Schema.Schema.Type<typeof Patch> {
|
|
90
|
+
}
|
|
86
91
|
declare const Document_base: Schema.Class<Document, Schema.Struct<{
|
|
87
92
|
readonly type: Schema.Literal<"document">;
|
|
88
93
|
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,6 +107,9 @@ export class Info extends Schema.Class("Config.Info")({
|
|
|
107
107
|
experimental: ConfigExperimental.Info.pipe(optional),
|
|
108
108
|
}) {
|
|
109
109
|
}
|
|
110
|
+
export const Patch = Schema.Struct({
|
|
111
|
+
shell: Schema.NullOr(Schema.String),
|
|
112
|
+
}).annotate({ identifier: "Config.Patch" });
|
|
110
113
|
export class Document extends Schema.Class("Config.Document")({
|
|
111
114
|
type: Schema.Literal("document"),
|
|
112
115
|
path: AbsolutePath.pipe(optional),
|