refactor: update inherited property schema

This commit is contained in:
nivedin
2023-12-11 17:39:40 +05:30
committed by Andrew Bastin
parent 276d48e3f8
commit 9d2b7cc03f

View File

@@ -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
}[]
}