normalizeGatePath
normalizeGatePath(
raw):string
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/gates/gates.d.ts:99
The canonical path-normalization algorithm - byte-identical to the Storesynk
app’s normalizeGatePath (the app normalizes rule paths at save time; the
evaluator re-normalizes the REQUEST path the same way, so the two can never
disagree; mirrored test vectors pin them): trim, lowercase, strip
query/hash, collapse to a leading-/ pathname, strip the trailing slash
except for the bare /.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string