refactor(schema): tighten public contracts (#33771)
This commit is contained in:
parent
5682371d0a
commit
9e9d405d7e
49 changed files with 759 additions and 897 deletions
|
|
@ -9,9 +9,11 @@ export const Info = Schema.Struct({
|
|||
status: Schema.String.annotate({
|
||||
description: "Current status of the task: pending, in_progress, completed, cancelled",
|
||||
}),
|
||||
priority: Schema.String.annotate({ description: "Priority level of the task: high, medium, low" }),
|
||||
priority: Schema.String.annotate({
|
||||
description: "Priority level of the task: high, medium, low",
|
||||
}),
|
||||
}).annotate({ identifier: "Todo" })
|
||||
export type Info = typeof Info.Type
|
||||
export interface Info extends Schema.Schema.Type<typeof Info> {}
|
||||
|
||||
const Updated = define({
|
||||
type: "todo.updated",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue