AuditRuleWithSelector Type — astro Architecture
Architecture documentation for the AuditRuleWithSelector type/interface in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 778ab994_e22f_af3a_8c40_0c2848241db2["AuditRuleWithSelector"] 0cdfa5ed_e670_4d58_42f0_ea23911d9d06["index.ts"] 778ab994_e22f_af3a_8c40_0c2848241db2 -->|defined in| 0cdfa5ed_e670_4d58_42f0_ea23911d9d06 style 778ab994_e22f_af3a_8c40_0c2848241db2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/index.ts lines 22–35
export interface AuditRuleWithSelector extends AuditRule {
selector: string;
match?: (
element: Element,
) =>
| boolean
| null
| undefined
| void
| Promise<boolean>
| Promise<void>
| Promise<null>
| Promise<undefined>;
}
Source
Frequently Asked Questions
What is the AuditRuleWithSelector type?
AuditRuleWithSelector is a type/interface in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/index.ts.
Where is AuditRuleWithSelector defined?
AuditRuleWithSelector is defined in packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/index.ts at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free