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