File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as fs from 'fs'
22import * as path from 'path'
33import { fileURLToPath } from 'url'
44import { dynamicImport } from './dynamicImport.js'
5- import type { FindingWithContext } from './types.d.js'
5+ import type { Finding } from './types.d.js'
66import playwright from 'playwright'
77import * as core from '@actions/core'
88
@@ -12,7 +12,7 @@ const __dirname = path.dirname(__filename)
1212
1313type PluginDefaultParams = {
1414 page : playwright . Page
15- addFinding : ( findingData : FindingWithContext ) => void
15+ addFinding : ( findingData : Finding ) => void
1616 // - this will be coming soon
1717 // runAxeScan: (options: {includeScreenshots: boolean; page: playwright.Page; findings: Finding[]}) => Promise<void>
1818}
Original file line number Diff line number Diff line change 11export type Finding = {
2+ scannerType : string
23 url : string
34 html : string
45 problemShort : string
56 problemUrl : string
67 solutionShort : string
78 solutionLong ?: string
89 screenshotId ?: string
10+ ruleId : string
911}
1012
11- // export type FindingWithContext = Finding & {
12- // scannerType: string
13- // ruleId?: string
14- // }
15-
1613export type Cookie = {
1714 name : string
1815 value : string
You can’t perform that action at this time.
0 commit comments