Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /server-actions /server-graph /2 /output.js
| import { registerServerReference } from "private-next-rsc-server-reference"; | |
| /* __next_internal_action_entry_do_not_use__ {"0090b5db271335765a4b0eab01f044b381b5ebd5cd":{"name":"$$RSC_SERVER_ACTION_1"},"706a88810ecce4a4e8b59d53b8327d7e98bbf251d7":{"name":"$$RSC_SERVER_ACTION_0"}} */ import { validator } from 'auth'; | |
| import { Button } from 'components'; | |
| export const $$RSC_SERVER_ACTION_0 = async function myAction(a, b, c) { | |
| console.log('a'); | |
| }; | |
| registerServerReference($$RSC_SERVER_ACTION_0, "706a88810ecce4a4e8b59d53b8327d7e98bbf251d7", null); | |
| var myAction = $$RSC_SERVER_ACTION_0; | |
| export default function Page() { | |
| return <Button action={myAction}>Delete</Button>; | |
| } | |
| export const $$RSC_SERVER_ACTION_1 = async function() {}; | |
| registerServerReference($$RSC_SERVER_ACTION_1, "0090b5db271335765a4b0eab01f044b381b5ebd5cd", null); | |
| // TODO: should use `action` as function name? | |
| export const action = validator($$RSC_SERVER_ACTION_1); | |
Xet Storage Details
- Size:
- 939 Bytes
- Xet hash:
- 788b7e2af90fcb3431b523b26ae53adfc3a548522d120afab37ced2bbbc762e5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.