Graphql erabiltzen du (#5)

* feat: graphql erabiltzen du

* node bertsioa jeisten du

* feat: netlify deployments sartzen du

* feat: token-a sortzen du

* chore: Gatsbyren aldagaiak berreskuratzen ditu

* fix: query-a konpontzen du
This commit is contained in:
Aitor Urrutia
2023-06-26 19:28:03 +02:00
committed by GitHub
parent ea68d390bc
commit 41b8661a10
12 changed files with 3466 additions and 3246 deletions

29
back/config/plugins.js Normal file
View File

@@ -0,0 +1,29 @@
module.exports = {
graphql: {
config: {
endpoint: "/graphql",
shadowCRUD: true,
playgroundAlways: false,
depthLimit: 7,
amountLimit: 100,
apolloServer: {
introspection: true,
},
},
},
"netlify-deployments": {
enabled: true,
config: {
accessToken: process.env.NETLIFY_DEPLOYMENTS_PLUGIN_ACCESS_TOKEN,
sites: [
{
name: "laba-webgunea",
id: "3e9ed70d-2f4b-4152-9aaf-1129570d01b4",
buildHook:
"https://api.netlify.com/build_hooks/61e338c09f4ef3bf644f86db",
branch: "main", // optional
},
],
},
},
};