Skip to content

Commit

Permalink
fix no h1 in node sdk v2 unversioned docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Mistry committed Jun 15, 2022
1 parent f7155bc commit e355bab
Show file tree
Hide file tree
Showing 47 changed files with 52 additions and 42 deletions.
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/createresetpasswordtoken.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: createResetPasswordToken
hide_title: true
---

## ``createResetPasswordToken(userId)``
# ``createResetPasswordToken(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/getuserbyemail.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserByEmail
hide_title: true
---

## ``getUserByEmail(email)``
# ``getUserByEmail(email)``

### Parameters
- ``email``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/getuserbyid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserById
hide_title: true
---

## ``getUserById(userId)``
# ``getUserById(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 2 additions & 0 deletions v2/nodejs/emailpassword/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: init
hide_title: true
---

# init

```tsx
EmailPassword.init({
signUpFeature?: {
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/resetpasswordusingtoken.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: resetPasswordUsingToken
hide_title: true
---

## `resetPasswordUsingToken(token, newPassword)`
# `resetPasswordUsingToken(token, newPassword)`

### Parameters
- ``token``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/signin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: signIn
hide_title: true
---

## ``signIn(email, password)``
# ``signIn(email, password)``

### Parameters
- ``email``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/signup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: signUp
hide_title: true
---

## ``signUp(email, password)``
# ``signUp(email, password)``

### Parameters
- ``email``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailpassword/updateemailorpassword.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateEmailOrPassword
hide_title: true
---

## ``updateEmailOrPassword(input: {userId: string, email?: string, password?: string})``
# ``updateEmailOrPassword(input: {userId: string, email?: string, password?: string})``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: createEmailVerificationToken
hide_title: true
---

## ``createEmailVerificationToken(userId)``
# ``createEmailVerificationToken(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailverification/isemailverified.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: isEmailVerified
hide_title: true
---

## ``isEmailVerified(userId)``
# ``isEmailVerified(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeEmailVerificationTokens
hide_title: true
---

## ``revokeEmailVerificationTokens(userId)``
# ``revokeEmailVerificationTokens(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailverification/unverifyemail.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: unverifyEmail
hide_title: true
---

## ``unverifyEmail(userId)``
# ``unverifyEmail(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/emailverification/verifyemailusingtoken.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: verifyEmailUsingToken
hide_title: true
---

## ``verifyEmailUsingToken(token)``
# ``verifyEmailUsingToken(token)``

### Parameters
- ``token``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/getusercount.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hide_title: true
This function is applicable only for core versions >= `3.5`
:::

## ``getUserCount()``
# ``getUserCount()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/getusersnewestfirst.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hide_title: true
This function is applicable only for core versions >= `3.5`
:::

## ``getUsersNewestFirst({limit?, paginationToken?, includeRecipeIds?})``
# ``getUsersNewestFirst({limit?, paginationToken?, includeRecipeIds?})``

### Parameters
- ``limit`` (Optional)
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/getusersoldestfirst.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hide_title: true
This function is applicable only for core versions >= `3.5`
:::

## ``getUsersOldestFirst({limit?, paginationToken?, includeRecipeIds?})``
# ``getUsersOldestFirst({limit?, paginationToken?, includeRecipeIds?})``

### Parameters
- ``limit`` (Optional)
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import GuidesLink from "/src/components/guidesLink"

## `Supertokens.init(config)`
# `Supertokens.init(config)`

In your `index.js`, you need to call the `Supertokens.init` function to initialise SuperTokens. You can provide it the following config:

Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/jwt/createJWT.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: createJWT
hide_title: true
---

## `createJWT(payload, validitySeconds)`
# `createJWT(payload, validitySeconds)`

### Parameters
- `payload` (Optional)
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/jwt/getJWKS.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getJWKS
hide_title: true
---

## `getJWKS()`
# `getJWKS()`

### Returns
```ts
Expand Down
2 changes: 2 additions & 0 deletions v2/nodejs/jwt/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: init
hide_title: true
---

# init

