This commit is contained in:
Daniel Ponte 2024-12-29 16:38:23 -05:00
parent e6bc4632a6
commit a680354b83
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,16 @@
import { CallRecord } from "./calls";
export interface IncidentCall extends CallRecord {
notes: Object|null;
}
export interface IncidentRecord {
id: string;
name: string;
description: string|null;
startTime: Date | null;
endTime: Date | null;
location: Object|null;
metadata: Object|null;
calls: IncidentCall[]|null;
}

View file

@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { IncidentsService } from './incidents.service';
describe('IncidentsService', () => {
let service: IncidentsService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(IncidentsService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});

View file

@ -0,0 +1,9 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class IncidentsService {
constructor() { }
}