fix: update hopp-data coll header type

This commit is contained in:
nivedin
2023-12-12 15:18:48 +05:30
committed by Andrew Bastin
parent 987d1a74d1
commit 8e72ab44a6

View File

@@ -20,7 +20,7 @@ const baseCollectionSchema = z.object({
), ),
auth: z.union([HoppRESTAuth, HoppGQLAuth]), auth: z.union([HoppRESTAuth, HoppGQLAuth]),
headers: z.array(z.union([HoppRESTHeaders, GQLHeader])), headers: z.union([HoppRESTHeaders, z.array(GQLHeader)]),
}) })
type Collection = z.infer<typeof baseCollectionSchema> & { type Collection = z.infer<typeof baseCollectionSchema> & {