Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
8
node_modules/astro/dist/actions/runtime/virtual/get-action.d.ts
generated
vendored
Normal file
8
node_modules/astro/dist/actions/runtime/virtual/get-action.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { ZodType } from 'zod';
|
||||
import type { ActionAccept, ActionClient } from './server.js';
|
||||
/**
|
||||
* Get server-side action based on the route path.
|
||||
* Imports from the virtual module `astro:internal-actions`, which maps to
|
||||
* the user's `src/actions/index.ts` file at build-time.
|
||||
*/
|
||||
export declare function getAction(path: string): Promise<ActionClient<unknown, ActionAccept, ZodType>>;
|
Reference in New Issue
Block a user