diff --git a/docs/insomnia/context-object-reference.md b/docs/insomnia/context-object-reference.md index 93dac03..1489518 100644 --- a/docs/insomnia/context-object-reference.md +++ b/docs/insomnia/context-object-reference.md @@ -237,18 +237,13 @@ interface AppContext { ## context.data -The data context contains helpers related to importing and exporting Insomnia workspaces. +The data context contains helpers related to importing and exporting Insomnia workspaces. The import function will import the contents into a new workspace on the same project you are current at. ```ts -interface ImportOptions { - workspaceId?: string; - workspaceScope?: 'design' | 'collection'; -} - interface DataContext { import: { - uri(uri: string, options?: ImportOptions): Promise; - raw(text: string, options?: ImportOptions): Promise; + uri(uri: string): Promise; + raw(text: string): Promise; }, export: { insomnia(options?: {