chore: generate
This commit is contained in:
@@ -310,7 +310,10 @@ export const TuiRoutes = lazy(() =>
|
|||||||
}),
|
}),
|
||||||
validator("json", zodObject(TuiEvent.ToastShow.properties)),
|
validator("json", zodObject(TuiEvent.ToastShow.properties)),
|
||||||
async (c) => {
|
async (c) => {
|
||||||
await Bus.publish(TuiEvent.ToastShow, c.req.valid("json") as Schema.Schema.Type<typeof TuiEvent.ToastShow.properties>)
|
await Bus.publish(
|
||||||
|
TuiEvent.ToastShow,
|
||||||
|
c.req.valid("json") as Schema.Schema.Type<typeof TuiEvent.ToastShow.properties>,
|
||||||
|
)
|
||||||
return c.json(true)
|
return c.json(true)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6804,7 +6804,6 @@
|
|||||||
},
|
},
|
||||||
"duration": {
|
"duration": {
|
||||||
"description": "Duration in milliseconds",
|
"description": "Duration in milliseconds",
|
||||||
"default": 5000,
|
|
||||||
"type": "number"
|
"type": "number"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -7638,20 +7637,8 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"event": {
|
"event": {
|
||||||
"anyOf": [
|
"type": "string",
|
||||||
{
|
"enum": ["add", "change", "unlink"]
|
||||||
"type": "string",
|
|
||||||
"const": "add"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"const": "change"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"const": "unlink"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["file", "event"]
|
"required": ["file", "event"]
|
||||||
@@ -8507,7 +8494,6 @@
|
|||||||
},
|
},
|
||||||
"duration": {
|
"duration": {
|
||||||
"description": "Duration in milliseconds",
|
"description": "Duration in milliseconds",
|
||||||
"default": 5000,
|
|
||||||
"type": "number"
|
"type": "number"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user