TF-2677 Set up server settings

This commit is contained in:
DatDang
2024-03-06 09:09:32 +07:00
committed by Dat H. Pham
parent b2f438a967
commit f50c690142
5 changed files with 121 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
build/
+10
View File
@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: "78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9"
channel: "stable"
project_type: package
+3
View File
@@ -0,0 +1,3 @@
# server_settings
TMail Server settings extension
@@ -0,0 +1,6 @@
import 'package:equatable/equatable.dart';
abstract class ServerSettings with EquatableMixin {
@override
List<Object?> get props => [];
}
+73
View File
@@ -0,0 +1,73 @@
name: server_settings
description: TMail server settings extension
version: 0.0.1
publish_to: "none"
environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
flutter:
sdk: flutter
### Dependencies from git ###
jmap_dart_client:
git:
url: https://github.com/linagora/jmap-dart-client.git
ref: cnb_support
### Dependencies from pub.dev ###
equatable: 2.0.5
json_annotation: 4.8.0
dio: 5.0.0
http_mock_adapter: 0.4.2
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: 2.3.3
json_serializable: 6.6.1
mockito: 5.4.2
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages