Add Docker support and enhance data models for tender details

- Introduced a .dockerignore file to optimize Docker builds by excluding unnecessary files.
- Updated the Dockerfile to use a Flutter base image, enabling web builds for the application.
- Added new data models for `Lot` and `OrganizationAddress` to represent tender details more accurately.
- Enhanced the `Organization` model to include `companyId` and a nested `address` field.
- Updated the `TenderData` model to include new fields such as `noticeTypeCode`, `formType`, and `lots`, reflecting the API response structure.
- Regenerated necessary code for data models to ensure compatibility with the updated structures.
This commit is contained in:
AmirReza Jamali
2026-06-03 13:32:42 +03:30
parent 83b77c05ef
commit dde66521f6
35 changed files with 1362 additions and 659 deletions
+1 -19
View File
@@ -47,7 +47,6 @@ mixin _$LoginScreenRoute on GoRouteData {
RouteBase get $splashScreenRoute => GoRouteData.$route(
path: '/splash',
factory: _$SplashScreenRoute._fromState,
);
@@ -111,40 +110,33 @@ RouteBase get $appShellRouteData => StatefulShellRouteData.$route(
branches: [
StatefulShellBranchData.$branch(
navigatorKey: HomeBranch.$navigatorKey,
routes: [
GoRouteData.$route(path: '/home', factory: _$HomeRouteData._fromState),
],
),
StatefulShellBranchData.$branch(
navigatorKey: TendersBranch.$navigatorKey,
routes: [
GoRouteData.$route(
path: '/tenders',
factory: _$TendersRouteData._fromState,
),
],
),
StatefulShellBranchData.$branch(
navigatorKey: NotificationBranch.$navigatorKey,
routes: [
GoRouteData.$route(
path: '/notification',
factory: _$NotificationRouteData._fromState,
),
],
),
StatefulShellBranchData.$branch(
navigatorKey: ProfileBranch.$navigatorKey,
routes: [
GoRouteData.$route(
path: '/profile',
factory: _$ProfileRouteData._fromState,
),
],
@@ -242,7 +234,6 @@ mixin _$ProfileRouteData on GoRouteData {
RouteBase get $yourTendersRouteData => GoRouteData.$route(
path: '/your-tenders',
factory: _$YourTendersRouteData._fromState,
);
@@ -274,7 +265,6 @@ mixin _$YourTendersRouteData on GoRouteData {
RouteBase get $finalCompletionOfDocumentsRouteData => GoRouteData.$route(
path: '/final_completion_of_documents',
factory: _$FinalCompletionOfDocumentsRouteData._fromState,
);
@@ -302,7 +292,6 @@ mixin _$FinalCompletionOfDocumentsRouteData on GoRouteData {
RouteBase get $completionOfDocumentsRouteData => GoRouteData.$route(
path: '/completion_of_documents',
factory: _$CompletionOfDocumentsRouteData._fromState,
);
@@ -318,9 +307,7 @@ mixin _$CompletionOfDocumentsRouteData on GoRouteData {
@override
String get location => GoRouteData.$location(
'/completion_of_documents',
queryParams: {
if (_self.tenderId != null) 'tender-id': _self.tenderId!,
},
queryParams: {if (_self.tenderId != null) 'tender-id': _self.tenderId},
);
@override
@@ -339,7 +326,6 @@ mixin _$CompletionOfDocumentsRouteData on GoRouteData {
RouteBase get $likedTendersRouteData => GoRouteData.$route(
path: '/like-tenders',
factory: _$LikedTendersRouteData._fromState,
);
@@ -390,7 +376,6 @@ mixin _$BoardRouteData on GoRouteData {
RouteBase get $tenderDetailRouteData => GoRouteData.$route(
path: '/tender-detail',
factory: _$TenderDetailRouteData._fromState,
);
@@ -422,7 +407,6 @@ mixin _$TenderDetailRouteData on GoRouteData {
RouteBase get $forgotPasswordRouteData => GoRouteData.$route(
path: '/forgot-password',
factory: _$ForgotPasswordRouteData._fromState,
);
@@ -449,7 +433,6 @@ mixin _$ForgotPasswordRouteData on GoRouteData {
RouteBase get $forgotPasswordOtpRouteData => GoRouteData.$route(
path: '/forgot-password-otp',
factory: _$ForgotPasswordOtpRouteData._fromState,
);
@@ -481,7 +464,6 @@ mixin _$ForgotPasswordOtpRouteData on GoRouteData {
RouteBase get $forgotPasswordCreateRouteData => GoRouteData.$route(
path: '/forgot-password-create',
factory: _$ForgotPasswordCreateRouteData._fromState,
);