releasesAnalyticsEvents.tsx 824 B

1234567891011121314151617181920
  1. export type ReleasesEventParameters = {
  2. 'releases.quickstart_copied': {project_id: string};
  3. 'releases.quickstart_create_integration.success': {
  4. integration_uuid: string;
  5. project_id: string;
  6. };
  7. 'releases.quickstart_create_integration_modal.close': {project_id: string};
  8. 'releases.quickstart_viewed': {project_id: string};
  9. };
  10. export type ReleasesEventKey = keyof ReleasesEventParameters;
  11. export const releasesEventMap: Record<ReleasesEventKey, string | null> = {
  12. 'releases.quickstart_viewed': 'Releases: Quickstart Viewed',
  13. 'releases.quickstart_copied': 'Releases: Quickstart Copied',
  14. 'releases.quickstart_create_integration.success':
  15. 'Releases: Quickstart Created Integration',
  16. 'releases.quickstart_create_integration_modal.close':
  17. 'Releases: Quickstart Create Integration Modal Exit',
  18. };