mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
19 lines
898 B
JavaScript
19 lines
898 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";
|
|
const $$RSC_SERVER_CACHE_0_INNER = async function fetch1() {
|
|
return fetch('https://example.com').then((res)=>res.json());
|
|
};
|
|
export var $$RSC_SERVER_CACHE_0 = $$reactCache__(function fetch1() {
|
|
return $$cache__("default", "803128060c414d59f8552e4788b846c0d2b7f74743", 0, $$RSC_SERVER_CACHE_0_INNER, []);
|
|
});
|
|
registerServerReference($$RSC_SERVER_CACHE_0, "803128060c414d59f8552e4788b846c0d2b7f74743", null);
|
|
Object["defineProperty"]($$RSC_SERVER_CACHE_0, "name", {
|
|
value: "fetch"
|
|
});
|
|
/* __next_internal_action_entry_do_not_use__ {"803128060c414d59f8552e4788b846c0d2b7f74743":{"name":"$$RSC_SERVER_CACHE_0"}} */ export const api = {
|
|
product: {
|
|
fetch: $$RSC_SERVER_CACHE_0
|
|
}
|
|
};
|