Add model serializer and coreid login provider

This commit is contained in:
2022-02-23 15:15:02 -06:00
parent 0774deea91
commit 70d67c2730
14 changed files with 360 additions and 39 deletions

View File

@@ -398,6 +398,10 @@ export class Route<TReturn extends ResponseObject, THandlerParams extends unknow
return this.aliases.includes(name)
}
getAlias(): Maybe<string> {
return this.aliases.first()
}
isHandled(): this is HandledRoute<TReturn, THandlerParams> {
return Boolean(this.handler)
}