mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
test(backup): round-trip every account setting through a real restore
Fill every User column on the source account, export through the streaming writer, recreate the account with credentials of its own, restore through the route, and compare: each setting column must come back with the value it left with, and every identity, credential and bookkeeping column must still hold the target's value. The section in the file is checked to carry nothing but setting columns.
This commit is contained in:
1 parent
7abaa25c14
commit
ff8277695a
2 files changed
+200
-4
No files matched your search
@@ -934,9 +934,6 @@ export const USER_COLUMN_BACKUP_CLASS = {
|
||||
Record<string, "SETTING" | "CREDENTIAL" | "IDENTITY" | "OPERATIONAL">
|
||||
>;
|
||||
|
||||
export type UserColumnBackupClass =
|
||||
(typeof USER_COLUMN_BACKUP_CLASS)[keyof typeof USER_COLUMN_BACKUP_CLASS];
|
||||
|
||||
/** The `User` columns the `accountSettings` section carries. */
|
||||
export type AccountSettingColumn = {
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user