File tree Expand file tree Collapse file tree 7 files changed +9
-15
lines changed Expand file tree Collapse file tree 7 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 35
35
"@kepler.gl/constants" : " 3.1.0-alpha.2" ,
36
36
"@kepler.gl/layers" : " 3.1.0-alpha.2" ,
37
37
"@kepler.gl/processors" : " 3.1.0-alpha.2" ,
38
+ "@kepler.gl/table" : " 3.1.0-alpha.2" ,
38
39
"@kepler.gl/types" : " 3.1.0-alpha.2" ,
39
40
"@kepler.gl/utils" : " 3.1.0-alpha.2" ,
40
41
"@reduxjs/toolkit" : " ^1.7.2" ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import {PickInfo} from '@deck.gl/core/lib/deck';
6
6
import { default as ActionTypes } from './action-types' ;
7
7
import { FileCacheItem } from '@kepler.gl/processors' ;
8
8
import { Layer , LayerBaseConfig } from '@kepler.gl/layers' ;
9
+ import { KeplerTable } from '@kepler.gl/table' ;
9
10
import {
10
11
AddDataToMapPayload ,
11
12
ValueOf ,
@@ -25,7 +26,6 @@ import {
25
26
} from '@kepler.gl/types' ;
26
27
import { createAction } from '@reduxjs/toolkit' ;
27
28
28
- import type { KeplerTableModel } from '@kepler.gl/utils' ;
29
29
// TODO - import LoaderObject type from @loaders.gl/core when supported
30
30
// TODO - import LoadOptions type from @loaders.gl/core when supported
31
31
@@ -1598,7 +1598,7 @@ export function setTimeFilterSyncTimelineMode({
1598
1598
}
1599
1599
1600
1600
export type CreateNewDatasetSuccessPayload = {
1601
- results : ( PromiseFulfilledResult < KeplerTableModel < any , any > > | PromiseRejectedResult ) [ ] ;
1601
+ results : ( PromiseFulfilledResult < KeplerTable > | PromiseRejectedResult ) [ ] ;
1602
1602
addToMapOptions : AddDataToMapPayload [ 'options' ] ;
1603
1603
} ;
1604
1604
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export function highlightRows(
98
98
99
99
export function getDatasetContext ( datasets : Datasets , layers : Layer [ ] ) {
100
100
const context = 'Please remember the following dataset context:' ;
101
- const dataMeta = ( Object . values ( datasets ) as KeplerTable [ ] ) . map ( dataset => ( {
101
+ const dataMeta = Object . values ( datasets ) . map ( dataset => ( {
102
102
datasetName : dataset . label ,
103
103
datasetId : dataset . id ,
104
104
fields : dataset . fields . map ( field => ( { [ field . name ] : field . type } ) ) ,
Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ function ColumnStatsChartFactory(
439
439
440
440
return (
441
441
< ColumnStatsChart
442
- colorBreaks = { colorBreaks || [ ] }
442
+ colorBreaks = { colorBreaks }
443
443
field = { field }
444
444
dataset = { dataset }
445
445
onChangedUpdater = { onChangedUpdater }
Original file line number Diff line number Diff line change 62
62
},
63
63
"packageManager" :
" [email protected] " ,
64
64
"devDependencies" : {
65
- "@types/d3-time" : " ^3 "
65
+ "@types/d3-time" : " ^2 "
66
66
}
67
67
}
Original file line number Diff line number Diff line change @@ -2174,8 +2174,7 @@ export const createNewDatasetSuccessUpdater = (
2174
2174
) : VisState => {
2175
2175
// console.log('createNewDatasetSuccessUpdater', action.payload);
2176
2176
const { results, addToMapOptions} = action . payload ;
2177
- // @ts -expect-error fix KeplerTableModel differences
2178
- const newDataEntries : Datasets = results . reduce ( ( accu , result ) => {
2177
+ const newDataEntries = results . reduce ( ( accu , result ) => {
2179
2178
if ( result . status === 'fulfilled' ) {
2180
2179
const dataset = result . value ;
2181
2180
return { ...accu , [ dataset . id ] : dataset } ;
Original file line number Diff line number Diff line change @@ -3161,6 +3161,7 @@ __metadata:
3161
3161
"@kepler.gl/constants": "npm:3.1.0-alpha.2"
3162
3162
"@kepler.gl/layers": "npm:3.1.0-alpha.2"
3163
3163
"@kepler.gl/processors": "npm:3.1.0-alpha.2"
3164
+ "@kepler.gl/table": "npm:3.1.0-alpha.2"
3164
3165
"@kepler.gl/types": "npm:3.1.0-alpha.2"
3165
3166
"@kepler.gl/utils": "npm:3.1.0-alpha.2"
3166
3167
"@reduxjs/toolkit": "npm:^1.7.2"
@@ -3328,7 +3329,7 @@ __metadata:
3328
3329
"@dnd-kit/modifiers": "npm:^6.0.1"
3329
3330
"@kepler.gl/types": "npm:3.1.0-alpha.2"
3330
3331
"@types/d3-scale": "npm:^3.2.2"
3331
- "@types/d3-time": "npm:^3 "
3332
+ "@types/d3-time": "npm:^2 "
3332
3333
"@types/keymirror": "npm:^0.1.1"
3333
3334
chroma-js: "npm:2.1.2"
3334
3335
colorbrewer: "npm:^1.5.0"
@@ -9398,13 +9399,6 @@ __metadata:
9398
9399
languageName: node
9399
9400
linkType: hard
9400
9401
9401
- "@types/d3-time@npm:^3":
9402
- version: 3.0.4
9403
- resolution: "@types/d3-time@npm:3.0.4"
9404
- checksum: 10c0/6d9e2255d63f7a313a543113920c612e957d70da4fb0890931da6c2459010291b8b1f95e149a538500c1c99e7e6c89ffcce5554dd29a31ff134a38ea94b6d174
9405
- languageName: node
9406
- linkType: hard
9407
-
9408
9402
"@types/detect-indent@npm:0.1.30":
9409
9403
version: 0.1.30
9410
9404
resolution: "@types/detect-indent@npm:0.1.30"
You can’t perform that action at this time.
0 commit comments