Skip to content
Snippets Groups Projects
Commit 787c20d8 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

remove purgecss and improve keyfields for graphQL types

parent b23153e5
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ export default ctx => { ...@@ -19,7 +19,7 @@ export default ctx => {
const cache = new InMemoryCache({ const cache = new InMemoryCache({
typePolicies: { typePolicies: {
Event: { Event: {
keyFields: ['block',['bct']] keyFields: ['block',['number ']]
}, },
EventId: { EventId: {
keyFields: ['member',['hash'],'inOut'] keyFields: ['member',['hash'],'inOut']
...@@ -28,7 +28,7 @@ export default ctx => { ...@@ -28,7 +28,7 @@ export default ctx => {
keyFields: ['hash'] keyFields: ['hash']
}, },
Forecast: { Forecast: {
keyFields: ['member',['hash'],'date'] keyFields: ['member',['hash'],'date','after','proba']
} }
} }
}) })
......
...@@ -35,8 +35,7 @@ export default { ...@@ -35,8 +35,7 @@ export default {
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [ buildModules: [
// https://go.nuxtjs.dev/pwa // https://go.nuxtjs.dev/pwa
'@nuxtjs/pwa', '@nuxtjs/pwa'
'nuxt-purgecss'
], ],
// Modules: https://go.nuxtjs.dev/config-modules // Modules: https://go.nuxtjs.dev/config-modules
...@@ -60,6 +59,7 @@ export default { ...@@ -60,6 +59,7 @@ export default {
}, },
bootstrapVue: { bootstrapVue: {
// For using custom Bootstrap SCSS, disable automatic inclusion of Bootstrap and BootstrapVue pre-compiled CSS files
css: false, css: false,
bvCSS: false bvCSS: false
}, },
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
"dayjs": "^1.10.7", "dayjs": "^1.10.7",
"graphql-tag": "^2.12.6", "graphql-tag": "^2.12.6",
"nuxt": "^2.15.8", "nuxt": "^2.15.8",
"nuxt-purgecss": "^1.0.0",
"vue": "^2.6.14" "vue": "^2.6.14"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
inOut inOut
}, },
block { block {
bct number
} }
} }
} `, } `,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment