listPendingInvitationsForUser
@nmi-agro/fdm-source / fdm-core/src / listPendingInvitationsForUser
Function: listPendingInvitationsForUser()
listPendingInvitationsForUser(
fdm,user_id):Promise<any[]>
Defined in: fdm-core/src/farm.ts:770
Lists all pending (non-expired) farm invitations for a given user, enriched with farm and organization names.
Delegates to listPendingInvitationsForPrincipal and enriches farm-resource rows with names.
Parameters
fdm
any
The FDM instance providing the connection to the database.
user_id
string
The ID of the user to retrieve invitations for.
Returns
Promise<any[]>
A Promise that resolves to an array of pending invitation records enriched with farm_name and org_name.