subscriptions.ts 818 B

1234567891011121314151617181920212223242526
  1. import type {Subscription} from 'sentry/views/settings/account/accountSubscriptions';
  2. export function SubscriptionsFixture(params = []): Subscription[] {
  3. return [
  4. {
  5. subscribedDate: '2018-01-08T05:14:59.102Z',
  6. subscribed: true,
  7. listDescription:
  8. 'Everything you need to know about Sentry features, integrations, partnerships, and launches.',
  9. listId: 2,
  10. unsubscribedDate: null,
  11. listName: 'Product & Feature Updates',
  12. email: 'test@sentry.io',
  13. },
  14. {
  15. subscribedDate: null,
  16. subscribed: false,
  17. listDescription: "Our monthly update on what's new with Sentry and the community.",
  18. listId: 1,
  19. unsubscribedDate: '2018-01-08T19:31:42.546Z',
  20. listName: 'Sentry Newsletter',
  21. email: 'test@sentry.io',
  22. },
  23. ...params,
  24. ];
  25. }