import { Observable } from 'rxjs'; import { DSpaceObject } from '../../core/shared/dspace-object.model'; /** * Class used to collect all the data that that is used by the {@link ObjectSelectComponent} in the HTML. */ export class DSpaceObjectSelect { /** * The {@link DSpaceObject} to display */ dso: T; /** * Whether the {@link DSpaceObject} can be selected */ canSelect$: Observable; /** * Whether the {@link DSpaceObject} is selected */ selected$: Observable; /** * The {@link DSpaceObject}'s route */ route: string; }