Amagi API 文档 - v5.6.3
    正在准备搜索索引...

    变量 BilibiliValidationSchemas常量

    BilibiliValidationSchemas: {
        "单个视频作品数据": ZodType<
            { methodType: "单个视频作品数据"; bvid: string },
            unknown,
            $ZodTypeInternals<{ methodType: "单个视频作品数据"; bvid: string }, unknown>,
        >;
        "单个视频下载信息数据": ZodType<
            { methodType: "单个视频下载信息数据"; avid: number; cid: number },
            unknown,
            $ZodTypeInternals<
                { methodType: "单个视频下载信息数据"; avid: number; cid: number },
                unknown,
            >,
        >;
        "评论数据": ZodType<
            {
                methodType: "评论数据";
                type: number;
                oid: string;
                number?: number;
                mode?: 0
                | 1
                | 2
                | 3;
                pagination_str?: string;
                plat?: number;
                seek_rpid?: string;
                web_location?: string;
            },
            unknown,
            $ZodTypeInternals<
                {
                    methodType: "评论数据";
                    type: number;
                    oid: string;
                    number?: number;
                    mode?: 0
                    | 1
                    | 2
                    | 3;
                    pagination_str?: string;
                    plat?: number;
                    seek_rpid?: string;
                    web_location?: string;
                },
                unknown,
            >,
        >;
        "用户主页数据": ZodType<
            { methodType: "用户主页数据"
            | "用户主页动态列表数据"
            | "获取UP主总播放量"; host_mid: number },
            unknown,
            $ZodTypeInternals<
                {
                    methodType: "用户主页数据"
                    | "用户主页动态列表数据"
                    | "获取UP主总播放量";
                    host_mid: number;
                },
                unknown,
            >,
        >;
        "用户主页动态列表数据": ZodType<
            { methodType: "用户主页数据"
            | "用户主页动态列表数据"
            | "获取UP主总播放量"; host_mid: number },
            unknown,
            $ZodTypeInternals<
                {
                    methodType: "用户主页数据"
                    | "用户主页动态列表数据"
                    | "获取UP主总播放量";
                    host_mid: number;
                },
                unknown,
            >,
        >;
        "Emoji数据": ZodType<
            { methodType: "Emoji数据" },
            unknown,
            $ZodTypeInternals<{ methodType: "Emoji数据" }, unknown>,
        >;
        "番剧基本信息数据": ZodType<
            { methodType: "番剧基本信息数据"; season_id?: string; ep_id?: string },
            unknown,
            $ZodTypeInternals<
                { methodType: "番剧基本信息数据"; season_id?: string; ep_id?: string },
                unknown,
            >,
        >;
        "番剧下载信息数据": ZodType<
            { methodType: "番剧下载信息数据"; cid: number; ep_id: string },
            unknown,
            $ZodTypeInternals<
                { methodType: "番剧下载信息数据"; cid: number; ep_id: string },
                unknown,
            >,
        >;
        "动态详情数据": ZodType<
            { methodType: "动态详情数据"
            | "动态卡片数据"; dynamic_id: string },
            unknown,
            $ZodTypeInternals<
                { methodType: "动态详情数据"
                | "动态卡片数据"; dynamic_id: string },
                unknown,
            >,
        >;
        "动态卡片数据": ZodType<
            { methodType: "动态详情数据"
            | "动态卡片数据"; dynamic_id: string },
            unknown,
            $ZodTypeInternals<
                { methodType: "动态详情数据"
                | "动态卡片数据"; dynamic_id: string },
                unknown,
            >,
        >;
        "直播间信息": ZodType<
            { methodType: "直播间信息"
            | "直播间初始化信息"; room_id: string },
            unknown,
            $ZodTypeInternals<
                { methodType: "直播间信息"
                | "直播间初始化信息"; room_id: string },
                unknown,
            >,
        >;
        "直播间初始化信息": ZodType<
            { methodType: "直播间信息"
            | "直播间初始化信息"; room_id: string },
            unknown,
            $ZodTypeInternals<
                { methodType: "直播间信息"
                | "直播间初始化信息"; room_id: string },
                unknown,
            >,
        >;
        "登录基本信息": ZodType<
            { methodType: "登录基本信息" },
            unknown,
            $ZodTypeInternals<{ methodType: "登录基本信息" }, unknown>,
        >;
        "申请二维码": ZodType<
            { methodType: "申请二维码" },
            unknown,
            $ZodTypeInternals<{ methodType: "申请二维码" }, unknown>,
        >;
        "二维码状态": ZodType<
            { methodType: "二维码状态"; qrcode_key: string },
            unknown,
            $ZodTypeInternals<{ methodType: "二维码状态"; qrcode_key: string }, unknown>,
        >;
        "获取UP主总播放量": ZodType<
            { methodType: "用户主页数据"
            | "用户主页动态列表数据"
            | "获取UP主总播放量"; host_mid: number },
            unknown,
            $ZodTypeInternals<
                {
                    methodType: "用户主页数据"
                    | "用户主页动态列表数据"
                    | "获取UP主总播放量";
                    host_mid: number;
                },
                unknown,
            >,
        >;
        "AV转BV": ZodType<
            { methodType: "AV转BV"; avid: number },
            unknown,
            $ZodTypeInternals<{ methodType: "AV转BV"; avid: number }, unknown>,
        >;
        "BV转AV": ZodType<
            { methodType: "BV转AV"; bvid: string },
            unknown,
            $ZodTypeInternals<{ methodType: "BV转AV"; bvid: string }, unknown>,
        >;
    } = ...

    类型声明

    • 只读单个视频作品数据: ZodType<
          { methodType: "单个视频作品数据"; bvid: string },
          unknown,
          $ZodTypeInternals<{ methodType: "单个视频作品数据"; bvid: string }, unknown>,
      >
    • 只读单个视频下载信息数据: ZodType<
          { methodType: "单个视频下载信息数据"; avid: number; cid: number },
          unknown,
          $ZodTypeInternals<
              { methodType: "单个视频下载信息数据"; avid: number; cid: number },
              unknown,
          >,
      >
    • 只读评论数据: ZodType<
          {
              methodType: "评论数据";
              type: number;
              oid: string;
              number?: number;
              mode?: 0
              | 1
              | 2
              | 3;
              pagination_str?: string;
              plat?: number;
              seek_rpid?: string;
              web_location?: string;
          },
          unknown,
          $ZodTypeInternals<
              {
                  methodType: "评论数据";
                  type: number;
                  oid: string;
                  number?: number;
                  mode?: 0
                  | 1
                  | 2
                  | 3;
                  pagination_str?: string;
                  plat?: number;
                  seek_rpid?: string;
                  web_location?: string;
              },
              unknown,
          >,
      >
    • 只读用户主页数据: ZodType<
          { methodType: "用户主页数据"
          | "用户主页动态列表数据"
          | "获取UP主总播放量"; host_mid: number },
          unknown,
          $ZodTypeInternals<
              { methodType: "用户主页数据"
              | "用户主页动态列表数据"
              | "获取UP主总播放量"; host_mid: number },
              unknown,
          >,
      >
    • 只读用户主页动态列表数据: ZodType<
          { methodType: "用户主页数据"
          | "用户主页动态列表数据"
          | "获取UP主总播放量"; host_mid: number },
          unknown,
          $ZodTypeInternals<
              { methodType: "用户主页数据"
              | "用户主页动态列表数据"
              | "获取UP主总播放量"; host_mid: number },
              unknown,
          >,
      >
    • 只读Emoji数据: ZodType<
          { methodType: "Emoji数据" },
          unknown,
          $ZodTypeInternals<{ methodType: "Emoji数据" }, unknown>,
      >
    • 只读番剧基本信息数据: ZodType<
          { methodType: "番剧基本信息数据"; season_id?: string; ep_id?: string },
          unknown,
          $ZodTypeInternals<
              { methodType: "番剧基本信息数据"; season_id?: string; ep_id?: string },
              unknown,
          >,
      >
    • 只读番剧下载信息数据: ZodType<
          { methodType: "番剧下载信息数据"; cid: number; ep_id: string },
          unknown,
          $ZodTypeInternals<
              { methodType: "番剧下载信息数据"; cid: number; ep_id: string },
              unknown,
          >,
      >
    • 只读动态详情数据: ZodType<
          { methodType: "动态详情数据"
          | "动态卡片数据"; dynamic_id: string },
          unknown,
          $ZodTypeInternals<
              { methodType: "动态详情数据"
              | "动态卡片数据"; dynamic_id: string },
              unknown,
          >,
      >
    • 只读动态卡片数据: ZodType<
          { methodType: "动态详情数据"
          | "动态卡片数据"; dynamic_id: string },
          unknown,
          $ZodTypeInternals<
              { methodType: "动态详情数据"
              | "动态卡片数据"; dynamic_id: string },
              unknown,
          >,
      >
    • 只读直播间信息: ZodType<
          { methodType: "直播间信息"
          | "直播间初始化信息"; room_id: string },
          unknown,
          $ZodTypeInternals<
              { methodType: "直播间信息"
              | "直播间初始化信息"; room_id: string },
              unknown,
          >,
      >
    • 只读直播间初始化信息: ZodType<
          { methodType: "直播间信息"
          | "直播间初始化信息"; room_id: string },
          unknown,
          $ZodTypeInternals<
              { methodType: "直播间信息"
              | "直播间初始化信息"; room_id: string },
              unknown,
          >,
      >
    • 只读登录基本信息: ZodType<
          { methodType: "登录基本信息" },
          unknown,
          $ZodTypeInternals<{ methodType: "登录基本信息" }, unknown>,
      >
    • 只读申请二维码: ZodType<
          { methodType: "申请二维码" },
          unknown,
          $ZodTypeInternals<{ methodType: "申请二维码" }, unknown>,
      >
    • 只读二维码状态: ZodType<
          { methodType: "二维码状态"; qrcode_key: string },
          unknown,
          $ZodTypeInternals<{ methodType: "二维码状态"; qrcode_key: string }, unknown>,
      >
    • 只读获取UP主总播放量: ZodType<
          { methodType: "用户主页数据"
          | "用户主页动态列表数据"
          | "获取UP主总播放量"; host_mid: number },
          unknown,
          $ZodTypeInternals<
              { methodType: "用户主页数据"
              | "用户主页动态列表数据"
              | "获取UP主总播放量"; host_mid: number },
              unknown,
          >,
      >
    • 只读AV转BV: ZodType<
          { methodType: "AV转BV"; avid: number },
          unknown,
          $ZodTypeInternals<{ methodType: "AV转BV"; avid: number }, unknown>,
      >
    • 只读BV转AV: ZodType<
          { methodType: "BV转AV"; bvid: string },
          unknown,
          $ZodTypeInternals<{ methodType: "BV转AV"; bvid: string }, unknown>,
      >