Index

devtools/test/testing.ts

activateHost
Type : | null
Default value : null

The StubDevtoolsHost to use is provided by DevtoolsTestingModule but before it has had the chance to register the stub host using useDevtoolsInitializer will the NgModule instantiation have caused initialization of the real devtools host. To mitigate this, useDevtoolsInitializer is eagerly swapped out in beforeEach using a function that returns a Promise, which is later resolved in the DevtoolsTestingModule constructor.

src/module.ts

BLUERIQ_BACKEND_VERSION
Default value : new InjectionToken<string>('@blueriq:BackendVersion')

This token should be provided from a backend module. This token is verified to be available during startup of the application to avoid the situation where a cryptic injection error would be thrown when the first requested backend service turns out to be missing. If this token has not been provided, a descriptive error will be thrown instead, otherwise it is assumed that the backend module properly provided all required services.

src/component/component_lifecycle.ts

COMPONENT_LIFECYCLE
Default value : new InjectionToken<ComponentLifecycle[]>('@blueriq:component-lifecycle')

textitems/src/bq-text-item-node/bq-text-item-node.directive.ts

COMPONENT_RESOLVER
Default value : new InjectionToken<TextItemNodeComponentResolver>('@blueriq:TextItemComponentResolver')

src/elements/module.ts

ELEMENT_RESOLVER_CANDIDATE
Default value : new InjectionToken<Type<ElementResolver>[]>('@blueriq:ElementResolverCandidate')
VALIDATION_RULE_FACTORIES
Default value : new InjectionToken<ValidationRuleFactory[]>('@blueriq:ValidationRuleFactories')

src/session/startup/resume_strategy.ts

isTaskDetails
Default value : (details: ProjectDetails | TaskDetails): details is TaskDetails => { return 'taskStartData' in details; }

A type guard that determines if a details object is of the type TaskDetails.

results matching ""

    No results matching ""