ce340aba7a
* wip * wip * wip * wip * wip * Update define.ts * Update update.ts * Update user.ts * wip * wip * Update request.ts * URL * wip * wip * wip * wip * Update invite.ts * Update create.ts
10 lines
233 B
TypeScript
10 lines
233 B
TypeScript
import config from '@/config';
|
|
import { User } from '@/models/entities/user';
|
|
|
|
export default (user: { id: User['id'] }, target: any, object: any) => ({
|
|
type: 'Remove',
|
|
actor: `${config.url}/users/${user.id}`,
|
|
target,
|
|
object
|
|
});
|