mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
17 lines
936 B
JavaScript
17 lines
936 B
JavaScript
import { registerServerReference } from "private-next-rsc-server-reference";
|
|
import { cache as $$cache__ } from "private-next-rsc-cache-wrapper";
|
|
import { cache as $$reactCache__ } from "react";
|
|
// shadow the builtin Array global (used in the transform output)
|
|
/* __next_internal_action_entry_do_not_use__ {"c03128060c414d59f8552e4788b846c0d2b7f74743":{"name":"$$RSC_SERVER_CACHE_0"}} */ const Array1 = {};
|
|
const $$RSC_SERVER_CACHE_0_INNER = async function action(x) {
|
|
return x;
|
|
};
|
|
export var $$RSC_SERVER_CACHE_0 = $$reactCache__(function action() {
|
|
return $$cache__("default", "c03128060c414d59f8552e4788b846c0d2b7f74743", 0, $$RSC_SERVER_CACHE_0_INNER, Array.prototype.slice.call(arguments, 0, 1));
|
|
});
|
|
registerServerReference($$RSC_SERVER_CACHE_0, "c03128060c414d59f8552e4788b846c0d2b7f74743", null);
|
|
Object["defineProperty"]($$RSC_SERVER_CACHE_0, "name", {
|
|
value: "action"
|
|
});
|
|
export var action = $$RSC_SERVER_CACHE_0;
|