2020-02-18 08:57:00 +01:00
|
|
|
import gql from "graphql-tag";
|
2019-03-21 20:23:42 +01:00
|
|
|
|
|
|
|
export const CREATE_FEED_TOKEN_ACTOR = gql`
|
2020-02-18 08:57:00 +01:00
|
|
|
mutation createFeedToken($actor_id: ID!) {
|
|
|
|
createFeedToken(actorId: $actor_id) {
|
|
|
|
token
|
|
|
|
actor {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
}
|
2019-03-21 20:23:42 +01:00
|
|
|
}
|
|
|
|
}
|
2020-02-18 08:57:00 +01:00
|
|
|
`;
|
2019-03-21 20:23:42 +01:00
|
|
|
|
|
|
|
export const CREATE_FEED_TOKEN = gql`
|
2020-02-18 08:57:00 +01:00
|
|
|
mutation {
|
|
|
|
createFeedToken {
|
|
|
|
token
|
|
|
|
actor {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
}
|
2019-03-21 20:23:42 +01:00
|
|
|
}
|
|
|
|
}
|
2020-02-18 08:57:00 +01:00
|
|
|
`;
|
2019-03-21 20:23:42 +01:00
|
|
|
|
|
|
|
export const DELETE_FEED_TOKEN = gql`
|
2020-02-18 08:57:00 +01:00
|
|
|
mutation deleteFeedToken($token: String!) {
|
2019-03-21 20:23:42 +01:00
|
|
|
deleteFeedToken(token: $token) {
|
2020-02-18 08:57:00 +01:00
|
|
|
actor {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
user {
|
|
|
|
id
|
2019-03-21 20:23:42 +01:00
|
|
|
}
|
|
|
|
}
|
2020-02-18 08:57:00 +01:00
|
|
|
}
|
2019-03-21 20:23:42 +01:00
|
|
|
`;
|