Compare commits

..

No commits in common. "9bc6907024d0ad6b6538aa3828fdaf73cb339e3c" and "b3c56a7e85eb32497cd7e518e7bf02c2a1602653" have entirely different histories.

4 changed files with 3 additions and 31 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.25.7",
"version": "0.25.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.25.7",
"version": "0.25.6",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -77,5 +77,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.25.7"
"version": "0.25.6"
}

View File

@ -105,7 +105,6 @@ const query = pageContext.urlParsed.search.q;
.page {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.row {

View File

@ -1,27 +0,0 @@
import { graphql, buildSchema } from 'graphql';
import { scenesSchema, fetchScenesGraphql } from './scenes.js';
const schema = buildSchema(`
type Query {
scenes: [Scene]
}
${scenesSchema}
`);
const rootValue = {
scenes: fetchScenesGraphql,
};
export async function graphqlApi(req, res) {
const data = await graphql({
schema,
source: req.body.query,
variableValues: req.body.variables,
rootValue,
});
console.log(data);
res.send(data);
}