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>
23 lines
635 B
Text
23 lines
635 B
Text
export interface ARN {
|
|
partition: string;
|
|
service: string;
|
|
region: string;
|
|
accountId: string;
|
|
resource: string;
|
|
}
|
|
/**
|
|
* Validate whether a string is an ARN.
|
|
*/
|
|
export declare const validate: (str: any) => boolean;
|
|
/**
|
|
* Parse an ARN string into structure with partition, service, region, accountId and resource values
|
|
*/
|
|
export declare const parse: (arn: string) => ARN;
|
|
type buildOptions = Omit<ARN, "partition"> & {
|
|
partition?: string;
|
|
};
|
|
/**
|
|
* Build an ARN with service, partition, region, accountId, and resources strings
|
|
*/
|
|
export declare const build: (arnObject: buildOptions) => string;
|
|
export {};
|