"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/hoppscotch-app/helpers/lenses/jsonLens.ts" between
hoppscotch-2.2.1.tar.gz and hoppscotch-3.0.0.tar.gz

About: Hoppscotch is a light-weight, web based API development suite.

jsonLens.ts  (hoppscotch-2.2.1):jsonLens.ts  (hoppscotch-3.0.0)
import { defineAsyncComponent } from "vue"
import { isJSONContentType } from "../utils/contenttypes" import { isJSONContentType } from "../utils/contenttypes"
import { Lens } from "./lenses" import { Lens } from "./lenses"
const jsonLens: Lens = { const jsonLens: Lens = {
lensName: "response.json", lensName: "response.json",
isSupportedContentType: isJSONContentType, isSupportedContentType: isJSONContentType,
renderer: "json", renderer: "json",
rendererImport: () => rendererImport: defineAsyncComponent(
import("~/components/lenses/renderers/JSONLensRenderer.vue"), () => import("~/components/lenses/renderers/JSONLensRenderer.vue")
),
} }
export default jsonLens export default jsonLens
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)