react-application-core
Version:
A react-based application core for the business applications.
45 lines (44 loc) • 1.55 kB
TypeScript
import { IRouteEntity } from './router-definition.interface';
import { IAccessConfigurationWrapper, IErrorWrapper, IKeyValue, IMappersWrapper, IRouteConfigurationWrapper } from '../definitions.interface';
import { IGenericContainerCtor } from './generic-container-definition.interface';
/**
* @stable [16.11.2019]
*/
export declare type ConnectorMapperT<TStoreEntity> = (state: TStoreEntity) => IKeyValue;
/**
* @stable [17.11.2019]
*/
export declare type DynamicSectionsMapT = Map<string, IConnectorEntity>;
/**
* @configuration-entity
* @stable [11.04.2020]
*/
export interface IRouteConfigurationEntity extends IRouteConfigurationWrapper<IRouteEntity> {
}
/**
* @stable [16.11.2019]
*/
export interface IBasicConnectorEntity<TStoreEntity> extends IMappersWrapper<ConnectorMapperT<TStoreEntity>[]>, IRouteConfigurationEntity {
}
/**
* @stable [16.11.2019]
*/
export interface IConnectorEntity<TStoreEntity = {}, TAccessConfig = {}> extends IBasicConnectorEntity<TStoreEntity>, IAccessConfigurationWrapper<TAccessConfig> {
}
/**
* @stable [11.06.2020]
*/
export interface IConnectorContainerFactory {
fromTarget(target: IGenericContainerCtor, section: string): IGenericContainerCtor;
}
/**
* @state
* @stable [19.09.2020]
*/
export interface IGenericConnectorContainerState extends IErrorWrapper<Error> {
}
/**
* @stable [19.09.2020]
*/
export declare const $RAC_CONNECTED_CONTAINER_DESTROY_ACTION_TYPE: string;
export declare const $RAC_CONNECTED_CONTAINER_INIT_ACTION_TYPE: string;