Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 935 Bytes

audits_common.Audit.md

File metadata and controls

46 lines (25 loc) · 935 Bytes

graphql-http / audits/common / Audit

Interface: Audit

audits/common.Audit

Actual audit test returning an result.

The test function will throw only if the error is fatal.

Table of contents

Properties

Properties

fn

fn: () => Promise<AuditResult>

Type declaration

▸ (): Promise<AuditResult>

Returns

Promise<AuditResult>


id

id: string

Uniquely represents the audit. Helps with pinning audits without depending on the human readable audit name.


name

name: `MUST ${string}` | `SHOULD ${string}` | `MAY ${string}`