Files
Nachhilfesystem24/api/src/graphql/identities.sdl.ts
2024-10-04 16:46:22 +02:00

37 lines
639 B
TypeScript

export const schema = gql`
type Identity {
id: Int!
provider: String!
# uid: String!
userId: Int!
user: User!
# accessToken: String
# scope: String
lastLoginAt: DateTime!
createdAt: DateTime!
updatedAt: DateTime!
}
type Query {
identities: [Identity!]! @requireAuth
}
input CreateIdentityInput {
provider: String!
uid: String!
userId: Int!
accessToken: String
scope: String
lastLoginAt: DateTime!
}
input UpdateIdentityInput {
provider: String
uid: String
userId: Int
accessToken: String
scope: String
lastLoginAt: DateTime
}
`