2024.11.0-yumechinokuni.7 #41
1 changed files with 4 additions and 0 deletions
|
@ -195,6 +195,8 @@ export interface IActivity extends IObject {
|
|||
|
||||
export interface SafeList {
|
||||
id: string;
|
||||
content: string | null;
|
||||
tag: IObject | IObject[];
|
||||
published: string;
|
||||
visibility: string;
|
||||
mentionedUsers: any[];
|
||||
|
@ -204,6 +206,8 @@ export interface SafeList {
|
|||
function extractSafe(object: IObject): Partial<SafeList> {
|
||||
return {
|
||||
id: object.id,
|
||||
content: object.content,
|
||||
tag: object.tag,
|
||||
published: object.published,
|
||||
visibility: object.visibility,
|
||||
mentionedUsers: object.mentionedUsers,
|
||||
|
|
Loading…
Reference in a new issue