@globalfishingwatch/api-types
Advanced tools
Comparing version 2.0.4 to 2.1.0
# @globalfishingwatch/api-types | ||
## 2.1.0 | ||
### Minor Changes | ||
- e37d269: include app in workspaces and dataviews | ||
## 2.0.4 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Dataset } from '.'; | ||
import { ApiAppName, Dataset } from '.'; | ||
export interface DataviewConfig<T = any> { | ||
@@ -18,6 +18,8 @@ type?: T; | ||
} | ||
export interface DataviewCreation { | ||
export interface DataviewCreation<T = any> { | ||
name: string; | ||
app: ApiAppName; | ||
description: string; | ||
config?: DataviewConfig; | ||
config?: DataviewConfig<T>; | ||
datasetsConfig?: DataviewDatasetConfig[]; | ||
} | ||
@@ -34,2 +36,3 @@ export interface DataviewInfoConfigField { | ||
name: string; | ||
app: ApiAppName; | ||
description: string; | ||
@@ -36,0 +39,0 @@ createdAt?: string; |
import { AOI, Dataview, DataviewInstance } from '.'; | ||
export declare type ApiAppName = 'fishing-map' | 'marine-reserves'; | ||
export interface Workspace<T = unknown> { | ||
id: string; | ||
name: string; | ||
app: ApiAppName; | ||
description: string; | ||
@@ -6,0 +8,0 @@ aoi?: AOI; |
{ | ||
"name": "@globalfishingwatch/api-types", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "Typescript definitions for API responses", | ||
@@ -30,3 +30,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
}, | ||
"gitHead": "4ce755ac8c658cb5991704665302bb616d289ac8" | ||
"gitHead": "10cd9d4a70ec63d65b1742476c5fd4524650f8b6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14237
204