![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.ca/private_html/src/types/ |
export interface Registration {
id: string;
firstName: string;
lastName: string;
email: string;
phone: string;
birthDate: string;
relationship: string;
preferredLanguage: 'en' | 'fr';
preferredContactMethod: 'email' | 'phone' | 'mail';
message?: string;
status: 'PENDING' | 'APPROVED' | 'REJECTED';
createdAt: string;
updatedAt: string;
userId?: string;
address?: {
street: string;
city: string;
state: string;
postalCode: string;
country: string;
};
detaineeInfo?: {
name: string;
facility: string;
inmateId: string;
incarcerationDate: string;
expectedReleaseDate?: string;
};
}
export interface Note {
id: string;
content: string;
createdBy: string;
createdAt: string;
}
export interface User {
id: string;
username: string;
password: string;
role: 'admin' | 'viewer';
lastLogin?: string;
}
export interface ActivityLog {
id: string;
userId: string;
action: string;
details: string;
timestamp: string;
}
export interface ExportOptions {
format: 'csv' | 'excel' | 'pdf';
dateRange?: {
start: string;
end: string;
};
includeNotes: boolean;
includeActivity: boolean;
}
export interface FacilityName {
fr: string;
en: string;
}
export interface FacilityOption {
id: string;
name: FacilityName;
}
export interface Option {
id: string;
name: { fr: string; en: string };
}
export interface Document {
id: string;
name: string;
type: string;
url: string;
description?: string;
date?: string;
uploadedAt: string;
filePath?: string;
uploadedBy?: string;
file?: File;
}
export interface Address {
street: string;
city: string;
state: string;
postalCode: string;
country: string;
}
export interface DetaineeInfo {
name: string;
facility: string;
inmateId: string;
incarcerationDate: string;
expectedReleaseDate: string;
}
export interface AdditionalContact {
name: string;
relationship: string;
phone: string;
email: string;
}
export interface LegalRepresentation {
hasLawyer: boolean;
lawyerName: string;
lawyerContact: string;
}
export interface FormData {
name: string;
email: string;
phone: string;
birthDate: string;
relationship: string;
message: string;
address: Address;
detaineeInfo: DetaineeInfo;
preferredLanguage: 'fr' | 'en';
preferredContactMethod: 'email' | 'phone' | 'mail';
additionalContacts: AdditionalContact[];
legalRepresentation: LegalRepresentation;
documents: Document[];
}
export interface ThemeColors {
primary: string;
'primary-dark': string;
'primary-light': string;
secondary: string;
'secondary-dark': string;
'secondary-light': string;
background: string;
'background-dark': string;
'background-light': string;
text: string;
'text-dark': string;
'text-light': string;
accent: string;
'accent-dark': string;
'accent-light': string;
border: string;
gradientStart: string;
gradientEnd: string;
}
export enum VerificationStatus {
PENDING = 'PENDING',
VERIFIED = 'VERIFIED',
VERIFIED_BARREAU = 'VERIFIED_BARREAU',
REJECTED = 'REJECTED',
SUSPENDED = 'SUSPENDED'
}