Skip to content

Commit

Permalink
Merge pull request #25 from dephy-io/auth
Browse files Browse the repository at this point in the history
edgedb auth
  • Loading branch information
jasl authored Jul 22, 2024
2 parents 0ffd8e4 + 57cc00e commit 2a10e4c
Show file tree
Hide file tree
Showing 10 changed files with 264 additions and 14 deletions.
7 changes: 3 additions & 4 deletions explorer-ui/codegen.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import { type CodegenConfig } from '@graphql-codegen/cli'

const config: CodegenConfig = {
schema: 'http://localhost:10701/branch/main/graphql',
schema: 'http://localhost:10700/branch/main/graphql',
documents: ['src/queries.ts'],
ignoreNoDocuments: true, // for better experience with the watcher
generates: {
'./src/gql/graphql.ts': {
// preset: 'client',
plugins: [
'typescript',
'typescript-operations',
'typed-document-node',
]
}
}
},
},
}

export default config
3 changes: 3 additions & 0 deletions explorer-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
"codegen": "graphql-code-generator --config ./codegen.ts"
},
"dependencies": {
"@graphql-tools/load": "^8.0.2",
"@graphql-tools/url-loader": "^8.0.2",
"@graphql-typed-document-node/core": "^3.2.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-slot": "^1.1.0",
"@t3-oss/env-nextjs": "^0.10.1",
"@tanstack/react-query": "^5.45.1",
"axios": "^1.7.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"geist": "^1.3.0",
Expand Down
87 changes: 83 additions & 4 deletions explorer-ui/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2a10e4c

Please sign in to comment.