@scayle/storefront-nuxt
Version:
Nuxt integration for the SCAYLE Commerce Engine and Storefront API
12 lines (10 loc) • 379 B
text/typescript
import type { RpcHttpMethod } from '@scayle/storefront-core'
/**
* Type surface for `#virtual/rpcHttpMethods`.
*
* At build time the consuming Nuxt app replaces this with a generated manifest.
* The fallback implementation lives in {@link ./rpc-http-methods.mjs}.
*/
declare module '#virtual/rpcHttpMethods' {
export const rpcHttpMethods: Record<string, RpcHttpMethod>
}