@opencode-ai/schema
Advanced tools
+8
-1
@@ -19,3 +19,10 @@ export * as Vcs from "./vcs.js"; | ||
| export type BranchList = typeof BranchList.Type; | ||
| export declare const Mode: Schema.Literals<readonly ["working", "branch"]>; | ||
| export declare const Base: Schema.Struct<{ | ||
| readonly name: Schema.String; | ||
| readonly ref: Schema.String; | ||
| readonly source: Schema.Literals<readonly ["reflog", "default"]>; | ||
| }>; | ||
| export interface Base extends Schema.Schema.Type<typeof Base> { | ||
| } | ||
| export declare const Mode: Schema.Literals<readonly ["working", "branch", "committed"]>; | ||
| export type Mode = typeof Mode.Type; | ||
@@ -22,0 +29,0 @@ export declare const FileStatus: Schema.Struct<{ |
+6
-1
@@ -12,3 +12,8 @@ export * as Vcs from "./vcs.js"; | ||
| export const BranchList = Schema.Array(Schema.String).annotate({ identifier: "Vcs.BranchList" }); | ||
| export const Mode = Schema.Literals(["working", "branch"]).annotate({ identifier: "Vcs.Mode" }); | ||
| export const Base = Schema.Struct({ | ||
| name: Schema.String, | ||
| ref: Schema.String, | ||
| source: Schema.Literals(["reflog", "default"]), | ||
| }).annotate({ identifier: "Vcs.Base" }); | ||
| export const Mode = Schema.Literals(["working", "branch", "committed"]).annotate({ identifier: "Vcs.Mode" }); | ||
| export const FileStatus = Schema.Struct({ | ||
@@ -15,0 +20,0 @@ file: Schema.String, |
+1
-1
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/schema", | ||
| "version": "0.0.0-dev-18671", | ||
| "version": "0.0.0-dev-18672", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
3753746
0.01%59369
0.02%