@livetiles/reach-plugin-types 0.5.0-preview.1032 → 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.
Files changed (2) hide show
  1. package/lib/index.d.ts +15 -14
  2. 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
- description: string;
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
- readerCount: number;
1574
+ adminCount: number;
1575
1575
  authorCount: number;
1576
1576
  editorCount: number;
1577
- adminCount: number;
1577
+ eventsCount: number;
1578
1578
  newsCount: number;
1579
1579
  pagesCount: number;
1580
- eventsCount: number;
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" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1032",
7
+ "version": "0.5.0-preview.1033",
8
8
  "dependencies": {}
9
9
  }