refactor: move collection data structures and utility functions to hopp/data

This commit is contained in:
Andrew Bastin
2022-01-20 23:55:23 +05:30
parent 6b0494ddba
commit 5043606701
17 changed files with 156 additions and 124 deletions

View File

@@ -8,6 +8,8 @@ import { pipe } from "fp-ts/function"
import {
safelyExtractRESTRequest,
translateToNewRequest,
translateToNewRESTCollection,
translateToNewGQLCollection,
} from "@hoppscotch/data"
import { cloneDeep } from "lodash"
import {
@@ -31,8 +33,6 @@ import {
graphqlCollectionStore,
setGraphqlCollections,
setRESTCollections,
translateToNewRESTCollection,
translateToNewGQLCollection,
} from "./collections"
import {
replaceEnvironments,