**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.
This commit is contained in:
parent
c13e124c71
commit
75f81bc707
1 changed files with 3 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue