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:
parent
f2b1a33261
commit
c53c7c3093
@ -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
|
@ -11,8 +11,6 @@
|
||||
"noEmit": true,
|
||||
"sourceMap": true,
|
||||
"noImplicitAny": true,
|
||||
"skipLibCheck": false,
|
||||
"allowJs": true,
|
||||
"paths": {
|
||||
"@shared/*": ["./src/components/@shared/*"],
|
||||
"@hooks/*": ["./src/@hooks/*"],
|
||||
|
Loading…
Reference in New Issue
Block a user