Skip to content

Commit

Permalink
docs: correct location of session data type definitions (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
cngJo authored Sep 12, 2024
1 parent ea5dfd6 commit 9852116
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions docs/guide/local/session-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ export default defineNuxtConfig({
auth: {
provider: {
type: 'local',
sessionDataType: {
id: 'string | number',
firstName: 'string',
lastName: 'string'
}
session: {
dataType: {
id: 'string | number',
firstName: 'string',
lastName: 'string',
},
},
}
}
})
Expand All @@ -36,11 +38,13 @@ export default defineNuxtConfig({
auth: {
provider: {
type: 'local',
sessionDataType: {
id: 'string | number',
firstName: 'string',
lastName: 'string',
subscriptions: '{ id: number, active: boolean}[]'
session: {
dataType: {
id: 'string | number',
firstName: 'string',
lastName: 'string',
subscriptions: '{ id: number, active: boolean }[]'
},
}
}
}
Expand Down

0 comments on commit 9852116

Please sign in to comment.