debian-mirror-gitlab/app/assets/javascripts/projects/members/utils.js

9 lines
339 B
JavaScript
Raw Normal View History

2021-03-11 19:13:27 +05:30
import { MEMBER_ACCESS_LEVEL_PROPERTY_NAME } from '~/members/constants';
import { baseRequestFormatter } from '~/members/utils';
import { PROJECT_MEMBER_BASE_PROPERTY_NAME } from './constants';
export const projectMemberRequestFormatter = baseRequestFormatter(
PROJECT_MEMBER_BASE_PROPERTY_NAME,
MEMBER_ACCESS_LEVEL_PROPERTY_NAME,
);