Skip to content

Commit

Permalink
feat: adding ability to run amplify command to generate code files
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob-Powell authored and bigadsoleiman committed Jan 25, 2024
1 parent 4a4fa8e commit b1defed
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 4,557 deletions.
20 changes: 20 additions & 0 deletions .graphqlconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
projects:
chatbot:
schemaPath: lib/chatbot-api/schema/schema.graphql
includes:
- lib/user-interface/react-app/src/graphql/*.ts
excludes:
- ./amplify/**
extensions:
amplify:
codeGenTarget: typescript
generatedFileName: lib/user-interface/react-app/src/API.ts
docsFilePath: lib/user-interface/react-app/src/graphql/ #The field is not configured correctly and needs to be changed
region: us-east-1
apiId: null
frontend: javascript
framework: react
maxDepth: 2
extensions:
amplify:
version: 3
Loading

0 comments on commit b1defed

Please sign in to comment.