Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #303 - Fix compiled build #304

Merged
merged 1 commit into from
Apr 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10,499 changes: 3,525 additions & 6,974 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hook-form": "^6.15.4",
"react-jss": "^10.5.1",
"react-jss": "~10.5.1",
"react-scripts": "^4.0.3",
"uuid": "^8.3.2"
},
"scripts": {
"api-models:generate": "rm -rf src/api/$npm_config_outputFolder; mkdir -p src/api; cp -R $npm_config_inputFolder/model src/api/$npm_config_outputFolder; rm -rf $npm_config_inputFolder; cd src/api/$npm_config_outputFolder; mv models.ts index.ts; prettier --write .",
"api-models:generate": "rm -rf src/components/api/$npm_config_outputFolder; mkdir -p src/components/api; cp -R $npm_config_inputFolder/model src/components/api/$npm_config_outputFolder; rm -rf $npm_config_inputFolder; cd src/components/api/$npm_config_outputFolder; mv models.ts index.ts; prettier --write .",
"api-models:global": "npm run api-models:generate --inputFolder=globalApi --outputFolder=global",
"codegen": "node codegen.js",
"start": "npm run storybook",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FilterOption } from 'api'
import { FilterOption } from '../../../api'
import { FiltersListItem } from '../../types'
import { SelectOptionsConfig } from '../../../Select'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Filters/FilterUnit/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FilterOption } from 'api'
import { FilterOption } from '../../api'
import { IconButton } from '../../IconButton'
import { useFiltersContext } from '../FiltersContext'
import { useFilterUnitStyles } from '../styles'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Filters/fixtures/0_sample_data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FiltersConfig } from '../types'
import { FilterOptions, FilterValues } from 'api'
import { FilterOptions, FilterValues } from '../../api'

export const mockDynamicFilterOptions: FilterValues = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/Filters/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AxiosInstance, Emitter } from '@dassana-io/web-utils'
import { FilterOption, Filters } from 'api'
import { FilterOption, Filters } from '../api'
import { MultiSelectProps, SelectOption } from '../Select'

export interface FiltersListItem {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Filters/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// import { handleAjaxErrors } from '@dassana-io/web-utils'
import { SelectOption } from '../Select'
import xor from 'lodash/xor'
import { FilterOptions, Filters, FilterValues } from 'api'
import { FilterOptions, Filters, FilterValues } from '../api'
import { FiltersList, ProcessedFilters, SelectedValsFilters } from './types'
// import { FilterSuggestions } from 'api'

Expand Down
File renamed without changes.