Files
ss-tools/specs/014-file-storage-ui/data-model.md
busya ec6421de35 rename ss-tools to superset-tools across the entire project
- Replace all occurrences of 'ss-tools' with 'superset-tools' in 104 files
- Rename git bundle file ss-tools.bundle → superset-tools.bundle
- Update .gitignore pattern accordingly
- Preserve variable names (hasSsTools etc.) and code identifiers
2026-06-16 11:15:19 +03:00

1.3 KiB

Data Model: File Storage Management & UI

Entities

StorageConfig

Configuration for the storage system.

Field Type Description Constraints
root_path string Absolute path to the storage root directory. Must be a valid, writable path. Default: ../superset-tools-storage
backup_structure_pattern string Pattern for backup directory structure. Default: {category}/
repo_structure_pattern string Pattern for repository directory structure. Default: {category}/
filename_pattern string Pattern for filenames. Default: {name}_{timestamp}

StoredFile

Representation of a file in the storage system.

Field Type Description Constraints
name string Name of the file (including extension). No path separators.
path string Relative path from storage root.
size integer Size of the file in bytes. >= 0
created_at datetime Creation timestamp.
category enum Category of the file. backup, repository
mime_type string MIME type of the file. Optional

Directory Structure

{root_path}/
├── backups/
│   └── {filename}.zip
└── repositories/
    └── {filename}.zip