Action Type — ui Architecture
Architecture documentation for the Action type/interface in use-toast.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD eaa61f68_951f_465c_95d0_adc47c9b189c["Action"] bba373ff_472d_b9de_12be_a7a606cb2977["use-toast.ts"] eaa61f68_951f_465c_95d0_adc47c9b189c -->|defined in| bba373ff_472d_b9de_12be_a7a606cb2977 style eaa61f68_951f_465c_95d0_adc47c9b189c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/hooks/use-toast.ts lines 37–53
type Action =
| {
type: ActionType["ADD_TOAST"]
toast: ToasterToast
}
| {
type: ActionType["UPDATE_TOAST"]
toast: Partial<ToasterToast>
}
| {
type: ActionType["DISMISS_TOAST"]
toastId?: ToasterToast["id"]
}
| {
type: ActionType["REMOVE_TOAST"]
toastId?: ToasterToast["id"]
}
Source
Frequently Asked Questions
What is the Action type?
Action is a type/interface in the ui codebase, defined in deprecated/www/registry/new-york/hooks/use-toast.ts.
Where is Action defined?
Action is defined in deprecated/www/registry/new-york/hooks/use-toast.ts at line 37.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free