diff --git a/lib/types/relationship-types.js b/lib/types/relationship-types.js --- a/lib/types/relationship-types.js +++ b/lib/types/relationship-types.js @@ -31,17 +31,30 @@ values(userRelationshipStatus), ); -export const relationshipActions = Object.freeze({ +const relationshipActionsSansFarcaster = Object.freeze({ FRIEND: 'friend', UNFRIEND: 'unfriend', BLOCK: 'block', UNBLOCK: 'unblock', +}); + +const farcasterRelationshipActions = Object.freeze({ FARCASTER_MUTUAL: 'farcaster', }); + +export const relationshipActions = Object.freeze({ + ...relationshipActionsSansFarcaster, + ...farcasterRelationshipActions, +}); + export type RelationshipAction = $Values; export const relationshipActionsList: $ReadOnlyArray = values(relationshipActions); +export type RelationshipActionSansFarcaster = $Values< + typeof relationshipActionsSansFarcaster, +>; + export const relationshipButtons = Object.freeze({ FRIEND: 'friend', UNFRIEND: 'unfriend',