chore(8.0): final pre-RC1 sweep — API consistency, named errors, orphans, zero-cast codebase
This commit is contained in:
parent
970e08c466
commit
1f7e365a4e
237 changed files with 1951 additions and 49413 deletions
|
|
@ -359,7 +359,7 @@ projects:
|
|||
expect(monaLisaEntities.length).toBeGreaterThan(0)
|
||||
|
||||
// Get relationships for Mona Lisa
|
||||
const relationships = await brain.getRelations(monaLisaEntities[0].id)
|
||||
const relationships = await brain.related(monaLisaEntities[0].id)
|
||||
expect(relationships.length).toBeGreaterThan(0)
|
||||
|
||||
// Should have CreatedBy relationship (not just RelatedTo)
|
||||
|
|
@ -406,7 +406,7 @@ projects:
|
|||
expect(stanfordEntities.length).toBeGreaterThan(0)
|
||||
|
||||
// Get relationships
|
||||
const relationships = await brain.getRelations(stanfordEntities[0].id)
|
||||
const relationships = await brain.related(stanfordEntities[0].id)
|
||||
expect(relationships.length).toBeGreaterThan(0)
|
||||
|
||||
// Should have LocatedAt relationship
|
||||
|
|
@ -453,7 +453,7 @@ projects:
|
|||
expect(heartEntities.length).toBeGreaterThan(0)
|
||||
|
||||
// Get relationships
|
||||
const relationships = await brain.getRelations(heartEntities[0].id)
|
||||
const relationships = await brain.related(heartEntities[0].id)
|
||||
expect(relationships.length).toBeGreaterThan(0)
|
||||
|
||||
// Should have PartOf relationship
|
||||
|
|
@ -500,7 +500,7 @@ projects:
|
|||
expect(aliceEntities.length).toBeGreaterThan(0)
|
||||
|
||||
// Get relationships
|
||||
const relationships = await brain.getRelations(aliceEntities[0].id)
|
||||
const relationships = await brain.related(aliceEntities[0].id)
|
||||
expect(relationships.length).toBeGreaterThan(0)
|
||||
|
||||
// Should have WorksWith or MemberOf relationship (not just RelatedTo)
|
||||
|
|
@ -548,7 +548,7 @@ projects:
|
|||
expect(iphoneEntities.length).toBeGreaterThan(0)
|
||||
|
||||
// Get relationships
|
||||
const relationships = await brain.getRelations(iphoneEntities[0].id)
|
||||
const relationships = await brain.related(iphoneEntities[0].id)
|
||||
expect(relationships.length).toBeGreaterThan(0)
|
||||
|
||||
// Should have CreatedBy relationship with high confidence
|
||||
|
|
@ -593,7 +593,7 @@ project:
|
|||
expect(projectEntities.length).toBeGreaterThan(0)
|
||||
|
||||
// Get relationships
|
||||
const relationships = await brain.getRelations(projectEntities[0].id)
|
||||
const relationships = await brain.related(projectEntities[0].id)
|
||||
expect(relationships.length).toBeGreaterThan(0)
|
||||
|
||||
// Should have Contains relationship (hierarchical)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue