"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/hoppscotch-app/helpers/import-export/export/index.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.

index.ts  (hoppscotch-2.2.1):index.ts  (hoppscotch-3.0.0)
import * as TE from "fp-ts/TaskEither" import * as TE from "fp-ts/TaskEither"
import { HoppRESTRequest, HoppCollection } from "@hoppscotch/data" import { HoppRESTRequest, HoppCollection } from "@hoppscotch/data"
export type HoppExporter<T> = (content: T) => TE.TaskEither<string, string> export type HoppExporter<T> = (content: T) => TE.TaskEither<string, string>
export type HoppExporterDefintion<T> = { export type HoppExporterDefinition<T> = {
name: string name: string
exporter: () => Promise<HoppExporter<T>> exporter: () => Promise<HoppExporter<T>>
} }
export const RESTCollectionExporters: HoppExporterDefintion< export const RESTCollectionExporters: HoppExporterDefinition<
HoppCollection<HoppRESTRequest> HoppCollection<HoppRESTRequest>
>[] = [ >[] = [
{ {
name: "Hoppscotch REST Collection JSON", name: "Hoppscotch REST Collection JSON",
exporter: () => import("./hopp").then((m) => m.default), exporter: () => import("./hopp").then((m) => m.default),
}, },
] ]
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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