b409a5583d
Add vue cli typescript support Rename .js to .ts Use class and annotations in App and NavBar Add tslint
17 lines
267 B
TypeScript
17 lines
267 B
TypeScript
import gql from 'graphql-tag';
|
|
|
|
export const LOGIN = gql`
|
|
mutation Login($email: String!, $password: String!) {
|
|
login(email: $email, password: $password) {
|
|
token,
|
|
user {
|
|
id,
|
|
},
|
|
actor {
|
|
avatarUrl,
|
|
preferredUsername,
|
|
}
|
|
},
|
|
}
|
|
`;
|