|
@@ -1,14 +1,19 @@
|
|
|
-import { HoppRESTRequest } from "@hoppscotch/data"
|
|
|
+import {
|
|
|
+ GQLHeader,
|
|
|
+ HoppGQLAuth,
|
|
|
+ HoppRESTHeader,
|
|
|
+ HoppRESTAuth,
|
|
|
+} from "@hoppscotch/data"
|
|
|
|
|
|
export type HoppInheritedProperty = {
|
|
|
auth: {
|
|
|
parentID: string
|
|
|
parentName: string
|
|
|
- inheritedAuth: HoppRESTRequest["auth"]
|
|
|
+ inheritedAuth: HoppRESTAuth | HoppGQLAuth
|
|
|
}
|
|
|
headers: {
|
|
|
parentID: string
|
|
|
parentName: string
|
|
|
- inheritedHeader?: HoppRESTRequest["headers"][number]
|
|
|
+ inheritedHeader: HoppRESTHeader | GQLHeader
|
|
|
}[]
|
|
|
}
|