12 lines
403 B
JavaScript
12 lines
403 B
JavaScript
/**
|
|
* Fetches the SiteSettings global.
|
|
*
|
|
* Generic over the return type so the client can pass their generated
|
|
* `SiteSetting` type for full type safety, while still working without it.
|
|
*
|
|
* @example
|
|
* import type { SiteSetting } from '@/payload-types'
|
|
* const settings = await getSiteSettings<SiteSetting>(payload, { locale: 'pl' })
|
|
*/ export { };
|
|
|
|
//# sourceMappingURL=getSiteSettings.d.js.map
|