@livetiles/reach-plugin-types 0.4.0-preview.802 → 0.4.0-preview.805
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 +10 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11797,6 +11797,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11797
11797
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11798
11798
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11799
11799
|
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11800
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11800
11801
|
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11801
11802
|
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11802
11803
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
@@ -11994,11 +11995,17 @@ declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader"
|
|
|
11994
11995
|
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string): ItemLoader<EventStreamItem, number>;
|
|
11995
11996
|
export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string, sortByAscending?: boolean) => import("@apollo/client").DocumentNode;
|
|
11996
11997
|
}
|
|
11998
|
+
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
11999
|
+
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
12000
|
+
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
12001
|
+
}
|
|
12002
|
+
}
|
|
11997
12003
|
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
11998
12004
|
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11999
12005
|
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12000
|
-
|
|
12001
|
-
export
|
|
12006
|
+
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
12007
|
+
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition): ItemLoader<PostStreamItem, number>;
|
|
12008
|
+
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
12002
12009
|
}
|
|
12003
12010
|
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
12004
12011
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -12020,6 +12027,7 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
12020
12027
|
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
12021
12028
|
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
12022
12029
|
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
12030
|
+
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
12023
12031
|
}
|
|
12024
12032
|
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
12025
12033
|
import { FC } from 'react';
|