feat: Refactor code structure and optimize performance across multiple modules

This commit is contained in:
Achintha Isuru
2025-11-17 23:29:28 -05:00
parent 831570f2e0
commit a64cbd9edf
1508 changed files with 105319 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
const String getPersonalInfoSchema = '''
query GetPersonalInfo {
client_profile {
id
first_name
last_name
title
avatar
auth_info {
email
phone
}
}
}
''';
const String updateStaffMutationSchema = '''
mutation UpdateStaffPersonalInfo(\$input: UpdateClientProfileInput!) {
update_client_profile(input: \$input) {
id
first_name
last_name
title
avatar
auth_info {
email
phone
}
}
}
''';
const String updateStaffMutationWithAvatarSchema = '''
mutation UpdateStaffPersonalInfo(\$input: UpdateClientProfileInput!, \$file: Upload!) {
update_client_profile(input: \$input) {
id
first_name
last_name
title
avatar
auth_info {
email
phone
}
}
upload_client_avatar(file: \$file)
}
''';
const deactivateClientProfileSchema = '''
mutation deactivate_client_profile {
deactivate_client_profile(){
id
}
}
''';