English
Types
@altasystem/sdk exports the TypeScript type of every standard, so your editor completes and checks the files you build in code. Import them as types: they add nothing to your bundle.
| You write | Types | Standard |
|---|---|---|
| A quest file | QuestFragment, QuestDef, Step, Check, Reset, Text | Quests |
| A step that does it | Input, InputKind, RunSpec, ArgValue, HumanReason, ExecutorInfo | Executors, Check types |
| An onboarding guide | Onboarding, OnbStep, Beat | Onboarding |
| Cinematics | Cinematics, Cutscene | Cinematics |
| A universe | UniversePack | Universe |
| A chart of the store | Chart, ChartSource, Catalog | Agent Chart |
| Where a step runs | Support, OS | Support |
| Results of the SDK | Result, Problem, ProblemContext, RuleInfo, Kind | validate, explain |
ts
import type { QuestFragment, Step } from "@altasystem/sdk";Every type, with its fields and comments, is in the core API (advanced, generated from the code). The field tables of each standard say the same in an author's words.