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>
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
import { Client, Command } from "@smithy/types";
|
|
import { S3ExpressIdentityProvider } from "./s3-express";
|
|
export interface S3InputConfig {
|
|
forcePathStyle?: boolean;
|
|
useAccelerateEndpoint?: boolean;
|
|
disableMultiregionAccessPoints?: boolean;
|
|
followRegionRedirects?: boolean;
|
|
s3ExpressIdentityProvider?: S3ExpressIdentityProvider;
|
|
bucketEndpoint?: boolean;
|
|
expectContinueHeader?: boolean | number;
|
|
}
|
|
type PlaceholderS3Client = Client<any, any, any> & any;
|
|
type PlaceholderCreateSessionCommandCtor = {
|
|
new (args: any): Command<any, any, any, any, any>;
|
|
};
|
|
export interface S3ResolvedConfig {
|
|
forcePathStyle: boolean;
|
|
useAccelerateEndpoint: boolean;
|
|
disableMultiregionAccessPoints: boolean;
|
|
followRegionRedirects: boolean;
|
|
s3ExpressIdentityProvider: S3ExpressIdentityProvider;
|
|
bucketEndpoint: boolean;
|
|
expectContinueHeader: boolean | number;
|
|
}
|
|
export declare const resolveS3Config: <T>(
|
|
input: T & S3InputConfig,
|
|
{
|
|
session,
|
|
}: {
|
|
session: [() => PlaceholderS3Client, PlaceholderCreateSessionCommandCtor];
|
|
}
|
|
) => T & S3ResolvedConfig;
|
|
export {};
|