Skip to main content

Cheatsheet - Dashboard Services

Dashboard Scripting Injections

Injection Name Layer 1 Layer 2 Class Functions
fyzApp env AppScriptEnvironmentService
event AppScriptEventBusService
destroy Unsubscriber
takeUntil Unsubscriber
fyzDashboard env DashboardScriptEnvironmentService
event DashboardScriptEventBusService
route ActivatedRoute
cdr ChangeDetectorRef
destroy Unsubscriber
takeUntil Unsubscriber
controller DashboardRuntimeService toolbarApi, isFullscreen
fyzPlatform mqttHub MqttHub
dataHub DataHub
env AppEnvironmentService
auth AuthUserService
appRuntimeHelper ApplicationRuntimeHelperService
dataStore FlyzeApiStoreFacade
assetTree instance AssetTreeInstanceService
data AssetTreeDataServcie
window Window
document env Document
rxjs subject -
combineLatest -
forkJoin -
BehaviorSubject -
Observable -
of -
delay -
map -
tap -
take -
filter -
pairwise -
switchMap -
mergeMap -
concatMap -
exhaustMap -
takeUntil -
firstValueFrom -
lastValueFrom -
withLatestFrom -
combineLatestWith -
distinctUntilChanged -
share -
shareReplay -
finalize -
utils uuid uuid
moment Moment
mergeDeep mergeDeep
ng router Router
fyzUtils toolbarApi FyzBgToolbarConfiguratorService
dialogApi SbDynamicDialogModalsService
httpApi HttpApiService