|
1 |
| -import CountItems from "./functions/countItems"; |
2 |
| -import CreateItem from "./functions/createItem"; |
3 |
| -import DeleteItem from "./functions/deleteItem"; |
4 |
| -import DeleteItems from "./functions/deleteItems"; |
5 |
| -import GetItem from "./functions/getItem"; |
6 |
| -import GetItems from "./functions/getItems"; |
7 |
| -import ReplaceItem from "./functions/replaceItem"; |
8 |
| -import UpdateItem from "./functions/updateItem"; |
| 1 | +import countItems from "./functions/CountItems"; |
| 2 | +import createItem from "./functions/CreateItem"; |
| 3 | +import deleteItem from "./functions/DeleteItem"; |
| 4 | +import deleteItems from "./functions/DeleteItems"; |
| 5 | +import getItem from "./functions/GetItem"; |
| 6 | +import getItems from "./functions/GetItems"; |
| 7 | +import replaceItem from "./functions/ReplaceItem"; |
| 8 | +import updateItem from "./functions/UpdateItem"; |
9 | 9 | import Item from "./interfaces/item";
|
10 | 10 |
|
11 | 11 | export default interface Facade<I extends Item> {
|
| 12 | + readonly countItems: CountItems<I>; |
12 | 13 | readonly createItem: CreateItem<I>;
|
13 | 14 | readonly getItem: GetItem<I>;
|
14 | 15 | readonly getItems: GetItems<I>;
|
15 | 16 | readonly deleteItem: DeleteItem<I>;
|
16 | 17 | readonly deleteItems: DeleteItems<I>;
|
17 | 18 | readonly updateItem: UpdateItem<I>;
|
18 | 19 | readonly replaceItem: ReplaceItem<I>;
|
19 |
| - readonly countItems: CountItems<I>; |
20 | 20 | }
|
0 commit comments