vcs-event.ts 332 B

1234567891011121314
  1. export * as VcsEvent from "./vcs-event"
  2. import { Schema } from "effect"
  3. import { optional } from "./schema"
  4. import { Event } from "./event"
  5. export const BranchUpdated = Event.define({
  6. type: "vcs.branch.updated",
  7. schema: {
  8. branch: optional(Schema.String),
  9. },
  10. })
  11. export const Definitions = Event.inventory(BranchUpdated)