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>
22 lines
921 B
Text
22 lines
921 B
Text
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
import { ParsedIniData, Profile, Provider } from "@smithy/types";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface SharedConfigInit extends SourceProfileInit {
|
|
/**
|
|
* The preferred shared ini file to load the config. "config" option refers to
|
|
* the shared config file(defaults to `~/.aws/config`). "credentials" option
|
|
* refers to the shared credentials file(defaults to `~/.aws/credentials`)
|
|
*/
|
|
preferredFile?: "config" | "credentials";
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export type GetterFromConfig<T> = (profile: Profile, configFile?: ParsedIniData) => T | undefined;
|
|
/**
|
|
* Get config value from the shared config files with inferred profile name.
|
|
* @internal
|
|
*/
|
|
export declare const fromSharedConfigFiles: <T = string>(configSelector: GetterFromConfig<T>, { preferredFile, ...init }?: SharedConfigInit) => Provider<T>;
|