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>
12 lines
487 B
Text
12 lines
487 B
Text
export declare enum SelectorType {
|
|
ENV = "env",
|
|
CONFIG = "shared config entry"
|
|
}
|
|
/**
|
|
* Returns undefined, if obj[key] is not defined.
|
|
* Returns string value, if the string is defined in obj[key] and it's uppercase matches union value.
|
|
* Throws error for all other cases.
|
|
*
|
|
* @internal
|
|
*/
|
|
export declare const stringUnionSelector: <U extends object, K extends keyof U>(obj: Record<string, string | undefined>, key: string, union: U, type: SelectorType) => U[K] | undefined;
|