owncast/web/interfaces/external-action.ts
Philipp a290770ac9
Allow embedding HTML for external actions (#2693)
* Admin UI: implement HTML embeds

* Admin UI External Actions: set correct useHTML on edits

* Admin UI: edit by index, not URL

* External Actions: render HTML on stream frontend

* Don't open embeds externally

* Remove TODO comment

* Add HTML as unique action key

* Admin UI: Actions: use CodeMirror editor, dropdown
2023-02-14 09:08:54 -08:00

9 lines
173 B
TypeScript

export interface ExternalAction {
title: string;
description?: string;
color?: string;
url?: string;
html?: string;
icon?: string;
openExternally?: boolean;
}