ConusAI vendor v0.1.0-dev.20261013+85463d22
This commit is contained in:
parent
c3c6526952
commit
0da8a2a81b
@@ -20,7 +20,7 @@ function slotFor(name: ModuleName, linked: Record<ModuleName, boolean>) {
|
||||
|
||||
describe('panelSlots', () => {
|
||||
it.each([
|
||||
['kv', 'redis'],
|
||||
['kv', 'kv'],
|
||||
['nats', 'nats'],
|
||||
['qdrant', 'qdrant'],
|
||||
['git', 'git'],
|
||||
|
||||
@@ -5,7 +5,7 @@ import { SearchNotes } from '@/features/search-notes'
|
||||
import { moduleView, type ModuleName } from '@/widgets/module-panel/model/view'
|
||||
|
||||
/** The service an optional module is linked through, as the platform's catalog names it. */
|
||||
export type ModuleService = 'redis' | 'nats' | 'qdrant' | 'git' | 's3'
|
||||
export type ModuleService = 'kv' | 'nats' | 'qdrant' | 'git' | 's3'
|
||||
|
||||
export type ModuleSlot = { name: ModuleName; service: ModuleService; content: ReactNode }
|
||||
|
||||
@@ -26,7 +26,7 @@ export function panelSlots({
|
||||
enable: (service: ModuleService) => ReactNode
|
||||
}): ModuleSlot[] {
|
||||
const features: Array<{ name: ModuleName; service: ModuleService; feature: ReactNode }> = [
|
||||
{ name: 'kv', service: 'redis', feature: <UploadsLeft /> },
|
||||
{ name: 'kv', service: 'kv', feature: <UploadsLeft /> },
|
||||
{ name: 'nats', service: 'nats', feature: <p>New notes are announced live on NATS.</p> },
|
||||
{ name: 'qdrant', service: 'qdrant', feature: <SearchNotes query={query} /> },
|
||||
{ name: 's3', service: 's3', feature: <ExportNotesButton /> },
|
||||
|
||||
Reference in New Issue
Block a user