@livetiles/reach-plugin-types 0.4.0-preview.744 → 0.4.0-preview.748
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 +254 -250
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4703,6 +4703,12 @@ declare module "libs/reach/ui/common/src/common/error-states/index" {
|
|
|
4703
4703
|
export { ReactComponent as LoginError } from './login_error.svg';
|
|
4704
4704
|
export { ReactComponent as NoAccess } from './no_access.svg';
|
|
4705
4705
|
}
|
|
4706
|
+
declare module "libs/reach/ui/common/src/common/MenuItemBadge" {
|
|
4707
|
+
import { FC } from 'react';
|
|
4708
|
+
export const MenuItemBadge: FC<{
|
|
4709
|
+
info: number | boolean;
|
|
4710
|
+
}>;
|
|
4711
|
+
}
|
|
4706
4712
|
declare module "libs/reach/ui/common/src/common/index" {
|
|
4707
4713
|
export * from "libs/reach/ui/common/src/common/AudioFile";
|
|
4708
4714
|
export * from "libs/reach/ui/common/src/common/GroupedListItemStyles";
|
|
@@ -4813,6 +4819,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4813
4819
|
export * from "libs/reach/ui/common/src/common/user/UserPropertyWrapper";
|
|
4814
4820
|
export * from "libs/reach/ui/common/src/common/TextLink";
|
|
4815
4821
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
4822
|
+
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
4816
4823
|
}
|
|
4817
4824
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
4818
4825
|
import { ReactNode } from 'react';
|
|
@@ -6278,247 +6285,6 @@ declare module "apps/reach-app/src/app/admin/users/UsersPage" {
|
|
|
6278
6285
|
import { FC } from 'react';
|
|
6279
6286
|
export const UsersPage: FC;
|
|
6280
6287
|
}
|
|
6281
|
-
declare module "apps/reach-app/src/app/chrome/MenuItemBadge" {
|
|
6282
|
-
import { FC } from 'react';
|
|
6283
|
-
export const MenuItemBadge: FC<{
|
|
6284
|
-
info: number | boolean;
|
|
6285
|
-
}>;
|
|
6286
|
-
}
|
|
6287
|
-
declare module "apps/reach-app/src/app/chrome/SidebarIcon" {
|
|
6288
|
-
import { LocationDescriptor } from 'history';
|
|
6289
|
-
import { FC, ReactNode } from 'react';
|
|
6290
|
-
export const SidebarIcon: FC<{
|
|
6291
|
-
icon?: ReactNode;
|
|
6292
|
-
iconName?: string;
|
|
6293
|
-
color?: string;
|
|
6294
|
-
onClick?: () => any;
|
|
6295
|
-
route?: LocationDescriptor;
|
|
6296
|
-
iconTooltipResourceKey: string;
|
|
6297
|
-
iconTooltipResourceValues?: any;
|
|
6298
|
-
className?: string;
|
|
6299
|
-
}>;
|
|
6300
|
-
}
|
|
6301
|
-
declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
6302
|
-
import { FC, ReactNode } from 'react';
|
|
6303
|
-
import './BaseSidebarItem.scss';
|
|
6304
|
-
import { LocationDescriptor } from 'history';
|
|
6305
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
6306
|
-
export interface BaseSidebarItemProps {
|
|
6307
|
-
children?: any;
|
|
6308
|
-
icon?: ReactNode;
|
|
6309
|
-
iconName?: string;
|
|
6310
|
-
iconTooltipResourceKey?: string;
|
|
6311
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
6312
|
-
secondaryIconName?: string;
|
|
6313
|
-
secondaryIconTooltipResourceKey?: string;
|
|
6314
|
-
reverse?: boolean;
|
|
6315
|
-
onIconClick?: () => void;
|
|
6316
|
-
iconRoute?: LocationDescriptor;
|
|
6317
|
-
iconColor?: string;
|
|
6318
|
-
onSecondaryIconClick?: () => void;
|
|
6319
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
6320
|
-
onContentClick?: () => void;
|
|
6321
|
-
contentRoute?: LocationDescriptor;
|
|
6322
|
-
badgeInfo?: number | boolean;
|
|
6323
|
-
className?: string;
|
|
6324
|
-
}
|
|
6325
|
-
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
6326
|
-
}
|
|
6327
|
-
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
6328
|
-
import { FC } from 'react';
|
|
6329
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
6330
|
-
export const SidebarItemSection: FC<{
|
|
6331
|
-
styleDefinition?: ColorStyleDefinition;
|
|
6332
|
-
}>;
|
|
6333
|
-
}
|
|
6334
|
-
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
6335
|
-
import { FC, ReactNode } from 'react';
|
|
6336
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
6337
|
-
import './SidebarItem.scss';
|
|
6338
|
-
import { LocationDescriptor } from 'history';
|
|
6339
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
6340
|
-
interface CommonSidebarItemProps {
|
|
6341
|
-
title?: string | JSX.Element;
|
|
6342
|
-
titleResource?: string;
|
|
6343
|
-
icon?: ReactNode;
|
|
6344
|
-
iconName?: string;
|
|
6345
|
-
iconTooltipResourceKey?: string;
|
|
6346
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
6347
|
-
secondaryIconName?: string;
|
|
6348
|
-
secondaryIconTooltipResourceKey?: string;
|
|
6349
|
-
iconColor?: string;
|
|
6350
|
-
reverse?: boolean;
|
|
6351
|
-
notHighlightable?: boolean;
|
|
6352
|
-
onClick?: () => void;
|
|
6353
|
-
className?: string;
|
|
6354
|
-
isActive?: boolean;
|
|
6355
|
-
activeClassName?: string;
|
|
6356
|
-
readOnly?: boolean;
|
|
6357
|
-
submenu?: JSX.Element;
|
|
6358
|
-
submenuClassName?: string;
|
|
6359
|
-
submenuStyleDefinition?: ColorStyleDefinition;
|
|
6360
|
-
badgeInfo?: number | boolean;
|
|
6361
|
-
domIdentifier?: string;
|
|
6362
|
-
}
|
|
6363
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
6364
|
-
contentRoute?: LocationDescriptor;
|
|
6365
|
-
onIconClick?: () => void;
|
|
6366
|
-
iconRoute?: LocationDescriptor;
|
|
6367
|
-
onSecondaryIconClick?: () => void;
|
|
6368
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
6369
|
-
isHoverable?: boolean;
|
|
6370
|
-
}
|
|
6371
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
6372
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
6373
|
-
route: LocationDescriptor;
|
|
6374
|
-
exact?: boolean;
|
|
6375
|
-
linkClassName?: string;
|
|
6376
|
-
}
|
|
6377
|
-
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
6378
|
-
}
|
|
6379
|
-
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
6380
|
-
import { FC } from 'react';
|
|
6381
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
6382
|
-
export const NotFoundAlert: FC<import("react-intl").WithIntlProps<WrappedComponentProps<"intl">>> & {
|
|
6383
|
-
WrappedComponent: import("react").ComponentType<WrappedComponentProps<"intl">>;
|
|
6384
|
-
};
|
|
6385
|
-
const NotFoundPage: FC;
|
|
6386
|
-
export default NotFoundPage;
|
|
6387
|
-
}
|
|
6388
|
-
declare module "apps/reach-app/src/app/admin/groups/Card" {
|
|
6389
|
-
export const Card: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6390
|
-
export const CardSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6391
|
-
export const CardContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6392
|
-
export const Icons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6393
|
-
}
|
|
6394
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupCard" {
|
|
6395
|
-
import { ReactNode } from 'react';
|
|
6396
|
-
import { GroupSummary } from "libs/reach/util/common/src/index";
|
|
6397
|
-
type Props = {
|
|
6398
|
-
group: GroupSummary;
|
|
6399
|
-
className?: string;
|
|
6400
|
-
children?: ReactNode;
|
|
6401
|
-
buttons?: ReactNode;
|
|
6402
|
-
dragSource?: ReactNode;
|
|
6403
|
-
isCompactView?: boolean;
|
|
6404
|
-
};
|
|
6405
|
-
export const GroupCard: React.FC<Props>;
|
|
6406
|
-
}
|
|
6407
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupStatisticsDisplay" {
|
|
6408
|
-
import { Group } from "libs/reach/util/common/src/index";
|
|
6409
|
-
export const GroupStatisticsDisplay: React.FC<{
|
|
6410
|
-
group: Group;
|
|
6411
|
-
className?: string;
|
|
6412
|
-
}>;
|
|
6413
|
-
}
|
|
6414
|
-
declare module "apps/reach-app/src/app/admin/groups/useGroupAdminApi" {
|
|
6415
|
-
import { Group, GroupRule, GroupSummary, PaginatedList, UserRoleAssignment } from "libs/reach/util/common/src/index";
|
|
6416
|
-
import { GroupRoles, GroupUser } from "libs/reach/util/common/src/index";
|
|
6417
|
-
export function useGroupAdminApi(): {
|
|
6418
|
-
getGroups: () => Promise<GroupSummary[]>;
|
|
6419
|
-
updateGroupsOrder: (groupIds: string[]) => Promise<GroupSummary[]>;
|
|
6420
|
-
getGroup: (groupId: string) => Promise<Group>;
|
|
6421
|
-
updateGroup: (group: GroupSummary) => Promise<Group>;
|
|
6422
|
-
deleteGroup: (groupId: string) => Promise<unknown>;
|
|
6423
|
-
updateRule: (groupId: string, role: GroupRoles, rule: GroupRule) => Promise<GroupRule>;
|
|
6424
|
-
createGroup: (group: GroupSummary) => Promise<Group>;
|
|
6425
|
-
getMembers: (groupId: string, search?: string, nextPageToken?: string) => Promise<PaginatedList<GroupUser>>;
|
|
6426
|
-
addUser: (groupId: string, roleAssignment: UserRoleAssignment) => Promise<unknown>;
|
|
6427
|
-
deleteUser: (groupId: string, userId: string) => Promise<unknown>;
|
|
6428
|
-
deleteAdGroup: (groupId: string, role: string, adGroupTokenUniqueId: string) => Promise<unknown>;
|
|
6429
|
-
};
|
|
6430
|
-
}
|
|
6431
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupDetails" {
|
|
6432
|
-
import { FC } from 'react';
|
|
6433
|
-
export const GroupDetails: FC<{
|
|
6434
|
-
groupId: string;
|
|
6435
|
-
className?: string;
|
|
6436
|
-
}>;
|
|
6437
|
-
}
|
|
6438
|
-
declare module "apps/reach-app/src/app/admin/groups/EditableGroupCard" {
|
|
6439
|
-
import { FC } from 'react';
|
|
6440
|
-
import { GroupSummary } from "libs/reach/util/common/src/index";
|
|
6441
|
-
interface EditableGroupCardProps {
|
|
6442
|
-
group: GroupSummary;
|
|
6443
|
-
onChange: (group: GroupSummary) => void;
|
|
6444
|
-
onSaveClick: () => void;
|
|
6445
|
-
onCancelClick: () => void;
|
|
6446
|
-
}
|
|
6447
|
-
export const EditableGroupCard: FC<EditableGroupCardProps>;
|
|
6448
|
-
}
|
|
6449
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupList" {
|
|
6450
|
-
import { FC } from 'react';
|
|
6451
|
-
import { GroupSummary } from "libs/reach/util/common/src/index";
|
|
6452
|
-
type Props = {
|
|
6453
|
-
groups: GroupSummary[];
|
|
6454
|
-
canDelete?: boolean;
|
|
6455
|
-
disableDragAndDrop?: boolean;
|
|
6456
|
-
onDeleteClick?: (group: GroupSummary) => void;
|
|
6457
|
-
onSaveGroupClick?: (group: GroupSummary) => void;
|
|
6458
|
-
onAllowPostsToggleChange?: () => void;
|
|
6459
|
-
onUpdateGroupsOrder?: (groups: GroupSummary[]) => Promise<void>;
|
|
6460
|
-
isCompactView?: boolean;
|
|
6461
|
-
disableAllowPostsToggle?: boolean;
|
|
6462
|
-
};
|
|
6463
|
-
export const GroupList: FC<Props>;
|
|
6464
|
-
}
|
|
6465
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
6466
|
-
import { FC } from 'react';
|
|
6467
|
-
export const GroupListPage: FC;
|
|
6468
|
-
}
|
|
6469
|
-
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6470
|
-
import { FC } from 'react';
|
|
6471
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6472
|
-
import { GroupRoles } from "libs/reach/util/common/src/index";
|
|
6473
|
-
export const UserRolePicker: FC<{
|
|
6474
|
-
onChange: (accounts: Account[], role: GroupRoles) => void;
|
|
6475
|
-
disabled?: boolean;
|
|
6476
|
-
useEveryoneGroup?: boolean;
|
|
6477
|
-
}>;
|
|
6478
|
-
}
|
|
6479
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupMembersPageStateUtil" {
|
|
6480
|
-
import { GroupRoles, GroupUser, UserSummary } from "libs/reach/util/common/src/index";
|
|
6481
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6482
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6483
|
-
export const removeUserFromState: (users: GroupUser[], user: UserSummary) => GroupUser[];
|
|
6484
|
-
export const removeSystemGroupFromState: (group: Group, role: string, rulePatch: any) => Group;
|
|
6485
|
-
export const removeAdGroupFromState: (group: Group, users: GroupUser[], rule: string, userIndex: number, groupIndex: number) => {
|
|
6486
|
-
group: Group;
|
|
6487
|
-
users: GroupUser[];
|
|
6488
|
-
};
|
|
6489
|
-
export const updateRoleInState: (users: GroupUser[], group: Group, user: Account, role: GroupRoles, rolePatch: any) => {
|
|
6490
|
-
users: GroupUser[];
|
|
6491
|
-
group: Group;
|
|
6492
|
-
};
|
|
6493
|
-
export const ensureRuleForRole: (group: Group, roleName: string) => Group;
|
|
6494
|
-
export const findCurrentGroupLocation: (stateGroup: Group, group: Group, tokenUniqueId: string, oldRoleName?: string) => [number, string];
|
|
6495
|
-
export const inviteUsersOrAdGroupsOnState: (users: GroupUser[], initialGroup: Group, newAccounts: Account[], role: GroupRoles) => {
|
|
6496
|
-
group: Group;
|
|
6497
|
-
users: GroupUser[];
|
|
6498
|
-
};
|
|
6499
|
-
export const removeAdGroup: (group: Group, roleName: string, index: number) => Group;
|
|
6500
|
-
export const addAdGroup: (group: Group, roleName: string, user: Account) => Group;
|
|
6501
|
-
export const getUpdatedGroupFromRulePatch: (group: Group, roleName: string, rulePatch: Partial<GroupRule>) => Group;
|
|
6502
|
-
export const uniqueAccounts: (list: any[]) => any[];
|
|
6503
|
-
export const toAddedUser: (account: Account, role: GroupRoles) => Partial<GroupUser>;
|
|
6504
|
-
}
|
|
6505
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupMembersPage" {
|
|
6506
|
-
import { FC } from 'react';
|
|
6507
|
-
export const GroupMembersPage: FC;
|
|
6508
|
-
}
|
|
6509
|
-
declare module "apps/reach-app/src/app/admin/groups/SectionWithDescription" {
|
|
6510
|
-
import { FC } from 'react';
|
|
6511
|
-
export const SectionWithDescription: FC<{
|
|
6512
|
-
titleId: string;
|
|
6513
|
-
descriptionId: string;
|
|
6514
|
-
children: React.ReactNode;
|
|
6515
|
-
className?: string;
|
|
6516
|
-
}>;
|
|
6517
|
-
}
|
|
6518
|
-
declare module "apps/reach-app/src/app/admin/groups/GroupChannelsPages" {
|
|
6519
|
-
import { FC } from 'react';
|
|
6520
|
-
export const GroupsChannelsPage: FC;
|
|
6521
|
-
}
|
|
6522
6288
|
declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
6523
6289
|
import { FC } from 'react';
|
|
6524
6290
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -9752,6 +9518,104 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9752
9518
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9753
9519
|
};
|
|
9754
9520
|
}
|
|
9521
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
9522
|
+
import { LocationDescriptor } from 'history';
|
|
9523
|
+
import { FC, ReactNode } from 'react';
|
|
9524
|
+
export const SidebarIcon: FC<{
|
|
9525
|
+
icon?: ReactNode;
|
|
9526
|
+
iconName?: string;
|
|
9527
|
+
color?: string;
|
|
9528
|
+
onClick?: () => any;
|
|
9529
|
+
route?: LocationDescriptor;
|
|
9530
|
+
iconTooltipResourceKey: string;
|
|
9531
|
+
iconTooltipResourceValues?: any;
|
|
9532
|
+
className?: string;
|
|
9533
|
+
}>;
|
|
9534
|
+
}
|
|
9535
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
9536
|
+
import { FC, ReactNode } from 'react';
|
|
9537
|
+
import { LocationDescriptor } from 'history';
|
|
9538
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
9539
|
+
export interface BaseSidebarItemProps {
|
|
9540
|
+
children?: any;
|
|
9541
|
+
icon?: ReactNode;
|
|
9542
|
+
iconName?: string;
|
|
9543
|
+
iconTooltipResourceKey?: string;
|
|
9544
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9545
|
+
secondaryIconName?: string;
|
|
9546
|
+
secondaryIconTooltipResourceKey?: string;
|
|
9547
|
+
reverse?: boolean;
|
|
9548
|
+
onIconClick?: () => void;
|
|
9549
|
+
iconRoute?: LocationDescriptor;
|
|
9550
|
+
iconColor?: string;
|
|
9551
|
+
onSecondaryIconClick?: () => void;
|
|
9552
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
9553
|
+
onContentClick?: () => void;
|
|
9554
|
+
contentRoute?: LocationDescriptor;
|
|
9555
|
+
badgeInfo?: number | boolean;
|
|
9556
|
+
className?: string;
|
|
9557
|
+
}
|
|
9558
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
9559
|
+
}
|
|
9560
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
9561
|
+
import { FC } from 'react';
|
|
9562
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
9563
|
+
export const SidebarItemSection: FC<{
|
|
9564
|
+
styleDefinition?: ColorStyleDefinition;
|
|
9565
|
+
}>;
|
|
9566
|
+
}
|
|
9567
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
9568
|
+
import { FC, ReactNode } from 'react';
|
|
9569
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
9570
|
+
import { LocationDescriptor } from 'history';
|
|
9571
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
9572
|
+
interface CommonSidebarItemProps {
|
|
9573
|
+
title?: string | JSX.Element;
|
|
9574
|
+
titleResource?: string;
|
|
9575
|
+
icon?: ReactNode;
|
|
9576
|
+
iconName?: string;
|
|
9577
|
+
iconTooltipResourceKey?: string;
|
|
9578
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
9579
|
+
secondaryIconName?: string;
|
|
9580
|
+
secondaryIconTooltipResourceKey?: string;
|
|
9581
|
+
iconColor?: string;
|
|
9582
|
+
reverse?: boolean;
|
|
9583
|
+
notHighlightable?: boolean;
|
|
9584
|
+
onClick?: () => void;
|
|
9585
|
+
className?: string;
|
|
9586
|
+
isActive?: boolean;
|
|
9587
|
+
activeClassName?: string;
|
|
9588
|
+
readOnly?: boolean;
|
|
9589
|
+
submenu?: JSX.Element;
|
|
9590
|
+
submenuClassName?: string;
|
|
9591
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
9592
|
+
badgeInfo?: number | boolean;
|
|
9593
|
+
domIdentifier?: string;
|
|
9594
|
+
}
|
|
9595
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
9596
|
+
contentRoute?: LocationDescriptor;
|
|
9597
|
+
onIconClick?: () => void;
|
|
9598
|
+
iconRoute?: LocationDescriptor;
|
|
9599
|
+
onSecondaryIconClick?: () => void;
|
|
9600
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
9601
|
+
isHoverable?: boolean;
|
|
9602
|
+
}
|
|
9603
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
9604
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
9605
|
+
route: LocationDescriptor;
|
|
9606
|
+
exact?: boolean;
|
|
9607
|
+
linkClassName?: string;
|
|
9608
|
+
}
|
|
9609
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
9610
|
+
}
|
|
9611
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
9612
|
+
import { FC } from 'react';
|
|
9613
|
+
export const SidebarGroup: FC<{
|
|
9614
|
+
titleResource?: string;
|
|
9615
|
+
borderColor?: string;
|
|
9616
|
+
className?: string;
|
|
9617
|
+
}>;
|
|
9618
|
+
}
|
|
9755
9619
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
9756
9620
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
9757
9621
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
@@ -9845,6 +9709,11 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9845
9709
|
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
9846
9710
|
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
9847
9711
|
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
9712
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
9713
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
9714
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
9715
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
9716
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
9848
9717
|
}
|
|
9849
9718
|
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
9850
9719
|
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
@@ -11704,6 +11573,149 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
11704
11573
|
export * from "libs/reach/feature/content/src/stream/index";
|
|
11705
11574
|
export * from "libs/reach/feature/content/src/search/index";
|
|
11706
11575
|
}
|
|
11576
|
+
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
11577
|
+
import { FC } from 'react';
|
|
11578
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11579
|
+
export const NotFoundAlert: FC<import("react-intl").WithIntlProps<WrappedComponentProps<"intl">>> & {
|
|
11580
|
+
WrappedComponent: import("react").ComponentType<WrappedComponentProps<"intl">>;
|
|
11581
|
+
};
|
|
11582
|
+
const NotFoundPage: FC;
|
|
11583
|
+
export default NotFoundPage;
|
|
11584
|
+
}
|
|
11585
|
+
declare module "apps/reach-app/src/app/admin/groups/Card" {
|
|
11586
|
+
export const Card: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11587
|
+
export const CardSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11588
|
+
export const CardContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11589
|
+
export const Icons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11590
|
+
}
|
|
11591
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupCard" {
|
|
11592
|
+
import { ReactNode } from 'react';
|
|
11593
|
+
import { GroupSummary } from "libs/reach/util/common/src/index";
|
|
11594
|
+
type Props = {
|
|
11595
|
+
group: GroupSummary;
|
|
11596
|
+
className?: string;
|
|
11597
|
+
children?: ReactNode;
|
|
11598
|
+
buttons?: ReactNode;
|
|
11599
|
+
dragSource?: ReactNode;
|
|
11600
|
+
isCompactView?: boolean;
|
|
11601
|
+
};
|
|
11602
|
+
export const GroupCard: React.FC<Props>;
|
|
11603
|
+
}
|
|
11604
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupStatisticsDisplay" {
|
|
11605
|
+
import { Group } from "libs/reach/util/common/src/index";
|
|
11606
|
+
export const GroupStatisticsDisplay: React.FC<{
|
|
11607
|
+
group: Group;
|
|
11608
|
+
className?: string;
|
|
11609
|
+
}>;
|
|
11610
|
+
}
|
|
11611
|
+
declare module "apps/reach-app/src/app/admin/groups/useGroupAdminApi" {
|
|
11612
|
+
import { Group, GroupRule, GroupSummary, PaginatedList, UserRoleAssignment } from "libs/reach/util/common/src/index";
|
|
11613
|
+
import { GroupRoles, GroupUser } from "libs/reach/util/common/src/index";
|
|
11614
|
+
export function useGroupAdminApi(): {
|
|
11615
|
+
getGroups: () => Promise<GroupSummary[]>;
|
|
11616
|
+
updateGroupsOrder: (groupIds: string[]) => Promise<GroupSummary[]>;
|
|
11617
|
+
getGroup: (groupId: string) => Promise<Group>;
|
|
11618
|
+
updateGroup: (group: GroupSummary) => Promise<Group>;
|
|
11619
|
+
deleteGroup: (groupId: string) => Promise<unknown>;
|
|
11620
|
+
updateRule: (groupId: string, role: GroupRoles, rule: GroupRule) => Promise<GroupRule>;
|
|
11621
|
+
createGroup: (group: GroupSummary) => Promise<Group>;
|
|
11622
|
+
getMembers: (groupId: string, search?: string, nextPageToken?: string) => Promise<PaginatedList<GroupUser>>;
|
|
11623
|
+
addUser: (groupId: string, roleAssignment: UserRoleAssignment) => Promise<unknown>;
|
|
11624
|
+
deleteUser: (groupId: string, userId: string) => Promise<unknown>;
|
|
11625
|
+
deleteAdGroup: (groupId: string, role: string, adGroupTokenUniqueId: string) => Promise<unknown>;
|
|
11626
|
+
};
|
|
11627
|
+
}
|
|
11628
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupDetails" {
|
|
11629
|
+
import { FC } from 'react';
|
|
11630
|
+
export const GroupDetails: FC<{
|
|
11631
|
+
groupId: string;
|
|
11632
|
+
className?: string;
|
|
11633
|
+
}>;
|
|
11634
|
+
}
|
|
11635
|
+
declare module "apps/reach-app/src/app/admin/groups/EditableGroupCard" {
|
|
11636
|
+
import { FC } from 'react';
|
|
11637
|
+
import { GroupSummary } from "libs/reach/util/common/src/index";
|
|
11638
|
+
interface EditableGroupCardProps {
|
|
11639
|
+
group: GroupSummary;
|
|
11640
|
+
onChange: (group: GroupSummary) => void;
|
|
11641
|
+
onSaveClick: () => void;
|
|
11642
|
+
onCancelClick: () => void;
|
|
11643
|
+
}
|
|
11644
|
+
export const EditableGroupCard: FC<EditableGroupCardProps>;
|
|
11645
|
+
}
|
|
11646
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupList" {
|
|
11647
|
+
import { FC } from 'react';
|
|
11648
|
+
import { GroupSummary } from "libs/reach/util/common/src/index";
|
|
11649
|
+
type Props = {
|
|
11650
|
+
groups: GroupSummary[];
|
|
11651
|
+
canDelete?: boolean;
|
|
11652
|
+
disableDragAndDrop?: boolean;
|
|
11653
|
+
onDeleteClick?: (group: GroupSummary) => void;
|
|
11654
|
+
onSaveGroupClick?: (group: GroupSummary) => void;
|
|
11655
|
+
onAllowPostsToggleChange?: () => void;
|
|
11656
|
+
onUpdateGroupsOrder?: (groups: GroupSummary[]) => Promise<void>;
|
|
11657
|
+
isCompactView?: boolean;
|
|
11658
|
+
disableAllowPostsToggle?: boolean;
|
|
11659
|
+
};
|
|
11660
|
+
export const GroupList: FC<Props>;
|
|
11661
|
+
}
|
|
11662
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
11663
|
+
import { FC } from 'react';
|
|
11664
|
+
export const GroupListPage: FC;
|
|
11665
|
+
}
|
|
11666
|
+
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
11667
|
+
import { FC } from 'react';
|
|
11668
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
11669
|
+
import { GroupRoles } from "libs/reach/util/common/src/index";
|
|
11670
|
+
export const UserRolePicker: FC<{
|
|
11671
|
+
onChange: (accounts: Account[], role: GroupRoles) => void;
|
|
11672
|
+
disabled?: boolean;
|
|
11673
|
+
useEveryoneGroup?: boolean;
|
|
11674
|
+
}>;
|
|
11675
|
+
}
|
|
11676
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupMembersPageStateUtil" {
|
|
11677
|
+
import { GroupRoles, GroupUser, UserSummary } from "libs/reach/util/common/src/index";
|
|
11678
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
11679
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
11680
|
+
export const removeUserFromState: (users: GroupUser[], user: UserSummary) => GroupUser[];
|
|
11681
|
+
export const removeSystemGroupFromState: (group: Group, role: string, rulePatch: any) => Group;
|
|
11682
|
+
export const removeAdGroupFromState: (group: Group, users: GroupUser[], rule: string, userIndex: number, groupIndex: number) => {
|
|
11683
|
+
group: Group;
|
|
11684
|
+
users: GroupUser[];
|
|
11685
|
+
};
|
|
11686
|
+
export const updateRoleInState: (users: GroupUser[], group: Group, user: Account, role: GroupRoles, rolePatch: any) => {
|
|
11687
|
+
users: GroupUser[];
|
|
11688
|
+
group: Group;
|
|
11689
|
+
};
|
|
11690
|
+
export const ensureRuleForRole: (group: Group, roleName: string) => Group;
|
|
11691
|
+
export const findCurrentGroupLocation: (stateGroup: Group, group: Group, tokenUniqueId: string, oldRoleName?: string) => [number, string];
|
|
11692
|
+
export const inviteUsersOrAdGroupsOnState: (users: GroupUser[], initialGroup: Group, newAccounts: Account[], role: GroupRoles) => {
|
|
11693
|
+
group: Group;
|
|
11694
|
+
users: GroupUser[];
|
|
11695
|
+
};
|
|
11696
|
+
export const removeAdGroup: (group: Group, roleName: string, index: number) => Group;
|
|
11697
|
+
export const addAdGroup: (group: Group, roleName: string, user: Account) => Group;
|
|
11698
|
+
export const getUpdatedGroupFromRulePatch: (group: Group, roleName: string, rulePatch: Partial<GroupRule>) => Group;
|
|
11699
|
+
export const uniqueAccounts: (list: any[]) => any[];
|
|
11700
|
+
export const toAddedUser: (account: Account, role: GroupRoles) => Partial<GroupUser>;
|
|
11701
|
+
}
|
|
11702
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupMembersPage" {
|
|
11703
|
+
import { FC } from 'react';
|
|
11704
|
+
export const GroupMembersPage: FC;
|
|
11705
|
+
}
|
|
11706
|
+
declare module "apps/reach-app/src/app/admin/groups/SectionWithDescription" {
|
|
11707
|
+
import { FC } from 'react';
|
|
11708
|
+
export const SectionWithDescription: FC<{
|
|
11709
|
+
titleId: string;
|
|
11710
|
+
descriptionId: string;
|
|
11711
|
+
children: React.ReactNode;
|
|
11712
|
+
className?: string;
|
|
11713
|
+
}>;
|
|
11714
|
+
}
|
|
11715
|
+
declare module "apps/reach-app/src/app/admin/groups/GroupChannelsPages" {
|
|
11716
|
+
import { FC } from 'react';
|
|
11717
|
+
export const GroupsChannelsPage: FC;
|
|
11718
|
+
}
|
|
11707
11719
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
11708
11720
|
import { FC } from 'react';
|
|
11709
11721
|
export const PublicAccessContext: import("react").Context<{
|
|
@@ -11885,14 +11897,6 @@ declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
|
11885
11897
|
}
|
|
11886
11898
|
export const Sidebar: FC<SidebarProps>;
|
|
11887
11899
|
}
|
|
11888
|
-
declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
11889
|
-
import { FC } from 'react';
|
|
11890
|
-
export const SidebarGroup: FC<{
|
|
11891
|
-
titleResource?: string;
|
|
11892
|
-
borderColor?: string;
|
|
11893
|
-
className?: string;
|
|
11894
|
-
}>;
|
|
11895
|
-
}
|
|
11896
11900
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
11897
11901
|
import { FC, ReactNode } from 'react';
|
|
11898
11902
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -12039,6 +12043,6 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
12039
12043
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
12040
12044
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
12041
12045
|
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
12042
|
-
import { NavLinkSidebarItem } from "
|
|
12046
|
+
import { NavLinkSidebarItem } from "libs/reach/feature/content/src/index";
|
|
12043
12047
|
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
12044
12048
|
}
|