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:
@@ -11,6 +11,38 @@
|
||||
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
class $AssetsFontsGen {
|
||||
const $AssetsFontsGen();
|
||||
|
||||
/// File path: assets/fonts/Roboto-Black.ttf
|
||||
String get robotoBlack => 'assets/fonts/Roboto-Black.ttf';
|
||||
|
||||
/// File path: assets/fonts/Roboto-Bold.ttf
|
||||
String get robotoBold => 'assets/fonts/Roboto-Bold.ttf';
|
||||
|
||||
/// File path: assets/fonts/Roboto-Light.ttf
|
||||
String get robotoLight => 'assets/fonts/Roboto-Light.ttf';
|
||||
|
||||
/// File path: assets/fonts/Roboto-Medium.ttf
|
||||
String get robotoMedium => 'assets/fonts/Roboto-Medium.ttf';
|
||||
|
||||
/// File path: assets/fonts/Roboto-Regular.ttf
|
||||
String get robotoRegular => 'assets/fonts/Roboto-Regular.ttf';
|
||||
|
||||
/// File path: assets/fonts/Roboto-Thin.ttf
|
||||
String get robotoThin => 'assets/fonts/Roboto-Thin.ttf';
|
||||
|
||||
/// List of all assets
|
||||
List<String> get values => [
|
||||
robotoBlack,
|
||||
robotoBold,
|
||||
robotoLight,
|
||||
robotoMedium,
|
||||
robotoRegular,
|
||||
robotoThin,
|
||||
];
|
||||
}
|
||||
|
||||
class $AssetsIconsGen {
|
||||
const $AssetsIconsGen();
|
||||
|
||||
@@ -301,6 +333,7 @@ class $AssetsSvgsGen {
|
||||
class Assets {
|
||||
const Assets._();
|
||||
|
||||
static const $AssetsFontsGen fonts = $AssetsFontsGen();
|
||||
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
||||
static const $AssetsPngsGen pngs = $AssetsPngsGen();
|
||||
static const $AssetsSvgsGen svgs = $AssetsSvgsGen();
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
// dart format width=80
|
||||
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
/// *****************************************************
|
||||
/// FlutterGen
|
||||
/// *****************************************************
|
||||
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint
|
||||
// ignore_for_file: deprecated_member_use,directives_ordering,implicit_dynamic_list_literal,unnecessary_import
|
||||
|
||||
class FontFamily {
|
||||
FontFamily._();
|
||||
|
||||
/// Font family: Roboto
|
||||
static const String roboto = 'Roboto';
|
||||
}
|
||||
Reference in New Issue
Block a user