1
0
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:
Quentin Gliech
2023-09-21 10:43:52 +02:00
parent 127bf91b54
commit 597482d4d8
28 changed files with 744 additions and 301 deletions

View File

@ -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"],