Skip to content

Commit

Permalink
Fix GraphCMS/Hygraph Privacy Policy and Terms of Service (#1155)
Browse files Browse the repository at this point in the history
* Terminate GraphCMS

* Add Hygraph

* Put history in an array

* Lint

---------

Co-authored-by: Clément Biron <[email protected]>
  • Loading branch information
Kissaki and clementbiron authored Mar 18, 2024
1 parent 368c90e commit 060da42
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 14 deletions.
20 changes: 20 additions & 0 deletions declarations/GraphCMS.history.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"Privacy Policy": [
{
"fetch": "https://graphcms.com/privacy",
"select": [
".py-12 > .mx-auto"
],
"validUntil": "2023-07-23T00:35:00Z"
}
],
"Terms of Service": [
{
"fetch": "https://graphcms.com/terms",
"select": [
".py-12 > .mx-auto"
],
"validUntil": "2023-07-23T00:35:00Z"
}
]
}
15 changes: 1 addition & 14 deletions declarations/GraphCMS.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
{
"name": "GraphCMS",
"documents": {
"Privacy Policy": {
"fetch": "https://graphcms.com/privacy",
"select": [
".py-12 > .mx-auto"
]
},
"Terms of Service": {
"fetch": "https://graphcms.com/terms",
"select": [
".py-12 > .mx-auto"
]
}
}
"documents": {}
}
23 changes: 23 additions & 0 deletions declarations/Hygraph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Hygraph",
"documents": {
"Privacy Policy": {
"fetch": "https://hygraph.com/privacy",
"select": [
"main section"
],
"remove": [
"main section:last-child"
]
},
"Terms of Service": {
"fetch": "https://hygraph.com/terms",
"select": [
"main section"
],
"remove": [
"main section:last-child"
]
}
}
}

0 comments on commit 060da42

Please sign in to comment.