@globalfishingwatch/api-types
Advanced tools
Comparing version 3.0.0 to 3.1.0
# @globalfishingwatch/api-types | ||
## 3.1.0 | ||
### Minor Changes | ||
- df1cb0cc: support category typing in workspace definition | ||
## 3.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -8,3 +8,3 @@ import { AOI, Dataview, DataviewInstance } from '.'; | ||
} | ||
export interface Workspace<T = unknown> { | ||
export interface Workspace<State = unknown, Category = string> { | ||
id: string; | ||
@@ -14,3 +14,3 @@ name: string; | ||
description: string; | ||
category?: string; | ||
category?: Category; | ||
public?: boolean; | ||
@@ -21,3 +21,3 @@ aoi?: AOI; | ||
endAt: string; | ||
state?: T; | ||
state?: State; | ||
dataviews?: Partial<Dataview>[]; | ||
@@ -24,0 +24,0 @@ dataviewInstances: DataviewInstance[]; |
{ | ||
"name": "@globalfishingwatch/api-types", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Typescript definitions for API responses", | ||
@@ -46,3 +46,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
}, | ||
"gitHead": "4e082fcaa815e8568c24068b2909b625154e908b" | ||
"gitHead": "de85f7074a2dad686c7f87d211de2ebc7d6c8b8b" | ||
} |
Sorry, the diff of this file is not supported yet
29993