toolbar.ts — astro Source File
Architecture documentation for toolbar.ts, a typescript file in the astro codebase.
Entity Profile
Relationship Graph
Source Code
const EVENT_TOOLBAR_APP_TOGGLED = 'ASTRO_TOOLBAR_APP_TOGGLED';
interface AppToggledEventPayload {
app: string;
}
export function eventAppToggled(options: {
appName: 'other' | (string & {});
}): { eventName: string; payload: AppToggledEventPayload }[] {
const payload: AppToggledEventPayload = {
app: options.appName,
};
return [{ eventName: EVENT_TOOLBAR_APP_TOGGLED, payload }];
}
Domain
Subdomains
Functions
Types
Source
Frequently Asked Questions
What does toolbar.ts do?
toolbar.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, RenderingEngine subdomain.
What functions are defined in toolbar.ts?
toolbar.ts defines 1 function(s): eventAppToggled.
Where is toolbar.ts in the architecture?
toolbar.ts is located at packages/astro/src/events/toolbar.ts (domain: CoreAstro, subdomain: RenderingEngine, directory: packages/astro/src/events).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free