mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-02 02:35:05 +02:00
22 lines
692 B
GraphQL
22 lines
692 B
GraphQL
"Represents a notification that is sent to the user when a profile is synced."
|
|
type ExternalProfileSyncedNotification {
|
|
"The type of the notification"
|
|
type: NotificationType!
|
|
|
|
"The id of the profile"
|
|
profileId: Int!
|
|
|
|
"The name of the profile"
|
|
profileName: String!
|
|
|
|
"The date that the user read the notification"
|
|
readAt(format: String! = "Y-m-d H:i:s"): String @timestamp(attribute: "read_at")
|
|
|
|
"The date that the resource was created"
|
|
createdAt(format: String! = "Y-m-d H:i:s"): String @timestamp(attribute: "created_at")
|
|
|
|
profile: ExternalProfile!
|
|
}
|
|
|
|
"Represents the notification types."
|
|
union NotificationUnion = ExternalProfileSyncedNotification |