mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-16 22:39:00 +01:00
fix: Add comment property to DriveFile (#46)
* Add comment property to DriveFile Some components of Misskey like the image viewer use this property, but it hasn't been defined in the type definition itself. * Make DriveFile.comment nullable There's a few places in the client code that checks for a null comment, suggesting this field may be set to null.
This commit is contained in:
parent
6a87f4ade9
commit
c89374c321
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ export type DriveFile = {
|
||||||
size: number;
|
size: number;
|
||||||
md5: string;
|
md5: string;
|
||||||
blurhash: string;
|
blurhash: string;
|
||||||
|
comment: string | null;
|
||||||
properties: Record<string, any>;
|
properties: Record<string, any>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue