-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding description to added functions
- Loading branch information
Janusz Jakubiec
authored and
Janusz Jakubiec
committed
Jun 21, 2022
1 parent
209ea82
commit 50c2054
Showing
2 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
""" | ||
Allow admin to delete offline messages from specified domain | ||
""" | ||
type OfflineAdminMutation @protected{ | ||
"" | ||
"Allow admin to delete offline messages whose date has expired" | ||
deleteExpiredMessages(domain: String!): String | ||
@protected(type: DOMAIN, args: ["domain"]) | ||
"" | ||
"Allow the admin to delete messages at least as old as the number of days specified in the parameter" | ||
deleteOldMessages(domain: String!, days: Int!): String | ||
@protected(type: DOMAIN, args: ["domain"]) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters