fix(models): do not use hardcoded paths in relation mappings

8 jobs for model-requires in 10 minutes and 31 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #56019
build

00:05:01

 
  Test
passed #56023
lint:commits

00:00:18

passed #56021
lint:js

00:00:33

passed #56022
lint:json

00:00:15

passed #56020
lint:style

00:01:43

passed #56024
test

00:03:35

54.44%
 
  Review
passed #56025
pages:review

00:01:39

 
  Audit
failed #56026
allowed to fail
audit

00:00:16

 
Name Stage Failure
failed
audit Audit
                pubsweet-client > @pubsweet/ui > babel-jest >                
babel-plugin-istanbul > test-exclude > micromatch > braces
├───────────────┼──────────────────────────────────────────────────────────────┤
More info https://nodesecurity.io/advisories/786
└───────────────┴──────────────────────────────────────────────────────────────┘
47 vulnerabilities found - Packages audited: 122685
Severity: 8 Low | 1 Moderate | 38 High
Done in 3.81s.
ERROR: Job failed: exit code 1