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