For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/contracts/type-aliases/UiStateDefinition.md.
  • English
  • Type Alias: UiStateDefinition

    type UiStateDefinition = 
      | {
      type: "string";
      default?: string;
      minLength?: number;
      maxLength?: number;
    }
      | {
      type: "number";
      default?: number;
      min?: number;
      max?: number;
      step?: number;
    }
      | {
      type: "boolean";
      default?: boolean;
    };

    Defined in: contracts/ui-document.ts:54

    每玩家、每会话、每页面隔离的输入状态声明。