@livetiles/reach-plugin-types 0.4.0-preview.277 → 0.4.0-preview.278
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 -7
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6418,9 +6418,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6418
6418
|
}
|
|
6419
6419
|
}
|
|
6420
6420
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6421
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6421
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6422
6422
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6423
|
-
keywords?:
|
|
6423
|
+
keywords?: FilterWithLogicalOperator;
|
|
6424
6424
|
}
|
|
6425
6425
|
}
|
|
6426
6426
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6597,19 +6597,18 @@ declare module "libs/reach/feature/content/src/filter/index" {
|
|
|
6597
6597
|
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6598
6598
|
}
|
|
6599
6599
|
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6600
|
-
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6600
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6601
6601
|
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6602
6602
|
channels?: undefined;
|
|
6603
6603
|
} | {
|
|
6604
6604
|
channels: string;
|
|
6605
6605
|
};
|
|
6606
|
-
export function getCommaSeparatedKeywordsString(keywords:
|
|
6606
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6607
6607
|
keywords?: undefined;
|
|
6608
6608
|
} | {
|
|
6609
6609
|
keywords: string;
|
|
6610
6610
|
};
|
|
6611
|
-
export function
|
|
6612
|
-
export function convertToKeywordsArray(keywords: string): string[];
|
|
6611
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6613
6612
|
}
|
|
6614
6613
|
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6615
6614
|
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
@@ -10792,7 +10791,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
10792
10791
|
export const getStreamQuery: () => DocumentNode;
|
|
10793
10792
|
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10794
10793
|
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10795
|
-
export const
|
|
10794
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10796
10795
|
export const OWNER_CONDITION: (owner: string) => string;
|
|
10797
10796
|
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10798
10797
|
export const AUTHORS_CONDITION: (authors: string[]) => string;
|