Skip to content

Commit

Permalink
add types for processors
Browse files Browse the repository at this point in the history
Signed-off-by: Daria Terekhova <daria.terekhova@actionengine.com>
  • Loading branch information
dariaterekhova-actionengine committed Apr 21, 2022
1 parent 7ada98a commit 325706a
Show file tree
Hide file tree
Showing 10 changed files with 163 additions and 219 deletions.
2 changes: 1 addition & 1 deletion src/actions/vis-state-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// vis-state-reducer
import ActionTypes from 'constants/action-types';
import {AddDataToMapPayload} from '../actions/actions';
import {FileCacheItem} from '../processors/file-handler';
import {FileCacheItem} from '../processors/types';
import {Layer, LayerBaseConfig, LayerVisConfig} from 'layers';
import {Feature, InteractionConfig} from 'reducers/vis-state-updaters';
import {ValueOf, Merge, RGBColor} from '../reducers/types';
Expand Down
4 changes: 2 additions & 2 deletions src/components/geocoder-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import Processors from 'processors';
import {processRowObject} from 'processors';
import {FlyToInterpolator} from '@deck.gl/core';
import KeplerGlSchema from 'schemas';
import {getCenterAndZoomFromBounds} from 'utils/projection-utils';
Expand Down Expand Up @@ -76,7 +76,7 @@ const StyledGeocoderPanel = styled.div`

function generateGeocoderDataset(lat, lon, text) {
return {
data: Processors.processRowObject([
data: processRowObject([
{
lt: lat,
ln: lon,
Expand Down
56 changes: 0 additions & 56 deletions src/processors/data-processor.d.ts

This file was deleted.

0 comments on commit 325706a

Please sign in to comment.