yumechi-no-kuni/src/common/remote/activitypub/renderer/document.ts
2018-04-01 19:21:59 +09:00

7 lines
167 B
TypeScript

import config from '../../../../conf';
export default ({ _id, contentType }) => ({
type: 'Document',
mediaType: contentType,
url: `${config.drive_url}/${_id}`
});