mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-26 12:33:36 +00:00
14 lines
332 B
TypeScript
14 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)
|