Refactor adding tags to an event
Also refactor extracting tags from content, now uses Pleroma's Formatter Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -75,6 +75,8 @@ export interface IEvent {
|
||||
onlineAddress?: string;
|
||||
phoneAddress?: string;
|
||||
physicalAddress?: IAddress;
|
||||
|
||||
tags: ITag[];
|
||||
}
|
||||
|
||||
|
||||
@@ -99,4 +101,5 @@ export class EventModel implements IEvent {
|
||||
onlineAddress: string = '';
|
||||
phoneAddress: string = '';
|
||||
picture: IAbstractPicture|null = null;
|
||||
tags: ITag[] = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user