Index

src/lib/src/single-api-mapper.ts

APP_API_PREFIX
APP_API_PREFIX:
Default value : new InjectionToken<string>('APP_API_PREFIX')

Prefix for the URL. Can be base-relative, host-relative or absolute. Always should end with slash '/'.

src/lib/src/utils/normalize-media-type.ts

MEDIA_TYPE_NORMALIZER
MEDIA_TYPE_NORMALIZER:
Default value : /\s*[+;].*$/

src/lib/src/system-media-types.ts

MEDIA_TYPE_ROUTER_EMPTY
MEDIA_TYPE_ROUTER_EMPTY:
Default value : 'router/empty'
MEDIA_TYPE_ROUTER_ERROR
MEDIA_TYPE_ROUTER_ERROR:
Default value : 'router/error'
MEDIA_TYPE_ROUTER_LOADING
MEDIA_TYPE_ROUTER_LOADING:
Default value : 'router/loading'

src/lib/src/read-only-headers.ts

NO_HEADERS
NO_HEADERS: ReadOnlyHeaders
Type : ReadOnlyHeaders
Default value : { has(name: string): boolean { return false; }, get(name: string): string | null { return null; }, keys(): string[] { return []; }, getAll(name: string): string[] | null { return null; } }

Dummy implementation of ReadOnlyHeaders that never returns anything.

src/lib/src/resource-router-module.ts

RESOURCE_ROUTER_CONFIGURATION
RESOURCE_ROUTER_CONFIGURATION:
Default value : new InjectionToken<ResourceRouterOptions>('RESOURCE_ROUTER_CONFIGURATION')

src/lib/src/resource-view-registry.ts

RESOURCE_VIEWS
RESOURCE_VIEWS:
Default value : new InjectionToken<ViewDef>('RESOURCE_VIEWS')
TYPE_QUALITY_EVALUATOR
TYPE_QUALITY_EVALUATOR:
Default value : new InjectionToken<TypeQualityEvaluator>('TYPE_QUALITY_EVALUATOR')

src/lib/src/directives/resource-link.ts

TARGET_SELF
TARGET_SELF:
Default value : '_self'
TARGET_TOP
TARGET_TOP:
Default value : '_top'

src/lib/src/navigable.ts

TOP_LEVEL_NAVIGABLE
TOP_LEVEL_NAVIGABLE:
Default value : new InjectionToken<NavigableRef>('TOP_LEVEL_NAVIGABLE')

Token for top-level (root) NavigableRef instance.

To provide it in your component, you might use {@link topLevelNavigableRef}, however see its docs for proper usage.

src/lib/src/utils/parse-url.ts

URL_PATTERN
URL_PATTERN:
Default value : /^(\w+:)?\/\/([^/]+(?::\d+)?)?(\/.*)?$/

src/lib/src/utils/http-utils.ts

XSSI_PREFIX
XSSI_PREFIX:
Default value : /^\)]}',?\n/

Cross-site scripting prefix. Copied from HttpXhrBackend.

results matching ""

    No results matching ""