@globalfishingwatch/api-types
Advanced tools
Comparing version 2.5.1 to 2.6.0
# @globalfishingwatch/api-types | ||
## 2.6.0 | ||
### Minor Changes | ||
- af016529: aoi id and dataset schema types | ||
## 2.5.1 | ||
@@ -4,0 +10,0 @@ |
import type { GeoJSON } from 'geojson'; | ||
export interface AOI { | ||
id: number; | ||
id: string; | ||
name: string; | ||
@@ -5,0 +5,0 @@ area: number; |
@@ -38,2 +38,10 @@ export interface UploadResponse { | ||
}; | ||
export declare type DatasetSchema = { | ||
type: 'number' | 'string'; | ||
maxLength: number; | ||
minLength: number; | ||
enum: string[]; | ||
minimum: number; | ||
maximum: number; | ||
}; | ||
export interface Dataset { | ||
@@ -45,2 +53,3 @@ id: string; | ||
description: string; | ||
schema?: Record<string, DatasetSchema>; | ||
category?: string; | ||
@@ -47,0 +56,0 @@ subcategory?: string; |
@@ -6,2 +6,3 @@ import { ApiAppName, Dataset } from '.'; | ||
visible?: boolean; | ||
filters?: Record<string, any>; | ||
[key: string]: any; | ||
@@ -8,0 +9,0 @@ } |
{ | ||
"name": "@globalfishingwatch/api-types", | ||
"version": "2.5.1", | ||
"version": "2.6.0", | ||
"description": "Typescript definitions for API responses", | ||
@@ -30,3 +30,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
}, | ||
"gitHead": "686338fb894907611bf586c0d962493c4c8514bb" | ||
"gitHead": "07f289745b1a08602bc2aee0e21970c64b31adec" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15877
224