Skip to content

Commit

Permalink
align text
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriaxyz committed Dec 18, 2024
1 parent 872d48e commit b0a6c9a
Show file tree
Hide file tree
Showing 31 changed files with 42 additions and 42 deletions.
10 changes: 5 additions & 5 deletions docs/references/astro/auth-store.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ The `$authStore` store provides a convenient way to access the current auth stat
- `userId`
- `string`

The current user's ID.
The unique identifier of the current user.

---

- `sessionId`
- `string`

The current user's session ID.
The unique identifier of the current session.

---

- `orgId`
- `string`

The current user's active organization ID.
The unique identifier of the user's active organization.

---

- `orgRole`
- `string`

The current user's active organization role.
The current user's role in their active organization.

---

- `orgSlug`
- `string`

The current user's active organization slug.
The URL-friendly identifier of the user's active organization.
</Properties>

## How to use the `$authStore` store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createEmailAddress(params: CreateEmailAddressParams): Promise<EmailAddr
- `userId`
- `string`

The ID of the user to create the email address for.
The unique identifier of the user to create the email address for.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function createOrganizationMembership(
- `userId`
- `string`

The user ID of the user being added to the organization.
The unique identifier of the user to be added to the organization.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getOrganizationList(
- `userId`
- `string`

The user ID to remove from the organization.
The unique identifier of the user to be removed from the organization.
</Properties>

## Example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function updateOrganizationMembershipMetadata(
- `userId`
- `string`

The ID of the user that this membership belongs to.
The unique identifier of the user that this membership belongs to.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function updateOrganizationMembership(
- `userId`
- `string`

The ID of the user.
The unique identifier of the user to update.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createPhoneNumber(params: CreatePhoneNumberParams): Promise<PhoneNumber
- `userId`
- `string`

The ID of the user to create the phone number for.
The unique identifier of the user to create the phone number for.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/sessions/get-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getSession(sessionId: string): Promise<Session>
- `sessionId`
- `string`

The ID of the session to retrieve.
The unique identifier of the session to retrieve.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/sessions/get-token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getToken(sessionId: string, template: string): Promise<Token>
- `sessionId`
- `string`

The ID of the session to retrieve a token for.
The unique identifier of the session to retrieve a token for.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/sessions/revoke-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function revokeSession(sessionId: string): Promise<Session>
- `sessionId`
- `string`

The ID of the session to revoke.
The unique identifier of the session to revoke.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/sessions/verify-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const session = await clerkClient.sessions.verifySession(sessionId, token)
- `sessionId`
- `string`

The ID of the session to verify.
The unique identifier of the session to verify.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createSignInToken(params: CreateSignInTokensParams): Promise<SignInToke
- `userId`
- `string`

The ID of the user that can use the newly created sign in token
The unique identifier of the user who can use the newly created sign-in token.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ The Backend `OrganizationMembership` object is similar to the [`OrganizationMemb
- `userId`
- `string`

The ID of the user that this public data belongs to.
The unique identifier of the user that this public data belongs to.
</Properties>
2 changes: 1 addition & 1 deletion docs/references/backend/types/backend-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Backend `Session` object is similar to the [`Session`](/docs/references/java
- `userId`
- `string`

The ID of the user associated with the `Session`.
The unique identifier of the current user associated with the `Session`.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/ban-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function banUser(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to ban.
The unique identifier of the user to ban.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/delete-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function deleteUser(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to delete.
The unique identifier of the user to delete.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/disable-user-mfa.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function disableUserMFA(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to disable MFA for.
The unique identifier of the user to disable MFA for.
</Properties>

## Example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function getOrganizationMembershipList(
- `userId`
- `string`

The ID of the user to retrieve the list of organization memberships for.
The unique identifier of the user to retrieve the list of organization memberships for.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function getUserOauthAccessToken(
- `userId`
- `string`

The ID of the user to retrieve.
The unique identifier of the user to retrieve.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/get-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getUser(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to retrieve.
The unique identifier of the user to retrieve.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/lock-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function lockUser(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to lockout.
The unique identifier of the user to lockout.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/unban-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function unbanUser(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to unban.
The unique identifier of the user to unban.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/unlock-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function unlockUser(userId: string): Promise<User>
- `userId`
- `string`

The ID of the user to unlock.
The unique identifier of the user to unlock.
</Properties>

## Example
Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/update-user-metadata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function updateUserMetadata(userId: string, params: UpdateUserMetadataParams): P
- `userId`
- `string`

The ID of the organization to update.
The unique identifier of the user to update.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/update-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function updateUser(userId: string, params: UpdateUserParams): Promise<User>
- `userId`
- `string`

The ID of the user to update.
The unique identifier of the user to update.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/verify-password.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function verifyPassword(params: VerifyPasswordParams): Promise<{ verified: true
- `userId`
- `string`

The ID of the user to verify the password for.
The unique identifier of the user to verify the password for.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/backend/user/verify-totp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function verifyTOTP(params: VerifyTOTPParams): Promise<{ verified: true; code_ty
- `userId`
- `string`

The ID of the user to verify the TOTP for.
The unique identifier of the user to verify the TOTP for.

---

Expand Down
6 changes: 3 additions & 3 deletions docs/references/javascript/organization/members.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function addMember(params: AddMemberParams): Promise<OrganizationMembership>
- `userId`
- `string`

The ID of the user that will be added as a member to the organization.
The unique identifier of the user to be added as a member to the organization.

---

Expand Down Expand Up @@ -99,7 +99,7 @@ function updateMember(params: UpdateMembershipParams): Promise<OrganizationMembe
- `userId`
- `string`

The user identifier.
The unique identifier of the user to update.

---

Expand Down Expand Up @@ -129,7 +129,7 @@ function removeMember(userId: string): Promise<OrganizationMembership>
- `userId`
- `string`

The user identifier.
The unique identifier of the user to remove from the organization.
</Properties>

### Returns
Expand Down
10 changes: 5 additions & 5 deletions docs/references/nextjs/auth-object.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ The `Auth` object contains important information like the current user's session
- `sessionId`
- `string`

The current user's session ID.
The unique identifier of the current session.

---

- `userId`
- `string`

The current user's unique identifier.
The unique identifier of the current user.

---

- `orgId`
- `string | undefined`

The current user's active organization ID.
The unique identifier of the user's active organization.

---

- `orgRole`
- <code>[OrganizationCustomRoleKey](#organization-custom-role-key) | undefined</code>

The current user's active organization role.
The current user's role in their active organization.

---

- `orgSlug`
- `string |undefined`

The current user's active organization slug.
The URL-friendly identifier of the user's active organization.

---

Expand Down
4 changes: 2 additions & 2 deletions docs/references/react/use-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The `useAuth()` hook provides access to the current user's authentication state
- `userId`
- `string`

The unique identifier for the current user.
The unique identifier of the current user.

---

Expand All @@ -39,7 +39,7 @@ The `useAuth()` hook provides access to the current user's authentication state
- `orgId`
- `string`

The unique identifier for the user's active organization.
The unique identifier of the user's active organization.

---

Expand Down
2 changes: 1 addition & 1 deletion docs/references/react/use-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The `useUser()` hook provides access to the current user's [`User`](/docs/refere
---

- `user`
- <code>[User](/docs/references/javascript/user/user) \| null</code>
- <code>[User](/docs/references/javascript/user/user) | null</code>

The `User` object for the current user. If the user isn't signed in, `user` will be `null`.
</Properties>
Expand Down

0 comments on commit b0a6c9a

Please sign in to comment.