opencode / packages /schema /src /filesystem-watcher.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
89a2873 verified
Raw
History Blame Contribute Delete
361 Bytes
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) }