UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

13 lines 799 B
import type { Version as VersionModels } from '../models/index.js'; import type { DeepPartialByKey } from '../types.js'; import type { Publishing } from './publishing.js'; import type { Settings } from './settings.js'; export * from './publishing.js'; export * from './settings.js'; 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