You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
550 B
11 lines
550 B
|
2 months ago
|
import type { ActionManifest } from '../../build/webpack/plugins/flight-client-entry-plugin';
|
||
|
|
export declare function createServerModuleMap({ serverActionsManifest, pageName, }: {
|
||
|
|
serverActionsManifest: ActionManifest;
|
||
|
|
pageName: string;
|
||
|
|
}): {};
|
||
|
|
/**
|
||
|
|
* Checks if the requested action has a worker for the current page.
|
||
|
|
* If not, it returns the first worker that has a handler for the action.
|
||
|
|
*/
|
||
|
|
export declare function selectWorkerForForwarding(actionId: string, pageName: string, serverActionsManifest: ActionManifest): string | undefined;
|