From 13cacb9db7eaa17458475cc05a1924f5f6029f7f Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Sun, 25 Jan 2026 10:43:08 -0500 Subject: [PATCH] feat: add staff certificates module and update dependencies --- .../compliance/certificates/pubspec.yaml | 4 ++-- .../staff_main/lib/src/staff_main_module.dart | 5 +++++ .../features/staff/staff_main/pubspec.yaml | 2 ++ apps/mobile/pubspec.lock | 15 +++++++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/apps/mobile/packages/features/staff/profile_sections/compliance/certificates/pubspec.yaml b/apps/mobile/packages/features/staff/profile_sections/compliance/certificates/pubspec.yaml index 611d006e..b5cb42c3 100644 --- a/apps/mobile/packages/features/staff/profile_sections/compliance/certificates/pubspec.yaml +++ b/apps/mobile/packages/features/staff/profile_sections/compliance/certificates/pubspec.yaml @@ -25,8 +25,8 @@ dependencies: path: ../../../../../core krow_data_connect: path: ../../../../../data_connect - firebase_auth: ^5.1.0 - firebase_data_connect: ^0.1.0 + firebase_auth: ^6.1.2 + firebase_data_connect: ^0.2.2 dev_dependencies: flutter_test: diff --git a/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart b/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart index 98d7cc02..aaf9bf79 100644 --- a/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart +++ b/apps/mobile/packages/features/staff/staff_main/lib/src/staff_main_module.dart @@ -8,6 +8,7 @@ import 'package:staff_profile_experience/staff_profile_experience.dart'; import 'package:staff_bank_account/staff_bank_account.dart'; import 'package:staff_tax_forms/staff_tax_forms.dart'; import 'package:staff_documents/staff_documents.dart'; +import 'package:staff_certificates/staff_certificates.dart'; import 'package:staff_main/src/presentation/blocs/staff_main_cubit.dart'; import 'package:staff_main/src/presentation/constants/staff_main_routes.dart'; @@ -60,5 +61,9 @@ class StaffMainModule extends Module { '/documents', module: StaffDocumentsModule(), ); + r.module( + '/certificates', + module: StaffCertificatesModule(), + ); } } diff --git a/apps/mobile/packages/features/staff/staff_main/pubspec.yaml b/apps/mobile/packages/features/staff/staff_main/pubspec.yaml index fede0178..4356137f 100644 --- a/apps/mobile/packages/features/staff/staff_main/pubspec.yaml +++ b/apps/mobile/packages/features/staff/staff_main/pubspec.yaml @@ -39,6 +39,8 @@ dependencies: path: ../profile_sections/compliance/tax_forms staff_documents: path: ../profile_sections/compliance/documents + staff_certificates: + path: ../profile_sections/compliance/certificates # staff_shifts: # path: ../shifts # staff_payments: diff --git a/apps/mobile/pubspec.lock b/apps/mobile/pubspec.lock index 2e761df7..bf1c76f4 100644 --- a/apps/mobile/pubspec.lock +++ b/apps/mobile/pubspec.lock @@ -475,6 +475,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.0" + get_it: + dependency: transitive + description: + name: get_it + sha256: d85128a5dae4ea777324730dc65edd9c9f43155c109d5cc0a69cab74139fbac1 + url: "https://pub.dev" + source: hosted + version: "7.7.0" glob: dependency: transitive description: @@ -1071,6 +1079,13 @@ packages: relative: true source: path version: "0.0.1" + staff_certificates: + dependency: transitive + description: + path: "packages/features/staff/profile_sections/compliance/certificates" + relative: true + source: path + version: "0.0.1" staff_documents: dependency: transitive description: