Skip to content

Commit

Permalink
Type updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Oct 1, 2020
1 parent 30aad87 commit 832ddd4
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import { executeEsQueryFactory, getShapesFilters, OTHER_CATEGORY } from './es_qu
import { AlertServices, AlertTypeState } from '../../../../alerts/server';
import { ActionGroupId, GEO_THRESHOLD_ID } from './alert_type';
import { Logger } from '../../types';
import { ID } from '../index_threshold/alert_type';

interface LatestEntityLocation {
location: number[] | null;
location: number[];
shapeLocationId: string;
entityName: string;
dateInShape: string | null;
Expand Down Expand Up @@ -74,13 +73,13 @@ export function transformResults(
interface EntityMovementDescriptor {
entityName: string;
currLocation: {
location: number[] | null;
location: number[];
shapeId: string;
date: string | null;
docId: string;
};
prevLocation: {
location: number[] | null;
location: number[];
shapeId: string;
date: string | null;
docId: string;
Expand Down Expand Up @@ -108,7 +107,7 @@ export function getMovedEntities(
entityName: string;
shapeLocationId: string;
dateInShape: string | null;
location: number[] | null;
location: number[];
docId: string;
}
) => {
Expand Down

0 comments on commit 832ddd4

Please sign in to comment.