import * as TE from "fp-ts/TaskEither" import { HoppRESTRequest, HoppCollection } from "@hoppscotch/data" export type HoppExporter = (content: T) => TE.TaskEither export type HoppExporterDefinition = { name: string exporter: () => Promise> } export const RESTCollectionExporters: HoppExporterDefinition< HoppCollection >[] = [ { name: "Hoppscotch REST Collection JSON", exporter: () => import("./hopp").then((m) => m.default), }, ]