Skip to content

Commit 4a0e7a9

Browse files
committed
Remove alert rules
1 parent 794d71e commit 4a0e7a9

File tree

4 files changed

+1
-651
lines changed

4 files changed

+1
-651
lines changed

.config/rollup.test.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export default () => {
1818
const { rootSrcPath } = constants
1919
return baseConfig({
2020
input: {
21-
'alert-rules': `${rootSrcPath}/utils/alert/rules.ts`,
2221
errors: `${rootSrcPath}/utils/errors.ts`,
2322
'path-resolve': `${rootSrcPath}/utils/path-resolve.ts`
2423
},

src/utils/alert/artifact.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ export type ArtifactAlertUpgrade = Remap<
2929
export type CveAlertType = 'cve' | 'mediumCVE' | 'mildCVE' | 'criticalCVE'
3030

3131
export type CompactSocketArtifactAlert = Remap<
32-
Omit<
33-
SocketArtifactAlert,
34-
'action' | 'actionPolicyIndex' | 'category' | 'end' | 'file' | 'start'
35-
>
32+
Omit<SocketArtifactAlert, 'category' | 'end' | 'file' | 'start'>
3633
>
3734

3835
export type CompactSocketArtifact = Remap<

src/utils/alert/rules.ts

Lines changed: 0 additions & 262 deletions
This file was deleted.

0 commit comments

Comments
 (0)