🔍 Code Extractor

Import Components

Import components from a JSON collection file previously exported.

Note: Import will add components to the database. Duplicates will be handled according to the versioning system (identical code skipped, different code versioned).

Import Requirements

  • File must be valid JSON
  • Must have "components" array
  • Each component must have required fields (name, type, code, file, lines)
  • Metadata fields are optional

What Happens During Import?

  • Component IDs are regenerated (not preserved from export)
  • Timestamps are updated to current time
  • Duplicate detection runs (same as normal extraction)
  • FTS index is automatically updated