@livetiles/reach-plugin-types 0.4.0-preview.61 → 0.4.0-preview.62
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 +22 -18
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1068,6 +1068,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1068
1068
|
[key: string]: string;
|
|
1069
1069
|
};
|
|
1070
1070
|
mode: AudienceMatchMode;
|
|
1071
|
+
includeDirectoryUsers?: boolean;
|
|
1072
|
+
includeNonDirectoryUsers?: boolean;
|
|
1071
1073
|
}
|
|
1072
1074
|
}
|
|
1073
1075
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -5491,6 +5493,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5491
5493
|
}
|
|
5492
5494
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5493
5495
|
}
|
|
5496
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5497
|
+
import { IntlShape } from 'react-intl';
|
|
5498
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5499
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5500
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5501
|
+
export const systemAccountGroupIds: {
|
|
5502
|
+
everyone: string;
|
|
5503
|
+
directoryUsers: string;
|
|
5504
|
+
nonDirectoryUsers: string;
|
|
5505
|
+
allGroups: string[];
|
|
5506
|
+
};
|
|
5507
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5508
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5509
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5510
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5511
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5512
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5513
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5514
|
+
export const isUser: (account: Account) => boolean;
|
|
5515
|
+
}
|
|
5494
5516
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5495
5517
|
import { FC } from 'react';
|
|
5496
5518
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -6002,24 +6024,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6002
6024
|
import { FC } from 'react';
|
|
6003
6025
|
export const GroupListPage: FC;
|
|
6004
6026
|
}
|
|
6005
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6006
|
-
import { IntlShape } from 'react-intl';
|
|
6007
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6008
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6009
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6010
|
-
export const systemAccountGroupIds: {
|
|
6011
|
-
everyone: string;
|
|
6012
|
-
directoryUsers: string;
|
|
6013
|
-
nonDirectoryUsers: string;
|
|
6014
|
-
allGroups: string[];
|
|
6015
|
-
};
|
|
6016
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6017
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6018
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6019
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6020
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6021
|
-
export const isUser: (account: Account) => boolean;
|
|
6022
|
-
}
|
|
6023
6027
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6024
6028
|
import { FC } from 'react';
|
|
6025
6029
|
import { Account } from "libs/reach/util/common/src/index";
|