Added actorIds and stashIds aliases to new alert API for consistency.
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
updateNotification,
|
||||
} from '../alerts.js';
|
||||
|
||||
// actors and actorIds, stashes and stashIds are aliases for consistency
|
||||
export const alertsSchema = `
|
||||
extend type Query {
|
||||
alerts: [Alert]
|
||||
@@ -29,6 +30,7 @@ export const alertsSchema = `
|
||||
allTags: Boolean = true
|
||||
allMatches: Boolean = true
|
||||
actors: [Int!]
|
||||
actorIds: [Int!]
|
||||
tags: [String!]
|
||||
tagIds: [Int!]
|
||||
entities: [String!]
|
||||
@@ -37,6 +39,7 @@ export const alertsSchema = `
|
||||
notify: Boolean = true
|
||||
email: Boolean = false
|
||||
stashes: [Int!]
|
||||
stashIds: [Int!]
|
||||
comment: String
|
||||
meta: JSON
|
||||
): Alert
|
||||
|
||||
Reference in New Issue
Block a user