forked from DebaucheryLibrarian/traxxx
Added row level security to alert tables. Added alerts to user query.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { graphql, post, del } from '../api';
|
||||
import { releaseFields } from '../fragments';
|
||||
import { actorFields, releaseFields } from '../fragments';
|
||||
import { curateUser } from '../curate';
|
||||
|
||||
function initUsersActions(store, _router) {
|
||||
@@ -55,6 +55,37 @@ function initUsersActions(store, _router) {
|
||||
}
|
||||
}
|
||||
}
|
||||
alerts {
|
||||
id
|
||||
notify
|
||||
email
|
||||
tags: alertsTags {
|
||||
tag {
|
||||
id
|
||||
name
|
||||
slug
|
||||
}
|
||||
}
|
||||
actors: alertsActors {
|
||||
actor {
|
||||
${actorFields}
|
||||
}
|
||||
}
|
||||
entity: alertsEntityByAlertId {
|
||||
entity {
|
||||
id
|
||||
name
|
||||
slug
|
||||
independent
|
||||
parent {
|
||||
id
|
||||
name
|
||||
slug
|
||||
independent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`, {
|
||||
|
||||
Reference in New Issue
Block a user