Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Apr 23, 2024
1 parent f39e7a5 commit 705c4db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
18 changes: 11 additions & 7 deletions apps/fishing-map/features/datasets/datasets.mock.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
import { Dataset } from '@globalfishingwatch/api-types'
import {
Dataset,
DatasetCategory,
DatasetStatus,
DatasetTypes,
} from '@globalfishingwatch/api-types'

export const datasets: Dataset[] = [
{
alias: ['public-global-all-tracks:latest'],
id: 'public-global-all-tracks:v20231026',
name: 'Tracks',
type: 'tracks:v1',
type: DatasetTypes.Tracks,
description: 'The dataset contains the tracks from all vessels (AIS) - Version 20231026',
startDate: '2012-01-01T00:00:00.000Z',
endDate: '2024-01-14T00:00:00.000Z',
unit: 'NA',
status: 'done',
importLogs: null,
category: 'vessel',
status: DatasetStatus.Done,
category: DatasetCategory.Vessel,
subcategory: 'track',
source: 'Global Fishing Watch - AIS',
ownerId: 0,
Expand Down Expand Up @@ -54,7 +58,7 @@ export const datasets: Dataset[] = [
disableInteraction: false,
apiSupportedVersions: ['v2', 'v3'],
propertyToIncludeRange: null,
},
} as any,
relatedDatasets: [],
schema: {
lat: {
Expand Down Expand Up @@ -204,7 +208,7 @@ export const datasets: Dataset[] = [
},
],
},
],
] as any,
},
]

Expand Down
1 change: 1 addition & 0 deletions libs/api-types/src/datasets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export type DatasetSchemaItemEnum = (string | number | boolean)[]
export type DatasetSchemaItem = {
type: DatasetSchemaType
enum?: DatasetSchemaItemEnum
format?: string
maxLength?: number
minLength?: number
min?: number
Expand Down

0 comments on commit 705c4db

Please sign in to comment.