feat: add useCreateOneRelationMetadata and useRelationMetadata (#2559)

Closes #2423
This commit is contained in:
Thaïs
2023-11-17 19:15:15 +01:00
committed by GitHub
parent 1deb742ac9
commit e90beef91f
10 changed files with 206 additions and 18 deletions

View File

@ -0,0 +1,5 @@
import { RelationMetadataType } from '~/generated-metadata/graphql';
export type RelationType =
| Exclude<RelationMetadataType, 'MANY_TO_MANY'>
| 'MANY_TO_ONE';