update doc node selector and interface (#5987)

This commit is contained in:
Eugenio Romano
2020-08-13 11:15:12 +01:00
committed by GitHub
parent 9ec04d33d4
commit 418202cb24
2 changed files with 8 additions and 1 deletions

View File

@@ -35,14 +35,21 @@ export interface ContentNodeSelectorComponentData {
actionName?: string; actionName?: string;
currentFolderId: string; currentFolderId: string;
dropdownHideMyFiles?: boolean; dropdownHideMyFiles?: boolean;
restrictRootToCurrentFolderId?: boolean;
dropdownSiteList?: SitePaging; dropdownSiteList?: SitePaging;
rowFilter?: any; rowFilter?: any;
where?: string; where?: string;
imageResolver?: any; imageResolver?: any;
selectionMode?: 'multiple' | 'single';
isSelectionValid?: (entry: Node) => boolean; isSelectionValid?: (entry: Node) => boolean;
breadcrumbTransform?: (node) => any; breadcrumbTransform?: (node) => any;
excludeSiteContent?: string[]; excludeSiteContent?: string[];
select: Subject<Node[]>; select: Subject<Node[]>;
showSearch?: boolean;
showFilesInResult?: boolean;
showDropdownSiteList?: boolean;
showLocalUploadButton?: boolean;
multipleUpload?: boolean;
} }
``` ```

View File

@@ -28,7 +28,7 @@ export interface ContentNodeSelectorComponentData {
rowFilter?: any; rowFilter?: any;
where?: string; where?: string;
imageResolver?: any; imageResolver?: any;
selectionMode?: string; selectionMode?: 'multiple' | 'single';
isSelectionValid?: (entry: Node) => boolean; isSelectionValid?: (entry: Node) => boolean;
breadcrumbTransform?: (node) => any; breadcrumbTransform?: (node) => any;
excludeSiteContent?: string[]; excludeSiteContent?: string[];