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>
57 lines
2 KiB
Text
57 lines
2 KiB
Text
import {
|
|
AwsSdkSigV4AuthInputConfig,
|
|
AwsSdkSigV4AuthResolvedConfig,
|
|
AwsSdkSigV4PreviouslyResolved,
|
|
} from "@aws-sdk/core";
|
|
import {
|
|
HandlerExecutionContext,
|
|
HttpAuthScheme,
|
|
HttpAuthSchemeParameters,
|
|
HttpAuthSchemeParametersProvider,
|
|
HttpAuthSchemeProvider,
|
|
Provider,
|
|
Client,
|
|
} from "@smithy/types";
|
|
import { STSClientResolvedConfig } from "../STSClient";
|
|
export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
region?: string;
|
|
}
|
|
export interface STSHttpAuthSchemeParametersProvider
|
|
extends HttpAuthSchemeParametersProvider<
|
|
STSClientResolvedConfig,
|
|
HandlerExecutionContext,
|
|
STSHttpAuthSchemeParameters,
|
|
object
|
|
> {}
|
|
export declare const defaultSTSHttpAuthSchemeParametersProvider: (
|
|
config: STSClientResolvedConfig,
|
|
context: HandlerExecutionContext,
|
|
input: object
|
|
) => Promise<STSHttpAuthSchemeParameters>;
|
|
export interface STSHttpAuthSchemeProvider
|
|
extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {}
|
|
export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
export interface StsAuthInputConfig {}
|
|
export interface StsAuthResolvedConfig {
|
|
stsClientCtor: new (clientConfig: any) => Client<any, any, any>;
|
|
}
|
|
export declare const resolveStsAuthConfig: <T>(
|
|
input: T & StsAuthInputConfig
|
|
) => T & StsAuthResolvedConfig;
|
|
export interface HttpAuthSchemeInputConfig
|
|
extends StsAuthInputConfig,
|
|
AwsSdkSigV4AuthInputConfig {
|
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
|
|
}
|
|
export interface HttpAuthSchemeResolvedConfig
|
|
extends StsAuthResolvedConfig,
|
|
AwsSdkSigV4AuthResolvedConfig {
|
|
readonly authSchemePreference: Provider<string[]>;
|
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
}
|
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
) => T & HttpAuthSchemeResolvedConfig;
|