@globalfishingwatch/api-types
Advanced tools
Comparing version 2.6.0 to 2.6.1
# @globalfishingwatch/api-types | ||
## 2.6.1 | ||
### Patch Changes | ||
- 761a331c: added requestType to the fetch api | ||
## 2.6.0 | ||
@@ -4,0 +10,0 @@ |
export declare type ResourceResponseType = 'default' | 'text' | 'json' | 'blob' | 'arrayBuffer' | 'vessel'; | ||
export declare type ResourceRequestType = 'json' | 'formData'; | ||
export interface Resource<T = unknown> { | ||
@@ -9,4 +10,5 @@ dataviewId: number | string; | ||
responseType?: ResourceResponseType; | ||
requestType?: ResourceRequestType; | ||
data?: T; | ||
} | ||
//# sourceMappingURL=resources.d.ts.map |
{ | ||
"name": "@globalfishingwatch/api-types", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "Typescript definitions for API responses", | ||
@@ -30,3 +30,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
}, | ||
"gitHead": "07f289745b1a08602bc2aee0e21970c64b31adec" | ||
"gitHead": "4f866455a99d23cd70a75e2733f26e608698902e" | ||
} |
Sorry, the diff of this file is not supported yet
16133
226