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

useMovement

@mineflow/client-react


@mineflow/client-react / EAM / useMovement

Function: useMovement()

function useMovement(id: string): UseQueryResult<{
appliedAt: string | null;
assetId: string;
createdAt: string;
fromObjectId: string | null;
id: string;
op: AssetMovementResponse_OutputOp;
opDate: string;
reason: string | null;
relatedMaintenanceId: string | null;
responsibleId: string;
sourceEventId: string | null;
status: AssetMovementResponse_OutputStatus;
toObjectId: string | null;
}>;

Defined in: client-react/src/domain-hooks/eam.generated.ts:139

Одна запись журнала движений EAM по id.

Parameters​

ParameterType
idstring

Returns​

UseQueryResult<{ appliedAt: string | null; assetId: string; createdAt: string; fromObjectId: string | null; id: string; op: AssetMovementResponse_OutputOp; opDate: string; reason: string | null; relatedMaintenanceId: string | null; responsibleId: string; sourceEventId: string | null; status: AssetMovementResponse_OutputStatus; toObjectId: string | null; }>