refactor: merge branch 'main' into refactor/monorepo
This commit is contained in:
12
packages/hoppscotch-app/helpers/lenses/jsonLens.ts
Normal file
12
packages/hoppscotch-app/helpers/lenses/jsonLens.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { isJSONContentType } from "../utils/contenttypes"
|
||||
import { Lens } from "./lenses"
|
||||
|
||||
const jsonLens: Lens = {
|
||||
lensName: "response.json",
|
||||
isSupportedContentType: isJSONContentType,
|
||||
renderer: "json",
|
||||
rendererImport: () =>
|
||||
import("~/components/lenses/renderers/JSONLensRenderer.vue"),
|
||||
}
|
||||
|
||||
export default jsonLens
|
||||
Reference in New Issue
Block a user