@livetiles/reach-plugin-types 0.4.0-preview.339 → 0.4.0-preview.341
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 +6 -1
- 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?: {
|
|
@@ -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';
|
|
@@ -10826,6 +10830,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10826
10830
|
refresh: () => Promise<void>;
|
|
10827
10831
|
};
|
|
10828
10832
|
export const getStreamQuery: () => DocumentNode;
|
|
10833
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10829
10834
|
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10830
10835
|
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10831
10836
|
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|