refactor(schema): tighten public contracts (#33771)

This commit is contained in:
Kit Langton
2026-06-25 17:10:23 +00:00
committed by GitHub
parent 5682371d0a
commit 9e9d405d7e
49 changed files with 759 additions and 897 deletions
+2 -1
View File
@@ -1,13 +1,14 @@
export * as WorktreeEvent from "./worktree-event"
import { Schema } from "effect"
import { optional } from "./schema"
import { Event } from "./event"
export const Ready = Event.define({
type: "worktree.ready",
schema: {
name: Schema.String,
branch: Schema.optional(Schema.String),
branch: optional(Schema.String),
},
})