DepartmentInformation
No description
This requires the current user to be in ADMIN role.
type DepartmentInformation implements Record {
id: ID!
uuid: String
email: EmailAddress
number: PhoneNumber
departmentOpenTime: Time
departmentCloseTime: Time
website: URL
employees(
skip: Int
): [String!]!
}
Directivesβ
authβ
This requires the current user to be in ADMIN role.
Fieldsβ
DepartmentInformation.idΒ βΒ ID! non-null scalar commonβ
DepartmentInformation.uuidΒ βΒ String scalar common BETAβ
DepartmentInformation.emailΒ βΒ EmailAddress scalar commonβ
DepartmentInformation.numberΒ βΒ PhoneNumber scalar commonβ
DepartmentInformation.departmentOpenTimeΒ βΒ Time scalar commonβ
DepartmentInformation.departmentCloseTimeΒ βΒ Time scalar commonβ
DepartmentInformation.websiteΒ βΒ URL scalar commonβ
DepartmentInformation.employeesΒ βΒ [String!]! non-null scalar commonβ
DepartmentInformation.employees.skipΒ βΒ Int scalar commonβ
Interfacesβ
Record interface commonβ
Exampleβ
{
"id": 1,
"uuid": "9c5b94b1-35ad-49bb-b118-8e8fc24abf80",
"email": "john.doe@corp.com",
"number": "1-234-4567",
"departmentOpenTime": "01:02:23.453",
"website": "https://tools.ietf.org/html/rfc3986",
"employees": [
"John Doe"
]
}