(fieldDef: FieldDef)
| 129 | * Checks if a field is of `Unsupported` type. |
| 130 | */ |
| 131 | export function isUnsupportedField(fieldDef: FieldDef) { |
| 132 | return fieldDef.type === 'Unsupported'; |
| 133 | } |
| 134 | |
| 135 | export function getIdFields<Schema extends SchemaDef>(schema: SchemaDef, model: GetModels<Schema>) { |
| 136 | const modelDef = getModel(schema, model); |
no outgoing calls
no test coverage detected