UNPKG

@botonic/plugin-flow-builder

Version:

Use Flow Builder to show your contents

14 lines (13 loc) 701 B
import { ActionRequest } from '@botonic/react'; import { HtMediaFileLocale, HtNodeLink, HtQueueLocale, HtTextLocale, HtVideoLocale } from './hubtype-fields'; export declare abstract class ContentFieldsBase { readonly id: string; code: string; followUp?: HtNodeLink; constructor(id: string); abstract trackFlow(request: ActionRequest): Promise<void>; static getTextByLocale(locale: string, text: HtTextLocale[]): string; static getAssetByLocale(locale: string, asset: HtMediaFileLocale[]): string; static getVideoByLocale(locale: string, video: HtVideoLocale[]): string; static getQueueByLocale(locale: string, queues: HtQueueLocale[]): HtQueueLocale | undefined; }