UNPKG

@voiceflow/voiceflow-types

Version:

Voiceflow 'voiceflow' project types

20 lines 1.02 kB
import type { DeepPartialByKey } from '@voiceflow/base-types'; import { ChatVersion } from '@voiceflow/chat-types'; import type { BasePrototype } from '../base'; import type { ChatPublishing } from './publishing'; import type { ChatSettings, SharedChatSettings } from './settings'; export * from './publishing'; export * from './settings'; export interface SharedChatPlatformData extends ChatVersion.PlatformData { settings: SharedChatSettings; publishing: ChatPublishing; } export interface ChatPlatformData extends SharedChatPlatformData { settings: ChatSettings; } export interface ChatVersion extends ChatVersion.Version<BasePrototype> { platformData: ChatPlatformData; } export declare const defaultSharedChatPlatformData: ({ settings, ...data }: DeepPartialByKey<SharedChatPlatformData, 'settings'>) => SharedChatPlatformData; export declare const defaultChatPlatformData: ({ settings, ...data }: DeepPartialByKey<ChatPlatformData, 'settings'>) => ChatPlatformData; //# sourceMappingURL=index.d.ts.map