mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-25 04:35:37 -04:00
15 lines
332 B
TypeScript
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)
|