installation-event.ts 448 B

1234567891011121314151617181920
  1. export * as InstallationEvent from "./installation-event"
  2. import { Schema } from "effect"
  3. import { Event } from "./event"
  4. export const Updated = Event.define({
  5. type: "installation.updated",
  6. schema: {
  7. version: Schema.String,
  8. },
  9. })
  10. export const UpdateAvailable = Event.define({
  11. type: "installation.update-available",
  12. schema: {
  13. version: Schema.String,
  14. },
  15. })
  16. export const Definitions = Event.inventory(Updated, UpdateAvailable)