feature/IO-3225-Notifications-1.5: checkpoint
This commit is contained in:
@@ -2765,6 +2765,17 @@ query GET_JOB_WATCHERS($jobid: uuid!) {
|
||||
}
|
||||
`;
|
||||
|
||||
exports.GET_JOB_WATCHERS_MINIMAL = `
|
||||
query GET_JOB_WATCHERS_MINIMAL($jobid: uuid!) {
|
||||
job_watchers(where: { jobid: { _eq: $jobid } }) {
|
||||
user_email
|
||||
user {
|
||||
authid
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
exports.GET_NOTIFICATION_ASSOCIATIONS = `
|
||||
query GET_NOTIFICATION_ASSOCIATIONS($emails: [String!]!, $shopid: uuid!) {
|
||||
associations(where: {
|
||||
@@ -2802,6 +2813,7 @@ exports.GET_BODYSHOP_BY_ID = `
|
||||
imexshopid
|
||||
intellipay_config
|
||||
state
|
||||
notification_followers
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -2931,10 +2943,6 @@ exports.INSERT_NEW_DOCUMENT = `
|
||||
|
||||
exports.GET_AUTOADD_NOTIFICATION_USERS = `
|
||||
query GET_AUTOADD_NOTIFICATION_USERS($shopId: uuid!) {
|
||||
bodyshops_by_pk(id: $shopId) {
|
||||
id
|
||||
notification_followers
|
||||
}
|
||||
associations(where: {
|
||||
_and: [
|
||||
{ shopid: { _eq: $shopId } },
|
||||
|
||||
Reference in New Issue
Block a user