@livetiles/reach-plugin-types 0.4.132 → 0.4.134
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 +71 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2710,7 +2710,77 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2710
2710
|
clear: () => Promise<void>;
|
|
2711
2711
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2712
2712
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2713
|
-
get: () => Promise<
|
|
2713
|
+
get: () => Promise<{
|
|
2714
|
+
subscription: {
|
|
2715
|
+
logoInfo: {
|
|
2716
|
+
smallUrl: any;
|
|
2717
|
+
largeUrl: string;
|
|
2718
|
+
isLegacyLogo: boolean;
|
|
2719
|
+
};
|
|
2720
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2721
|
+
featureMask: string;
|
|
2722
|
+
company: string;
|
|
2723
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2724
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2725
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2726
|
+
customDomain?: string;
|
|
2727
|
+
allowSelfRegistration?: boolean;
|
|
2728
|
+
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
2729
|
+
hideSubscriptionName?: boolean;
|
|
2730
|
+
id: string;
|
|
2731
|
+
subscriptionName: string;
|
|
2732
|
+
subscriptionHandle?: string;
|
|
2733
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2734
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2735
|
+
defaultLanguage: string;
|
|
2736
|
+
faviconUrl?: string;
|
|
2737
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2738
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2739
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2740
|
+
useInAppBrowser?: boolean;
|
|
2741
|
+
hasUnreadItems: boolean;
|
|
2742
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2743
|
+
termsAndConditionsHash?: string;
|
|
2744
|
+
};
|
|
2745
|
+
isEmailVerificationPending?: boolean;
|
|
2746
|
+
isSubscriptionOwner: boolean;
|
|
2747
|
+
givenName: string;
|
|
2748
|
+
surname: string;
|
|
2749
|
+
preferredUiLanguage: string;
|
|
2750
|
+
preferredContentLanguage?: string;
|
|
2751
|
+
preferredLocale?: string;
|
|
2752
|
+
bookmarks: string[];
|
|
2753
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2754
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2755
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2756
|
+
userHash: string;
|
|
2757
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2758
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2759
|
+
unreadPosts: {
|
|
2760
|
+
groupId: string;
|
|
2761
|
+
itemId: string;
|
|
2762
|
+
}[];
|
|
2763
|
+
unreadFeedItemsCount?: number;
|
|
2764
|
+
mostRecentPostGroups: string[];
|
|
2765
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2766
|
+
hasPendingRegistration?: boolean;
|
|
2767
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2768
|
+
hasDirectory: boolean;
|
|
2769
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2770
|
+
termsAndConditionsApprovedHash: string;
|
|
2771
|
+
isPublicUser?: boolean;
|
|
2772
|
+
hasUnreadChats?: boolean;
|
|
2773
|
+
publicSubscriptionIds?: string[];
|
|
2774
|
+
id?: string;
|
|
2775
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2776
|
+
tenantId?: string;
|
|
2777
|
+
displayName?: string;
|
|
2778
|
+
userPrincipalName?: string;
|
|
2779
|
+
mail?: string;
|
|
2780
|
+
tokenUniqueId?: string;
|
|
2781
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2782
|
+
created?: string;
|
|
2783
|
+
}>;
|
|
2714
2784
|
};
|
|
2715
2785
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2716
2786
|
availableSubscriptions: SubscriptionSummary[];
|