@opencode-ai/schema 0.0.0-dev-18192 → 0.0.0-dev-18195
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/project.d.ts +22 -0
- package/dist/project.js +6 -0
- package/package.json +1 -1
package/dist/project.d.ts
CHANGED
|
@@ -63,6 +63,28 @@ export declare const Info: Schema.Struct<{
|
|
|
63
63
|
}>;
|
|
64
64
|
export interface Info extends Schema.Schema.Type<typeof Info> {
|
|
65
65
|
}
|
|
66
|
+
export declare const UpdateInput: Schema.Struct<{
|
|
67
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
68
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
69
|
+
};
|
|
70
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
71
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
72
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
73
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
74
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
75
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
76
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
77
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
78
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
79
|
+
}>>, never, never>;
|
|
80
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
81
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
82
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
83
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
84
|
+
}>>, never, never>;
|
|
85
|
+
}>;
|
|
86
|
+
export interface UpdateInput extends Schema.Schema.Type<typeof UpdateInput> {
|
|
87
|
+
}
|
|
66
88
|
export declare const Event: {
|
|
67
89
|
Updated: Schema.Struct<{
|
|
68
90
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
package/dist/project.js
CHANGED
|
@@ -33,5 +33,11 @@ export const Info = Schema.Struct({
|
|
|
33
33
|
time: Time,
|
|
34
34
|
sandboxes: Schema.Array(Schema.String),
|
|
35
35
|
}).annotate({ identifier: "Project" });
|
|
36
|
+
export const UpdateInput = Schema.Struct({
|
|
37
|
+
projectID: ID,
|
|
38
|
+
name: optional(Schema.String),
|
|
39
|
+
icon: optional(Icon),
|
|
40
|
+
commands: optional(Commands),
|
|
41
|
+
}).annotate({ identifier: "Project.UpdateInput" });
|
|
36
42
|
const Updated = ephemeral({ type: "project.updated", schema: Info.fields });
|
|
37
43
|
export const Event = { Updated, Definitions: inventory(Updated) };
|