mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
26 lines
645 B
TypeScript
26 lines
645 B
TypeScript
import {SentryApp} from 'sentry/types';
|
|
|
|
export function SentryAppFixture(params: Partial<SentryApp> = {}): SentryApp {
|
|
return {
|
|
name: 'Sample App',
|
|
author: 'Sentry',
|
|
slug: 'sample-app',
|
|
scopes: ['project:read'],
|
|
events: [],
|
|
status: 'unpublished',
|
|
uuid: '123456123456123456123456',
|
|
webhookUrl: 'https://example.com/webhook',
|
|
redirectUrl: 'https://example/com/setup',
|
|
isAlertable: false,
|
|
clientId: 'client-id',
|
|
clientSecret: 'client-secret',
|
|
overview: 'This is an app.',
|
|
schema: {},
|
|
featureData: [],
|
|
popularity: 3,
|
|
verifyInstall: false,
|
|
avatars: [],
|
|
...params,
|
|
};
|
|
}
|