accessRequest.tsx 339 B

123456789101112131415
  1. import {Member} from 'sentry-fixture/member';
  2. import {Team} from 'sentry-fixture/team';
  3. import {AccessRequest as AccessRequestType} from 'sentry/types';
  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. }