Skip to main content

Module export

Module export 

Source
Expand description

Export/Import functionality for requirements.

This module provides:

  • Mapping file generation (UUID to SPEC-ID)
  • JSON export of full store
  • Requirements specification export (markdown)
  • Implementation records export (markdown)
  • Tree export/import for portability between databases

Structs§

ExportedRequirement
An exported requirement with its children embedded
ExportedTree
A complete exported requirement tree
ExternalRelRef
Reference to a relationship target outside the exported tree
MappingFile
TreeImportOptions
Options for importing a tree
TreeImportResult
Result of an import operation

Enums§

ConflictStrategy
Strategy for handling conflicts during import

Constants§

TREE_EXPORT_VERSION
Version of the tree export format

Functions§

export_implementation_records
Export implementation records (IMPL tasks only)
export_json
Export requirements to JSON format
export_requirements_spec
Export requirements specification (excludes IMPL tasks and implementation details)
export_tree
Export a requirement and all its descendants to an ExportedTree
export_tree_to_file
Export a tree to a JSON file
generate_mapping_file
Generate mapping file (UUID -> SPEC-ID)
import_tree
Import a tree into a store, returning the result
import_tree_from_file
Import a tree from a JSON file