refactor(schema): declare event durability at definition level (#35172)
This commit is contained in:
parent
bd8d858bf7
commit
de476aa51b
53 changed files with 700 additions and 1165 deletions
|
|
@ -1,14 +1,14 @@
|
|||
export * as Agent from "./agent.js"
|
||||
|
||||
import { Schema } from "effect"
|
||||
import { define, inventory } from "./event.js"
|
||||
import { ephemeral, inventory } from "./event.js"
|
||||
import { optional } from "./schema.js"
|
||||
import { Model } from "./model.js"
|
||||
import { Permission } from "./permission.js"
|
||||
import { Provider } from "./provider.js"
|
||||
import { PositiveInt, statics } from "./schema.js"
|
||||
|
||||
const Updated = define({ type: "agent.updated", schema: {} })
|
||||
const Updated = ephemeral({ type: "agent.updated", schema: {} })
|
||||
|
||||
export const ID = Schema.String.pipe(Schema.brand("AgentV2.ID"))
|
||||
export type ID = typeof ID.Type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue