deprecatedApiKey.tsx 446 B

123456789101112131415
  1. import type {DeprecatedApiKey as DeprecatedApiKeyType} from 'sentry/views/settings/organizationApiKeys/types';
  2. export function DeprecatedApiKey(
  3. params: Partial<DeprecatedApiKeyType> = {}
  4. ): DeprecatedApiKeyType {
  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. }