1
0
mirror of synced 2025-12-23 11:54:18 -05:00

Port secret-scanning.js to TypeScript (#51187)

This commit is contained in:
Peter Bengtsson
2024-06-13 19:15:13 -04:00
committed by GitHub
parent df6cb10c4b
commit 1d86ea92f4
4 changed files with 56 additions and 35 deletions

View File

@@ -74,6 +74,18 @@ export type Context = {
languages?: Languages
redirectNotFound?: string
earlyAccessPageLinks?: string
secretScanningData?: SecretScanningData[]
}
export type SecretScanningData = {
provider: string
supportedSecret: string
secretType: string
versions: Record<string, string>
isPublic: boolean
isPrivateWithGhas: boolean
hasPushProtection: boolean
hasValidityCheck: boolean | string
}
type Language = {