import type { KnowledgeBaseItem } from '../knowledgeBaseItem/types' export type KnowledgeBase = { id: string name: string description: string | null accountId: string createdAt: string updatedAt: string deletedAt: string | null // relationships items?: KnowledgeBaseItem[] } export type KnowledgeBaseRelationships = 'items' export type CreateKnowledgeBasePayload = { name: string description?: string } export type UpdateKnowledgeBasePayload = { name?: string description?: string | null }