For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/validation/index.md.
  • 简体中文
  • validation

    Functions

    FunctionDescription
    issueRootNotObjectvalidation/index.ts — 平台结构校验诊断
    issueConstMismatchvalidation/index.ts — 平台结构校验诊断
    issueInvalidTypevalidation/index.ts — 平台结构校验诊断
    issueInvalidItemvalidation/index.ts — 平台结构校验诊断
    formatShapeIssuevalidation/index.ts — 平台结构校验诊断
    failShapeValidationvalidation/index.ts — 平台结构校验诊断
    validateUiScreen校验单个页面;成功值与输入共享引用,不进行序列化或字段裁剪。
    validateUiFeature校验 feature 入口文件。
    compileUiProject编译 feature 与页面集合,执行跨文件、动作、跳转和 service 语义检查。 成功后返回以页面 id 建索引的不可变工程视图。

    Interfaces

    InterfaceDescription
    UiValidationIssue-
    UiProjectInputfeature 与其引用页面组成的待编译工程。screens 以 feature 中的 file 为键。

    Type Aliases

    Type AliasDescription
    ExpectedLabel期望形状中文标签联合类型。
    ShapeIssueKind结构形状问题种类。 新增种类时必须同时扩展 formatShapeIssue。
    ShapeIssue单条机器可读的结构校验问题。
    FormatShapeIssueOptions格式化选项:域名主语。
    UiValidationIssueCode可供编辑器精确定位并高亮的校验问题。
    UiValidationResult-

    Variables

    VariableDescription
    Expected期望形状的规范中文标签(禁止各校验器自造同义词)。