@livetiles/reach-plugin-types 0.5.0-preview.225 → 0.5.0-preview.228

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 +7 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1425,6 +1425,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1425
1425
  customDomain?: string;
1426
1426
  allowSelfRegistration?: boolean;
1427
1427
  brandFolderConfig?: BrandFolderConfig;
1428
+ hideSubscriptionName?: boolean;
1428
1429
  }
1429
1430
  export interface BrandFolderConfig {
1430
1431
  sections?: string[];
@@ -2802,6 +2803,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
2802
2803
  customDomain?: string;
2803
2804
  allowSelfRegistration?: boolean;
2804
2805
  brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
2806
+ hideSubscriptionName?: boolean;
2805
2807
  id: string;
2806
2808
  subscriptionName: string;
2807
2809
  subscriptionHandle?: string;
@@ -5468,9 +5470,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
5468
5470
  }
5469
5471
  declare module "apps/reach-app/src/app/chrome/BasicPage" {
5470
5472
  import { FC, ReactNode } from 'react';
5473
+ import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5471
5474
  import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
5472
5475
  import './BasicPage.scss';
5473
- import { SearchBoxProps } from "libs/reach/ui/common/src/index";
5474
5476
  import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
5475
5477
  type HeaderToolbarObjectTypeHack = {
5476
5478
  toolbarElement: JSX.Element;
@@ -5588,7 +5590,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
5588
5590
  addLanguage: (code: string) => Promise<Language>;
5589
5591
  setDefaultLanguage: (code: string) => Promise<Language>;
5590
5592
  removeLanguage: (code: string) => Promise<unknown>;
5591
- setSubscriptionName: (name: string) => Promise<string>;
5593
+ setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
5594
+ name: string | null;
5595
+ hideName: boolean | null;
5596
+ }>;
5592
5597
  setSubscriptionHandle: (handle: string) => Promise<string>;
5593
5598
  validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
5594
5599
  updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.225",
7
+ "version": "0.5.0-preview.228",
8
8
  "dependencies": {}
9
9
  }