mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 03:05:19 -04:00

These methods are intended to parse metadata details from YAML tags, but not implemented for now. Signed-off-by: David Mehren <git@herrmehren.de>
18 lines
435 B
TypeScript
18 lines
435 B
TypeScript
import { Note } from './note.entity';
|
|
|
|
export class NoteUtils {
|
|
public static parseTitle(note: Note): string {
|
|
// TODO: Implement method
|
|
return 'Hardcoded note title';
|
|
}
|
|
|
|
public static parseDescription(note: Note): string {
|
|
// TODO: Implement method
|
|
return 'Hardcoded note description';
|
|
}
|
|
|
|
public static parseTags(note: Note): string[] {
|
|
// TODO: Implement method
|
|
return ['Hardcoded note tag'];
|
|
}
|
|
}
|