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

9 lines
333 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 { GROUP_MEMBER_BASE_PROPERTY_NAME } from './constants';
2021-01-03 14:25:43 +05:30
2021-03-11 19:13:27 +05:30
export const groupMemberRequestFormatter = baseRequestFormatter(
2021-01-03 14:25:43 +05:30
GROUP_MEMBER_BASE_PROPERTY_NAME,
2021-03-11 19:13:27 +05:30
MEMBER_ACCESS_LEVEL_PROPERTY_NAME,
2021-01-03 14:25:43 +05:30
);