Skip to content

Interface: MyOrgRecord

Interface: MyOrgRecord

Defined in: auth-shared/src/dto/org.ts:25

Per-org membership record returned by GET /me/orgs. Extends Organization with the caller’s role in that org and the membership join timestamp.

Same shape as the admin variant (GET /admin/users/{userId}/organizations) so UI components can render either source without branching.

Extends

Properties

id

id: string

Defined in: auth-shared/src/dto/org.ts:12

Inherited from

Organization.id


joined_at?

optional joined_at?: string

Defined in: auth-shared/src/dto/org.ts:31

ISO 8601 timestamp the user joined this org.


name

name: string

Defined in: auth-shared/src/dto/org.ts:14

Inherited from

Organization.name


role?

optional role?: string

Defined in: auth-shared/src/dto/org.ts:27

Caller’s role code within this org (e.g. ‘org_admin’, ‘seller’).


slug

slug: string

Defined in: auth-shared/src/dto/org.ts:13

Inherited from

Organization.slug


status?

optional status?: string

Defined in: auth-shared/src/dto/org.ts:29

Membership status — typically ‘active’.