refactor: move rawKeyValue and templating to hopp/data + rewrite rawKeyValue parsing
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Environment } from "@hoppscotch/data"
|
||||
import { cloneDeep } from "lodash"
|
||||
import isEqual from "lodash/isEqual"
|
||||
import { combineLatest, Observable } from "rxjs"
|
||||
@@ -6,14 +7,6 @@ import DispatchingStore, {
|
||||
defineDispatchers,
|
||||
} from "~/newstore/DispatchingStore"
|
||||
|
||||
export type Environment = {
|
||||
name: string
|
||||
variables: {
|
||||
key: string
|
||||
value: string
|
||||
}[]
|
||||
}
|
||||
|
||||
const defaultEnvironmentsState = {
|
||||
environments: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user