Skip to content

Commit

Permalink
add graphql client
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed May 1, 2024
1 parent 62a0056 commit 421ccd3
Show file tree
Hide file tree
Showing 11 changed files with 1,128 additions and 5 deletions.
2 changes: 2 additions & 0 deletions kitsune-fe/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

$houdini
9 changes: 9 additions & 0 deletions kitsune-fe/.graphqlrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
projects:
default:
schema:
- ./schema.graphql
- ./$houdini/graphql/schema.graphql
documents:
- '**/*.gql'
- '**/*.svelte'
- ./$houdini/graphql/documents.gql
13 changes: 13 additions & 0 deletions kitsune-fe/houdini.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/// <references types="houdini-svelte">

/** @type {import('houdini').ConfigFile} */
const config = {
watchSchema: {
url: 'http://localhost:5000/graphql'
},
plugins: {
'houdini-svelte': {}
}
};

export default config;
Loading

0 comments on commit 421ccd3

Please sign in to comment.