mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-19 13:23:29 +00:00
13 lines
361 B
TypeScript
13 lines
361 B
TypeScript
export * as FileSystemWatcher from "./filesystem-watcher"
|
|
|
|
import { Schema } from "effect"
|
|
import { define, inventory } from "./event"
|
|
|
|
const Updated = define({
|
|
type: "file.watcher.updated",
|
|
schema: {
|
|
file: Schema.String,
|
|
event: Schema.Literals(["add", "change", "unlink"]),
|
|
},
|
|
})
|
|
export const Event = { Updated, Definitions: inventory(Updated) }
|