mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2786] AOT support for search filter widgets (#3224)
* AOT support for search filter widgets * json schema for search settings
This commit is contained in:
committed by
Eugenio Romano
parent
40b4fc7d66
commit
b580efb7f6
@@ -476,6 +476,88 @@
|
||||
"allowComments": { "type": "boolean" },
|
||||
"allowDownload": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"description": "Search configuration parameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"limits": {
|
||||
"description": "The limits element limits the time and resources used for query execution. Limits applied to the query go to the database.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"permissionEvaluationTime": { "type": "integer" },
|
||||
"permissionEvaluationCount": { "type": "integer" }
|
||||
}
|
||||
},
|
||||
"filterQueries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [ "query" ],
|
||||
"properties": {
|
||||
"query": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"facetFields": {
|
||||
"type": "object",
|
||||
"required": [ "facets" ],
|
||||
"properties": {
|
||||
"facets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [ "field", "mincount", "label" ],
|
||||
"properties": {
|
||||
"field": { "type": "string" },
|
||||
"mincount": { "type": "integer" },
|
||||
"label": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"facetQueries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [ "query", "label" ],
|
||||
"properties": {
|
||||
"query": { "type": "string" },
|
||||
"label": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"query": {
|
||||
"type": "object",
|
||||
"required": [ "categories" ],
|
||||
"properties": {
|
||||
"categories": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [ "id", "name" ],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"name": { "type": "string" },
|
||||
"enabled": { "type": "boolean" },
|
||||
"expanded": { "type": "boolean" },
|
||||
"component": {
|
||||
"type": "object",
|
||||
"required": [ "selector", "settings" ],
|
||||
"properties": {
|
||||
"selector": { "type": "string" },
|
||||
"settings": { "type": "object" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user