@livetiles/reach-plugin-types 0.5.0-preview.912 → 0.5.0-preview.913
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
|
@@ -2741,83 +2741,13 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2741
2741
|
};
|
|
2742
2742
|
}
|
|
2743
2743
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2744
|
-
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2745
2744
|
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2745
|
+
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2746
2746
|
export function useCurrentUserCache(): {
|
|
2747
2747
|
clear: () => Promise<void>;
|
|
2748
2748
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2749
2749
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2750
|
-
get: () => Promise<
|
|
2751
|
-
subscription: {
|
|
2752
|
-
logoInfo: {
|
|
2753
|
-
smallUrl: any;
|
|
2754
|
-
largeUrl: string;
|
|
2755
|
-
isLegacyLogo: boolean;
|
|
2756
|
-
};
|
|
2757
|
-
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2758
|
-
featureMask: string;
|
|
2759
|
-
company: string;
|
|
2760
|
-
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2761
|
-
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2762
|
-
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2763
|
-
customDomain?: string;
|
|
2764
|
-
allowSelfRegistration?: boolean;
|
|
2765
|
-
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
2766
|
-
hideSubscriptionName?: boolean;
|
|
2767
|
-
id: string;
|
|
2768
|
-
subscriptionName: string;
|
|
2769
|
-
subscriptionHandle?: string;
|
|
2770
|
-
contact: import("@livetiles/reach/util/common").Account;
|
|
2771
|
-
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2772
|
-
defaultLanguage: string;
|
|
2773
|
-
faviconUrl?: string;
|
|
2774
|
-
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2775
|
-
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2776
|
-
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2777
|
-
useInAppBrowser?: boolean;
|
|
2778
|
-
hasUnreadItems: boolean;
|
|
2779
|
-
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2780
|
-
termsAndConditionsHash?: string;
|
|
2781
|
-
};
|
|
2782
|
-
isEmailVerificationPending?: boolean;
|
|
2783
|
-
isSubscriptionOwner: boolean;
|
|
2784
|
-
givenName: string;
|
|
2785
|
-
surname: string;
|
|
2786
|
-
preferredUiLanguage: string;
|
|
2787
|
-
preferredContentLanguage?: string;
|
|
2788
|
-
preferredLocale?: string;
|
|
2789
|
-
bookmarks: string[];
|
|
2790
|
-
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2791
|
-
availableSubscriptions: SubscriptionSummary[];
|
|
2792
|
-
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2793
|
-
userHash: string;
|
|
2794
|
-
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2795
|
-
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2796
|
-
unreadPosts: {
|
|
2797
|
-
groupId: string;
|
|
2798
|
-
itemId: string;
|
|
2799
|
-
}[];
|
|
2800
|
-
unreadFeedItemsCount?: number;
|
|
2801
|
-
mostRecentPostGroups: string[];
|
|
2802
|
-
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2803
|
-
hasPendingRegistration?: boolean;
|
|
2804
|
-
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2805
|
-
hasDirectory: boolean;
|
|
2806
|
-
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2807
|
-
termsAndConditionsApprovedHash: string;
|
|
2808
|
-
isPublicUser?: boolean;
|
|
2809
|
-
hasUnreadChats?: boolean;
|
|
2810
|
-
publicSubscriptionIds?: string[];
|
|
2811
|
-
id?: string;
|
|
2812
|
-
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2813
|
-
tenantId?: string;
|
|
2814
|
-
displayName?: string;
|
|
2815
|
-
userPrincipalName?: string;
|
|
2816
|
-
mail?: string;
|
|
2817
|
-
tokenUniqueId?: string;
|
|
2818
|
-
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2819
|
-
created?: string;
|
|
2820
|
-
}>;
|
|
2750
|
+
get: () => Promise<any>;
|
|
2821
2751
|
};
|
|
2822
2752
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2823
2753
|
availableSubscriptions: SubscriptionSummary[];
|