upd: remove accidental additions
This commit is contained in:
parent
fcbb291ef1
commit
9383e3affd
2 changed files with 2 additions and 5 deletions
|
@ -171,7 +171,7 @@ export class ApRendererService {
|
||||||
mediaType: file.webpublicType ?? file.type,
|
mediaType: file.webpublicType ?? file.type,
|
||||||
url: this.driveFileEntityService.getPublicUrl(file),
|
url: this.driveFileEntityService.getPublicUrl(file),
|
||||||
name: file.comment,
|
name: file.comment,
|
||||||
description: file.comment,
|
summary: file.comment,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -747,7 +747,6 @@ export class ApRendererService {
|
||||||
summary: summary ?? undefined,
|
summary: summary ?? undefined,
|
||||||
content: content ?? undefined,
|
content: content ?? undefined,
|
||||||
updated: note.updatedAt?.toISOString(),
|
updated: note.updatedAt?.toISOString(),
|
||||||
edited_at: note.updatedAt?.toISOString(),
|
|
||||||
_misskey_content: text,
|
_misskey_content: text,
|
||||||
source: {
|
source: {
|
||||||
content: text,
|
content: text,
|
||||||
|
|
|
@ -11,7 +11,7 @@ export interface IObject {
|
||||||
type: string | string[];
|
type: string | string[];
|
||||||
id?: string;
|
id?: string;
|
||||||
name?: string | null;
|
name?: string | null;
|
||||||
summary?: string;
|
summary?: string | null;
|
||||||
_misskey_summary?: string;
|
_misskey_summary?: string;
|
||||||
published?: string;
|
published?: string;
|
||||||
cc?: ApObject;
|
cc?: ApObject;
|
||||||
|
@ -121,7 +121,6 @@ export interface IPost extends IObject {
|
||||||
quoteUrl?: string;
|
quoteUrl?: string;
|
||||||
quoteUri?: string;
|
quoteUri?: string;
|
||||||
updated?: string;
|
updated?: string;
|
||||||
edited_at?: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IQuestion extends IObject {
|
export interface IQuestion extends IObject {
|
||||||
|
@ -250,7 +249,6 @@ export interface IApDocument extends IObject {
|
||||||
type: 'Document';
|
type: 'Document';
|
||||||
name: string | null;
|
name: string | null;
|
||||||
mediaType: string;
|
mediaType: string;
|
||||||
description: string | null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IApImage extends IObject {
|
export interface IApImage extends IObject {
|
||||||
|
|
Loading…
Reference in a new issue