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
19
src/index.ts
19
src/index.ts
|
|
@ -1,15 +1,16 @@
|
|||
/**
|
||||
* Brainy 3.0 - Your AI-Powered Second Brain
|
||||
* Brainy 8.0 - Your AI-Powered Second Brain
|
||||
* 🧠⚛️ A multi-dimensional database with vector, graph, and relational storage
|
||||
*
|
||||
*
|
||||
* Core Components:
|
||||
* - Brainy: The unified database with Triple Intelligence
|
||||
* - Triple Intelligence: Seamless fusion of vector + graph + field search
|
||||
* - Db: Immutable, generation-pinned database values (now/transact/asOf/with)
|
||||
* - Plugins: Extensible plugin system (cortex, storage adapters)
|
||||
* - Neural API: AI-powered clustering and analysis
|
||||
*/
|
||||
|
||||
// Export main Brainy class - the modern, clean API for Brainy 3.0
|
||||
// Export main Brainy class
|
||||
import { Brainy } from './brainy.js'
|
||||
|
||||
export { Brainy }
|
||||
|
|
@ -28,6 +29,14 @@ export type {
|
|||
RelateParams,
|
||||
UpdateRelationParams,
|
||||
FindParams,
|
||||
SimilarParams,
|
||||
GetOptions,
|
||||
RelatedParams,
|
||||
AddManyParams,
|
||||
UpdateManyParams,
|
||||
RemoveManyParams,
|
||||
RelateManyParams,
|
||||
BatchResult,
|
||||
SubtypeRegistry,
|
||||
FillSubtypeRule,
|
||||
FillSubtypeRules,
|
||||
|
|
@ -152,6 +161,10 @@ export type { Migration, MigrationState, MigrationPreview, MigrationResult, Migr
|
|||
// Export optimistic-concurrency types (7.31.0)
|
||||
export { RevisionConflictError } from './transaction/RevisionConflictError.js'
|
||||
|
||||
// Named not-found errors — thrown by update/relate/updateRelation/similar/
|
||||
// transact/with() when a referenced entity or relation does not exist.
|
||||
export { EntityNotFoundError, RelationNotFoundError } from './errors/notFound.js'
|
||||
|
||||
// ============= 8.0 Db API — generational MVCC =============
|
||||
// Immutable database values: brain.now() / brain.transact() / brain.asOf() /
|
||||
// db.with() / db.persist() / Brainy.load(). See src/db/ for the record layer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue