Browse Source

ref(js): Remove stray fixture (#76127)

Evan Purkhiser 6 months ago
parent
commit
47bf82cb9d
1 changed files with 0 additions and 26 deletions
  1. 0 26
      static/app/types/role.tsx

+ 0 - 26
static/app/types/role.tsx

@@ -1,26 +0,0 @@
-import type {BaseRole, OrgRole, TeamRole} from 'sentry/types/organization';
-
-export function RoleFixture(params: Partial<BaseRole> = {}): BaseRole {
-  return {
-    id: 'member',
-    name: 'Member',
-    desc: '',
-    ...params,
-  };
-}
-
-export function TeamRoleFixture(params: Partial<TeamRole> = {}): TeamRole {
-  return {
-    ...RoleFixture(),
-    isMinimumRoleFor: 'admin',
-    ...params,
-  };
-}
-
-export function OrgRoleFixture(params: Partial<OrgRole> = {}): OrgRole {
-  return {
-    ...RoleFixture(),
-    minimumTeamRole: 'contributor',
-    ...params,
-  };
-}