From 75f81bc7073cc50adf047a822de8f9fe09907518 Mon Sep 17 00:00:00 2001 From: David Snelling Date: Fri, 20 Jun 2025 13:48:56 -0700 Subject: [PATCH] **feat(types): add new relationship types to `VerbType`** ### Changes: - Introduced two new relationship types in `VerbType`: - `Follows`: Indicates a following relationship. - `Likes`: Indicates a liking relationship. ### Purpose: Enhanced the `VerbType` to support additional relationship semantics, expanding its applicability for modeling complex graph structures and fostering richer data representation. --- src/types/graphTypes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types/graphTypes.ts b/src/types/graphTypes.ts index 8bd46ac8..7e1d7b79 100644 --- a/src/types/graphTypes.ts +++ b/src/types/graphTypes.ts @@ -143,6 +143,8 @@ export const VerbType = { FriendOf: 'friendOf', // Indicates friendship ReportsTo: 'reportsTo', // Indicates reporting relationship Supervises: 'supervises', // Indicates supervisory relationship - Mentors: 'mentors' // Indicates mentorship relationship + Mentors: 'mentors', // Indicates mentorship relationship + Follows: 'follows', // Indicates the following relationship + Likes: 'likes' // Indicates liking relationship } as const export type VerbType = (typeof VerbType)[keyof typeof VerbType]