@livetiles/reach-plugin-types 0.4.0-preview.849 → 0.4.0-preview.851
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 +5 -0
- 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
|
}
|