Files
opencode/packages/schema/src/vcs-event.ts
2026-06-25 17:10:23 +00:00

15 lines
332 B
TypeScript

export * as VcsEvent from "./vcs-event"
import { Schema } from "effect"
import { optional } from "./schema"
import { Event } from "./event"
export const BranchUpdated = Event.define({
type: "vcs.branch.updated",
schema: {
branch: optional(Schema.String),
},
})
export const Definitions = Event.inventory(BranchUpdated)