You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.3 KiB

query GetPublicationsList(
$orderBy: HousingPublicationsOrder
$first: Int = 20
$after: String
$where: HousingWherePublicationsInput
$locale: String = "en-US"
) {
housingPublications(
orderBy: $orderBy
first: $first
after: $after
where: $where
locale: $locale
) {
nodes {
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
...PublicationListItem
}
}
}
}
}
fragment PublicationListItem on HousingPublication {
id
startTime
totalNumberOfApplications
unit {
complexType {
name
}
rentBenefit
externalUrl {
value
}
grossRent {
exact
}
location {
city {
name
}
}
}
applicantSpecific {
numberOfApplicantsWithHigherPriority
is100PercentMatch
}
}
mutation PostApplication($publicationId: ID!, $locale: String) {
housingApplyToUnit(
input: { publicationId: $publicationId }
locale: $locale
) {
state
description
userErrors {
field
message {
locale
text
}
}
}
}
query GetIdentityConfig($realm: String!) {
identityConfig(realm: $realm) {
self
authorization_endpoint
token_endpoint
portalClientId
}
}