Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
protected _fromInverseRelationshipForIDB(
ir: InverseRelationshipForIDB
): RecordRelationshipIdentity {
return {
record: deserializeRecordIdentity(ir.recordIdentity),
relatedRecord: deserializeRecordIdentity(ir.relatedIdentity),
relationship: ir.relationship
};
}
}
protected _fromInverseRelationshipForIDB(
ir: InverseRelationshipForIDB
): RecordRelationshipIdentity {
return {
record: deserializeRecordIdentity(ir.recordIdentity),
relatedRecord: deserializeRecordIdentity(ir.relatedIdentity),
relationship: ir.relationship
};
}
}