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
2 changes: 1 addition & 1 deletion packages/backend/src/api/endpoints/InstanceApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/react/hooks/useOrganization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type UseOrganizationParams = {
* If set to `true`, all default properties will be used.<br />
* Otherwise, accepts an object with the following optional properties:
* <ul>
* <li>`enrollmentMode`: A string that filters the domains by the provided [enrollment mode](https://clerk.com/docs/guides/organizations/verified-domains#enrollment-mode).</li>
* <li>`enrollmentMode`: A string that filters the domains by the provided [enrollment mode](https://clerk.com/docs/guides/organizations/add-members/verified-domains#enrollment-mode).</li>
* <li>Any of the properties described in [Shared properties](#shared-properties).</li>
* </ul>
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/types/organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/types/organizationMembership.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
12 changes: 6 additions & 6 deletions packages/shared/src/types/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ type WithReverification<T> = 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;
/**
Expand Down Expand Up @@ -103,11 +103,11 @@ export type CheckAuthorization = CheckAuthorizationFn<CheckAuthorizationParams>;
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;
/**
Expand Down Expand Up @@ -155,11 +155,11 @@ export type CheckAuthorizationFromSessionClaims = <P extends OrganizationCustomP
export type CheckAuthorizationParamsFromSessionClaims<P extends OrganizationCustomPermissionKey> = 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;
/**
Expand Down
Loading