react-code-dataset / next.js /crates /next-custom-transforms /tests /fixture /server-actions /next.d.ts
Download next.js/crates/next-custom-transforms/tests/fixture/server-actions/next.d.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/crates/next-custom-transforms/tests/fixture/server-actions/next.d.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/crates/next-custom-transforms/tests/fixture/server-actions/next.d.ts
-
curl -L -o next.d.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/crates/next-custom-transforms/tests/fixture/server-actions/next.d.ts
1.24 kB
| declare module 'private-next-rsc-action-encryption' { | |
| export function encryptActionBoundArgs( | |
| actionId: string, | |
| ...args: any[] | |
| ): Promise<string> | |
| export function decryptActionBoundArgs( | |
| actionId: string, | |
| encryptedPromise: Promise<string> | |
| ): Promise<any[]> | |
| } | |
| declare module 'private-next-rsc-server-reference' { | |
| export function registerServerReference<T extends (...args: any[]) => any>( | |
| reference: T, | |
| id: string, | |
| exportName: string | null | |
| ): T | |
| } | |
| declare module 'private-next-rsc-action-client-wrapper' { | |
| export function callServer( | |
| actionId: string, | |
| actionArgs: unknown[] | |
| ): Promise<unknown> | |
| export function findSourceMapURL(filename: string): string | null | |
| const createServerReference: ( | |
| id: string, | |
| callServer: any, | |
| encodeFormAction?: any, | |
| findSourceMapURL?: any, | |
| functionName?: string | |
| ) => (...args: unknown[]) => Promise<unknown> | |
| } | |
| declare module 'private-next-rsc-action-validate' { | |
| function ensureServerEntryExports(actions: unknown[]): void | |
| } | |
| declare module 'private-next-rsc-cache-wrapper' { | |
| export function cache<TFn extends (...args: any[]) => Promise<any>>( | |
| kind: string, | |
| id: string, | |
| boundArgsLength: number, | |
| fn: TFn | |
| ): TFn | |
| } | |