feat(notion): implement Connector interface, markdown renderer, and DI registration
- Implement Validate, ListResources, FetchAll, FetchIncremental - Per-record database sync with individual knowledge items - Incremental sync with record-level change detection for databases - Tree-structured resource listing with parent-child relationships - Markdown renderer for all Notion block types including nested content - Register NotionConnector in DI container - Add unit tests for connector and markdown
This commit is contained in:
@@ -513,6 +513,9 @@ func (s *DataSourceService) ProcessSync(ctx context.Context, task *asynq.Task) e
|
||||
for _, item := range items {
|
||||
if item.IsDeleted {
|
||||
if ds.SyncDeletions {
|
||||
// Count only — actual KB deletion is intentionally not performed.
|
||||
// Users manage knowledge removal explicitly via the KB UI to avoid
|
||||
// accidental data loss from connector misdetection or reconfiguration.
|
||||
result.Deleted++
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user