apiApplication.ts 411 B

123456789101112131415161718
  1. import type {ApiApplication} from 'sentry/types/user';
  2. export function ApiApplicationFixture(
  3. params: Partial<ApiApplication> = {}
  4. ): ApiApplication {
  5. return {
  6. allowedOrigins: [],
  7. clientID: 'aowekr12903i9i423094i23904j',
  8. clientSecret: null,
  9. homepageUrl: null,
  10. id: '123',
  11. name: 'Adjusted Shrimp',
  12. privacyUrl: null,
  13. redirectUris: [],
  14. termsUrl: null,
  15. ...params,
  16. };
  17. }