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/module-loader/type-aliases/ManifestV3PublicApi.md.
  • 简体中文
  • Type Alias: ManifestV3PublicApi

    type ManifestV3PublicApi = {
      symbol: string;
      description?: string;
      params?: {
         name: string;
         type: string;
         required?: boolean;
         description?: string;
      }[];
      returns?: {
         type: string;
         description?: string;
      };
    };

    Defined in: module-loader/manifest-schema.ts:56

    模块对外 API 单条声明。

    Properties

    PropertyTypeDescriptionDefined in
    symbolstringsymbol 名(短名如 "spend",或带命名空间如 "Player.spend")。module-loader/manifest-schema.ts:58
    description?string用途描述(短句)。module-loader/manifest-schema.ts:60
    params?{ name: string; type: string; required?: boolean; description?: string; }[]参数签名(仅文档性质,不强制运行时校验)。module-loader/manifest-schema.ts:62
    returns?{ type: string; description?: string; }返回值类型描述。module-loader/manifest-schema.ts:69
    returns.typestring-module-loader/manifest-schema.ts:69
    returns.description?string-module-loader/manifest-schema.ts:69