You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Cleanup the session details fragments & load last active IP
This also cleans up the GraphQL scalar types, by making sure we always parse dates correctly
This commit is contained in:
@ -21,6 +21,14 @@ const config: CodegenConfig = {
|
||||
generates: {
|
||||
"./src/gql/": {
|
||||
preset: "client",
|
||||
config: {
|
||||
// By default, unknown scalars are generated as `any`. This is not ideal for catching potential bugs.
|
||||
defaultScalarType: "unknown",
|
||||
scalars: {
|
||||
DateTime: "string",
|
||||
Url: "string",
|
||||
},
|
||||
},
|
||||
},
|
||||
"./src/gql/schema.ts": {
|
||||
plugins: ["urql-introspection"],
|
||||
|
Reference in New Issue
Block a user