Custom channel emoticons WIP (#130)

This commit is contained in:
John Livingston
2024-05-28 17:56:24 +02:00
parent 6713192719
commit dad29a941f
15 changed files with 341 additions and 31 deletions

View File

@ -42,6 +42,7 @@ interface InitConverseJSParams {
buttonLabel: string
url: string
}>
customEmojisUrl?: string | null
}
interface InitConverseJSParamsError {
@ -150,6 +151,16 @@ type ExternalAuthResult = ExternalAuthResultError | ExternalAuthResultOk
type ExternalAuthOIDCType = 'custom' | 'google' | 'facebook'
interface CustomEmojiDefinition {
sn: string
url: string
isCategoryEmoji?: boolean
}
interface ChannelEmojis {
customEmojis: CustomEmojiDefinition[]
}
export type {
ConverseJSTheme,
InitConverseJSParams,
@ -165,5 +176,7 @@ export type {
ExternalAuthResultError,
ExternalAuthResultOk,
ExternalAuthResult,
ExternalAuthOIDCType
ExternalAuthOIDCType,
CustomEmojiDefinition,
ChannelEmojis
}