From fb861a53ecebc4e89824ad92ceaa5be336e1ccb6 Mon Sep 17 00:00:00 2001 From: Jacob Fletcher Date: Wed, 2 Oct 2024 12:50:48 -0400 Subject: [PATCH] small docs --- docs/admin/server-functions.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/admin/server-functions.mdx b/docs/admin/server-functions.mdx index 436d014194..2865254e1b 100644 --- a/docs/admin/server-functions.mdx +++ b/docs/admin/server-functions.mdx @@ -133,6 +133,8 @@ const Layout = ({ children }: Args) => ( export default Layout ``` +This pattern allows us to thread server-only modules, such as the Payload Config, through to the Server Function handler to be consumed within your function's logic. + ## TypeScript You can import the Payload `ServerFunction` type as well as other common types from the `payload` package. [More details](../typescript/overview).