Skip to content

Commit 139bc7c

Browse files
authored
Update graphQLQueryArguments type to align with functions-api (#775)
Aligns types with changes in functions-api contentful/functions-api#2000
1 parent 046dcdb commit 139bc7c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/requests/typings/function.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ type GraphQLResourceTypeMappingResponse = {
5858
resourceTypes: GraphQLResourceTypeMapping[]
5959
}
6060

61+
type GraphQLQueryArgumentMapping = {
62+
[key: string]: GraphQLQueryArgumentMapping | string
63+
}
64+
6165
type GraphQLResourceTypeMapping = {
6266
graphQLQueryField: string
63-
graphQLQueryArguments: Record<string, string>
67+
graphQLQueryArguments: GraphQLQueryArgumentMapping
6468
resourceTypeId: string
6569
graphQLOutputType?: string
6670
}

0 commit comments

Comments
 (0)