Update documentation, add GraphiQL to docs (#175)

* Update docusaurus and fix security vulnerabilities

* Begin cleanup docs

* Remove redocusaurus

* Add graphiql in doc

* Add architecture schema

* New tableIcons and cleanup docs
This commit is contained in:
Félix Malfait
2023-06-01 15:05:53 +02:00
committed by GitHub
parent 52582124f9
commit 14c0119c4b
32 changed files with 1295 additions and 1496 deletions

19
docs/src/pages/graphql.js Normal file
View File

@ -0,0 +1,19 @@
import { createGraphiQLFetcher } from '@graphiql/toolkit';
import { GraphiQL } from 'graphiql';
import React from 'react';
import ReactDOM from 'react-dom';
import Layout from '@theme/Layout';
import 'graphiql/graphiql.css';
const fetcher = createGraphiQLFetcher({ url: 'https://api.twenty.com/graphql' });
export default function graphQL() {
return (
<Layout title="Hello" description="Hello React Page">
<div class="fullHeightPlayground">
<GraphiQL fetcher={fetcher} />
</div>
</Layout>
);
}