Skip to content

Commit ba51cfe

Browse files
feat(prevent): Update repo selector for single app (#102282)
1 parent 6151dae commit ba51cfe

14 files changed

+1070
-265
lines changed

static/app/types/prevent.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
1-
// Add any new providers here e.g., 'github' | 'bitbucket' | 'gitlab'
2-
export type PreventAIProvider = 'github';
3-
41
export type Sensitivity = 'low' | 'medium' | 'high' | 'critical';
52

6-
export interface PreventAIRepo {
7-
fullName: string;
8-
id: string;
9-
name: string;
10-
}
11-
12-
export interface PreventAIOrg {
13-
githubOrganizationId: string;
14-
name: string;
15-
provider: PreventAIProvider;
16-
repos: PreventAIRepo[];
17-
}
18-
193
interface PreventAIFeatureConfig {
204
enabled: boolean;
215
triggers: PreventAIFeatureTriggers;

0 commit comments

Comments
 (0)