NotificationPayload Type — astro Architecture
Architecture documentation for the NotificationPayload type/interface in helpers.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 51072425_4c57_3b1b_396c_276203133865["NotificationPayload"] c164d809_878e_5fda_1903_3f6ce5beed21["helpers.ts"] 51072425_4c57_3b1b_396c_276203133865 -->|defined in| c164d809_878e_5fda_1903_3f6ce5beed21 style 51072425_4c57_3b1b_396c_276203133865 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/client/dev-toolbar/helpers.ts lines 1–8
type NotificationPayload =
| {
state: true;
level?: 'error' | 'warning' | 'info';
}
| {
state: false;
};
Source
Frequently Asked Questions
What is the NotificationPayload type?
NotificationPayload is a type/interface in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/helpers.ts.
Where is NotificationPayload defined?
NotificationPayload is defined in packages/astro/src/runtime/client/dev-toolbar/helpers.ts at line 1.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free