Skip to content
Merged
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
32 changes: 16 additions & 16 deletions packages/shared/src/types/clerk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export interface Clerk {
* Entrypoint for Clerk's Signal API containing resource signals along with accessible versions of `computed()` and
* `effect()` that can be used to subscribe to changes from Signals.
*
* @internal
* @hidden
* @experimental This experimental API is subject to change.
*/
__internal_state: State;
Expand All @@ -350,7 +350,7 @@ export interface Clerk {
telemetry: TelemetryCollector | undefined;

/**
* @internal
* @hidden
*/
__internal_country?: string | null;

Expand All @@ -375,75 +375,75 @@ export interface Clerk {
* Opens the Clerk Checkout component in a drawer.
*
* @param props - Optional checkout configuration parameters.
* @internal
* @hidden
*/
__internal_openCheckout: (props?: __internal_CheckoutProps) => void;

/**
* Closes the Clerk Checkout drawer.
* @internal
* @hidden
*/
__internal_closeCheckout: () => void;

/**
* Opens the Clerk PlanDetails drawer component in a drawer.
*
* @param props - `plan` or `planId` parameters are required.
* @internal
* @hidden
*/
__internal_openPlanDetails: (props: __internal_PlanDetailsProps) => void;

/**
* Closes the Clerk PlanDetails drawer.
* @internal
* @hidden
*/
__internal_closePlanDetails: () => void;

/**
* Opens the Clerk SubscriptionDetails drawer component in a drawer.
*
* @param props - Optional configuration parameters.
* @internal
* @hidden
*/
__internal_openSubscriptionDetails: (props?: __internal_SubscriptionDetailsProps) => void;

/**
* Closes the Clerk SubscriptionDetails drawer.
* @internal
* @hidden
*/
__internal_closeSubscriptionDetails: () => void;

/**
* Opens the Clerk UserVerification component in a modal.
*
* @param props - Optional user verification configuration parameters.
* @internal
* @hidden
*/
__internal_openReverification: (props?: __internal_UserVerificationModalProps) => void;

/**
* Closes the Clerk user verification modal.
* @internal
* @hidden
*/
__internal_closeReverification: () => void;

/**
* Attempts to enable a environment setting from a development instance, prompting if disabled.
* @internal
* @hidden
*/
__internal_attemptToEnableEnvironmentSetting: (
options: __internal_AttemptToEnableEnvironmentSettingParams,
) => __internal_AttemptToEnableEnvironmentSettingResult;

/**
* Opens the Clerk Enable Organizations prompt for development instance
* @internal
* @hidden
*/
__internal_openEnableOrganizationsPrompt: (props: __internal_EnableOrganizationsPromptProps) => void;

/**
* Closes the Clerk Enable Organizations modal.
* @internal
* @hidden
*/
__internal_closeEnableOrganizationsPrompt: () => void;

Expand Down Expand Up @@ -747,15 +747,15 @@ export interface Clerk {
*
* @param targetNode - Target node to mount the OAuth consent component.
* @param oauthConsentProps - OAuth consent configuration parameters.
* @internal
* @hidden
*/
__internal_mountOAuthConsent: (targetNode: HTMLDivElement, oauthConsentProps?: __internal_OAuthConsentProps) => void;

/**
* Unmounts a OAuth consent component from the target element.
*
* @param targetNode - Target node to unmount the OAuth consent component from.
* @internal
* @hidden
*/
__internal_unmountOAuthConsent: (targetNode: HTMLDivElement) => void;

Expand Down Expand Up @@ -1156,7 +1156,7 @@ export interface Clerk {
* Internal flag indicating whether a `setActive` call is in progress. Used to prevent navigations from being
* initiated outside of the Clerk class.
*
* @internal
* @hidden
*/
__internal_setActiveInProgress: boolean;

Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/types/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ export interface ClientResource extends ClerkResource {
updatedAt: Date | null;
/**
* Sends a CAPTCHA token to the client.
* @internal
* @hidden
*/
__internal_sendCaptchaToken: (params: unknown) => Promise<ClientResource>;
/**
* Converts the client to a snapshot.
* @internal
* @hidden
*/
__internal_toSnapshot: () => ClientJSONSnapshot;
}
Loading