Skip to content

Commit

Permalink
introduce user message gql query
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineThreepwood committed Aug 23, 2023
1 parent eaff071 commit c4a8d5c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ class RegistrySchemaModule : SchemaModule() {
@Arg("includeDisabledUnits") includeDisabledUnits: Boolean?,
): ImmutableList<UnitConfigType.UnitConfig> = getUnitConfigs(unitFilter, includeDisabledUnits)

@Query("userMessages")
@Throws(BCOGraphQLError::class)
fun userMessages(): ImmutableList<UserMessage> = getUserMessages()

@Query("gatewayClasses")
@Throws(CouldNotPerformException::class, InterruptedException::class)
fun gatewayClasses(): ImmutableList<GatewayClassType.GatewayClass> =
Expand Down

0 comments on commit c4a8d5c

Please sign in to comment.