diff --git a/packages/backend/src/api/endpoints/InstanceApi.ts b/packages/backend/src/api/endpoints/InstanceApi.ts index 850c43dffa5..b970b5ab114 100644 --- a/packages/backend/src/api/endpoints/InstanceApi.ts +++ b/packages/backend/src/api/endpoints/InstanceApi.ts @@ -52,7 +52,7 @@ type UpdateOrganizationSettingsParams = { adminDeleteEnabled?: boolean | null | undefined; domainsEnabled?: boolean | null | undefined; /** - * Specifies which [enrollment modes](https://clerk.com/docs/guides/organizations/verified-domains#enrollment-mode) to enable for your Organization Domains. + * Specifies which [enrollment modes](https://clerk.com/docs/guides/organizations/add-members/verified-domains#enrollment-mode) to enable for your Organization Domains. * * @remarks Supported modes are 'automatic_invitation' & 'automatic_suggestion'. */ diff --git a/packages/shared/src/react/hooks/useOrganization.tsx b/packages/shared/src/react/hooks/useOrganization.tsx index ff3a7d3c0b9..dd149b220a7 100644 --- a/packages/shared/src/react/hooks/useOrganization.tsx +++ b/packages/shared/src/react/hooks/useOrganization.tsx @@ -29,7 +29,7 @@ export type UseOrganizationParams = { * If set to `true`, all default properties will be used.
* Otherwise, accepts an object with the following optional properties: * */ diff --git a/packages/shared/src/types/organization.ts b/packages/shared/src/types/organization.ts index 7d1693438d9..9ebc8843c11 100644 --- a/packages/shared/src/types/organization.ts +++ b/packages/shared/src/types/organization.ts @@ -31,7 +31,7 @@ declare global { /** * The `Organization` object holds information about an organization, as well as methods for managing it. * - * To use these methods, you must have the **Organizations** feature [enabled in your app's settings in the Clerk Dashboard](https://clerk.com/docs/guides/organizations/overview#enable-organizations-in-your-application). + * To use these methods, you must have the **Organizations** feature [enabled in your app's settings in the Clerk Dashboard](https://clerk.com/docs/guides/organizations/configure#enable-organizations). * * @interface */ diff --git a/packages/shared/src/types/organizationMembership.ts b/packages/shared/src/types/organizationMembership.ts index f9d645e4401..9aae352b909 100644 --- a/packages/shared/src/types/organizationMembership.ts +++ b/packages/shared/src/types/organizationMembership.ts @@ -70,7 +70,7 @@ export type OrganizationCustomPermissionKey = ClerkAuthorization extends Placeho /** * `OrganizationCustomRoleKey` is a type that represents the user's role in an organization. It will be string unless the developer has provided their own types through [`ClerkAuthorization`](https://clerk.com/docs/guides/development/override-clerk-types-interfaces#example-custom-roles-and-permissions). * - * Clerk provides the [default roles](https://clerk.com/docs/guides/organizations/roles-and-permissions#default-roles) `org:admin` and `org:member`. However, you can create [custom roles](https://clerk.com/docs/guides/organizations/roles-and-permissions#custom-roles) as well. + * Clerk provides the [default roles](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions#default-roles) `org:admin` and `org:member`. However, you can create [custom roles](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions#custom-roles) as well. * * @interface */ diff --git a/packages/shared/src/types/session.ts b/packages/shared/src/types/session.ts index 11629a838d4..bb75ecd08a7 100644 --- a/packages/shared/src/types/session.ts +++ b/packages/shared/src/types/session.ts @@ -61,11 +61,11 @@ type WithReverification = T & { export type CheckAuthorizationParamsWithCustomPermissions = WithReverification< | { /** - * The [role](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for. + * The [role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for. */ role: OrganizationCustomRoleKey; /** - * The [permission](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for. + * The [permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for. */ permission?: never; /** @@ -103,11 +103,11 @@ export type CheckAuthorization = CheckAuthorizationFn; type CheckAuthorizationParams = WithReverification< | { /** - * The [role](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for. + * The [role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for. */ role: OrganizationCustomRoleKey; /** - * The [permission](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for. + * The [permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for. */ permission?: never; /** @@ -155,11 +155,11 @@ export type CheckAuthorizationFromSessionClaims =

= WithReverification< | { /** - * The [role](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for. + * The [role](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for. */ role: OrganizationCustomRoleKey; /** - * The [permission](https://clerk.com/docs/guides/organizations/roles-and-permissions) to check for. + * The [permission](https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions) to check for. */ permission?: never; /**