(fieldDef: FieldDef)
| 249 | } |
| 250 | |
| 251 | export function fieldHasDefaultValue(fieldDef: FieldDef) { |
| 252 | return fieldDef.default !== undefined || fieldDef.updatedAt; |
| 253 | } |
| 254 | |
| 255 | export function isEnum(schema: SchemaDef, type: string) { |
| 256 | return !!schema.enums?.[type]; |
no outgoing calls
no test coverage detected