@livetiles/reach-plugin-types 0.4.0-preview.676 → 0.4.0-preview.680
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 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6826,15 +6826,16 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6826
6826
|
}
|
|
6827
6827
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6828
6828
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6829
|
-
export enum
|
|
6829
|
+
export enum ItemTypeFilterFlag {
|
|
6830
6830
|
None = 0,
|
|
6831
6831
|
News = 1,
|
|
6832
6832
|
Post = 2,
|
|
6833
6833
|
Page = 4,
|
|
6834
|
-
Event = 8
|
|
6834
|
+
Event = 8,
|
|
6835
|
+
PageDocument = 16
|
|
6835
6836
|
}
|
|
6836
6837
|
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6837
|
-
itemType?:
|
|
6838
|
+
itemType?: ItemTypeFilterFlag;
|
|
6838
6839
|
}
|
|
6839
6840
|
}
|
|
6840
6841
|
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
@@ -11352,7 +11353,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11352
11353
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11353
11354
|
import { DocumentNode } from '@apollo/client';
|
|
11354
11355
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
11355
|
-
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition
|
|
11356
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
11356
11357
|
export enum StreamEventResponse {
|
|
11357
11358
|
NotSet = "NOTSET",
|
|
11358
11359
|
Registered = "REGISTERED",
|
|
@@ -11380,6 +11381,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11380
11381
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
11381
11382
|
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11382
11383
|
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11384
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11383
11385
|
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11384
11386
|
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11385
11387
|
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|