User

The User object represents a Zipline user and their associated settings, authentication providers, security credentials, quotas, and view-route preferences.

Fields

PropertyTypeDescription
idstringUnique user identifier in cuid
usernamestringUsername
createdAtDateUser creation timestamp
updatedAtDateLast updated timestamp
role'USER' | 'ADMIN' | 'SUPERADMIN'User role
viewUserViewSettingsView/UI settings
sessionsstring[]List of session IDs
oauthProvidersOAuthProvider[]Linked OAuth providers
totpSecretstring?~TOTP 2FA secret
quotaUserQuota?~Quota info

UserViewSettings Type

Represents a user's view-route preferences

PropertyTypeDescription
enabledboolean?~Whether custom view settings are enabled.
align'left' | 'center' | 'right'?~Preferred content alignment (nullable, undefined allowed).
showMimetypeboolean?~Whether to display mimetype info.
showTagsboolean?~Whether to display tags.
showFolderboolean?~Whether to show folders in UI.
contentstring?~Custom content string for view settings.
embedboolean?~Whether to use embedded views.
embedTitlestring?~Custom embed title.
embedDescriptionstring?~Custom embed description.
embedColorstring?~Embed color in hex
embedSiteNamestring?~Custom embed site name.


Last updated: 5/30/2025
Edit this page on GitHub