(schema: SchemaDef, type: string)
| 55 | } |
| 56 | |
| 57 | export function getTypeDef(schema: SchemaDef, type: string) { |
| 58 | return schema.typeDefs?.[type]; |
| 59 | } |
| 60 | |
| 61 | export function requireModel(schema: SchemaDef, model: string) { |
| 62 | const modelDef = getModel(schema, model); |
no outgoing calls
no test coverage detected