Skip to content

Instantly share code, notes, and snippets.

View pelly-ryu's full-sized avatar

pelly ryu pelly-ryu

View GitHub Profile
@pelly-ryu
pelly-ryu / kyu-9012.go
Last active September 9, 2019 17:25 — forked from fukkong/kyu-9012.go
package main
import (
"bufio"
"fmt"
"os"
)
func main() {
var n int
@pelly-ryu
pelly-ryu / graphql-directives.js
Last active June 17, 2023 21:17 — forked from pikanji/graphql-directives.js
Amplify GraphQL Directive Definitions
import gql from "graphql-tag";
// https://docs.amplify.aws/cli-legacy/graphql-transformer/directives/
const clientSchemaExtensions = gql`
# https://docs.amplify.aws/cli/graphql/data-modeling/#how-it-works
directive @model(
queries: ModelQueryMap
mutations: ModelMutationMap
subscriptions: ModelSubscriptionMap
timestamps: TimestampConfiguration