mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00

Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu>
17 lines
438 B
TypeScript
17 lines
438 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2025 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
/**
|
|
* A user-pinned-note object represents a {@link Note} that a {@link User} has pinned on their explore page.
|
|
* Users can pin any arbitrary amount of notes.
|
|
*/
|
|
export interface UserPinnedNote {
|
|
/** The id of the {@link User} */
|
|
userId: number;
|
|
|
|
/** The id of the {@link Note} */
|
|
noteId: number;
|
|
}
|