Loading src/protocol/search/facet.ts +6 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * this program. If not, see <https://www.gnu.org/licenses/>. */ import {SCThingsField} from '../../meta'; import {SCThingType} from '../../things/abstract/thing'; /** * A search facet Loading @@ -27,6 +28,11 @@ export interface SCFacet { * Field of the aggregation */ field: SCThingsField; /** * Type of the aggregation */ onlyOnType?: SCThingType; } /** Loading Loading
src/protocol/search/facet.ts +6 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * this program. If not, see <https://www.gnu.org/licenses/>. */ import {SCThingsField} from '../../meta'; import {SCThingType} from '../../things/abstract/thing'; /** * A search facet Loading @@ -27,6 +28,11 @@ export interface SCFacet { * Field of the aggregation */ field: SCThingsField; /** * Type of the aggregation */ onlyOnType?: SCThingType; } /** Loading