mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-21 16:01:46 +01:00
Template response plugin
This commit is contained in:
1 parent
54efb6ae4e
commit
d1871b19ee
30 files changed
+2272
-329
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Environment, Folder, HttpRequest, HttpRequestHeader, Model, Workspace, YaakContext } from '@yaakapp/api';
|
||||
import { Environment, Folder, HttpRequest, HttpRequestHeader, Model, Workspace, Context } from '@yaakapp/api';
|
||||
|
||||
const POSTMAN_2_1_0_SCHEMA = 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json';
|
||||
const POSTMAN_2_0_0_SCHEMA = 'https://schema.getpostman.com/json/collection/v2.0.0/collection.json';
|
||||
@@ -14,7 +14,7 @@ interface ExportResources {
|
||||
}
|
||||
|
||||
export function pluginHookImport(
|
||||
_ctx: YaakContext,
|
||||
_ctx: Context,
|
||||
contents: string,
|
||||
): { resources: ExportResources } | undefined {
|
||||
const root = parseJSONToRecord(contents);
|
||||
|
||||
Reference in new issue
Block a user