Files
twenty/packages
Claude 18dc06fd37 Replace as-casts with value guards in field hooks and utility functions
- useRatingField: isFieldRatingValue guard instead of as FieldRatingValue
- useUuidField: remove redundant as FieldUUidValue casts
- useDateField: isFieldDateValue guard instead of as string | null
- useBooleanField: isFieldBooleanValue guard instead of as boolean
- getLabelIdentifierFieldValue: isFieldFullNameValue guard before accessing
  .firstName/.lastName on record value typed as any
- getImageIdentifierFieldValue: isString guard instead of as string

https://claude.ai/code/session_01K2CBC59gYw93d8YVQm3mXX
2026-04-09 21:03:48 +00:00
..