mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
feat: add onlyOnType field for SCFacet
This commit is contained in:
committed by
Karl-Philipp Wulfert
parent
8a5251c2e6
commit
fba63db137
@@ -13,6 +13,7 @@
|
|||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
import {SCThingsField} from '../../meta';
|
import {SCThingsField} from '../../meta';
|
||||||
|
import {SCThingType} from '../../things/abstract/thing';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A search facet
|
* A search facet
|
||||||
@@ -27,6 +28,11 @@ export interface SCFacet {
|
|||||||
* Field of the aggregation
|
* Field of the aggregation
|
||||||
*/
|
*/
|
||||||
field: SCThingsField;
|
field: SCThingsField;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Type of the aggregation
|
||||||
|
*/
|
||||||
|
onlyOnType?: SCThingType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user