UNPKG

react-application-core

Version:

A react-based application core for the business applications.

45 lines (44 loc) 1.72 kB
import { IReduxStackEntity } from '../../definition'; /** * @stable [21.09.2019] * @param {IReduxStackEntity} stackEntity * @param {number} startingIndex * @returns {string[]} */ export declare const collectStackMainSectionsByIndex: (stackEntity: IReduxStackEntity, startingIndex: number) => string[]; /** * @stable [21.09.2019] * @param {string} section * @param {IReduxStackEntity} stackEntity * @returns {string[]} */ export declare const getAdditionalStackSectionsToDestroy: (section: string, stackEntity: IReduxStackEntity) => string[]; /** * @stable [20.09.2019] * @param {string} currentSection * @param {IReduxStackEntity} stackEntity * @returns {string[][]} */ export declare const toGraphComponents: (currentSection: string, stackEntity: IReduxStackEntity) => string[][]; /** * @stable [20.09.2019] * @param {string} currentSection * @param {IReduxStackEntity} stackEntity * @param {(linkedSections: string[]) => boolean} predicate * @returns {Set<string>} */ export declare const findStackSectionsByPredicate: (currentSection: string, stackEntity: IReduxStackEntity, predicate: (linkedSections: string[]) => boolean) => Set<string>; /** * @stable [20.09.2019] * @param {string} currentSection * @param {IReduxStackEntity} stackEntity * @returns {Set<string>} */ export declare const toAllIndependentStackSections: (currentSection: string, stackEntity: IReduxStackEntity) => Set<string>; /** * @stable [20.09.2019] * @param {string} currentSection * @param {IReduxStackEntity} stackEntity * @returns {string[]} */ export declare const getAllIndependentStackSections: (currentSection: string, stackEntity: IReduxStackEntity) => string[];