import { Component , OnInit , Injector } from '@angular/core' ; import { PartitionBaseControllerDirective } from '../PartitionBase' ; import { DataService } from 'src/app/services/data.service' ; import { PartitionTimelineGenerator } from 'src/app/Models/eventstore/timelineGenerators' ; import { IEventStoreData } from 'src/app/modules/event-store/event-store/event-store.component' ; @ Component ( { selector : 'app-events' , templateUrl : './events.component.html' , styleUrls : [ './events.component.scss' ] } ) export class EventsComponent extends PartitionBaseControllerDirective { listEventStoreData : IEventStoreData < any , any > [ ] ; constructor ( protected data , injector ) { super ( data , injector ) ; } setup ( ) { this . listEventStoreData = [ this . data . getPartitionEventData ( this . partitionId ) ] ; } }