diff --git a/gatsby/createTypes.js b/gatsby/createTypes.js deleted file mode 100644 index 24495b398..000000000 --- a/gatsby/createTypes.js +++ /dev/null @@ -1,33 +0,0 @@ -function createTypes(actions) { - const { createTypes } = actions - - // Extend ContentJson to support optional field "optionalCookies" in gdpr.json - // Extend PublishJsonData to support optional fields for disclaimers - const typeDefs = ` - type ContentJson implements Node { - accept: String - reject: String - close: String - configure: String - optionalCookies: [Cookie!] - } - type Cookie { - title: String! - desc: String! - cookieName: String! - } - type PublishJson implements Node { - metadata: Extensions - services: Extensions - pricing: Extensions - } - type Extensions { - disclaimer: String - disclaimerValues: [String!] - advanced: Boolean - } - ` - createTypes(typeDefs) -} - -module.exports = createTypes diff --git a/tsconfig.json b/tsconfig.json index a9188b898..4bdc6f922 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,8 +11,6 @@ "noEmit": true, "sourceMap": true, "noImplicitAny": true, - "skipLibCheck": false, - "allowJs": true, "paths": { "@shared/*": ["./src/components/@shared/*"], "@hooks/*": ["./src/@hooks/*"],