64e6b861b6
Also * reorder graphQl queries: Always a query constant + update function * use id instead of token (initials) to identify person in url * Remove any party logo related sections since currently not needed * Move "options" from data closer to actual code since it doesn't really belong to data (data may be deleted in the future, anyway) * add nodeId in gql queries wherever possible to avoid problems with the apollo cache * add note about graphql schema import to README.md
20 lines
256 B
JavaScript
20 lines
256 B
JavaScript
const possiblePositions = [
|
|
{
|
|
'position': 'positive',
|
|
'id': 0
|
|
},
|
|
{
|
|
'position': 'neutral',
|
|
'id': 1
|
|
},
|
|
{
|
|
'position': 'negative',
|
|
'id': 2
|
|
},
|
|
{
|
|
'position': 'skipped',
|
|
'id': 3
|
|
}
|
|
]
|
|
export default possiblePositions
|