1 | import { IComments, ILikeData, ILikedByInformation } from "./types.js";
|
2 | declare module "../items/types" {
|
3 | interface _Item {
|
4 | readonly comments: IComments;
|
5 | getLikedBy(): Promise<ILikeData[]>;
|
6 | like(): Promise<void>;
|
7 | unlike(): Promise<void>;
|
8 | getLikedByInformation(): Promise<ILikedByInformation>;
|
9 | }
|
10 | interface IItem {
|
11 | readonly comments: IComments;
|
12 | |
13 |
|
14 |
|
15 | getLikedBy(): Promise<ILikeData[]>;
|
16 | |
17 |
|
18 |
|
19 | like(): Promise<void>;
|
20 | |
21 |
|
22 |
|
23 | unlike(): Promise<void>;
|
24 | |
25 |
|
26 |
|
27 | getLikedByInformation(): Promise<ILikedByInformation>;
|
28 | }
|
29 | }
|
30 |
|
\ | No newline at end of file |