This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { g, InferResolvers, buildSchema } from 'garph' | |
import { createYoga } from 'graphql-yoga' | |
const queryType = g.type('Query', { | |
greet: g | |
.string() | |
.args({ | |
name: g.string().optional().default('Max'), | |
}) | |
.description('Greets a person'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState, useEffect } from "react"; | |
import { useRouter } from "next/router"; | |
type IParam = string; | |
type IValue = string | string[] | number | number[] | null | undefined; | |
type IState = { [k: string]: IValue }; | |
type IQuery = IState; | |
type IRoute = string; | |
function isEmpty(value: IValue): boolean { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-03-01T21:44:16.835Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark) { | |
:root { | |
--main-bg: #000000; | |
--dark-bg: #000000; | |
--light-bg: #000000; | |
--main-font: #FFFFFF; | |
--light-font: #FFFFFF; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
########################################################################### | |
# LOGGING | |
########################################################################### | |
# Do not print log lines to inform about local zone actions | |
log-local-actions: no | |
# Do not print one line per query to the log | |
log-queries: no | |
# Do not print one line per reply to the log | |
log-replies: no |