@monokle/types
Advanced tools
Comparing version 0.2.0 to 0.2.1
# @monokle/types | ||
## 0.2.1 | ||
### Patch Changes | ||
- 8e49957: add get suppressions query in the synchronizer package | ||
## 0.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -38,1 +38,30 @@ /** | ||
}; | ||
export type SuppressionKind = 'inSource' | 'external'; | ||
export type SuppressionStatus = 'underReview' | 'accepted' | 'rejected'; | ||
/** | ||
* A request to suppress a result. | ||
* | ||
* @see https://docs.oasis-open.org/sarif/sarif/v2.1.0/csprd01/sarif-v2.1.0-csprd01.html#_Toc10541171 | ||
*/ | ||
export interface Suppression { | ||
guid?: string; | ||
kind: SuppressionKind; | ||
status: SuppressionStatus; | ||
justification?: string; | ||
}; | ||
export interface ExternalSuppression extends Suppression { | ||
guid: string; | ||
}; | ||
export interface AnnotationsSuppression extends Suppression { | ||
kind: 'inSource'; | ||
status: 'accepted'; | ||
} | ||
export interface FingerprintSuppression extends ExternalSuppression { | ||
kind: 'external'; | ||
fingerprint: string; | ||
} |
{ | ||
"name": "@monokle/types", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
2319
58