accessRequest.tsx 313 B

123456789101112131415
  1. import {AccessRequest as AccessRequestType} from 'sentry/types';
  2. import {Member} from './member';
  3. import {Team} from './team';
  4. export function AccessRequest(
  5. params: Partial<AccessRequestType> = {}
  6. ): AccessRequestType {
  7. return {
  8. id: '123',
  9. member: Member(),
  10. team: Team(),
  11. ...params,
  12. };
  13. }