Skip to content

@advjs/monorepo / @advjs/core / FormattedOutput

Type Alias: FormattedOutput ​

FormattedOutput = { character: string; status?: string; text: string; type: "dialog"; } | { text: string; type: "narration"; } | { options: object[]; text: string; type: "choices"; } | { place?: string; text: string; time?: string; type: "scene"; } | { text: string; type: "text"; } | { text: string; type: "end"; }

Defined in: packages/core/src/engine/types.ts:22

Formatted output types for CLI display