Files

25 lines
895 B
GraphQL

"Represents an assignable label for users and roles that authorizes a particular action in AnimeThemes."
type Permission @model(class: "App\\Models\\Auth\\Permission") {
"The primary key of the resource"
id: Int!
"The label of the resource"
name: String!
"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")
}
type PermissionEdge {
"The Permission node."
node: Permission!
"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")
}