Type Alias: AdapterNamespace<Domain>
Makaio Framework / ai-adapters-core / AdapterNamespace
Type Alias: AdapterNamespace<Domain>
Section titled “Type Alias: AdapterNamespace<Domain>”AdapterNamespace<
Domain> =Omit<BusNamespace<Domain>,"subjects">
Defined in: ../../../adapters/core/src/factory/create-adapter-namespace.ts:14
Adapter namespace extends BusNamespace with additional metadata for adapters.
Provides:
- All BusNamespace features (subjects, scoped bus factory)
- Raw schema access for adapter factory internals
- Domain name for debugging/logging
Type Parameters
Section titled “Type Parameters”Domain
Section titled “Domain”Domain extends string = string
Type Param
Section titled “Type Param”Namespace domain string
Type Param
Section titled “Type Param”Schema record type
Type Composition
Section titled “Type Composition”-
Omit<BusNamespace<Domain>, 'subjects'>BusNamespace<Domain>Domain- `{ name: Domain; subjects: BusSubjects<FlatSubjectDefinitions<Domain, Schemas>, Domain>;
scopedBus(context?: MakaioBusContext): Promise<ScopedBus<Domain, Subjects, FilterPayload>>;
/**
- Phantom property for type extraction. Never accessed at runtime.
- Enables
ExtractFilterPayload<T>to infer the FilterPayload type parameter - without relying on complex nested generic inference. */ readonly __filterPayload?: FilterPayload; }`
'subjects'
Resolved Shape
Section titled “Resolved Shape”type AdapterNamespace = { name: Domain; scopedBus: (context?: MakaioBusContext) => Promise<ScopedBus<Domain, SubjectRecord, unknown>>; __filterPayload?: unknown;};