import { PageGrant, IPageGrantData } from './page'; export type IDataApplicableGroup = { applicableGroups?: {_id: string, name: string}[] // TODO: Typescriptize model } export type IDataApplicableGrant = null | IDataApplicableGroup; export type IRecordApplicableGrant = Record export type IResApplicableGrant = { data?: IRecordApplicableGrant } export type IResIsGrantNormalizedGrantData = { isForbidden: boolean, currentPageGrant: IPageGrantData, parentPageGrant?: IPageGrantData } export type IResIsGrantNormalized = { isGrantNormalized: boolean, grantData: IResIsGrantNormalizedGrantData };