Skip to content

Commit e3e77eb

Browse files
chore(repo): Update Typedoc links to fix temporary ignore warnings (#6846)
Co-authored-by: Alexis Aguilar <98043211+alexisintech@users.noreply.github.com>
1 parent 33efaad commit e3e77eb

65 files changed

Lines changed: 191 additions & 180 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/empty-melons-beg.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@clerk/clerk-js': minor
3+
'@clerk/backend': minor
4+
'@clerk/nextjs': minor
5+
'@clerk/shared': minor
6+
'@clerk/clerk-react': minor
7+
'@clerk/types': minor
8+
'@clerk/vue': minor
9+
---
10+
11+
Udpate Tyepdoc links to fix temporary ignore warnings

.typedoc/custom-plugin.mjs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,34 @@ const FILES_WITHOUT_HEADINGS = [
2626
* Ideally this is a temporary solution until every one of these files are published in production and can be linked to.
2727
*/
2828
const LINK_REPLACEMENTS = [
29-
['clerk-paginated-response', '/docs/references/javascript/types/clerk-paginated-response'],
29+
['clerk-paginated-response', '/docs/reference/javascript/types/clerk-paginated-response'],
3030
['paginated-resources', '#paginated-resources'],
31-
['session-resource', '/docs/references/javascript/session'],
32-
['signed-in-session-resource', '/docs/references/javascript/session'],
33-
['sign-up-resource', '/docs/references/javascript/sign-up'],
34-
['user-resource', '/docs/references/javascript/user'],
35-
['session-status-claim', '/docs/references/javascript/types/session-status'],
36-
['user-organization-invitation-resource', '/docs/references/javascript/types/user-organization-invitation'],
37-
['organization-membership-resource', '/docs/references/javascript/types/organization-membership'],
38-
['organization-suggestion-resource', '/docs/references/javascript/types/organization-suggestion'],
39-
['organization-resource', '/docs/references/javascript/organization'],
40-
['organization-domain-resource', '/docs/references/javascript/types/organization-domain'],
41-
['organization-invitation-resource', '/docs/references/javascript/types/organization-invitation'],
42-
['organization-membership-request-resource', '/docs/references/javascript/types/organization-membership-request'],
43-
['session', '/docs/references/backend/types/backend-session'],
44-
['session-activity', '/docs/references/backend/types/backend-session-activity'],
45-
['organization', '/docs/references/backend/types/backend-organization'],
31+
['session-resource', '/docs/reference/javascript/session'],
32+
['signed-in-session-resource', '/docs/reference/javascript/session'],
33+
['sign-up-resource', '/docs/reference/javascript/sign-up'],
34+
['user-resource', '/docs/reference/javascript/user'],
35+
['session-status-claim', '/docs/reference/javascript/types/session-status'],
36+
['user-organization-invitation-resource', '/docs/reference/javascript/types/user-organization-invitation'],
37+
['organization-membership-resource', '/docs/reference/javascript/types/organization-membership'],
38+
['organization-suggestion-resource', '/docs/reference/javascript/types/organization-suggestion'],
39+
['organization-resource', '/docs/reference/javascript/organization'],
40+
['organization-domain-resource', '/docs/reference/javascript/types/organization-domain'],
41+
['organization-invitation-resource', '/docs/reference/javascript/types/organization-invitation'],
42+
['organization-membership-request-resource', '/docs/reference/javascript/types/organization-membership-request'],
43+
['session', '/docs/reference/backend/types/backend-session'],
44+
['session-activity', '/docs/reference/backend/types/backend-session-activity'],
45+
['organization', '/docs/reference/backend/types/backend-organization'],
4646
['public-organization-data-json', '#public-organization-data-json'],
4747
['organization-membership-public-user-data', '#organization-membership-public-user-data'],
48-
['identification-link', '/docs/references/backend/types/backend-identification-link'],
49-
['verification', '/docs/references/backend/types/backend-verification'],
50-
['email-address', '/docs/references/backend/types/backend-email-address'],
51-
['external-account', '/docs/references/backend/types/backend-external-account'],
52-
['phone-number', '/docs/references/backend/types/backend-phone-number'],
53-
['saml-account', '/docs/references/backend/types/backend-saml-account'],
54-
['web3-wallet', '/docs/references/backend/types/backend-web3-wallet'],
48+
['identification-link', '/docs/reference/backend/types/backend-identification-link'],
49+
['verification', '/docs/reference/backend/types/backend-verification'],
50+
['email-address', '/docs/reference/backend/types/backend-email-address'],
51+
['external-account', '/docs/reference/backend/types/backend-external-account'],
52+
['phone-number', '/docs/reference/backend/types/backend-phone-number'],
53+
['saml-account', '/docs/reference/backend/types/backend-saml-account'],
54+
['web3-wallet', '/docs/reference/backend/types/backend-web3-wallet'],
5555
['verify-token-options', '#verify-token-options'],
56-
['localization-resource', '/docs/customization/localization'],
56+
['localization-resource', '/docs/guides/customizing-clerk/localization'],
5757
];
5858

5959
/**
@@ -84,48 +84,48 @@ function getCatchAllReplacements() {
8484
return [
8585
{
8686
pattern: /\(setActiveParams\)/g,
87-
replace: '([setActiveParams](/docs/references/javascript/types/set-active-params))',
87+
replace: '([setActiveParams](/docs/reference/javascript/types/set-active-params))',
8888
},
8989
{
9090
pattern: /`LoadedClerk`/g,
91-
replace: '[Clerk](/docs/references/javascript/clerk)',
91+
replace: '[Clerk](/docs/reference/javascript/clerk)',
9292
},
9393
{
9494
pattern: /\(CreateOrganizationParams\)/g,
9595
replace: '([CreateOrganizationParams](#create-organization-params))',
9696
},
9797
{
9898
pattern: /\| `SignInResource` \|/,
99-
replace: '| [SignInResource](/docs/references/javascript/sign-in) |',
99+
replace: '| [SignInResource](/docs/reference/javascript/sign-in) |',
100100
},
101101
{
102102
pattern: /`OrganizationPrivateMetadata`/g,
103103
replace:
104-
'[`OrganizationPrivateMetadata`](/docs/references/javascript/types/metadata#organization-private-metadata)',
104+
'[`OrganizationPrivateMetadata`](/docs/reference/javascript/types/metadata#organization-private-metadata)',
105105
},
106106
{
107107
pattern: /OrganizationPublicMetadata/g,
108-
replace: '[OrganizationPublicMetadata](/docs/references/javascript/types/metadata#organization-public-metadata)',
108+
replace: '[OrganizationPublicMetadata](/docs/reference/javascript/types/metadata#organization-public-metadata)',
109109
},
110110
{
111111
pattern: /`OrganizationInvitationPrivateMetadata`/g,
112112
replace:
113-
'[`OrganizationInvitationPrivateMetadata`](/docs/references/javascript/types/metadata#organization-invitation-private-metadata)',
113+
'[`OrganizationInvitationPrivateMetadata`](/docs/reference/javascript/types/metadata#organization-invitation-private-metadata)',
114114
},
115115
{
116116
pattern: /`OrganizationInvitationPublicMetadata`/g,
117117
replace:
118-
'[`OrganizationInvitationPublicMetadata`](/docs/references/javascript/types/metadata#organization-invitation-public-metadata)',
118+
'[`OrganizationInvitationPublicMetadata`](/docs/reference/javascript/types/metadata#organization-invitation-public-metadata)',
119119
},
120120
{
121121
pattern: /`OrganizationMembershipPrivateMetadata`/g,
122122
replace:
123-
'[`OrganizationMembershipPrivateMetadata`](/docs/references/javascript/types/metadata#organization-membership-private-metadata)',
123+
'[`OrganizationMembershipPrivateMetadata`](/docs/reference/javascript/types/metadata#organization-membership-private-metadata)',
124124
},
125125
{
126126
pattern: /`OrganizationMembershipPublicMetadata`/g,
127127
replace:
128-
'[`OrganizationMembershipPublicMetadata`](/docs/references/javascript/types/metadata#organization-membership-public-metadata)',
128+
'[`OrganizationMembershipPublicMetadata`](/docs/reference/javascript/types/metadata#organization-membership-public-metadata)',
129129
},
130130
{
131131
/**

packages/backend/src/api/endpoints/InstanceApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type UpdateOrganizationSettingsParams = {
5252
adminDeleteEnabled?: boolean | null | undefined;
5353
domainsEnabled?: boolean | null | undefined;
5454
/**
55-
* Specifies which [enrollment modes](https://clerk.com/docs/organizations/verified-domains#enrollment-mode) to enable for your Organization Domains.
55+
* Specifies which [enrollment modes](https://clerk.com/docs/guides/organizations/verified-domains#enrollment-mode) to enable for your Organization Domains.
5656
*
5757
* @remarks Supported modes are 'automatic_invitation' & 'automatic_suggestion'.
5858
*/

packages/backend/src/api/resources/AllowlistIdentifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class AllowlistIdentifier {
1111
*/
1212
readonly id: string,
1313
/**
14-
* The [identifier](https://clerk.com/docs/authentication/configuration/sign-up-sign-in-options#identifiers) that was added to the allowlist.
14+
* The identifier that was added to the allowlist.
1515
*/
1616
readonly identifier: string,
1717
/**

packages/backend/src/api/resources/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { ClientJSON } from './JSON';
44
import { Session } from './Session';
55

66
/**
7-
* The Backend `Client` object is similar to the [`Client`](https://clerk.com/docs/references/javascript/client) object as it holds information about the authenticated sessions in the current device. However, the Backend `Client` object is different from the `Client` object in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/Clients#operation/GetClient) and is not directly accessible from the Frontend API.
7+
* The Backend `Client` object is similar to the [`Client`](https://clerk.com/docs/reference/javascript/client) object as it holds information about the authenticated sessions in the current device. However, the Backend `Client` object is different from the `Client` object in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/Clients#operation/GetClient) and is not directly accessible from the Frontend API.
88
*/
99
export class Client {
1010
constructor(
@@ -13,23 +13,23 @@ export class Client {
1313
*/
1414
readonly id: string,
1515
/**
16-
* An array of [Session](https://clerk.com/docs/references/backend/types/backend-session){{ target: '_blank' }} IDs associated with the `Client`.
16+
* An array of [Session](https://clerk.com/docs/reference/backend/types/backend-session){{ target: '_blank' }} IDs associated with the `Client`.
1717
*/
1818
readonly sessionIds: string[],
1919
/**
20-
* An array of [Session](https://clerk.com/docs/references/backend/types/backend-session){{ target: '_blank' }} objects associated with the `Client`.
20+
* An array of [Session](https://clerk.com/docs/reference/backend/types/backend-session){{ target: '_blank' }} objects associated with the `Client`.
2121
*/
2222
readonly sessions: Session[],
2323
/**
24-
* The ID of the [`SignIn`](https://clerk.com/docs/references/javascript/sign-in){{ target: '_blank' }}.
24+
* The ID of the [`SignIn`](https://clerk.com/docs/reference/javascript/sign-in){{ target: '_blank' }}.
2525
*/
2626
readonly signInId: string | null,
2727
/**
28-
* The ID of the [`SignUp`](https://clerk.com/docs/references/javascript/sign-up){{ target: '_blank' }}.
28+
* The ID of the [`SignUp`](https://clerk.com/docs/reference/javascript/sign-up){{ target: '_blank' }}.
2929
*/
3030
readonly signUpId: string | null,
3131
/**
32-
* The ID of the last active [Session](https://clerk.com/docs/references/backend/types/backend-session).
32+
* The ID of the last active [Session](https://clerk.com/docs/reference/backend/types/backend-session).
3333
*/
3434
readonly lastActiveSessionId: string | null,
3535
/**

packages/backend/src/api/resources/CommercePlan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Feature } from './Feature';
44
import type { BillingPlanJSON } from './JSON';
55

66
/**
7-
* The `BillingPlan` object is similar to the [`BillingPlanResource`](/docs/references/javascript/types/billing-plan-resource) object as it holds information about a plan, as well as methods for managing it. However, the `BillingPlan` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/plans) and is not directly accessible from the Frontend API.
7+
* The `BillingPlan` object is similar to the [`BillingPlanResource`](/docs/reference/javascript/types/billing-plan-resource) object as it holds information about a plan, as well as methods for managing it. However, the `BillingPlan` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/plans) and is not directly accessible from the Frontend API.
88
*
99
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
1010
*/

packages/backend/src/api/resources/CommerceSubscription.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BillingSubscriptionItem } from './CommerceSubscriptionItem';
44
import type { BillingSubscriptionJSON } from './JSON';
55

66
/**
7-
* The `BillingSubscription` object is similar to the [`BillingSubscriptionResource`](/docs/references/javascript/types/commerce-subscription-resource) object as it holds information about a subscription, as well as methods for managing it. However, the `BillingSubscription` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/billing/get/organizations/%7Borganization_id%7D/billing/subscription) and is not directly accessible from the Frontend API.
7+
* The `BillingSubscription` object is similar to the [`BillingSubscriptionResource`](/docs/reference/javascript/types/commerce-subscription-resource) object as it holds information about a subscription, as well as methods for managing it. However, the `BillingSubscription` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/billing/get/organizations/%7Borganization_id%7D/billing/subscription) and is not directly accessible from the Frontend API.
88
*
99
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
1010
*/

packages/backend/src/api/resources/CommerceSubscriptionItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BillingPlan } from './CommercePlan';
44
import type { BillingSubscriptionItemJSON } from './JSON';
55

66
/**
7-
* The `BillingSubscriptionItem` object is similar to the [`BillingSubscriptionItemResource`](/docs/references/javascript/types/commerce-subscription-item-resource) object as it holds information about a subscription item, as well as methods for managing it. However, the `BillingSubscriptionItem` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/subscription_items) and is not directly accessible from the Frontend API.
7+
* The `BillingSubscriptionItem` object is similar to the [`BillingSubscriptionItemResource`](/docs/reference/javascript/types/commerce-subscription-item-resource) object as it holds information about a subscription item, as well as methods for managing it. However, the `BillingSubscriptionItem` object is different in that it is used in the [Backend API](https://clerk.com/docs/reference/backend-api/tag/commerce/get/commerce/subscription_items) and is not directly accessible from the Frontend API.
88
*
99
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
1010
*/

packages/backend/src/api/resources/Deserializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type ResourceResponse<T> = {
5757
*
5858
* If the promise resolves, you will get back the [properties](#properties) listed below. `data` will be an array of the resource type you requested. You can use the `totalCount` property to determine how many total items exist remotely.
5959
*
60-
* Some methods that return this type allow pagination with the `limit` and `offset` parameters, in which case the first 10 items will be returned by default. For methods such as [`getAllowlistIdentifierList()`](https://clerk.com/docs/references/backend/allowlist/get-allowlist-identifier-list), which do not take a `limit` or `offset`, all items will be returned.
60+
* Some methods that return this type allow pagination with the `limit` and `offset` parameters, in which case the first 10 items will be returned by default. For methods such as [`getAllowlistIdentifierList()`](https://clerk.com/docs/reference/backend/allowlist/get-allowlist-identifier-list), which do not take a `limit` or `offset`, all items will be returned.
6161
*
6262
* If the promise is rejected, you will receive a `ClerkAPIResponseError` or network error.
6363
*

packages/backend/src/api/resources/EmailAddress.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import type { EmailAddressJSON } from './JSON';
33
import { Verification } from './Verification';
44

55
/**
6-
* The Backend `EmailAddress` object is a model around an email address. Email addresses are one of the [identifiers](https://clerk.com/docs/authentication/configuration/sign-up-sign-in-options#identifiers) used to provide identification for users.
6+
* The Backend `EmailAddress` object is a model around an email address.
77
*
88
* Email addresses must be **verified** to ensure that they are assigned to their rightful owners. The `EmailAddress` object holds all necessary state around the verification process.
99
*
10-
* For implementation examples for adding and verifying email addresses, see the [email link custom flow](https://clerk.com/docs/custom-flows/email-links) and [email code custom flow](https://clerk.com/docs/custom-flows/add-email) guides.
10+
* For implementation examples for adding and verifying email addresses, see the [email link custom flow](https://clerk.com/docs/guides/development/custom-flows/authentication/email-links) and [email code custom flow](https://clerk.com/docs/guides/development/custom-flows/account-updates/add-email) guides.
1111
*/
1212
export class EmailAddress {
1313
constructor(

0 commit comments

Comments
 (0)