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>
10 lines
280 B
Text
10 lines
280 B
Text
import { expectUnion } from "@smithy/smithy-client";
|
|
export const awsExpectUnion = (value) => {
|
|
if (value == null) {
|
|
return undefined;
|
|
}
|
|
if (typeof value === "object" && "__type" in value) {
|
|
delete value.__type;
|
|
}
|
|
return expectUnion(value);
|
|
};
|