Files
2024-02-15 17:01:50 +00:00

34 lines
1.0 KiB
TypeScript

import {type DocIntegration} from 'sentry/types';
export function DocIntegrationFixture(params = {}): DocIntegration {
return {
name: 'Sample Doc',
slug: 'sample-doc',
author: 'The Sentry Team',
url: 'https://example.com/sentry',
popularity: 10,
description: 'A helpful tutorial on how to setup this integration with Sentry',
isDraft: false,
features: [
{
featureId: 5,
featureGate: 'incident-management',
description:
'Manage incidents and outages by sending Sentry notifications to Sample Doc.',
},
{
featureId: 7,
featureGate: 'alert-rule',
description:
'Configure Sentry rules to trigger notifications based on conditions you set through the Sentry webhook integration.',
},
],
resources: [
{title: 'Documentation', url: 'https://example.com/sentry/docs'},
{title: 'Support', url: 'https://example.com/sentry/support'},
{title: 'Demo', url: 'https://example.com/sentry/demo'},
],
...params,
};
}