Remove fire-dom-event from action struct (#19390)

This commit is contained in:
karwosts 2024-01-15 06:34:19 -08:00 committed by GitHub
parent 61eaa07b25
commit 5a91f613ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,10 +58,6 @@ const actionConfigStructAssist = type({
start_listening: optional(boolean()),
});
const actionConfigStructCustom = type({
action: literal("fire-dom-event"),
});
export const actionConfigStructType = object({
action: enums([
"none",
@ -81,9 +77,6 @@ export const actionConfigStruct = dynamic<any>((value) => {
case "call-service": {
return actionConfigStructService;
}
case "fire-dom-event": {
return actionConfigStructCustom;
}
case "navigate": {
return actionConfigStructNavigate;
}