typicalcrimes
Version:
104 lines (103 loc) • 2.97 kB
TypeScript
export interface Agency {
agency_name: string;
agency_type_name: string;
county_name: string;
division_name: string;
latitude: number;
longitude: number;
nibrs: boolean;
nibrs_start_date: string | null;
ori: string;
region_desc: string;
region_name: string;
state_abbr: string;
state_name: string;
}
export declare type AgencyType = 'default' | 'ori' | 'state';
export interface FBIMostWantedQueryParams {
age_min?: number;
age_max?: number;
eyes?: string;
field_offices?: string;
hair?: string;
height_min?: number;
height_max?: number;
pageSize?: number;
page?: number;
person_classification?: 'main' | 'victim' | 'accomplice';
reward_min?: number;
reward_max?: number;
race?: string;
sex?: 'male' | 'female';
sort_on?: 'modified' | 'publication';
sort_order?: 'desc' | 'asc';
status?: 'captured' | 'deceased' | 'located' | 'na' | 'recovered' | 'surrendered';
title?: string;
weight_min?: number;
weight_max?: number;
}
export interface FBIMostWantedItemObject {
'@id': string;
additional_information: null | any;
age_min: null | number;
age_max: null | number;
age_range: null | any;
aliases: null | string[];
build: null | any;
caution: null | string;
complexion: null | any;
coordinates: any[];
dates_of_birth_used: null | string[];
details: null | any;
description: string;
eyes: null | string;
eyes_raw: null | string;
field_offices: null | string[];
files: FBIMostWantedItemObjectFileItem[];
hair: null | string;
hair_raw: null | string;
height_min: null | number;
height_max: null | number;
images: FBIMostWantedItemObjectImageItem[];
languages: null | any;
legat_names: null | null | any;
locations: null | string;
modified: string;
nationality: null | string;
ncic: null | any;
occupations: null | string[];
path: string;
person_classification: string;
place_of_birth: null | string;
possible_countries: null | any;
possible_states: null | any;
publication: string;
race: null | string;
race_raw: null | string;
remarks: null | string;
reward_min: number;
reward_max: number;
reward_text: null | any;
scars_and_marks: null | string;
subjects: string[];
sex: null | 'Male' | 'Female';
status: 'na' | string;
suspects: null | any;
title: string;
uid: string;
url: string;
warning_message: null | any;
weight: null | string;
weight_min: null | number;
weight_max: null | number;
}
export interface FBIMostWantedItemObjectFileItem {
url?: string;
name?: string;
}
export interface FBIMostWantedItemObjectImageItem {
large: string;
caption: null | string;
original: string;
thumb: string;
}