New: Hero Page und Navigation
This commit is contained in:
36
api/src/graphql/identities.sdl.ts
Normal file
36
api/src/graphql/identities.sdl.ts
Normal file
@ -0,0 +1,36 @@
|
||||
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
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user