mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
* chore: release latest changes * update yarn lockfile * remove stale files * fix ci env * remove mysql command overwrite * remove mysql overwrite from example * fix cookie cooldown in memory
31 lines
625 B
TypeScript
31 lines
625 B
TypeScript
import { Role } from '@standardnotes/security'
|
|
|
|
export interface ResponseLocals {
|
|
authToken: string
|
|
user: {
|
|
uuid: string
|
|
email: string
|
|
}
|
|
roles: Array<Role>
|
|
session?: {
|
|
uuid: string
|
|
api_version: string
|
|
created_at: string
|
|
updated_at: string
|
|
device_info: string
|
|
readonly_access: boolean
|
|
access_expiration: string
|
|
refresh_expiration: string
|
|
}
|
|
readOnlyAccess: boolean
|
|
isFreeUser: boolean
|
|
belongsToSharedVaults?: Array<{
|
|
shared_vault_uuid: string
|
|
permission: string
|
|
}>
|
|
sharedVaultOwnerContext?: {
|
|
upload_bytes_limit: number
|
|
}
|
|
hasContentLimit: boolean
|
|
}
|