Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/backend/src/api/resources/APIKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.**
*/
Expand Down
6 changes: 3 additions & 3 deletions packages/shared/src/react/billing/payment-element.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof useCheckout>['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;
/**
Expand All @@ -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;
};
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/types/clerk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string | RegExp>;
/**
* 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<string>;
/**
Expand Down
Loading