File size: 361 Bytes
89a2873 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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) }
|