@livetiles/reach-plugin-types 0.5.0-preview.1031 → 0.5.0-preview.1033
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +16 -15
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1554,47 +1554,48 @@ declare module "libs/reach/util/common/src/user/Organization" {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
declare module "libs/reach/util/common/src/user/Group" {
|
|
1556
1556
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1557
|
-
import { GroupBase, GroupRoleNames, GroupRoles } from "libs/reach/util/common/src/user/User";
|
|
1557
|
+
import { GroupBase, GroupRoleNames, GroupRoles, GroupUser } from "libs/reach/util/common/src/user/User";
|
|
1558
1558
|
export interface UserRoleAssignment {
|
|
1559
|
-
userId: string;
|
|
1560
1559
|
role: GroupRoles;
|
|
1560
|
+
userId: string;
|
|
1561
1561
|
}
|
|
1562
1562
|
export interface GroupSummary extends GroupBase {
|
|
1563
|
-
|
|
1563
|
+
allowPosts?: boolean;
|
|
1564
|
+
allowPublicAccess?: boolean;
|
|
1564
1565
|
availableChannelIds?: string[];
|
|
1565
|
-
defaultChannelIds?: string[];
|
|
1566
|
-
mandatoryChannelIds?: string[];
|
|
1567
1566
|
availableKeywordIds?: string[];
|
|
1567
|
+
defaultChannelIds?: string[];
|
|
1568
1568
|
defaultKeywordIds?: string[];
|
|
1569
|
+
description: string;
|
|
1570
|
+
mandatoryChannelIds?: string[];
|
|
1569
1571
|
mandatoryKeywordIds?: string[];
|
|
1570
|
-
allowPosts?: boolean;
|
|
1571
|
-
allowPublicAccess?: boolean;
|
|
1572
1572
|
}
|
|
1573
1573
|
export interface GroupStatistics {
|
|
1574
|
-
|
|
1574
|
+
adminCount: number;
|
|
1575
1575
|
authorCount: number;
|
|
1576
1576
|
editorCount: number;
|
|
1577
|
-
|
|
1577
|
+
eventsCount: number;
|
|
1578
1578
|
newsCount: number;
|
|
1579
1579
|
pagesCount: number;
|
|
1580
|
-
|
|
1580
|
+
readerCount: number;
|
|
1581
1581
|
}
|
|
1582
1582
|
export interface Group extends GroupSummary {
|
|
1583
1583
|
rules: GroupRules;
|
|
1584
1584
|
statistics: GroupStatistics;
|
|
1585
1585
|
users: UserRoleAssignment[];
|
|
1586
1586
|
}
|
|
1587
|
-
export interface NestedGroup extends Group {
|
|
1588
|
-
parentId: string;
|
|
1587
|
+
export interface NestedGroup extends Omit<Group, 'users'> {
|
|
1589
1588
|
isParent: boolean;
|
|
1589
|
+
parentId: string;
|
|
1590
|
+
users: GroupUser[];
|
|
1590
1591
|
}
|
|
1591
1592
|
export type GroupRules = {
|
|
1592
1593
|
[K in GroupRoleNames]?: GroupRule;
|
|
1593
1594
|
};
|
|
1594
1595
|
export interface GroupRule {
|
|
1595
|
-
includeNonDirectoryUsers?: boolean;
|
|
1596
|
-
includeDirectoryUsers?: boolean;
|
|
1597
1596
|
adGroups?: Account[];
|
|
1597
|
+
includeDirectoryUsers?: boolean;
|
|
1598
|
+
includeNonDirectoryUsers?: boolean;
|
|
1598
1599
|
}
|
|
1599
1600
|
}
|
|
1600
1601
|
declare module "libs/reach/util/common/src/user/UserInfo" {
|
|
@@ -11775,7 +11776,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
11775
11776
|
isReadOnly?: boolean;
|
|
11776
11777
|
main: (editor: Editor) => JSX.Element;
|
|
11777
11778
|
mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
|
|
11778
|
-
onAddFiles?: (files
|
|
11779
|
+
onAddFiles?: (files: {
|
|
11779
11780
|
file: File;
|
|
11780
11781
|
}[], isDrop?: boolean) => Promise<void>;
|
|
11781
11782
|
onEditFiles?: (files: {
|