applicationUrl: (
application: string,
path: string,
resource: string,
) => { attribute: string; mismatch: boolean; resource: string; url: string } = ...
Type Declaration
-
- (
application: string,
path: string,
resource: string,
): { attribute: string; mismatch: boolean; resource: string; url: string }
-
Parameters
- application: string
- path: string
- resource: string
Returns { attribute: string; mismatch: boolean; resource: string; url: string }
{ attribute, url, resource, mismatch }; url '' when the
application declares no home page or does not exist
What a route's application says about its URL, beside the default resource: its home page, the resource it suggests (its origin and the route's path) and whether that origin differs from the default's.