/tg/ Station 13 - Modules - Types

modular_nova/modules/preferences_import/code/import_verb.dm

/proc/prefs_import_read_uploadShared upload validation. Policy-specific metadata filtering happens after this succeeds. Returns an error, or the decoded tree and byte count; never logs uploaded JSON or decoder exceptions.
/proc/prefs_import_invalidate_cacheAfter successful replacement, old UI/disconnect callbacks must only write to memory.
/proc/prefs_import_replaceWrite and verify the candidate before touching the destination. Returns an error, or null on success.
/proc/prefs_import_backupPlayer backups rotate independently of retained staff/legacy backups.
/proc/prefs_import_admin_backupStaff backups are retained until explicitly removed; never overwrite a numbered backup after a gap.