mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
extensibility improvements (#4484)
* add missing interfaces to extensions library * separate rule service * api enhancements * fix test * improve APIs
This commit is contained in:
committed by
Eugenio Romano
parent
80aaaef65d
commit
26c5982a1a
@@ -19,10 +19,13 @@ import { SelectionState } from '../store/states/selection.state';
|
||||
import { NavigationState } from '../store/states/navigation.state';
|
||||
import { NodePermissions } from './permission.extensions';
|
||||
import { ProfileState } from '../store/states/profile.state';
|
||||
import { RepositoryInfo } from '@alfresco/js-api';
|
||||
|
||||
export type RuleEvaluator = (context: RuleContext, ...args: any[]) => boolean;
|
||||
|
||||
export interface RuleContext {
|
||||
repository: RepositoryInfo;
|
||||
auth: any;
|
||||
selection: SelectionState;
|
||||
navigation: NavigationState;
|
||||
profile: ProfileState;
|
||||
|
Reference in New Issue
Block a user