```tsx
JWT.init({
jwtValiditySeconds?: number,
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/createnewsession.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"

## ``createNewSession(res, userId, jwtPayload, sessionData)``
# ``createNewSession(res, userId, jwtPayload, sessionData)``
### Parameters
<NodeJSFrameworkSubTabs>
<TabItem value="express">
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/getSessionInformation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getSessionInformation
hide_title: true
---

## ``getSessionInformation(sessionHandle)``
# ``getSessionInformation(sessionHandle)``

### Parameters
- ``sessionHandle``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/getallsessionhandlesforuser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getAllSessionHandlesForUser
hide_title: true
---

## ``getAllSessionHandlesForUser(userId)``
# ``getAllSessionHandlesForUser(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/getjwtpayload.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This method has been deprecated as of version 6.1.X, use the [getSessionInformat

:::

## ``getJWTPayload(sessionHandle)``
# ``getJWTPayload(sessionHandle)``

### Parameters
- ``sessionHandle``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/getsession.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"

## ``getSession(req, res, options)``
# ``getSession(req, res, options)``
### Parameters
<NodeJSFrameworkSubTabs>
<TabItem value="express">
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/getsessiondata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This method has been deprecated as of version 6.1.X, use the [getSessionInformat

:::

## ``getSessionData(sessionHandle)``
# ``getSessionData(sessionHandle)``

### Parameters
- ``sessionHandle``
Expand Down
2 changes: 2 additions & 0 deletions v2/nodejs/session/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: init
hide_title: true
---

# init

```tsx
Session.init({
cookieSecure?: boolean,
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/refreshsession.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"

## ``refreshSession(req, res)``
# ``refreshSession(req, res)``
### Parameters
### Parameters
<NodeJSFrameworkSubTabs>
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/revokeallsessionsforuser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeAllSessionsForUser
hide_title: true
---

## ``revokeAllSessionsForUser(userId) ``
# ``revokeAllSessionsForUser(userId) ``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/revokemultiplesessions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeMultipleSessions
hide_title: true
---

## ``revokeMultipleSessions(sessionHandles)``
# ``revokeMultipleSessions(sessionHandles)``

### Parameters
- ``sessionHandles``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/revokesession.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeSession
hide_title: true
---

## ``revokeSession(sessionHandle)``
# ``revokeSession(sessionHandle)``

### Parameters
- ``userId``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/getExpiry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getExpiry
hide_title: true
---

## ``getExpiry()``
# ``getExpiry()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/getTimeCreated.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getTimeCreated
hide_title: true
---

## ``getTimeCreated()``
# ``getTimeCreated()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/getjwtpayload.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getJWTPayload
hide_title: true
---

## ``getJWTPayload()``
# ``getJWTPayload()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/getsessiondata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getSessionData
hide_title: true
---

## ``getSessionData()``
# ``getSessionData()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/getuserid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserId
hide_title: true
---

## ``getUserId()``
# ``getUserId()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/revokesession.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeSession
hide_title: true
---

## ``revokeSession()``
# ``revokeSession()``

### Parameters
- none
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/updatejwtpayload.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateJWTPayload
hide_title: true
---

## ``updateJWTPayload(data)``
# ``updateJWTPayload(data)``

### Parameters
- ``data``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/sessioncontainer/updatesessiondata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateSessionData
hide_title: true
---

## ``updateSessionData(data)``
# ``updateSessionData(data)``

### Parameters
- ``data``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/updatejwtpayload.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateJWTPayload
hide_title: true
---

## ``updateJWTPayload(sessionHandle, newJWTPayload)``
# ``updateJWTPayload(sessionHandle, newJWTPayload)``

### Parameters
- ``sessionHandle``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/session/updatesessiondata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateSessionData
hide_title: true
---

## ``updateSessionData(sessionHandle, newSessionData)``
# ``updateSessionData(sessionHandle, newSessionData)``

### Parameters
- `sessionHandle`
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/thirdparty/getuserbyid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserById
hide_title: true
---

## `getUserById(userId)`
# `getUserById(userId)`

### Parameters
- `userId`
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/thirdparty/getuserbythirdpartyinfo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserByThirdPartyInfo
hide_title: true
---

## `getUserByThirdPartyInfo(thirdPartyId, thirdPartyUserId)`
# `getUserByThirdPartyInfo(thirdPartyId, thirdPartyUserId)`

### Parameters
- `thirdPartyId`
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs/thirdparty/getusersbyemail.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUsersByEmail
hide_title: true
---

## `getUsersByEmail(email)`
# `getUsersByEmail(email)`

### Parameters
- `email`
Expand Down
Loading

0 comments on commit e355bab

Please sign in to comment.