Skip to content

five-on-it / packages/missions/src/schema / App

Variable: App ​

const App: ZodObject<{ id: ZodString; name: ZodString; screens: ZodArray<ZodObject<{ buttons: ZodDefault<ZodArray<ZodObject<{ do: ZodOptional<ZodArray<...>>; failText: ZodOptional<ZodString>; go: ZodOptional<ZodString>; id: ZodString; if: ZodOptional<ZodType<..., ..., ...>>; text: ZodString; }, $strict>>>; form: ZodDefault<ZodArray<ZodObject<{ id: ZodString; kind: ZodDefault<ZodEnum<...>>; label: ZodString; length: ZodOptional<ZodNumber>; }, $strict>>>; id: ZodString; text: ZodString; title: ZodOptional<ZodString>; }, $strict>>; }, $strict>

Defined in: packages/missions/src/schema.ts:1477

An app (GAME_DESIGN §7.5): screens of short text with buttons and short forms, the first one shown when it opens. Installed on the phone (installApp), or on a terminal in the world. The game only checks: "hacking" is choices, timers and items, never code.