refactor: update inherited property schema
This commit is contained in:
@@ -1,14 +1,19 @@
|
|||||||
import { HoppRESTRequest } from "@hoppscotch/data"
|
import {
|
||||||
|
GQLHeader,
|
||||||
|
HoppGQLAuth,
|
||||||
|
HoppRESTHeader,
|
||||||
|
HoppRESTAuth,
|
||||||
|
} from "@hoppscotch/data"
|
||||||
|
|
||||||
export type HoppInheritedProperty = {
|
export type HoppInheritedProperty = {
|
||||||
auth: {
|
auth: {
|
||||||
parentID: string
|
parentID: string
|
||||||
parentName: string
|
parentName: string
|
||||||
inheritedAuth: HoppRESTRequest["auth"]
|
inheritedAuth: HoppRESTAuth | HoppGQLAuth
|
||||||
}
|
}
|
||||||
headers: {
|
headers: {
|
||||||
parentID: string
|
parentID: string
|
||||||
parentName: string
|
parentName: string
|
||||||
inheritedHeader?: HoppRESTRequest["headers"][number]
|
inheritedHeader: HoppRESTHeader | GQLHeader
|
||||||
}[]
|
}[]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user