This commit is contained in:
parent
7432de3d33
commit
c3b3b9b9a6
8 changed files with 21 additions and 56 deletions
|
@ -37,6 +37,7 @@ export type IMetadata = {
|
|||
storage?: string;
|
||||
storageProps?: any;
|
||||
isSensitive?: boolean;
|
||||
isRemote?: boolean;
|
||||
};
|
||||
|
||||
export type IDriveFile = {
|
||||
|
@ -160,7 +161,7 @@ export const pack = (
|
|||
|
||||
_target.url = _file.metadata.url ? _file.metadata.url : `${config.drive_url}/${_target.id}/${encodeURIComponent(_target.name)}`;
|
||||
_target.src = _file.metadata.url;
|
||||
_target.isRemote = _file.metadata.withoutChunks;
|
||||
_target.isRemote = _file.metadata.isRemote;
|
||||
|
||||
if (_target.properties == null) _target.properties = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue