@livetiles/reach-plugin-types 0.4.0-preview.310 → 0.4.0-preview.311

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +18 -6
  2. 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;
@@ -4768,7 +4777,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
4768
4777
  }
4769
4778
  declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4770
4779
  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";
4780
+ import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
4772
4781
  import { Account } from "libs/reach/util/common/src/index";
4773
4782
  import { Language } from "libs/reach/util/common/src/index";
4774
4783
  import { Audience } from "libs/reach/util/common/src/index";
@@ -4783,7 +4792,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
4783
4792
  setSubscriptionName: (name: string) => Promise<string>;
4784
4793
  setSubscriptionHandle: (handle: string) => Promise<string>;
4785
4794
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
4786
- updateLogo: (file?: File) => Promise<void>;
4795
+ updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
4787
4796
  updateFavicon: (file?: File) => Promise<void>;
4788
4797
  updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
4789
4798
  linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
@@ -4842,17 +4851,20 @@ declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
4842
4851
  }
4843
4852
  declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
4844
4853
  import { FC } from 'react';
4854
+ import { LogoSize } from "libs/reach/util/common/src/index";
4845
4855
  export const LogoPreviewDialog: FC<{
4846
4856
  canSave: boolean;
4847
4857
  onDismiss: () => unknown;
4848
- onSave: () => unknown;
4858
+ onSave: (logoSize: LogoSize) => unknown;
4849
4859
  source: string;
4860
+ logoType: LogoSize;
4850
4861
  }>;
4851
4862
  }
4852
4863
  declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
4853
4864
  import { FC } from 'react';
4865
+ import { LogoSize } from "libs/reach/util/common/src/index";
4854
4866
  export const LogoEditor: FC<{
4855
- logoType: string;
4867
+ logoType: LogoSize;
4856
4868
  }>;
4857
4869
  }
4858
4870
  declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.310",
7
+ "version": "0.4.0-preview.311",
8
8
  "dependencies": {}
9
9
  }