@livetiles/reach-plugin-types 0.4.0-preview.355 → 0.4.0-preview.358
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/index.d.ts +2 -2
- package/lib/index.d.ts +73 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./lib/index.d.ts" />
|
|
2
2
|
|
|
3
3
|
declare module '@reach/core' {
|
|
4
|
-
export * from 'plugins/reach-core';
|
|
4
|
+
export * from 'libs/reach/ui/common/src/plugins/reach-core';
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
declare module '@reach/chrome' {
|
|
8
|
-
export * from 'plugins/reach-chrome';
|
|
8
|
+
export * from 'apps/reach-app/src/plugins/reach-chrome';
|
|
9
9
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -2169,14 +2169,82 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2171
2171
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2172
|
+
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2172
2173
|
export function useCurrentUserCache(): {
|
|
2173
2174
|
clear: () => Promise<void>;
|
|
2174
2175
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2175
2176
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2176
|
-
get: () => Promise<
|
|
2177
|
+
get: () => Promise<{
|
|
2178
|
+
subscription: {
|
|
2179
|
+
logoInfo: {
|
|
2180
|
+
smallUrl: any;
|
|
2181
|
+
largeUrl: string;
|
|
2182
|
+
isLegacyLogo: boolean;
|
|
2183
|
+
};
|
|
2184
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2185
|
+
featureMask: string;
|
|
2186
|
+
company: string;
|
|
2187
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2188
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2189
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2190
|
+
userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
|
|
2191
|
+
customDomain?: string;
|
|
2192
|
+
allowSelfRegistration?: boolean;
|
|
2193
|
+
id: string;
|
|
2194
|
+
subscriptionName: string;
|
|
2195
|
+
subscriptionHandle?: string;
|
|
2196
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2197
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2198
|
+
defaultLanguage: string;
|
|
2199
|
+
faviconUrl?: string;
|
|
2200
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2201
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2202
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2203
|
+
useInAppBrowser?: boolean;
|
|
2204
|
+
hasUnreadItems: boolean;
|
|
2205
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2206
|
+
termsAndConditionsHash?: string;
|
|
2207
|
+
};
|
|
2208
|
+
isEmailVerificationPending?: boolean;
|
|
2209
|
+
isSubscriptionOwner: boolean;
|
|
2210
|
+
givenName: string;
|
|
2211
|
+
surname: string;
|
|
2212
|
+
preferredUiLanguage: string;
|
|
2213
|
+
preferredContentLanguage?: string;
|
|
2214
|
+
preferredLocale?: string;
|
|
2215
|
+
bookmarks: string[];
|
|
2216
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2217
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2218
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2219
|
+
userHash: string;
|
|
2220
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2221
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2222
|
+
unreadPosts: {
|
|
2223
|
+
groupId: string;
|
|
2224
|
+
itemId: string;
|
|
2225
|
+
}[];
|
|
2226
|
+
unreadFeedItemsCount?: number;
|
|
2227
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2228
|
+
hasPendingRegistration?: boolean;
|
|
2229
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2230
|
+
hasDirectory: boolean;
|
|
2231
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2232
|
+
termsAndConditionsApprovedHash: string;
|
|
2233
|
+
isPublicUser?: boolean;
|
|
2234
|
+
hasUnreadChats?: boolean;
|
|
2235
|
+
id?: string;
|
|
2236
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2237
|
+
tenantId?: string;
|
|
2238
|
+
displayName?: string;
|
|
2239
|
+
userPrincipalName?: string;
|
|
2240
|
+
mail?: string;
|
|
2241
|
+
tokenUniqueId?: string;
|
|
2242
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2243
|
+
created?: string;
|
|
2244
|
+
}>;
|
|
2177
2245
|
};
|
|
2178
2246
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2179
|
-
availableSubscriptions:
|
|
2247
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2180
2248
|
bookmarks: string[];
|
|
2181
2249
|
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2182
2250
|
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
@@ -6385,6 +6453,7 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6385
6453
|
[key: string]: string | number | boolean | Date;
|
|
6386
6454
|
};
|
|
6387
6455
|
disableBoxShadow?: boolean;
|
|
6456
|
+
ariaLabel?: string;
|
|
6388
6457
|
}
|
|
6389
6458
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6390
6459
|
}
|
|
@@ -7839,6 +7908,7 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7839
7908
|
mandatoryKeywords?: Keyword[];
|
|
7840
7909
|
};
|
|
7841
7910
|
disableBoxShadow?: boolean;
|
|
7911
|
+
ariaLabel?: string;
|
|
7842
7912
|
}
|
|
7843
7913
|
interface Props extends BaseProps {
|
|
7844
7914
|
allowAttachments?: boolean;
|
|
@@ -7931,6 +8001,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7931
8001
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7932
8002
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7933
8003
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8004
|
+
ariaLabel?: string;
|
|
7934
8005
|
}
|
|
7935
8006
|
interface Props extends BaseProps {
|
|
7936
8007
|
onSave?: (newContent: string, keywords?: {
|