mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 14:15:43 +01:00
upd: pass a few more AP values
The added values are all taken from Mastodon code in hope to make editing and everything else sync better
This commit is contained in:
parent
b2d188aab1
commit
fcbb291ef1
2 changed files with 4 additions and 0 deletions
|
@ -171,6 +171,7 @@ export class ApRendererService {
|
|||
mediaType: file.webpublicType ?? file.type,
|
||||
url: this.driveFileEntityService.getPublicUrl(file),
|
||||
name: file.comment,
|
||||
description: file.comment,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -746,6 +747,7 @@ export class ApRendererService {
|
|||
summary: summary ?? undefined,
|
||||
content: content ?? undefined,
|
||||
updated: note.updatedAt?.toISOString(),
|
||||
edited_at: note.updatedAt?.toISOString(),
|
||||
_misskey_content: text,
|
||||
source: {
|
||||
content: text,
|
||||
|
|
|
@ -121,6 +121,7 @@ export interface IPost extends IObject {
|
|||
quoteUrl?: string;
|
||||
quoteUri?: string;
|
||||
updated?: string;
|
||||
edited_at?: string;
|
||||
}
|
||||
|
||||
export interface IQuestion extends IObject {
|
||||
|
@ -249,6 +250,7 @@ export interface IApDocument extends IObject {
|
|||
type: 'Document';
|
||||
name: string | null;
|
||||
mediaType: string;
|
||||
description: string | null;
|
||||
}
|
||||
|
||||
export interface IApImage extends IObject {
|
||||
|
|
Loading…
Reference in a new issue