Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
783 B
Text
14 lines
783 B
Text
/**
|
|
* Normalize some key of the client config to an async provider.
|
|
* @internal
|
|
*
|
|
* @param configKey - the key to look up in config.
|
|
* @param canonicalEndpointParamKey - this is the name the EndpointRuleSet uses.
|
|
* it will most likely not contain the config
|
|
* value, but we use it as a fallback.
|
|
* @param config - container of the config values.
|
|
* @param isClientContextParam - whether this is a client context parameter.
|
|
*
|
|
* @returns async function that will resolve with the value.
|
|
*/
|
|
export declare const createConfigValueProvider: <Config extends Record<string, unknown>>(configKey: string, canonicalEndpointParamKey: string, config: Config, isClientContextParam?: boolean) => () => Promise<any>;
|