File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
packages/crates-io-msw/models Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,14 @@ const schema = v.pipe(
1919 return { ...input , id } ;
2020 } ) ,
2121 v . check ( input => input . crate != null , 'Missing `crate` relationship on `crate-ownership`' ) ,
22- v . check ( input => input . team != null || input . user != null , 'Missing `team` or `user` relationship on `crate-ownership`' ) ,
23- v . check ( input => ! ( input . team != null && input . user != null ) , '`team` and `user` on a `crate-ownership` are mutually exclusive' ) ,
22+ v . check (
23+ input => input . team != null || input . user != null ,
24+ 'Missing `team` or `user` relationship on `crate-ownership`' ,
25+ ) ,
26+ v . check (
27+ input => ! ( input . team != null && input . user != null ) ,
28+ '`team` and `user` on a `crate-ownership` are mutually exclusive' ,
29+ ) ,
2430) ;
2531
2632const collection = new Collection ( { schema } ) ;
You can’t perform that action at this time.
0 commit comments