Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
0009573d
Commit
0009573d
authored
Feb 23, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
56654f59
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
363 additions
and
8 deletions
+363
-8
values.yaml
deploy/values/l2-optimism-goerli/values.yaml
+1
-0
values.yaml
deploy/values/main/values.yaml
+1
-0
values.yaml
deploy/values/review-l2/values.yaml
+1
-0
values.yaml
deploy/values/review/values.yaml
+1
-0
package.json
package.json
+2
-0
graphiql.tsx
pages/graphiql.tsx
+9
-6
GraphQL.tsx
ui/graphQL/GraphQL.tsx
+19
-0
yarn.lock
yarn.lock
+329
-2
No files found.
deploy/values/l2-optimism-goerli/values.yaml
View file @
0009573d
...
...
@@ -316,6 +316,7 @@ frontend:
-
"
/api-docs"
-
"
/csv-export"
-
"
/verified-contracts"
-
"
/graphiql"
resources
:
limits
:
...
...
deploy/values/main/values.yaml
View file @
0009573d
...
...
@@ -364,6 +364,7 @@ frontend:
-
"
/api-docs"
-
"
/csv-export"
-
"
/verified-contracts"
-
"
/graphiql"
resources
:
limits
:
...
...
deploy/values/review-l2/values.yaml
View file @
0009573d
...
...
@@ -39,6 +39,7 @@ frontend:
-
"
/api-docs"
-
"
/csv-export"
-
"
/verified-contracts"
-
"
/graphiql"
resources
:
limits
:
...
...
deploy/values/review/values.yaml
View file @
0009573d
...
...
@@ -39,6 +39,7 @@ frontend:
-
"
/api-docs"
-
"
/csv-export"
-
"
/verified-contracts"
-
"
/graphiql"
resources
:
limits
:
...
...
package.json
View file @
0009573d
...
...
@@ -51,6 +51,8 @@
"
dom-to-image
"
:
"
^2.6.0
"
,
"
ethers
"
:
"
^5.7.2
"
,
"
framer-motion
"
:
"
^6.5.1
"
,
"
graphiql
"
:
"
^2.2.0
"
,
"
graphql
"
:
"
^16.6.0
"
,
"
js-cookie
"
:
"
^3.0.1
"
,
"
lodash
"
:
"
^4.0.0
"
,
"
next
"
:
"
12.2.5
"
,
...
...
pages/graphiql.tsx
View file @
0009573d
import
{
Spinner
}
from
'
@chakra-ui/react
'
;
import
type
{
NextPage
}
from
'
next
'
;
import
dynamic
from
'
next/dynamic
'
;
const
GraphQL
=
dynamic
(()
=>
import
(
'
ui/graphQL/GraphQL
'
),
{
loading
:
()
=>
<
Spinner
/>,
ssr
:
false
,
});
import
React
from
'
react
'
;
const
GraphQLPage
:
NextPage
=
()
=>
{
return
null
;
return
<
GraphQL
/>
;
};
export
default
GraphQLPage
;
export
async
function
getServerSideProps
()
{
return
{
notFound
:
true
,
};
}
export
{
getServerSideProps
}
from
'
lib/next/getServerSideProps
'
;
ui/graphQL/GraphQL.tsx
0 → 100644
View file @
0009573d
import
{
Box
}
from
'
@chakra-ui/react
'
;
import
{
createGraphiQLFetcher
}
from
'
@graphiql/toolkit
'
;
import
{
GraphiQL
}
from
'
graphiql
'
;
import
React
from
'
react
'
;
import
'
graphiql/graphiql.css
'
;
const
GraphQL
=
()
=>
{
const
fetcher
=
createGraphiQLFetcher
({
url
:
'
https://base-goerli.blockscout.com/graphiql
'
,
});
return
(
<
Box
h=
"100vh"
sx=
{
{}
}
>
<
GraphiQL
fetcher=
{
fetcher
}
/>
</
Box
>
);
};
export
default
GraphQL
;
yarn.lock
View file @
0009573d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment