mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 10:45:33 -04:00
15 lines
344 B
TypeScript
15 lines
344 B
TypeScript
export * as VcsEvent from "./vcs-event.js"
|
|
|
|
import { Schema } from "effect"
|
|
import { optional } from "./schema.js"
|
|
import { Event } from "./event.js"
|
|
|
|
export const BranchUpdated = Event.ephemeral({
|
|
type: "vcs.branch.updated",
|
|
schema: {
|
|
branch: optional(Schema.String),
|
|
},
|
|
})
|
|
|
|
export const Definitions = Event.inventory(BranchUpdated)
|