Interface: MyOrgRecord
Interface: MyOrgRecord
Defined in: auth-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/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-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/auth-shared/src/dto/org.ts:12
Inherited from
joined_at?
optionaljoined_at?:string
Defined in: auth-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/auth-shared/src/dto/org.ts:31
ISO 8601 timestamp the user joined this org.
name
name:
string
Defined in: auth-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/auth-shared/src/dto/org.ts:14
Inherited from
role?
optionalrole?:string
Defined in: auth-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/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-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/auth-shared/src/dto/org.ts:13
Inherited from
status?
optionalstatus?:string
Defined in: auth-client/node_modules/.pnpm/@vendidit+auth-shared@file+..+auth-shared/node_modules/@vendidit/auth-shared/src/dto/org.ts:29
Membership status — typically ‘active’.