Skip to content

Commit

Permalink
Temporarily use local build of pivotql parser until PR approval
Browse files Browse the repository at this point in the history
  • Loading branch information
mabhub committed Aug 3, 2023
1 parent 634f28d commit e429d8f
Show file tree
Hide file tree
Showing 6 changed files with 1,310 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/serviceWorker.js
src/utils/pivotql/*
3 changes: 2 additions & 1 deletion src/modules/RA/DataLayer/components/SourceFilterField.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import debounce from 'lodash.debounce';

import searchService from '@terralego/core/modules/Visualizer/services/search';

import parser from 'pivotql-parser-expression';
// import parser from 'pivotql-parser-expression';
import compilerEs from 'pivotql-compiler-elasticsearch';

import TextField from '@material-ui/core/TextField';
Expand All @@ -26,6 +26,7 @@ import ListIcon from '@material-ui/icons/FormatListBulleted';

import FieldOption from './tabs/FieldOption';
import useSourceData from './useSourceData';
import parser from '../../../../utils/pivotql';


const SourceFilterField = props => {
Expand Down
8 changes: 8 additions & 0 deletions src/utils/pivotql/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/utils/pivotql/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/utils/pivotql/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
Loading

0 comments on commit e429d8f

Please sign in to comment.