From 4a798c023facb4e19ce3be42431c5c4ebc14bce5 Mon Sep 17 00:00:00 2001 From: rderbier Date: Wed, 23 Oct 2024 13:24:51 -0700 Subject: [PATCH] remove extra folder related to Dgraph --- .../graphql/extras/sampledata.graphql | 22 ------------------- .../examples/graphql/extras/schema.graphql | 7 ------ 2 files changed, 29 deletions(-) delete mode 100644 sdk/assemblyscript/examples/graphql/extras/sampledata.graphql delete mode 100644 sdk/assemblyscript/examples/graphql/extras/schema.graphql diff --git a/sdk/assemblyscript/examples/graphql/extras/sampledata.graphql b/sdk/assemblyscript/examples/graphql/extras/sampledata.graphql deleted file mode 100644 index 28ea7f36..00000000 --- a/sdk/assemblyscript/examples/graphql/extras/sampledata.graphql +++ /dev/null @@ -1,22 +0,0 @@ -# This mutation will create some sample data in Dgraph. -# It can be used for the queries in this example. - -mutation { - # Clear any existing people first - deletePerson(filter: {}) { - deleted: numUids - } - - # Add some people - addPerson( - input: [ - { firstName: "Harry", lastName: "Potter" } - { firstName: "Hermione", lastName: "Granger" } - { firstName: "Ron", lastName: "Weasley" } - { firstName: "Albus", lastName: "Dumbledore" } - { firstName: "Luna", lastName: "Lovegood" } - ] - ) { - added: numUids - } -} diff --git a/sdk/assemblyscript/examples/graphql/extras/schema.graphql b/sdk/assemblyscript/examples/graphql/extras/schema.graphql deleted file mode 100644 index dc828e33..00000000 --- a/sdk/assemblyscript/examples/graphql/extras/schema.graphql +++ /dev/null @@ -1,7 +0,0 @@ -# This schema is used for the queries in this example. - -type Person { - id: ID! - firstName: String! @search(by: [hash]) - lastName: String! @search(by: [hash]) -}