@livetiles/reach-plugin-types 0.4.0-preview.310 → 0.4.0-preview.313
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 +19 -6
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1136,12 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1136
1136
|
useInAppBrowser?: boolean;
|
|
1137
1137
|
tenantId?: string;
|
|
1138
1138
|
signInSettings?: SignInSettings;
|
|
1139
|
-
logoUrl?: string;
|
|
1140
1139
|
faviconUrl?: string;
|
|
1141
1140
|
theme?: Theme;
|
|
1142
1141
|
allowPublicAccess?: boolean;
|
|
1143
1142
|
redirectToContent?: boolean;
|
|
1144
1143
|
allowZendesk?: boolean;
|
|
1144
|
+
logoInfo: LogoInfo;
|
|
1145
1145
|
}
|
|
1146
1146
|
export interface SignInSettings {
|
|
1147
1147
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1155,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1155
1155
|
contact: Account;
|
|
1156
1156
|
theme: Theme;
|
|
1157
1157
|
defaultLanguage: string;
|
|
1158
|
-
logoUrl: string;
|
|
1159
1158
|
faviconUrl?: string;
|
|
1160
1159
|
navigation: NavigationNode[];
|
|
1161
1160
|
regionSettings?: RegionSettings;
|
|
@@ -1164,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1164
1163
|
hasUnreadItems: boolean;
|
|
1165
1164
|
pageTrackingInfo: PageTrackingInfo;
|
|
1166
1165
|
termsAndConditionsHash?: string;
|
|
1166
|
+
logoInfo: LogoInfo;
|
|
1167
|
+
}
|
|
1168
|
+
export enum LogoSize {
|
|
1169
|
+
large = "large",
|
|
1170
|
+
small = "small"
|
|
1171
|
+
}
|
|
1172
|
+
export interface LogoInfo {
|
|
1173
|
+
smallUrl?: string;
|
|
1174
|
+
largeUrl?: string;
|
|
1175
|
+
isLegacyLogo?: boolean;
|
|
1167
1176
|
}
|
|
1168
1177
|
export interface TermsAndConditions {
|
|
1169
1178
|
value?: string;
|
|
@@ -2896,6 +2905,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2896
2905
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2897
2906
|
}
|
|
2898
2907
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
2908
|
+
getChannels: () => Promise<Channel[]>;
|
|
2899
2909
|
refreshSubscription: () => void;
|
|
2900
2910
|
}>;
|
|
2901
2911
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -4768,7 +4778,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4768
4778
|
}
|
|
4769
4779
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4770
4780
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4771
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4781
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4772
4782
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4773
4783
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4774
4784
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4783,7 +4793,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4783
4793
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4784
4794
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4785
4795
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4786
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4796
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4787
4797
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4788
4798
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4789
4799
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4842,17 +4852,20 @@ declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
|
4842
4852
|
}
|
|
4843
4853
|
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4844
4854
|
import { FC } from 'react';
|
|
4855
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4845
4856
|
export const LogoPreviewDialog: FC<{
|
|
4846
4857
|
canSave: boolean;
|
|
4847
4858
|
onDismiss: () => unknown;
|
|
4848
|
-
onSave: () => unknown;
|
|
4859
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
4849
4860
|
source: string;
|
|
4861
|
+
logoType: LogoSize;
|
|
4850
4862
|
}>;
|
|
4851
4863
|
}
|
|
4852
4864
|
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
4853
4865
|
import { FC } from 'react';
|
|
4866
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4854
4867
|
export const LogoEditor: FC<{
|
|
4855
|
-
logoType:
|
|
4868
|
+
logoType: LogoSize;
|
|
4856
4869
|
}>;
|
|
4857
4870
|
}
|
|
4858
4871
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|