From 14e5b1c54a28835d33e39436d398c8ed279bf62a Mon Sep 17 00:00:00 2001 From: Sarah Soutoul Date: Mon, 27 Apr 2026 13:18:41 -0600 Subject: [PATCH] Initial setup --- packages/backend/src/api/resources/APIKey.ts | 8 ++++---- packages/shared/src/react/billing/payment-element.tsx | 6 +++--- packages/shared/src/types/clerk.ts | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/backend/src/api/resources/APIKey.ts b/packages/backend/src/api/resources/APIKey.ts index 6e3c3fbf044..bcea093af0b 100644 --- a/packages/backend/src/api/resources/APIKey.ts +++ b/packages/backend/src/api/resources/APIKey.ts @@ -49,10 +49,6 @@ export class APIKey { * The user ID for the user creating the API key. */ readonly createdBy: string | null, - /** - * An optional description for the API key. - */ - readonly description: string | null, /** * The date and time when the API key was last used to authenticate a request. */ @@ -65,6 +61,10 @@ export class APIKey { * The date when the API key was last updated. */ readonly updatedAt: number, + /** + * A description for the API key. + */ + readonly description?: string | null, /** * The API key secret. **This property is only present in the response from [`create()`](/docs/reference/objects/api-keys#create) and cannot be retrieved later.** */ diff --git a/packages/shared/src/react/billing/payment-element.tsx b/packages/shared/src/react/billing/payment-element.tsx index f293399fac2..35c0ac3fd3c 100644 --- a/packages/shared/src/react/billing/payment-element.tsx +++ b/packages/shared/src/react/billing/payment-element.tsx @@ -98,11 +98,11 @@ type internalStripeAppearance = { */ export type PaymentElementProviderProps = { /** - * An optional checkout resource object. When provided, the payment element is scoped to the specific checkout session. + * A checkout resource object. When provided, the payment element is scoped to the specific checkout session. */ checkout?: CheckoutFlowResource | BillingCheckoutResource | ReturnType['checkout']; /** - * An optional object to customize the appearance of the Stripe Payment Element. This allows you to match the form's styling to your application's theme. + * An object to customize the appearance of the Stripe Payment Element. This allows you to match the form's styling to your application's theme. */ stripeAppearance?: internalStripeAppearance; /** @@ -112,7 +112,7 @@ export type PaymentElementProviderProps = { */ for?: ForPayerType; /** - * An optional description to display to the user within the payment element UI. + * A description to display to the user within the payment element UI. */ paymentDescription?: string; }; diff --git a/packages/shared/src/types/clerk.ts b/packages/shared/src/types/clerk.ts index f4ab6a08140..b9d3824011a 100644 --- a/packages/shared/src/types/clerk.ts +++ b/packages/shared/src/types/clerk.ts @@ -1182,11 +1182,11 @@ export type ClerkOptions = ClerkOptionsNavigation & */ signUpUrl?: string; /** - * An optional array of domains to validate user-provided redirect URLs against. If no match is made, the redirect is considered unsafe and the default redirect will be used with a warning logged in the console. + * An array of domains to validate user-provided redirect URLs against. If no match is made, the redirect is considered unsafe and the default redirect will be used with a warning logged in the console. */ allowedRedirectOrigins?: Array; /** - * An optional array of protocols to validate user-provided redirect URLs against. If no match is made, the redirect is considered unsafe and the default redirect will be used with a warning logged in the console. + * An array of protocols to validate user-provided redirect URLs against. If no match is made, the redirect is considered unsafe and the default redirect will be used with a warning logged in the console. */ allowedRedirectProtocols?: Array; /**