Skip to content

Commit

Permalink
Corrections for Code issue fix diff event.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishrp-aws committed Nov 11, 2024
1 parent 96a9272 commit 226c029
Showing 1 changed file with 6 additions and 30 deletions.
36 changes: 6 additions & 30 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"type": "string",
"description": "Captures the type of fix that was accepted",
"allowedValues": [
"acceptDiff",
"openDiff",
"insertAtCursor",
"copyDiff"
"copyDiff",
"quickFix"
]
},
{
Expand Down Expand Up @@ -4362,6 +4363,9 @@
"name": "codewhisperer_codeScanIssueApplyFix",
"description": "Called when a code scan issue suggested fix is applied",
"metadata": [
{
"type": "codeFixAction"
},
{
"type": "component"
},
Expand Down Expand Up @@ -4408,34 +4412,6 @@
}
]
},
{
"name": "codewhisperer_codeScanIssueGenerateFixDiffUse",
"description": "User chose to utilise the diff of a code scan issue fix",
"metadata": [
{
"type": "acceptedFixType",
"required": false
},
{
"type": "component"
},
{
"type": "credentialStartUrl",
"required": false
},
{
"type": "detectorId"
},
{
"type": "ruleId",
"required": false
},
{
"type": "variant",
"required": false
}
]
},
{
"name": "codewhisperer_codeScanIssueHover",
"description": "Called when a code scan issue is hovered over",
Expand Down

0 comments on commit 226c029

Please sign in to comment.