Template response plugin

This commit is contained in:
Gregory Schier
2024-08-19 19:11:36 -07:00
parent 54efb6ae4e
commit d1871b19ee
30 changed files with 2272 additions and 329 deletions

View File

@@ -1,4 +1,4 @@
import { YaakContext } from '@yaakapp/api';
import { Context } from '@yaakapp/api';
import { convert } from 'openapi-to-postmanv2';
import { pluginHookImport as pluginHookImportPostman } from '../../importer-postman/src/index';
import { Folder, HttpRequest, Workspace, Environment } from '../../../types/models';
@@ -13,7 +13,7 @@ interface ExportResources {
}
export async function pluginHookImport(
ctx: YaakContext,
ctx: Context,
contents: string,
): Promise<{ resources: ExportResources } | undefined> {
let postmanCollection;