Skip to content

Commit

Permalink
update gql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman committed Sep 12, 2024
1 parent 6bf11fa commit 5930e59
Show file tree
Hide file tree
Showing 5 changed files with 1,140 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.formatOnSave": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": ["source.formatDocument", "source.fixAll.eslint"],
"search.exclude": {
"**/.yarn": true,
Expand Down
5 changes: 4 additions & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ const config: CodegenConfig = {
schema: `https://directus.plural.sh/graphql${
directusToken ? `?access_token=${directusToken}` : ''
}`,
documents: './src/graph/directus/*.graphql',
documents: [
'./src/graph/directus/**/*.graphql',
'!./src/graph/directus/system/**/*.graphql',
],
plugins: [
'typescript',
'typescript-operations',
Expand Down
Loading

0 comments on commit 5930e59

Please sign in to comment.