refactor: persist IDs under tab save context
This commit is contained in:
@@ -3,8 +3,6 @@ import { HoppRESTResponse } from "../types/HoppRESTResponse"
|
||||
import { HoppTestResult } from "../types/HoppTestResult"
|
||||
import { RESTOptionTabs } from "~/components/http/RequestOptions.vue"
|
||||
import { HoppInheritedProperty } from "../types/HoppInheritedProperties"
|
||||
import { HandleRef } from "~/services/new-workspace/handle"
|
||||
import { WorkspaceRequest } from "~/services/new-workspace/workspace"
|
||||
|
||||
export type HoppRESTSaveContext =
|
||||
| {
|
||||
@@ -14,9 +12,24 @@ export type HoppRESTSaveContext =
|
||||
// TODO: Make this `user-collection` after porting all usages
|
||||
originLocation: "workspace-user-collection"
|
||||
/**
|
||||
* Handle to a request in the workspace
|
||||
* ID of the workspace
|
||||
*/
|
||||
requestHandle: HandleRef<WorkspaceRequest>
|
||||
workspaceID: string
|
||||
|
||||
/**
|
||||
* ID of the provider
|
||||
*/
|
||||
providerID: string
|
||||
|
||||
/**
|
||||
* ID of the collection
|
||||
*/
|
||||
collectionID: string
|
||||
|
||||
/**
|
||||
* Path to the request in the collection tree
|
||||
*/
|
||||
requestID: string
|
||||
}
|
||||
| {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user