2021-10-30 17:20:41 -05:00

43 lines
615 B
TypeScript

import gql from 'graphql-tag';
export const TOP_NAVBAR_QUERY = gql`
query topNavbar {
notifications {
id
read
readAt
notification {
id
actionType
causedBy {
username
fullname
id
}
createdAt
}
}
me {
user {
id
fullName
profileIcon {
initials
bgColor
url
}
}
teamRoles {
teamID
roleCode
}
projectRoles {
projectID
roleCode
}
}
}
`;
export default TOP_NAVBAR_QUERY;