Remove unused deleteCookieBannerTranslation mutation
The mutation was wired up in the GraphQL schema and resolver but never called from the console frontend. This removes the service method, request type, resolver, schema entries, and two unused error sentinels (ErrTranslationNotFound, ErrTranslationAlreadyExists). Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -258,9 +258,6 @@ extend type Mutation {
|
||||
upsertCookieBannerTranslation(
|
||||
input: UpsertCookieBannerTranslationInput!
|
||||
): UpsertCookieBannerTranslationPayload!
|
||||
deleteCookieBannerTranslation(
|
||||
input: DeleteCookieBannerTranslationInput!
|
||||
): DeleteCookieBannerTranslationPayload!
|
||||
}
|
||||
|
||||
input CreateCookieBannerInput {
|
||||
@@ -415,17 +412,7 @@ input UpsertCookieBannerTranslationInput {
|
||||
translations: String!
|
||||
}
|
||||
|
||||
input DeleteCookieBannerTranslationInput {
|
||||
cookieBannerId: ID!
|
||||
language: String!
|
||||
}
|
||||
|
||||
type UpsertCookieBannerTranslationPayload {
|
||||
cookieBannerTranslation: CookieBannerTranslation!
|
||||
cookieBanner: CookieBanner!
|
||||
}
|
||||
|
||||
type DeleteCookieBannerTranslationPayload {
|
||||
deletedLanguage: String!
|
||||
cookieBanner: CookieBanner!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user