deprecatedApiKey.tsx 421 B

123456789101112131415
  1. import type {DeprecatedApiKey} from 'sentry/views/settings/organizationApiKeys/types';
  2. export function DeprecatedApiKeyFixture(
  3. params: Partial<DeprecatedApiKey> = {}
  4. ): DeprecatedApiKey {
  5. return {
  6. allowed_origins: '',
  7. id: '1',
  8. key: 'aa624bcc12024702a202cd90be5feda0',
  9. label: 'Default',
  10. scope_list: ['project:read', 'event:read', 'team:read', 'member:read'],
  11. status: 0,
  12. ...params,
  13. };
  14. }