Skip to content

Commit 06f8e22

Browse files
committed
chore(spec): regenerate the migration registry and references after merging main (#15299 + this card)
1 parent c13d17c commit 06f8e22

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/docs/references/api/auth.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const result = AuthProvider.parse(data);
159159
| **username** | `string` | optional | Username (optional) |
160160
| **roles** | `string[]` | optional (default: `[]`) | Assigned role IDs |
161161
| **tenantId** | `string` | optional | Current tenant ID |
162-
| **language** | `never` | optional | [REMOVED] `SessionUser.language` was removed in @objectstack/spec 17.4.0 (#14788, ADR-0049) — it was declared with a permanent default of `'en'` and never produced by any session endpoint nor read by any client, so a reader keying on it saw a constant, not the user's language. Delete the key. Read the signed-in user's language from `GET /auth/me/localization` (`locale`: the user's own `sys_user.locale` when set → the request's `Accept-Language` → the deployment default). |
162+
| **language** | `never` | optional | [REMOVED] `SessionUser.language` was removed in @objectstack/spec 17.4.0 (ADR-0049 enforce-or-remove) — it was declared with a permanent default of `'en'` and never produced by any session endpoint nor read by any client, so a reader keying on it saw a constant, not the user's language. Delete the key. Read the signed-in user's language from `GET /auth/me/localization` (`locale`: the user's own `sys_user.locale` when set → the request's `Accept-Language` → the deployment default). |
163163
| **timezone** | `string` | optional | Preferred timezone |
164164
| **createdAt** | `string` | optional | |
165165
| **updatedAt** | `string` | optional | |
@@ -203,7 +203,7 @@ const result = AuthProvider.parse(data);
203203
| **username** | `string` | optional | Username (optional) |
204204
| **roles** | `string[]` | optional (default: `[]`) | Assigned role IDs |
205205
| **tenantId** | `string` | optional | Current tenant ID |
206-
| **language** | `never` | optional | [REMOVED] `SessionUser.language` was removed in @objectstack/spec 17.4.0 (#14788, ADR-0049) — it was declared with a permanent default of `'en'` and never produced by any session endpoint nor read by any client, so a reader keying on it saw a constant, not the user's language. Delete the key. Read the signed-in user's language from `GET /auth/me/localization` (`locale`: the user's own `sys_user.locale` when set → the request's `Accept-Language` → the deployment default). |
206+
| **language** | `never` | optional | [REMOVED] `SessionUser.language` was removed in @objectstack/spec 17.4.0 (ADR-0049 enforce-or-remove) — it was declared with a permanent default of `'en'` and never produced by any session endpoint nor read by any client, so a reader keying on it saw a constant, not the user's language. Delete the key. Read the signed-in user's language from `GET /auth/me/localization` (`locale`: the user's own `sys_user.locale` when set → the request's `Accept-Language` → the deployment default). |
207207
| **timezone** | `string` | optional | Preferred timezone |
208208
| **createdAt** | `string` | optional | |
209209
| **updatedAt** | `string` | optional | |

0 commit comments

Comments
 (0)