mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-06 04:35:11 +02:00
32 lines
985 B
GraphQL
32 lines
985 B
GraphQL
"Represents the link between a song and an artist or group."
|
|
type Performance {
|
|
"The primary key of the resource"
|
|
id: Int! @rename(attribute: "performance_id")
|
|
|
|
"The alias the artist is using for this performance"
|
|
alias: String
|
|
|
|
"The character the artist is performing as"
|
|
as: String
|
|
|
|
"The alias the member is using for this performance"
|
|
memberAlias: String @rename(attribute: "member_alias")
|
|
|
|
"The character the member is performing as"
|
|
memberAs: String @rename(attribute: "member_as")
|
|
|
|
"Used to determine the relevance order of artists in performances"
|
|
relevance: Int!
|
|
|
|
"The date that the resource was created"
|
|
createdAt(format: String! = "Y-m-d H:i:s"): String @timestamp(attribute: "created_at")
|
|
|
|
"The date that the resource was updated"
|
|
updatedAt(format: String! = "Y-m-d H:i:s"): String @timestamp(attribute: "updated_at")
|
|
|
|
song: Song! @belongsTo
|
|
|
|
artist: Artist! @belongsTo
|
|
|
|
member: Artist @belongsTo
|
|
} |