Add gcmConsentTypes to GraphQL schema and resolvers
Expose gcmConsentTypes on CookieCategory type and accept it in UpdateCookieCategoryInput so the console can read and write GCM consent type mappings per category. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -123,6 +123,7 @@ type CookieCategory implements Node {
|
||||
description: String!
|
||||
kind: CookieCategoryKind!
|
||||
rank: Int!
|
||||
gcmConsentTypes: [String!]!
|
||||
|
||||
cookies(
|
||||
first: Int
|
||||
@@ -308,6 +309,7 @@ input UpdateCookieCategoryInput {
|
||||
name: String
|
||||
slug: String
|
||||
description: String
|
||||
gcmConsentTypes: [String!]
|
||||
}
|
||||
|
||||
input DeleteCookieCategoryInput {
|
||||
|
||||
Reference in New Issue
Block a user