refactor(schema): extract public event definitions (#33579)

This commit is contained in:
Kit Langton
2026-06-24 22:43:17 +02:00
committed by GitHub
parent 0d755aeb8f
commit d359001a2b
93 changed files with 2740 additions and 2124 deletions
+4
View File
@@ -1,8 +1,12 @@
export * as Reference from "./reference"
import { Schema } from "effect"
import { define, inventory } from "./event"
import { AbsolutePath } from "./schema"
const Updated = define({ type: "reference.updated", schema: {} })
export const Event = { Updated, Definitions: inventory(Updated) }
export interface LocalSource extends Schema.Schema.Type<typeof LocalSource> {}
export const LocalSource = Schema.Struct({
type: Schema.Literal("local"),