Types

FolderImportFolder

One row of a folder import: a folder path for one user and what the import did with it.

idrequired
integer
The outcome row's id.
user_idrequired
string (uuid)
The user whose Other folder the row was for.
pathrequired
string
The folder's path under the user's Other folder, segments joined by "/".
depthrequired
integer
How many segments the path has.
folder_idrequired
string | null (uuid)
The folder created or found. Null for skipped and failed rows.
outcomerequired
string
created: the import made the folder. existing: it was already there. skipped: the user is unknown. failed: the user's folders could not be written.One of: created, existing, failed, skipped
reasonrequired
string | null
Why the row was skipped or failed.
revert_outcomerequired
string | null
What the latest revert did with the folder: deleted, kept_not_empty (it holds documents or other folders), missing, or failed. Null if no revert has reached it.One of: deleted, kept_not_empty, missing, failed
revert_reasonrequired
string | null
Why the revert failed for the folder.
created_atrequired
string (date-time)
When the row was recorded.
updated_atrequired
string (date-time)
When the row last changed.

Used by (1)