UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

13 lines 775 B
import type { Version as VersionModels } from '../models'; import type { DeepPartialByKey } from '../types'; import type { Publishing } from './publishing'; import type { Settings } from './settings'; export * from './publishing'; export * from './settings'; export interface PlatformData<Prompt = unknown> extends VersionModels.PlatformData<Settings<Prompt>, Publishing> { } export interface Version<Prompt = unknown, Prototype extends VersionModels.Prototype = VersionModels.Prototype> extends VersionModels.Model<PlatformData<Prompt>> { prototype?: Prototype; } export declare const defaultPlatformData: <Prompt>({ slots, intents, settings, publishing, }: DeepPartialByKey<PlatformData<Prompt>, 'settings'>) => PlatformData<Prompt>; //# sourceMappingURL=index.d.ts.map