parent
66ff46cc84
commit
d8632c9814
|
@ -62,6 +62,7 @@ export async function getFiles(photos: IPhoto[]): Promise<IFileInfo[]> {
|
||||||
mime: photo.mimetype,
|
mime: photo.mimetype,
|
||||||
hasPreview: true,
|
hasPreview: true,
|
||||||
etag: photo.etag,
|
etag: photo.etag,
|
||||||
|
permissions: "RWD",
|
||||||
} as IFileInfo;
|
} as IFileInfo;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
@ -19,6 +19,8 @@ export type IFileInfo = {
|
||||||
flag?: number;
|
flag?: number;
|
||||||
/** MIME type of file */
|
/** MIME type of file */
|
||||||
mime?: string;
|
mime?: string;
|
||||||
|
/** WebDAV permissions string */
|
||||||
|
permissions?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type IDay = {
|
export type IDay = {
|
||||||
|
|
Loading…
Reference in New Issue