@globalfishingwatch/api-types
Advanced tools
Comparing version 2.4.1 to 2.4.2
# @globalfishingwatch/api-types | ||
## 2.4.2 | ||
### Patch Changes | ||
- 2d0cdffa: include ownerId in workspace | ||
## 2.4.1 | ||
@@ -4,0 +10,0 @@ |
import { AOI, Dataview, DataviewInstance } from '.'; | ||
export declare type ApiAppName = 'fishing-map' | 'marine-reserves'; | ||
export interface WorkspaceViewport { | ||
zoom: number; | ||
latitude: number; | ||
longitude: number; | ||
} | ||
export interface Workspace<T = unknown> { | ||
@@ -9,7 +14,3 @@ id: string; | ||
aoi?: AOI; | ||
viewport: { | ||
zoom: number; | ||
latitude: number; | ||
longitude: number; | ||
}; | ||
viewport: WorkspaceViewport; | ||
startAt: string; | ||
@@ -20,2 +21,3 @@ endAt: string; | ||
dataviewInstances: DataviewInstance[]; | ||
ownerId: number; | ||
} | ||
@@ -22,0 +24,0 @@ export interface WorkspaceUpsert<T = any> extends Partial<Omit<Workspace<T>, 'aoi' | 'dataviews'>> { |
{ | ||
"name": "@globalfishingwatch/api-types", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Typescript definitions for API responses", | ||
@@ -30,3 +30,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
}, | ||
"gitHead": "b11cd47829672b546c925d4e0ae2c44efa63bd63" | ||
"gitHead": "3851a7cf78cfb674b4d5aa991244eb84d23db35c" | ||
} |
Sorry, the diff of this file is not supported yet
14969
212