11 lines
286 B
TypeScript
11 lines
286 B
TypeScript
export * as FileSystemV1 from "./filesystem.js"
|
|
|
|
import { Schema } from "effect"
|
|
import { ephemeral, inventory } from "../event.js"
|
|
|
|
const Edited = ephemeral({
|
|
type: "file.edited",
|
|
schema: { file: Schema.String },
|
|
})
|
|
|
|
export const Event = { Edited, Definitions: inventory(Edited) }
|