1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

more rebase cleanup

This commit is contained in:
Matthias Kretschmann 2021-10-27 13:26:08 +01:00
parent f2b1a33261
commit c53c7c3093
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 0 additions and 35 deletions

View File

@ -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

View File

@ -11,8 +11,6 @@
"noEmit": true, "noEmit": true,
"sourceMap": true, "sourceMap": true,
"noImplicitAny": true, "noImplicitAny": true,
"skipLibCheck": false,
"allowJs": true,
"paths": { "paths": {
"@shared/*": ["./src/components/@shared/*"], "@shared/*": ["./src/components/@shared/*"],
"@hooks/*": ["./src/@hooks/*"], "@hooks/*": ["./src/@hooks/*"],