New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@globalfishingwatch/api-types

Package Overview
Dependencies
Maintainers
3
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globalfishingwatch/api-types - npm Package Compare versions

Comparing version 2.17.0 to 3.0.0

6

CHANGELOG.md
# @globalfishingwatch/api-types
## 3.0.0
### Major Changes
- d2501b54: move fishing-map logic into dataview-client
## 2.17.0

@@ -4,0 +10,0 @@

2

dist/index.js

@@ -1,2 +0,2 @@

var e,n,r,t,i,s,o,a,c;!function(e){e.Tracks="carriers-tracks",e.Vessel="carriers-vessel",e.VesselList="carriers-list-vessels",e.VesselSearch="carriers-search-vessels",e.VesselAdvancedSearch="carriers-advanced-search-vessels",e.FourwingsTiles="4wings-tiles",e.FourwingsLegend="4wings-legend",e.FourwingsInteraction="4wings-interaction",e.UserContextTiles="user-context-tiles"}(e||(e={})),function(e){e.Vessels="carriers-vessels:v1",e.Events="carriers-events:v1",e.Ports="carriers-ports:v1",e.Tracks="carriers-tracks:v1",e.Fourwings="4wings:v1",e.Context="user-context-layer:v1",e.Download="data-download:v1"}(n||(n={})),function(e){e.Done="done",e.Importing="importing",e.Error="error"}(r||(r={})),function(e){e.Context="context",e.Environment="environment"}(t||(t={})),function(e){e.Context="context",e.Events="events",e.Environment="environment",e.Activity="activity"}(i||(i={})),function(e){e.Encounter="encounter",e.Fishing="fishing",e.Gap="gap",e.Port="port",e.Loitering="loitering"}(s||(s={})),function(e){e.Carrier="carrier",e.Fishing="fishing"}(o||(o={})),function(e){e.Authorized="authorized",e.Partially="partially",e.Unmatched="unmatched"}(a||(a={})),function(e){e.NotStarted="not-started",e.Generating="generating",e.Done="done",e.Failed="failed"}(c||(c={}));export{a as AuthorizationOptions,t as DatasetCategory,r as DatasetStatus,n as DatasetTypes,i as DataviewCategory,e as EndpointId,s as EventTypes,o as EventVesselTypeEnum,c as ReportStatus};
var e,n,r,i,t,s,o,a,c,l;!function(e){e.Tracks="carriers-tracks",e.Vessel="carriers-vessel",e.VesselList="carriers-list-vessels",e.VesselSearch="carriers-search-vessels",e.VesselAdvancedSearch="carriers-advanced-search-vessels",e.FourwingsTiles="4wings-tiles",e.FourwingsLegend="4wings-legend",e.FourwingsInteraction="4wings-interaction",e.UserContextTiles="user-context-tiles"}(e||(e={})),function(e){e.Vessels="carriers-vessels:v1",e.Events="carriers-events:v1",e.Ports="carriers-ports:v1",e.Tracks="carriers-tracks:v1",e.Fourwings="4wings:v1",e.Context="user-context-layer:v1",e.Download="data-download:v1"}(n||(n={})),function(e){e.Done="done",e.Importing="importing",e.Error="error"}(r||(r={})),function(e){e.Context="context",e.Environment="environment"}(i||(i={})),function(e){e.Context="context",e.Events="events",e.Environment="environment",e.Activity="activity"}(t||(t={})),function(e){e.Encounter="encounter",e.Fishing="fishing",e.Gap="gap",e.Port="port",e.Loitering="loitering"}(s||(s={})),function(e){e.Carrier="carrier",e.Fishing="fishing"}(o||(o={})),function(e){e.Authorized="authorized",e.Partially="partially",e.Unmatched="unmatched"}(a||(a={})),function(e){e.NotStarted="not-started",e.Generating="generating",e.Done="done",e.Failed="failed"}(c||(c={})),function(e){e.Idle="idle",e.Aborted="aborted",e.Loading="loading",e.Finished="finished",e.Error="error"}(l||(l={}));export{a as AuthorizationOptions,i as DatasetCategory,r as DatasetStatus,n as DatasetTypes,t as DataviewCategory,e as EndpointId,s as EventTypes,o as EventVesselTypeEnum,c as ReportStatus,l as ResourceStatus};
//# sourceMappingURL=index.js.map

@@ -0,13 +1,25 @@

import { Segment } from '@globalfishingwatch/data-transforms';
import { DatasetTypes } from './datasets';
import { DataviewDatasetConfig } from '.';
export declare type ResourceResponseType = 'default' | 'text' | 'json' | 'blob' | 'arrayBuffer' | 'vessel';
export declare type ResourceRequestType = 'json' | 'formData';
export declare type TrackResourceData = Segment[];
export declare enum ResourceStatus {
Idle = "idle",
Aborted = "aborted",
Loading = "loading",
Finished = "finished",
Error = "error"
}
export interface Resource<T = unknown> {
dataviewId: number | string;
datasetId: string;
type?: string;
datasetParamId: string;
resolvedUrl: string;
datasetId?: string;
datasetType: DatasetTypes;
datasetConfig: DataviewDatasetConfig;
url: string;
responseType?: ResourceResponseType;
requestType?: ResourceRequestType;
status?: ResourceStatus;
data?: T;
}
//# sourceMappingURL=resources.d.ts.map
{
"name": "@globalfishingwatch/api-types",
"version": "2.17.0",
"version": "3.0.0",
"description": "Typescript definitions for API responses",

@@ -43,3 +43,6 @@ "author": "satellitestudio <contact@satellitestud.io>",

},
"gitHead": "c6906e62dfc75949178f7874489beaf0126ab7d1"
"peerDependencies": {
"@globalfishingwatch/data-transforms": "1.1.1"
},
"gitHead": "4e082fcaa815e8568c24068b2909b625154e908b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc