- Preparing search index...
- The search index is not available
tsmi
Methods
add
- add(reaction, noteId): Promise<void>
-
Parameters
-
reaction: string
-
noteId: string
Returns Promise<void>
get
- get(__namedParameters): Promise<{
createdAt: string;
id: string;
reaction: string;
user: IUserLite;
}[]>
-
Parameters
-
__namedParameters: {
limit: null | number;
noteId: string;
offset: number;
sinceId: null | string;
type: null | string;
untilId: null | string;
}
-
limit: null | number
-
noteId: string
-
offset: number
-
sinceId: null | string
-
type: null | string
-
untilId: null | string
Returns Promise<{
createdAt: string;
id: string;
reaction: string;
user: IUserLite;
}[]>
remove
- remove(reaction, noteId): Promise<void>
-
Parameters
-
reaction: string
-
noteId: string
Returns Promise<void>