@livetiles/reach-plugin-types 0.4.0-preview.848 → 0.4.0-preview.850
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 +7 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4461,6 +4461,7 @@ declare module "libs/reach/ui/common/src/common/paging/usePaginatedItems" {
|
|
|
4461
4461
|
updateLastFetchedPageIndex: (numberOfPages?: number) => void;
|
|
4462
4462
|
updateItem: (id: string, newItem: TItem) => void;
|
|
4463
4463
|
insertToTheFront: (newItem: TItem) => void;
|
|
4464
|
+
deleteItem: (itemId: string) => boolean;
|
|
4464
4465
|
};
|
|
4465
4466
|
}
|
|
4466
4467
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
@@ -4483,6 +4484,8 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4483
4484
|
isEmpty: boolean;
|
|
4484
4485
|
insertToTheFront: (newItem: TItem) => void;
|
|
4485
4486
|
updateItem: (id: string, newItem: TItem) => void;
|
|
4487
|
+
onBeforeDeleteItem: (itemId: string) => void;
|
|
4488
|
+
onAfterDeleteItem: () => Promise<void>;
|
|
4486
4489
|
};
|
|
4487
4490
|
}
|
|
4488
4491
|
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
@@ -8742,6 +8745,8 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/useI
|
|
|
8742
8745
|
isEmpty: boolean;
|
|
8743
8746
|
insertToTheFront: (newItem: PageItem) => void;
|
|
8744
8747
|
updateItem: (id: string, newItem: PageItem) => void;
|
|
8748
|
+
onBeforeDeleteItem: (itemId: string) => void;
|
|
8749
|
+
onAfterDeleteItem: () => Promise<void>;
|
|
8745
8750
|
};
|
|
8746
8751
|
};
|
|
8747
8752
|
}
|
|
@@ -12027,7 +12032,7 @@ declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
|
12027
12032
|
}
|
|
12028
12033
|
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
12029
12034
|
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12030
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
12035
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
12031
12036
|
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12032
12037
|
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): ItemLoader<NewsStreamItem, number>;
|
|
12033
12038
|
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
@@ -12035,7 +12040,7 @@ declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
|
12035
12040
|
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
12036
12041
|
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12037
12042
|
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12038
|
-
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/
|
|
12043
|
+
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
12039
12044
|
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string): ItemLoader<EventStreamItem, number>;
|
|
12040
12045
|
export const EVENTS_QUERY: (includeAllItems: boolean, whereConditions?: string, sortByAscending?: boolean) => import("@apollo/client").DocumentNode;
|
|
12041
12046
|
}
|