fetchPageGates
fetchPageGates(
client,namespace,options?):Promise<PageGateEntry[]>
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/gates/fetch.d.ts:30
The shop’s page gates in evaluation order, read from the SHOP-level
page_gates metafield under the app’s concrete app--<id> namespace
(engine config - never hardcoded) and parsed tolerantly (per-gate skip,
de-duplicated by metaobject id; drafts are RETAINED - evaluateGates skips
them, matching the app’s “list carries active AND draft” contract). Never
throws; never returns half a list.
Parameters
Section titled “Parameters”client
Section titled “client”namespace
Section titled “namespace”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<PageGateEntry[]>