@livetiles/reach-plugin-types 0.5.0-preview.954 → 0.5.0-preview.956
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 +82 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2750,7 +2750,77 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2750
2750
|
clear: () => Promise<void>;
|
|
2751
2751
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2752
2752
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2753
|
-
get: () => Promise<
|
|
2753
|
+
get: () => Promise<{
|
|
2754
|
+
subscription: {
|
|
2755
|
+
logoInfo: {
|
|
2756
|
+
smallUrl: any;
|
|
2757
|
+
largeUrl: string;
|
|
2758
|
+
isLegacyLogo: boolean;
|
|
2759
|
+
};
|
|
2760
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2761
|
+
featureMask: string;
|
|
2762
|
+
company: string;
|
|
2763
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2764
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2765
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2766
|
+
customDomain?: string;
|
|
2767
|
+
allowSelfRegistration?: boolean;
|
|
2768
|
+
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
2769
|
+
hideSubscriptionName?: boolean;
|
|
2770
|
+
id: string;
|
|
2771
|
+
subscriptionName: string;
|
|
2772
|
+
subscriptionHandle?: string;
|
|
2773
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2774
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2775
|
+
defaultLanguage: string;
|
|
2776
|
+
faviconUrl?: string;
|
|
2777
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2778
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2779
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2780
|
+
useInAppBrowser?: boolean;
|
|
2781
|
+
hasUnreadItems: boolean;
|
|
2782
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2783
|
+
termsAndConditionsHash?: string;
|
|
2784
|
+
};
|
|
2785
|
+
isEmailVerificationPending?: boolean;
|
|
2786
|
+
isSubscriptionOwner: boolean;
|
|
2787
|
+
givenName: string;
|
|
2788
|
+
surname: string;
|
|
2789
|
+
preferredUiLanguage: string;
|
|
2790
|
+
preferredContentLanguage?: string;
|
|
2791
|
+
preferredLocale?: string;
|
|
2792
|
+
bookmarks: string[];
|
|
2793
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2794
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2795
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2796
|
+
userHash: string;
|
|
2797
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2798
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2799
|
+
unreadPosts: {
|
|
2800
|
+
groupId: string;
|
|
2801
|
+
itemId: string;
|
|
2802
|
+
}[];
|
|
2803
|
+
unreadFeedItemsCount?: number;
|
|
2804
|
+
mostRecentPostGroups: string[];
|
|
2805
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2806
|
+
hasPendingRegistration?: boolean;
|
|
2807
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2808
|
+
hasDirectory: boolean;
|
|
2809
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2810
|
+
termsAndConditionsApprovedHash: string;
|
|
2811
|
+
isPublicUser?: boolean;
|
|
2812
|
+
hasUnreadChats?: boolean;
|
|
2813
|
+
publicSubscriptionIds?: string[];
|
|
2814
|
+
id?: string;
|
|
2815
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2816
|
+
tenantId?: string;
|
|
2817
|
+
displayName?: string;
|
|
2818
|
+
userPrincipalName?: string;
|
|
2819
|
+
mail?: string;
|
|
2820
|
+
tokenUniqueId?: string;
|
|
2821
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2822
|
+
created?: string;
|
|
2823
|
+
}>;
|
|
2754
2824
|
};
|
|
2755
2825
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2756
2826
|
availableSubscriptions: SubscriptionSummary[];
|
|
@@ -6398,6 +6468,16 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/Card" {
|
|
|
6398
6468
|
const Card: FC<ICardProps>;
|
|
6399
6469
|
export default Card;
|
|
6400
6470
|
}
|
|
6471
|
+
declare module "libs/reach/ui/common/src/reach-2/tabs/TabGroup" {
|
|
6472
|
+
import { FC } from 'react';
|
|
6473
|
+
interface ITabGroupProps {
|
|
6474
|
+
onChange: (tab: string) => void;
|
|
6475
|
+
selectedTab: string;
|
|
6476
|
+
tabs: string[];
|
|
6477
|
+
}
|
|
6478
|
+
export const TabGroup: FC<ITabGroupProps>;
|
|
6479
|
+
export default TabGroup;
|
|
6480
|
+
}
|
|
6401
6481
|
declare module "libs/reach/ui/common/src/reach-2/TextField" {
|
|
6402
6482
|
import { FC, InputHTMLAttributes } from 'react';
|
|
6403
6483
|
export interface ITextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -6427,6 +6507,7 @@ declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
|
6427
6507
|
export * from "libs/reach/ui/common/src/reach-2/SearchBox";
|
|
6428
6508
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
|
|
6429
6509
|
export { default as Card } from "libs/reach/ui/common/src/reach-2/surfaces/Card";
|
|
6510
|
+
export { default as TabGroup } from "libs/reach/ui/common/src/reach-2/tabs/TabGroup";
|
|
6430
6511
|
export { default as TextField } from "libs/reach/ui/common/src/reach-2/TextField";
|
|
6431
6512
|
export * from "libs/reach/ui/common/src/reach-2/typography/Typography";
|
|
6432
6513
|
export * from "libs/reach/ui/common/src/reach-2/utils";
|