Bricks Schema 中文文档:查询控件

📄 原始资料 (已截断)  |  展开查看原始 JSON(query.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://controls/query”, “schemaVersion”: “2.3”, “title”: “Query Control”, “description”: “Query settings extracted from ControlQuery.vue and PopupQueryApi.vue”, “controlProperties…

📄 原始资料 (已截断)  |  展开查看原始 JSON(query.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/query",
  "schemaVersion": "2.3",
  "title": "Query Control",
  "description": "Query settings extracted from ControlQuery.vue and PopupQueryApi.vue",
  "controlProperties": [
    "type",
    "label",
    "tab",
    "inline",
    "hasRequired"
  ],
  "type": "object",
  "properties": {
    "NOTE": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      ]
    },
    "ajax_loader_animation": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      ]
    },
    "ajax_loader_color": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      ]
    },
    "ajax_loader_scale": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      ]
    },
    "ajax_loader_selector": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      ]
    },
    "ajax_loader_separator": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      ]
    },
    "api_auth_api_key_name": {
      "oneOf": [
        {
          "type": [
            "string",
            "number",
            "integer",
            "boolean",
            "null"
          ]
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": [
                  "string",
                  "number",
                  "integer",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array"
              }
   

... (内容过长已截断,完整 JSON 见原始文件)

前言

从 ControlQuery.vue 和 PopupQueryApi.vue 提取的查询设置。

基本信息

  • 英文名称Query Control
  • 中文名称:查询控件
  • Schema IDbricks://controls/query
  • Schema 版本2.3
  • 类型object

属性

  • NOTE
  • ajax_loader_animation
  • ajax_loader_color
  • ajax_loader_scale
  • ajax_loader_selector
  • ajax_loader_separator
  • api_auth_api_key_name
  • api_auth_api_key_use_constant
  • api_auth_api_key_use_constant_info
  • api_auth_api_key_value
  • api_auth_api_location
  • api_auth_basic_password
  • api_auth_basic_use_constant
  • api_auth_basic_use_constant_info
  • api_auth_basic_username
  • api_auth_bearer_token
  • api_auth_bearer_use_constant
  • api_auth_bearer_use_constant_info
  • api_auth_sep
  • api_auth_type
  • api_body_json
  • api_body_params
  • api_body_type
  • api_docs
  • api_headers
  • api_method
  • api_name
  • api_params
  • api_params_sep
  • api_sep
  • api_url
  • arrayEditor
  • array_conditions
  • body_separator
  • builderQueryMaxResults
  • cache_time
  • cartCrossSells
  • child_of
  • childless
  • crossSells
  • current_post_author
  • current_post_term
  • disable_query_merge
  • disable_update_post_meta_cache
  • disable_update_post_term_cache
  • disable_url_params
  • exclude_current_post
  • featured
  • headers_separator
  • hideOutOfStock
  • id
  • ignore_sticky_posts
  • infinite_scroll
  • infinite_scroll_delay
  • infinite_scroll_margin
  • infinite_scroll_separator
  • is_archive_main_query
  • is_live_search
  • is_live_search_info
  • is_live_search_separator
  • is_live_search_wrapper_selector
  • items_per_page
  • meta_key
  • meta_query
  • meta_query_relation
  • meta_query_separator
  • no_found_rows
  • no_results_separator
  • no_results_template
  • no_results_text
  • number
  • objectType
  • offset
  • onSale
  • order
  • orderby
  • pagination_enabled
  • pagination_method
  • pagination_page_offset_key
  • pagination_page_offset_key_location
  • pagination_page_param
  • pagination_param_location
  • pagination_separator
  • pagination_total_extract
  • parent
  • performanceInfo
  • performanceSeparator
  • post__in
  • post__not_in
  • post_mime_type
  • post_parent
  • post_type
  • posts_per_page
  • queryEditor
  • query_api_button
  • query_api_error
  • query_api_table
  • query_filters_separator
  • randomSeedTtl
  • relatedProducts
  • response_path
  • response_separator
  • role__in
  • show_empty
  • tax_query
  • tax_query_advanced
  • tax_query_not
  • tax_query_relation
  • tax_query_separator
  • taxonomy
  • upSells
  • useQueryEditor
  • wooControlsSeparator

补充说明

更多细节可参考 Bricks 官方 Academy 文档