import { Type } from '@angular/core'; import { AbstractRepository } from '../../repository/abstract-repository'; import { PropertyKeyConfiguration } from '../../common/decorator/property-key-configuration'; export interface SubCollectionContext { resourceType: () => Type; params?: (model: any, query?: any) => any; repository?: () => Type>; groups?: string | string[]; } /** * @ignore */ export interface SubCollectionContextConfiguration extends SubCollectionContext, PropertyKeyConfiguration { }