Skip to content

Commit 2686a13

Browse files
committed
docs: regenerate hook reference after removing session.tenantId (#3290)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Q7R16SoGBeqKkEd7RCZRL
1 parent f67151c commit 2686a13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/docs/references/data/hook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const result = HookContext.parse(data);
3737
| **input** | `Record<string, any>` || Mutable input parameters |
3838
| **result** | `any` | optional | Operation result (After hooks only) |
3939
| **previous** | `Record<string, any>` | optional | Record state before operation |
40-
| **session** | `{ userId?: string; organizationId?: string; tenantId?: string; roles?: string[]; … }` | optional | Current session context |
40+
| **session** | `{ userId?: string; organizationId?: string; roles?: string[]; accessToken?: string; … }` | optional | Current session context |
4141
| **transaction** | `any` | optional | Database transaction handle |
4242
| **ql** | `any` || ObjectQL Engine Reference |
4343
| **api** | `any` | optional | Cross-object data access (ScopedContext) |

0 commit comments

Comments
 (0)