Перейти к основному содержимому

usePerson

@mineflow/client-react


@mineflow/client-react / usePerson

Function: usePerson()

function usePerson(id: string): UseQueryResult<{
birthDate: string | null;
email: string | null;
fullName: string;
hiredAt: string;
id: string;
objectId: string | null;
phone: string | null;
positionId: string;
status: PersonnelResponse_OutputStatus;
tabNumber: string;
terminatedAt: string | null;
}>;

Defined in: client-react/src/domain-hooks/hr.generated.ts:25

Один сотрудник HR по id.

Parameters

ParameterType
idstring

Returns

UseQueryResult<{ birthDate: string | null; email: string | null; fullName: string; hiredAt: string; id: string; objectId: string | null; phone: string | null; positionId: string; status: PersonnelResponse_OutputStatus; tabNumber: string; terminatedAt: string | null; }>