import { AuthState } from './authentication/reducers/auth.reducer'; import { FirestoreDocumentState } from './documents/document.reducer'; import { FirestoreFormsState } from './forms/forms.reducer'; import { RouterReducerState } from '@ngrx/router-store'; import { Params } from '@angular/router'; import { LayoutState } from './layout/reducers/layout.reducer'; import { FeatureFlagsState } from './feature-flags/feature-flags.reducer'; import { LoadingState } from './loading/loading.reducer'; import { FirestoreTableState } from './tables/table-definition'; import { LifeCycleState } from './life-cycle/life-cycle.reducer'; import { WindowsState } from './windows/window.reducer'; import { Observable } from 'rxjs'; import { Store } from '@ngrx/store'; import { ConfigState } from '@digitaix/types'; export interface BreadcrumbItem { title: string; routerLink: string[]; } export declare type Breadcrumbs = Array; export declare type AsyncBreadcrumbsFunction = (store$: Store) => Observable; export declare type BreadcrumbsFunction = (state: RouterStateUrl) => Breadcrumbs | AsyncBreadcrumbsFunction; export declare type Breadcrumb = Breadcrumbs | BreadcrumbsFunction; export interface RouterStateUrl { url: string; params: Params; queryParams: Params; data: D & { breadcrumb: Breadcrumb | null; }; } export interface DigiAIXCoreAppState { dx?: { auth: AuthState; documents: FirestoreDocumentState; forms: FirestoreFormsState; tables: FirestoreTableState; layout: LayoutState; featureFlags: FeatureFlagsState; config: ConfigState; loading: LoadingState; lifeCycle: LifeCycleState; windows: WindowsState; }; router: RouterReducerState; }