Skip to content

Commit e89c3b2

Browse files
committed
spec: regenerate api-surface-declarations and identity reference docs
Claude-Session: https://claude.ai/code/session_019srGWGCBBCBHqcDoRZpQRh Co-authored-by: Claude <noreply@anthropic.com>
1 parent 118525b commit e89c3b2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎content/docs/references/identity/organization.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const result = InvitationSchema.parse(data);
4242
| **expiresAt** | `string` | ✅ | Invitation expiry timestamp |
4343
| **inviterId** | `string` | ✅ | User ID of the inviter |
4444
| **createdAt** | `string` | ✅ | Invitation creation timestamp |
45-
| **updatedAt** | `string` | ✅ | Last update timestamp |
45+
| **updatedAt** | `string` | optional | Last update timestamp (no such column on sys_invitation; absent on the wire) |
4646

4747

4848
---
@@ -71,7 +71,7 @@ const result = InvitationSchema.parse(data);
7171
| **userId** | `string` | ✅ | User ID |
7272
| **role** | `string` | ✅ | Member role (owner, admin, delegated_admin, member — ADR-0108 closed vocabulary) |
7373
| **createdAt** | `string` | ✅ | Member creation timestamp |
74-
| **updatedAt** | `string` | ✅ | Last update timestamp |
74+
| **updatedAt** | `string` | optional | Last update timestamp (no such column on sys_member; absent on the wire) |
7575

7676

7777
---
@@ -88,7 +88,7 @@ const result = InvitationSchema.parse(data);
8888
| **logo** | `string \| null` | optional | Organization logo URL |
8989
| **metadata** | `Record<string, any>` | optional | Custom metadata |
9090
| **createdAt** | `string` | ✅ | Organization creation timestamp |
91-
| **updatedAt** | `string` | ✅ | Last update timestamp |
91+
| **updatedAt** | `string` | optional | Last update timestamp (absent on the better-auth organization wire) |
9292

9393

9494
---

‎packages/spec/api-surface-declarations/identity.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ declare const InvitationSchema: z.ZodObject<{
256256
expiresAt: z.ZodString;
257257
inviterId: z.ZodString;
258258
createdAt: z.ZodString;
259-
updatedAt: z.ZodString;
259+
updatedAt: z.ZodOptional<z.ZodString>;
260260
}, z.core.$strip>;
261261

262262
// ── InvitationStatus (const) ──
@@ -293,7 +293,7 @@ declare const MemberSchema: z.ZodObject<{
293293
userId: z.ZodString;
294294
role: z.ZodString;
295295
createdAt: z.ZodString;
296-
updatedAt: z.ZodString;
296+
updatedAt: z.ZodOptional<z.ZodString>;
297297
}, z.core.$strip>;
298298

299299
// ── ORGANIZATION_ADMIN (const) ──
@@ -316,7 +316,7 @@ declare const OrganizationSchema: z.ZodObject<{
316316
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317317
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
318318
createdAt: z.ZodString;
319-
updatedAt: z.ZodString;
319+
updatedAt: z.ZodOptional<z.ZodString>;
320320
}, z.core.$strip>;
321321

322322
// ── Position (type) ──

0 commit comments

Comments
 (0)