8 lines
166 B
TypeScript
8 lines
166 B
TypeScript
import config from '../../../config';
|
|
|
|
export default ({ _id, contentType }) => ({
|
|
type: 'Document',
|
|
mediaType: contentType,
|
|
url: `${config.drive_url}/${_id}`
|
|
});
|