19 lines
480 B
TypeScript
19 lines
480 B
TypeScript
|
export declare type HostBannerInfoMode = "original" | "resize-ratio" | "resize";
|
||
|
export declare type HostBannerInfoSet = {
|
||
|
mode: HostBannerInfoMode;
|
||
|
linkUrl: string | undefined;
|
||
|
imageUrl: string;
|
||
|
updateInterval: number;
|
||
|
};
|
||
|
export declare type HostBannerInfo = {
|
||
|
status: "none";
|
||
|
} | ({
|
||
|
status: "set";
|
||
|
} & HostBannerInfoSet);
|
||
|
export interface HostBannerUiEvents {
|
||
|
query_host_banner: {};
|
||
|
notify_host_banner: {
|
||
|
banner: HostBannerInfo;
|
||
|
};
|
||
|
}
|