feat(build): migrate from Prettier to Oxfmt for performant code formatting (#42434)

This commit is contained in:
Đỗ Trọng Hải
2026-08-04 00:27:05 +07:00
committed by GitHub
parent 10f7927603
commit e4ef84ca72
2328 changed files with 90728 additions and 32682 deletions

View File

@@ -1 +1,165 @@
{"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"result":{"items":{"properties":{"always_filter_main_dttm":{"type":"boolean"},"cache_timeout":{"type":"integer"},"column_formats":{"type":"object"},"column_names":{"items":{"type":"string"},"type":"array"},"column_types":{"items":{"type":"integer"},"type":"array"},"columns":{"items":{"type":"object"},"type":"array"},"currency_code_column":{"type":"string"},"database":{"properties":{"allow_multi_catalog":{"type":"boolean"},"allows_cost_estimate":{"type":"boolean"},"allows_subquery":{"type":"boolean"},"allows_virtual_table_explore":{"type":"boolean"},"backend":{"type":"string"},"disable_data_preview":{"type":"boolean"},"disable_drill_to_detail":{"type":"boolean"},"explore_database_id":{"type":"integer"},"id":{"type":"integer"},"name":{"type":"string"}},"type":"object","title":"Database"},"datasource_name":{"type":"string"},"default_endpoint":{"type":"string"},"edit_url":{"type":"string"},"fetch_values_predicate":{"type":"string"},"filter_select":{"type":"boolean"},"filter_select_enabled":{"type":"boolean"},"granularity_sqla":{"items":{"items":{"type":"string"},"type":"array"},"type":"array"},"health_check_message":{"type":"string"},"id":{"type":"integer"},"is_sqllab_view":{"type":"boolean"},"main_dttm_col":{"type":"string"},"metrics":{"items":{"type":"object"},"type":"array"},"name":{"type":"string"},"normalize_columns":{"type":"boolean"},"offset":{"type":"integer"},"order_by_choices":{"items":{"items":{"type":"string"},"type":"array"},"type":"array"},"owners":{"items":{"type":"object"},"type":"array"},"params":{"type":"string"},"perm":{"type":"string"},"schema":{"type":"string"},"select_star":{"type":"string"},"sql":{"type":"string"},"table_name":{"type":"string"},"template_params":{"type":"string"},"time_grain_sqla":{"items":{"items":{"type":"string"},"type":"array"},"type":"array"},"type":{"type":"string"},"uid":{"type":"string"},"verbose_map":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object","title":"DashboardDatasetSchema"},"type":"array"}},"type":"object"},"example":{"result":[{}]}}},"description":"Dashboard dataset definitions"},"400":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"Bad request: Invalid parameters provided"}}},"description":"Bad request"},"401":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"Unauthorized: Authentication required"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"Forbidden: You don't have permission to access this resource"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"},"example":{"message":"Not found: The requested resource does not exist"}}},"description":"Not found"}}}
{
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"result": {
"items": {
"properties": {
"always_filter_main_dttm": { "type": "boolean" },
"cache_timeout": { "type": "integer" },
"column_formats": { "type": "object" },
"column_names": {
"items": { "type": "string" },
"type": "array"
},
"column_types": {
"items": { "type": "integer" },
"type": "array"
},
"columns": {
"items": { "type": "object" },
"type": "array"
},
"currency_code_column": { "type": "string" },
"database": {
"properties": {
"allow_multi_catalog": { "type": "boolean" },
"allows_cost_estimate": { "type": "boolean" },
"allows_subquery": { "type": "boolean" },
"allows_virtual_table_explore": { "type": "boolean" },
"backend": { "type": "string" },
"disable_data_preview": { "type": "boolean" },
"disable_drill_to_detail": { "type": "boolean" },
"explore_database_id": { "type": "integer" },
"id": { "type": "integer" },
"name": { "type": "string" }
},
"type": "object",
"title": "Database"
},
"datasource_name": { "type": "string" },
"default_endpoint": { "type": "string" },
"edit_url": { "type": "string" },
"fetch_values_predicate": { "type": "string" },
"filter_select": { "type": "boolean" },
"filter_select_enabled": { "type": "boolean" },
"granularity_sqla": {
"items": {
"items": { "type": "string" },
"type": "array"
},
"type": "array"
},
"health_check_message": { "type": "string" },
"id": { "type": "integer" },
"is_sqllab_view": { "type": "boolean" },
"main_dttm_col": { "type": "string" },
"metrics": {
"items": { "type": "object" },
"type": "array"
},
"name": { "type": "string" },
"normalize_columns": { "type": "boolean" },
"offset": { "type": "integer" },
"order_by_choices": {
"items": {
"items": { "type": "string" },
"type": "array"
},
"type": "array"
},
"owners": {
"items": { "type": "object" },
"type": "array"
},
"params": { "type": "string" },
"perm": { "type": "string" },
"schema": { "type": "string" },
"select_star": { "type": "string" },
"sql": { "type": "string" },
"table_name": { "type": "string" },
"template_params": { "type": "string" },
"time_grain_sqla": {
"items": {
"items": { "type": "string" },
"type": "array"
},
"type": "array"
},
"type": { "type": "string" },
"uid": { "type": "string" },
"verbose_map": {
"additionalProperties": { "type": "string" },
"type": "object"
}
},
"type": "object",
"title": "DashboardDatasetSchema"
},
"type": "array"
}
},
"type": "object"
},
"example": { "result": [{}] }
}
},
"description": "Dashboard dataset definitions"
},
"400": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": { "message": "Bad request: Invalid parameters provided" }
}
},
"description": "Bad request"
},
"401": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": { "message": "Unauthorized: Authentication required" }
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": {
"message": "Forbidden: You don't have permission to access this resource"
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": {
"message": "Not found: The requested resource does not exist"
}
}
},
"description": "Not found"
}
}
}