From bfebb75ff048eb1ae63c37224282c9281dcb0f52 Mon Sep 17 00:00:00 2001 From: Tian Pan Date: Sat, 30 Jan 2021 03:38:38 -0800 Subject: [PATCH] fix prettier ignore for graphql --- .prettierignore | 1 + src/api-gateway/api-gateway.graphql | 22 +++------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.prettierignore b/.prettierignore index f1b2c6c..b083f06 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ src/client/static/* translations/* +*.graphql diff --git a/src/api-gateway/api-gateway.graphql b/src/api-gateway/api-gateway.graphql index 8164f54..522319d 100644 --- a/src/api-gateway/api-gateway.graphql +++ b/src/api-gateway/api-gateway.graphql @@ -66,25 +66,9 @@ type FlagsStatus { } type Mutation { - subscribeToNewsletter( - email: String! - firstName: String - lastName: String - ): Empty! - upsertFlag( - workspaceId: ID! - key: ID! - name: String - description: String - rules: [RuleInput!] - on: Boolean - variations: [Boolean!] - ): Boolean! - upsertApiTokens( - _id: String! - sendgridApiKey: String - carrierToken: String - ): ApiTokens + subscribeToNewsletter(email: String!, firstName: String, lastName: String): Empty! + upsertFlag(workspaceId: ID!, key: ID!, name: String, description: String, rules: [RuleInput!], on: Boolean, variations: [Boolean!]): Boolean! + upsertApiTokens(_id: String!, sendgridApiKey: String, carrierToken: String): ApiTokens } type Prerequisite {