CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Variables
auth.ts File Reference

Variables

export type Auth
 
export type Medication
 
export type Passkey
 
export type TwoFactorSecretKey
 
export type TwoFactorSetupData
 
export type User
 
export type UserRole = 'manager' | 'pharmacist'
 

Variable Documentation

◆ Auth

export type Auth
Initial value:
= {
user: User;
}
export type User
Definition: auth.ts:3

◆ Medication

export type Medication
Initial value:
= {
id: number;
name: string;
code: string;
is_active: boolean;
}
name
Definition: setup.py:8

◆ Passkey

export type Passkey
Initial value:
= {
id: number;
name: string;
authenticator: string | null;
created_at_diff: string;
last_used_at_diff: string | null;
}

◆ TwoFactorSecretKey

export type TwoFactorSecretKey
Initial value:
= {
secretKey: string;
}

◆ TwoFactorSetupData

export type TwoFactorSetupData
Initial value:
= {
svg: string;
url: string;
}

◆ User

export type User
Initial value:
= {
id: number;
name: string;
email: string;
role: UserRole;
avatar?: string;
email_verified_at: string | null;
two_factor_enabled?: boolean;
created_at: string;
updated_at: string;
[key: string]: unknown;
}
export type UserRole
Definition: auth.ts:1

◆ UserRole

export type UserRole = 'manager' | 'pharmacist'