Skip to main content

Cheatsheet - Brick Services

Brick Scripting Injections

Injection NameLayer 1Layer 2ClassFunctions
fyzAppenvAppScriptEnvironmentService
eventAppScriptEventBusService
destroyUnsubscriber
fyzDashboardenvDashboardScriptEnvironmentService
eventDashboardScriptEventBusService
routeActivatedRoute
cdrChangeDetectorRef
destroyUnsubscriber
controllerDashboardRuntimeService
fyzScopeenvScopeScriptEnvironmentService
eventScopeScriptEventBusService
fyzBrickenvBrickScriptEnvironmentService
eventBrickScriptEventBusService
routeActivatedRoute
cdrChangeDetectorRef
destroyUnsubscriber
apiBrickApiService
cRefComponentRef
fyzPlatformmqttHubMqttHub
dataHubDataHub
envAppEnvironmentService
authAuthUserService
appRuntimeHelperApplicationRuntimeHelperService
dataStore
assetTreeinstanceAssetTreeInstanceService
dataAssetTreeDataServcie
windowWindow
documentenvDocument
rxjssubject-
combineLatest-
BehaviorSubject-
map-
take-
filter-
pairwise-
switchMap-
takeUntil-
firstValueFrom-
lastValueFrom-
withLatestFrom-
combineLatestWith-
distinctUntilChanged-
utilsuuiduuid
momentMoment
ngrouterRouter
fyzUtilstoolbarApiFyzBgToolbarConfiguratorService
dialogApiSbDynamicDialogModalsService
httpApiHttpApiService

brick-services.png