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 {
|
export interface SafeList {
|
||||||
id: string;
|
id: string;
|
||||||
|
content: string | null;
|
||||||
|
tag: IObject | IObject[];
|
||||||
published: string;
|
published: string;
|
||||||
visibility: string;
|
visibility: string;
|
||||||
mentionedUsers: any[];
|
mentionedUsers: any[];
|
||||||
|
@ -204,6 +206,8 @@ export interface SafeList {
|
||||||
function extractSafe(object: IObject): Partial<SafeList> {
|
function extractSafe(object: IObject): Partial<SafeList> {
|
||||||
return {
|
return {
|
||||||
id: object.id,
|
id: object.id,
|
||||||
|
content: object.content,
|
||||||
|
tag: object.tag,
|
||||||
published: object.published,
|
published: object.published,
|
||||||
visibility: object.visibility,
|
visibility: object.visibility,
|
||||||
mentionedUsers: object.mentionedUsers,
|
mentionedUsers: object.mentionedUsers,
|
||||||
|
|
Loading…
Reference in a new issue