sharkey/packages/backend/src/remote/activitypub/perform.ts
syuilo d071d18dd7
refactor: Use ESM (#8358)
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip
2022-02-27 11:07:39 +09:00

8 lines
273 B
TypeScript

import { IObject } from './type.js';
import { IRemoteUser } from '@/models/entities/user.js';
import { performActivity } from './kernel/index.js';
export default async (actor: IRemoteUser, activity: IObject): Promise<void> => {
await performActivity(actor, activity);
};