Rocky_Mountain_Vending/.pnpm-store/v10/files/bb/62ed4b15b1e7a92bdc5dcb9d7ae4acdce2ee73e55c6f43223dde0abffe16abc4c8d065845b15d0a5ce8d36df5b0fd6e75e850191e2d3e7819509415d0f1f97
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

79 lines
3 KiB
Text

import type { Client, Command } from "@smithy/types";
import { S3ExpressIdentityProvider } from "./s3-express";
/**
* All endpoint parameters with built-in bindings of AWS::S3::*
* @public
*/
export interface S3InputConfig {
/**
* Whether to force path style URLs for S3 objects
* (e.g., https://s3.amazonaws.com/<bucketName>/<key> instead of https://<bucketName>.s3.amazonaws.com/<key>
*/
forcePathStyle?: boolean;
/**
* Whether to use the S3 Transfer Acceleration endpoint by default
*/
useAccelerateEndpoint?: boolean;
/**
* Whether multi-region access points (MRAP) should be disabled.
*/
disableMultiregionAccessPoints?: boolean;
/**
* This feature was previously called the S3 Global Client.
* This can result in additional latency as failed requests are retried
* with a corrected region when receiving a permanent redirect error with status 301.
* This feature should only be used as a last resort if you do not know the region of your bucket(s) ahead of time.
*/
followRegionRedirects?: boolean;
/**
* Identity provider for an S3 feature.
*/
s3ExpressIdentityProvider?: S3ExpressIdentityProvider;
/**
* Whether to use the bucket name as the endpoint for this client.
*/
bucketEndpoint?: boolean;
/**
* This field configures the SDK's behavior around setting the `expect: 100-continue` header.
*
* Default: 2_097_152 (2 MB)
*
* When given as a boolean - always send or omit the header.
* When given as a number - minimum byte threshold of the payload before setting the header.
* Unmeasurable payload sizes (streams) will set the header too.
*
* The `expect: 100-continue` header is used to allow the server a chance to validate the PUT request
* headers before the client begins to send the object payload. This avoids wasteful data transmission for a
* request that is rejected.
*
* However, there is a trade-off where the request will take longer to complete.
*/
expectContinueHeader?: boolean | number;
}
/**
* This is a placeholder for the actual
* S3Client type from \@aws-sdk/client-s3. It is not explicitly
* imported to avoid a circular dependency.
* @internal
*/
type PlaceholderS3Client = Client<any, any, any> & any;
/**
* Placeholder for the constructor for CreateSessionCommand.
* @internal
*/
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 {};