@livetiles/reach-plugin-types 0.4.0-preview.338 → 0.4.0-preview.340

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 +6 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1272,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1272
1272
  componentName: string;
1273
1273
  route: string;
1274
1274
  navigationNode?: {
1275
+ componentName?: string;
1275
1276
  iconName?: string;
1276
1277
  label?: string;
1277
1278
  translations?: {
@@ -1495,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
1495
1496
  export interface UserInvitationResult {
1496
1497
  type: UserInvitationResultType;
1497
1498
  message?: string;
1498
- user?: HashUser;
1499
+ user?: Account;
1499
1500
  isSuccess: boolean;
1500
1501
  }
1501
1502
  export enum UserRegistrationResultType {
@@ -2322,7 +2323,10 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2322
2323
  declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
2323
2324
  import { FC } from 'react';
2324
2325
  import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
2325
- export const PluginWrapper: FC<PluginAndExtension>;
2326
+ export const PluginWrapper: FC<PluginAndExtension & {
2327
+ navigationNodeProps?: any;
2328
+ renderNavigationNode?: (navigationNodeProps: any) => JSX.Element;
2329
+ }>;
2326
2330
  }
2327
2331
  declare module "libs/reach/util/common/src/plugins/Plugins" {
2328
2332
  import { FC } from 'react';
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.338",
7
+ "version": "0.4.0-preview.340",
8
8
  "dependencies": {}
9
9
  }