Build models

This commit is contained in:
Hillel Coren 2021-01-05 16:55:34 +02:00
parent b3e7487a06
commit 3c74307ebc
19 changed files with 729 additions and 89 deletions

View File

@ -0,0 +1 @@
ff3c4a849a9adb981bfaa730ff47801d

View File

@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '9.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@ -37,10 +37,9 @@ end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',

View File

@ -8,6 +8,40 @@ PODS:
- Flutter
- device_info (0.0.1):
- Flutter
- DKImagePickerController/Core (4.3.2):
- DKImagePickerController/ImageDataManager
- DKImagePickerController/Resource
- DKImagePickerController/ImageDataManager (4.3.2)
- DKImagePickerController/PhotoGallery (4.3.2):
- DKImagePickerController/Core
- DKPhotoGallery
- DKImagePickerController/Resource (4.3.2)
- DKPhotoGallery (0.0.17):
- DKPhotoGallery/Core (= 0.0.17)
- DKPhotoGallery/Model (= 0.0.17)
- DKPhotoGallery/Preview (= 0.0.17)
- DKPhotoGallery/Resource (= 0.0.17)
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Core (0.0.17):
- DKPhotoGallery/Model
- DKPhotoGallery/Preview
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Model (0.0.17):
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Preview (0.0.17):
- DKPhotoGallery/Model
- DKPhotoGallery/Resource
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Resource (0.0.17):
- SDWebImage
- SwiftyGif
- file_picker (0.0.1):
- DKImagePickerController/PhotoGallery
- Flutter
- Firebase/Auth (6.34.0):
- Firebase/CoreOnly
- FirebaseAuth (~> 6.9.2)
@ -112,7 +146,7 @@ PODS:
- nanopb/encode (= 1.30906.0)
- nanopb/decode (1.30906.0)
- nanopb/encode (1.30906.0)
- native_pdf_renderer (1.0.0):
- native_pdf_renderer (1.1.0):
- Flutter
- package_info (0.0.1):
- Flutter
@ -121,6 +155,15 @@ PODS:
- "permission_handler (5.0.1+1)":
- Flutter
- PromisesObjC (1.2.11)
- SDWebImage (5.10.2):
- SDWebImage/Core (= 5.10.2)
- SDWebImage/Core (5.10.2)
- Sentry (6.0.12):
- Sentry/Core (= 6.0.12)
- Sentry/Core (6.0.12)
- sentry_flutter (0.0.1):
- Flutter
- Sentry (~> 6.0.10)
- share (0.0.1):
- Flutter
- shared_preferences (0.0.1):
@ -128,6 +171,7 @@ PODS:
- sqflite (0.0.2):
- Flutter
- FMDB (>= 2.7.5)
- SwiftyGif (5.3.0)
- url_launcher (0.0.1):
- Flutter
- webview_flutter (0.0.1):
@ -136,6 +180,7 @@ PODS:
DEPENDENCIES:
- contacts_service (from `.symlinks/plugins/contacts_service/ios`)
- device_info (from `.symlinks/plugins/device_info/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`)
- firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- Flutter (from `Flutter`)
@ -149,6 +194,7 @@ DEPENDENCIES:
- package_info (from `.symlinks/plugins/package_info/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)
- permission_handler (from `.symlinks/plugins/permission_handler/ios`)
- sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`)
- share (from `.symlinks/plugins/share/ios`)
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
@ -158,6 +204,8 @@ DEPENDENCIES:
SPEC REPOS:
trunk:
- AppAuth
- DKImagePickerController
- DKPhotoGallery
- Firebase
- FirebaseAnalytics
- FirebaseAuth
@ -173,12 +221,17 @@ SPEC REPOS:
- GTMSessionFetcher
- nanopb
- PromisesObjC
- SDWebImage
- Sentry
- SwiftyGif
EXTERNAL SOURCES:
contacts_service:
:path: ".symlinks/plugins/contacts_service/ios"
device_info:
:path: ".symlinks/plugins/device_info/ios"
file_picker:
:path: ".symlinks/plugins/file_picker/ios"
firebase_auth:
:path: ".symlinks/plugins/firebase_auth/ios"
firebase_core:
@ -205,6 +258,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/path_provider/ios"
permission_handler:
:path: ".symlinks/plugins/permission_handler/ios"
sentry_flutter:
:path: ".symlinks/plugins/sentry_flutter/ios"
share:
:path: ".symlinks/plugins/share/ios"
shared_preferences:
@ -220,6 +275,9 @@ SPEC CHECKSUMS:
AppAuth: 31bcec809a638d7bd2f86ea8a52bd45f6e81e7c7
contacts_service: 849e1f84281804c8bfbec1b4c3eedcb23c5d3eca
device_info: d7d233b645a32c40dfdc212de5cf646ca482f175
DKImagePickerController: b5eb7f7a388e4643264105d648d01f727110fc3d
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
file_picker: 3e6c3790de664ccf9b882732d9db5eaf6b8d4eb1
Firebase: c23a36d9e4cdf7877dfcba8dd0c58add66358999
firebase_auth: 48dca46d6a22ab8522633c6257715c4ee5afb0f9
firebase_core: 335c02abd48672b7c83c683df833d0488a72e73e
@ -228,7 +286,7 @@ SPEC CHECKSUMS:
FirebaseCore: d3a978a3cfa3240bf7e4ba7d137fdf5b22b628ec
FirebaseCoreDiagnostics: 770ac5958e1372ce67959ae4b4f31d8e127c3ac1
FirebaseInstallations: 466c7b4d1f58fe16707693091da253726a731ed2
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
flutter_keyboard_visibility: 6195387fb6d8f46e5cd6dda4a4154e41f800f545
flutter_share: 4be0208963c60b537e6255ed2ce1faae61cd9ac2
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
@ -243,17 +301,21 @@ SPEC CHECKSUMS:
in_app_purchase: 3e2155afa9d03d4fa32d9e62d567885080ce97d6
local_auth: 25938960984c3a7f6e3253e3f8d962fdd16852bd
nanopb: 59317e09cf1f1a0af72f12af412d54edf52603fc
native_pdf_renderer: fa374da660730abe059e7a178e79895dd202f007
native_pdf_renderer: 3e81ffe3d40668cce75694596201bb9fb0fdb6e9
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
permission_handler: eac8e15b4a1a3fba55b761d19f3f4e6b005d15b6
PromisesObjC: 8c196f5a328c2cba3e74624585467a557dcb482f
SDWebImage: b969dcfc02c40a5da71eac0b03b8f1a0c794a86f
Sentry: 8ffcfe3416e0a58b90bb1ae319e8e8a13022a03e
sentry_flutter: e57e33f56d5791e4effa48e85e44505367686b27
share: 0b2c3e82132f5888bccca3351c504d0003b3b410
shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
SwiftyGif: e466e86c660d343357ab944a819a101c4127cb40
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96
PODFILE CHECKSUM: ee358b13f7a46d5ce9bc6b487f02632d8bd2cbcc
PODFILE CHECKSUM: 418faf755d932ad53e12a4502595bb12dece0d44
COCOAPODS: 1.8.4

View File

@ -13,7 +13,7 @@
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
D309F9B12162F05A2FE490B0 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B1925E9CD06C55006E3CDE5 /* Pods_Runner.framework */; };
E8814609612566FFB5FCC672 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9D6767433787D7A16306CFE /* Pods_Runner.framework */; };
F97F3BB724278ABB0055B115 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F97F3BB624278ABB0055B115 /* GoogleService-Info.plist */; };
/* End PBXBuildFile section */
@ -33,13 +33,13 @@
/* Begin PBXFileReference section */
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
1AD7A0A4E88F683703878182 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
3B1925E9CD06C55006E3CDE5 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
53E5A559301BA650B50A8869 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
4109B616AE9BF83D04A49338 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
8118318180332048E7EF8832 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
8D80A9066C654117AEE8AA43 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
@ -47,7 +47,7 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9E99121691C2451964269A81 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
A9D6767433787D7A16306CFE /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
F97F3BB624278ABB0055B115 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -56,27 +56,19 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D309F9B12162F05A2FE490B0 /* Pods_Runner.framework in Frameworks */,
E8814609612566FFB5FCC672 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
55243E4D81C52AA4CEB85AF8 /* Frameworks */ = {
isa = PBXGroup;
children = (
3B1925E9CD06C55006E3CDE5 /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
61E89BF756B38C604C4824D9 /* Pods */ = {
isa = PBXGroup;
children = (
9E99121691C2451964269A81 /* Pods-Runner.debug.xcconfig */,
53E5A559301BA650B50A8869 /* Pods-Runner.release.xcconfig */,
1AD7A0A4E88F683703878182 /* Pods-Runner.profile.xcconfig */,
8118318180332048E7EF8832 /* Pods-Runner.debug.xcconfig */,
4109B616AE9BF83D04A49338 /* Pods-Runner.release.xcconfig */,
8D80A9066C654117AEE8AA43 /* Pods-Runner.profile.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
@ -99,7 +91,7 @@
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
61E89BF756B38C604C4824D9 /* Pods */,
55243E4D81C52AA4CEB85AF8 /* Frameworks */,
F5030F378B49335650ADE187 /* Frameworks */,
);
sourceTree = "<group>";
};
@ -135,6 +127,14 @@
name = "Supporting Files";
sourceTree = "<group>";
};
F5030F378B49335650ADE187 /* Frameworks */ = {
isa = PBXGroup;
children = (
A9D6767433787D7A16306CFE /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@ -142,15 +142,15 @@
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
375B1E6897D813F1AE8BD05B /* [CP] Check Pods Manifest.lock */,
8F0B3639348029B79CCB42B7 /* [CP] Check Pods Manifest.lock */,
9740EEB61CF901F6004384FC /* Run Script */,
97C146EA1CF9000F007C117D /* Sources */,
97C146EB1CF9000F007C117D /* Frameworks */,
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
166120CA49F616DA06AF4206 /* [CP] Embed Pods Frameworks */,
74D584F4083EB067A2BCB806 /* [CP] Copy Pods Resources */,
371142EF7FB55A9A40723721 /* [CP] Embed Pods Frameworks */,
2602E128BF96B58270FD1A6E /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -210,7 +210,24 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
166120CA49F616DA06AF4206 /* [CP] Embed Pods Frameworks */ = {
2602E128BF96B58270FD1A6E /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
371142EF7FB55A9A40723721 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -227,7 +244,21 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
375B1E6897D813F1AE8BD05B /* [CP] Check Pods Manifest.lock */ = {
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Thin Binary";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
8F0B3639348029B79CCB42B7 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -249,37 +280,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Thin Binary";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
};
74D584F4083EB067A2BCB806 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,6 +38,9 @@ class _$AccountEntitySerializer implements StructuredSerializer<AccountEntity> {
'current_version',
serializers.serialize(object.currentVersion,
specifiedType: const FullType(String)),
'debug_enabled',
serializers.serialize(object.debugEnabled,
specifiedType: const FullType(bool)),
];
return result;
@ -83,6 +86,10 @@ class _$AccountEntitySerializer implements StructuredSerializer<AccountEntity> {
result.currentVersion = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'debug_enabled':
result.debugEnabled = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
}
}
@ -105,6 +112,8 @@ class _$AccountEntity extends AccountEntity {
final String latestVersion;
@override
final String currentVersion;
@override
final bool debugEnabled;
factory _$AccountEntity([void Function(AccountEntityBuilder) updates]) =>
(new AccountEntityBuilder()..update(updates)).build();
@ -116,7 +125,8 @@ class _$AccountEntity extends AccountEntity {
this.plan,
this.planExpires,
this.latestVersion,
this.currentVersion})
this.currentVersion,
this.debugEnabled})
: super._() {
if (id == null) {
throw new BuiltValueNullFieldError('AccountEntity', 'id');
@ -139,6 +149,9 @@ class _$AccountEntity extends AccountEntity {
if (currentVersion == null) {
throw new BuiltValueNullFieldError('AccountEntity', 'currentVersion');
}
if (debugEnabled == null) {
throw new BuiltValueNullFieldError('AccountEntity', 'debugEnabled');
}
}
@override
@ -158,7 +171,8 @@ class _$AccountEntity extends AccountEntity {
plan == other.plan &&
planExpires == other.planExpires &&
latestVersion == other.latestVersion &&
currentVersion == other.currentVersion;
currentVersion == other.currentVersion &&
debugEnabled == other.debugEnabled;
}
int __hashCode;
@ -168,12 +182,14 @@ class _$AccountEntity extends AccountEntity {
$jc(
$jc(
$jc(
$jc($jc($jc(0, id.hashCode), defaultUrl.hashCode),
reportErrors.hashCode),
plan.hashCode),
planExpires.hashCode),
latestVersion.hashCode),
currentVersion.hashCode));
$jc(
$jc($jc($jc(0, id.hashCode), defaultUrl.hashCode),
reportErrors.hashCode),
plan.hashCode),
planExpires.hashCode),
latestVersion.hashCode),
currentVersion.hashCode),
debugEnabled.hashCode));
}
@override
@ -185,7 +201,8 @@ class _$AccountEntity extends AccountEntity {
..add('plan', plan)
..add('planExpires', planExpires)
..add('latestVersion', latestVersion)
..add('currentVersion', currentVersion))
..add('currentVersion', currentVersion)
..add('debugEnabled', debugEnabled))
.toString();
}
}
@ -224,7 +241,13 @@ class AccountEntityBuilder
set currentVersion(String currentVersion) =>
_$this._currentVersion = currentVersion;
AccountEntityBuilder();
bool _debugEnabled;
bool get debugEnabled => _$this._debugEnabled;
set debugEnabled(bool debugEnabled) => _$this._debugEnabled = debugEnabled;
AccountEntityBuilder() {
AccountEntity._initializeBuilder(this);
}
AccountEntityBuilder get _$this {
if (_$v != null) {
@ -235,6 +258,7 @@ class AccountEntityBuilder
_planExpires = _$v.planExpires;
_latestVersion = _$v.latestVersion;
_currentVersion = _$v.currentVersion;
_debugEnabled = _$v.debugEnabled;
_$v = null;
}
return this;
@ -263,7 +287,8 @@ class AccountEntityBuilder
plan: plan,
planExpires: planExpires,
latestVersion: latestVersion,
currentVersion: currentVersion);
currentVersion: currentVersion,
debugEnabled: debugEnabled);
replace(_$result);
return _$result;
}

View File

@ -245,6 +245,12 @@ class _$CompanyEntitySerializer implements StructuredSerializer<CompanyEntity> {
'enabled_modules',
serializers.serialize(object.enabledModules,
specifiedType: const FullType(int)),
'calculate_expense_tax_by_amount',
serializers.serialize(object.calculateExpenseTaxByAmount,
specifiedType: const FullType(bool)),
'hide_empty_columns_on_pdf',
serializers.serialize(object.hideEmptyColumnsOnPdf,
specifiedType: const FullType(bool)),
'created_at',
serializers.serialize(object.createdAt,
specifiedType: const FullType(int)),
@ -598,6 +604,14 @@ class _$CompanyEntitySerializer implements StructuredSerializer<CompanyEntity> {
result.enabledModules = serializers.deserialize(value,
specifiedType: const FullType(int)) as int;
break;
case 'calculate_expense_tax_by_amount':
result.calculateExpenseTaxByAmount = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
case 'hide_empty_columns_on_pdf':
result.hideEmptyColumnsOnPdf = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
case 'isChanged':
result.isChanged = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
@ -3001,6 +3015,10 @@ class _$CompanyEntity extends CompanyEntity {
@override
final int enabledModules;
@override
final bool calculateExpenseTaxByAmount;
@override
final bool hideEmptyColumnsOnPdf;
@override
final bool isChanged;
@override
final int createdAt;
@ -3085,6 +3103,8 @@ class _$CompanyEntity extends CompanyEntity {
this.showTasksTable,
this.settings,
this.enabledModules,
this.calculateExpenseTaxByAmount,
this.hideEmptyColumnsOnPdf,
this.isChanged,
this.createdAt,
this.updatedAt,
@ -3294,6 +3314,14 @@ class _$CompanyEntity extends CompanyEntity {
if (enabledModules == null) {
throw new BuiltValueNullFieldError('CompanyEntity', 'enabledModules');
}
if (calculateExpenseTaxByAmount == null) {
throw new BuiltValueNullFieldError(
'CompanyEntity', 'calculateExpenseTaxByAmount');
}
if (hideEmptyColumnsOnPdf == null) {
throw new BuiltValueNullFieldError(
'CompanyEntity', 'hideEmptyColumnsOnPdf');
}
if (createdAt == null) {
throw new BuiltValueNullFieldError('CompanyEntity', 'createdAt');
}
@ -3381,6 +3409,8 @@ class _$CompanyEntity extends CompanyEntity {
showTasksTable == other.showTasksTable &&
settings == other.settings &&
enabledModules == other.enabledModules &&
calculateExpenseTaxByAmount == other.calculateExpenseTaxByAmount &&
hideEmptyColumnsOnPdf == other.hideEmptyColumnsOnPdf &&
isChanged == other.isChanged &&
createdAt == other.createdAt &&
updatedAt == other.updatedAt &&
@ -3413,17 +3443,17 @@ class _$CompanyEntity extends CompanyEntity {
$jc(
$jc(
$jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, enableCustomSurchargeTaxes1.hashCode), enableCustomSurchargeTaxes2.hashCode), enableCustomSurchargeTaxes3.hashCode), enableCustomSurchargeTaxes4.hashCode), sizeId.hashCode), industryId.hashCode), subdomain.hashCode), portalMode.hashCode), portalDomain.hashCode), updateProducts.hashCode), convertProductExchangeRate.hashCode), fillProducts.hashCode), enableProductCost.hashCode), enableProductQuantity.hashCode), enableProductDiscount.hashCode), defaultTaskIsDateBased.hashCode), defaultQuantity.hashCode), showProductDetails.hashCode), clientCanRegister.hashCode), isLarge.hashCode), isDisabled.hashCode), enableShopApi.hashCode), companyKey.hashCode), firstDayOfWeek.hashCode), firstMonthOfYear.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), groups.hashCode), activities.hashCode), taxRates.hashCode), taskStatuses.hashCode), taskStatusMap.hashCode), companyGateways.hashCode), expenseCategories.hashCode), users.hashCode), clients.hashCode), products.hashCode), invoices.hashCode), recurringInvoices.hashCode), payments.hashCode), quotes.hashCode), credits.hashCode), tasks.hashCode), projects.hashCode), expenses.hashCode), vendors.hashCode), designs.hashCode), tokens.hashCode), webhooks.hashCode), paymentTerms.hashCode), customFields.hashCode), slackWebhookUrl.hashCode),
googleAnalyticsKey.hashCode),
markExpensesInvoiceable.hashCode),
markExpensesPaid.hashCode),
invoiceExpenseDocuments.hashCode),
invoiceTaskDocuments.hashCode),
invoiceTaskTimelog.hashCode),
autoStartTasks.hashCode),
showTasksTable.hashCode),
settings.hashCode),
enabledModules.hashCode),
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, enableCustomSurchargeTaxes1.hashCode), enableCustomSurchargeTaxes2.hashCode), enableCustomSurchargeTaxes3.hashCode), enableCustomSurchargeTaxes4.hashCode), sizeId.hashCode), industryId.hashCode), subdomain.hashCode), portalMode.hashCode), portalDomain.hashCode), updateProducts.hashCode), convertProductExchangeRate.hashCode), fillProducts.hashCode), enableProductCost.hashCode), enableProductQuantity.hashCode), enableProductDiscount.hashCode), defaultTaskIsDateBased.hashCode), defaultQuantity.hashCode), showProductDetails.hashCode), clientCanRegister.hashCode), isLarge.hashCode), isDisabled.hashCode), enableShopApi.hashCode), companyKey.hashCode), firstDayOfWeek.hashCode), firstMonthOfYear.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), groups.hashCode), activities.hashCode), taxRates.hashCode), taskStatuses.hashCode), taskStatusMap.hashCode), companyGateways.hashCode), expenseCategories.hashCode), users.hashCode), clients.hashCode), products.hashCode), invoices.hashCode), recurringInvoices.hashCode), payments.hashCode), quotes.hashCode), credits.hashCode), tasks.hashCode), projects.hashCode), expenses.hashCode), vendors.hashCode), designs.hashCode), tokens.hashCode), webhooks.hashCode), paymentTerms.hashCode), customFields.hashCode), slackWebhookUrl.hashCode), googleAnalyticsKey.hashCode), markExpensesInvoiceable.hashCode),
markExpensesPaid.hashCode),
invoiceExpenseDocuments.hashCode),
invoiceTaskDocuments.hashCode),
invoiceTaskTimelog.hashCode),
autoStartTasks.hashCode),
showTasksTable.hashCode),
settings.hashCode),
enabledModules.hashCode),
calculateExpenseTaxByAmount.hashCode),
hideEmptyColumnsOnPdf.hashCode),
isChanged.hashCode),
createdAt.hashCode),
updatedAt.hashCode),
@ -3500,6 +3530,8 @@ class _$CompanyEntity extends CompanyEntity {
..add('showTasksTable', showTasksTable)
..add('settings', settings)
..add('enabledModules', enabledModules)
..add('calculateExpenseTaxByAmount', calculateExpenseTaxByAmount)
..add('hideEmptyColumnsOnPdf', hideEmptyColumnsOnPdf)
..add('isChanged', isChanged)
..add('createdAt', createdAt)
..add('updatedAt', updatedAt)
@ -3833,6 +3865,16 @@ class CompanyEntityBuilder
set enabledModules(int enabledModules) =>
_$this._enabledModules = enabledModules;
bool _calculateExpenseTaxByAmount;
bool get calculateExpenseTaxByAmount => _$this._calculateExpenseTaxByAmount;
set calculateExpenseTaxByAmount(bool calculateExpenseTaxByAmount) =>
_$this._calculateExpenseTaxByAmount = calculateExpenseTaxByAmount;
bool _hideEmptyColumnsOnPdf;
bool get hideEmptyColumnsOnPdf => _$this._hideEmptyColumnsOnPdf;
set hideEmptyColumnsOnPdf(bool hideEmptyColumnsOnPdf) =>
_$this._hideEmptyColumnsOnPdf = hideEmptyColumnsOnPdf;
bool _isChanged;
bool get isChanged => _$this._isChanged;
set isChanged(bool isChanged) => _$this._isChanged = isChanged;
@ -3939,6 +3981,8 @@ class CompanyEntityBuilder
_showTasksTable = _$v.showTasksTable;
_settings = _$v.settings?.toBuilder();
_enabledModules = _$v.enabledModules;
_calculateExpenseTaxByAmount = _$v.calculateExpenseTaxByAmount;
_hideEmptyColumnsOnPdf = _$v.hideEmptyColumnsOnPdf;
_isChanged = _$v.isChanged;
_createdAt = _$v.createdAt;
_updatedAt = _$v.updatedAt;
@ -4034,6 +4078,8 @@ class CompanyEntityBuilder
showTasksTable: showTasksTable,
settings: settings.build(),
enabledModules: enabledModules,
calculateExpenseTaxByAmount: calculateExpenseTaxByAmount,
hideEmptyColumnsOnPdf: hideEmptyColumnsOnPdf,
isChanged: isChanged,
createdAt: createdAt,
updatedAt: updatedAt,

View File

@ -128,6 +128,9 @@ class _$ExpenseCategoryEntitySerializer
final result = <Object>[
'name',
serializers.serialize(object.name, specifiedType: const FullType(String)),
'color',
serializers.serialize(object.color,
specifiedType: const FullType(String)),
'created_at',
serializers.serialize(object.createdAt,
specifiedType: const FullType(int)),
@ -183,6 +186,10 @@ class _$ExpenseCategoryEntitySerializer
result.name = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'color':
result.color = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'isChanged':
result.isChanged = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
@ -422,6 +429,8 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
@override
final String name;
@override
final String color;
@override
final bool isChanged;
@override
final int createdAt;
@ -444,6 +453,7 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
_$ExpenseCategoryEntity._(
{this.name,
this.color,
this.isChanged,
this.createdAt,
this.updatedAt,
@ -456,6 +466,9 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
if (name == null) {
throw new BuiltValueNullFieldError('ExpenseCategoryEntity', 'name');
}
if (color == null) {
throw new BuiltValueNullFieldError('ExpenseCategoryEntity', 'color');
}
if (createdAt == null) {
throw new BuiltValueNullFieldError('ExpenseCategoryEntity', 'createdAt');
}
@ -484,6 +497,7 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
if (identical(other, this)) return true;
return other is ExpenseCategoryEntity &&
name == other.name &&
color == other.color &&
isChanged == other.isChanged &&
createdAt == other.createdAt &&
updatedAt == other.updatedAt &&
@ -503,7 +517,9 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
$jc(
$jc(
$jc(
$jc($jc($jc(0, name.hashCode), isChanged.hashCode),
$jc(
$jc($jc($jc(0, name.hashCode), color.hashCode),
isChanged.hashCode),
createdAt.hashCode),
updatedAt.hashCode),
archivedAt.hashCode),
@ -517,6 +533,7 @@ class _$ExpenseCategoryEntity extends ExpenseCategoryEntity {
String toString() {
return (newBuiltValueToStringHelper('ExpenseCategoryEntity')
..add('name', name)
..add('color', color)
..add('isChanged', isChanged)
..add('createdAt', createdAt)
..add('updatedAt', updatedAt)
@ -537,6 +554,10 @@ class ExpenseCategoryEntityBuilder
String get name => _$this._name;
set name(String name) => _$this._name = name;
String _color;
String get color => _$this._color;
set color(String color) => _$this._color = color;
bool _isChanged;
bool get isChanged => _$this._isChanged;
set isChanged(bool isChanged) => _$this._isChanged = isChanged;
@ -571,11 +592,14 @@ class ExpenseCategoryEntityBuilder
String get id => _$this._id;
set id(String id) => _$this._id = id;
ExpenseCategoryEntityBuilder();
ExpenseCategoryEntityBuilder() {
ExpenseCategoryEntity._initializeBuilder(this);
}
ExpenseCategoryEntityBuilder get _$this {
if (_$v != null) {
_name = _$v.name;
_color = _$v.color;
_isChanged = _$v.isChanged;
_createdAt = _$v.createdAt;
_updatedAt = _$v.updatedAt;
@ -607,6 +631,7 @@ class ExpenseCategoryEntityBuilder
final _$result = _$v ??
new _$ExpenseCategoryEntity._(
name: name,
color: color,
isChanged: isChanged,
createdAt: createdAt,
updatedAt: updatedAt,

View File

@ -120,6 +120,9 @@ class _$ProjectEntitySerializer implements StructuredSerializer<ProjectEntity> {
final result = <Object>[
'name',
serializers.serialize(object.name, specifiedType: const FullType(String)),
'color',
serializers.serialize(object.color,
specifiedType: const FullType(String)),
'client_id',
serializers.serialize(object.clientId,
specifiedType: const FullType(String)),
@ -212,6 +215,10 @@ class _$ProjectEntitySerializer implements StructuredSerializer<ProjectEntity> {
result.name = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'color':
result.color = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'client_id':
result.clientId = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
@ -496,6 +503,8 @@ class _$ProjectEntity extends ProjectEntity {
@override
final String name;
@override
final String color;
@override
final String clientId;
@override
final double taskRate;
@ -541,6 +550,7 @@ class _$ProjectEntity extends ProjectEntity {
_$ProjectEntity._(
{this.name,
this.color,
this.clientId,
this.taskRate,
this.dueDate,
@ -565,6 +575,9 @@ class _$ProjectEntity extends ProjectEntity {
if (name == null) {
throw new BuiltValueNullFieldError('ProjectEntity', 'name');
}
if (color == null) {
throw new BuiltValueNullFieldError('ProjectEntity', 'color');
}
if (clientId == null) {
throw new BuiltValueNullFieldError('ProjectEntity', 'clientId');
}
@ -627,6 +640,7 @@ class _$ProjectEntity extends ProjectEntity {
if (identical(other, this)) return true;
return other is ProjectEntity &&
name == other.name &&
color == other.color &&
clientId == other.clientId &&
taskRate == other.taskRate &&
dueDate == other.dueDate &&
@ -670,7 +684,7 @@ class _$ProjectEntity extends ProjectEntity {
$jc(
$jc(
$jc(
$jc($jc($jc(0, name.hashCode), clientId.hashCode),
$jc($jc($jc($jc(0, name.hashCode), color.hashCode), clientId.hashCode),
taskRate.hashCode),
dueDate.hashCode),
privateNotes.hashCode),
@ -696,6 +710,7 @@ class _$ProjectEntity extends ProjectEntity {
String toString() {
return (newBuiltValueToStringHelper('ProjectEntity')
..add('name', name)
..add('color', color)
..add('clientId', clientId)
..add('taskRate', taskRate)
..add('dueDate', dueDate)
@ -728,6 +743,10 @@ class ProjectEntityBuilder
String get name => _$this._name;
set name(String name) => _$this._name = name;
String _color;
String get color => _$this._color;
set color(String color) => _$this._color = color;
String _clientId;
String get clientId => _$this._clientId;
set clientId(String clientId) => _$this._clientId = clientId;
@ -813,11 +832,14 @@ class ProjectEntityBuilder
String get id => _$this._id;
set id(String id) => _$this._id = id;
ProjectEntityBuilder();
ProjectEntityBuilder() {
ProjectEntity._initializeBuilder(this);
}
ProjectEntityBuilder get _$this {
if (_$v != null) {
_name = _$v.name;
_color = _$v.color;
_clientId = _$v.clientId;
_taskRate = _$v.taskRate;
_dueDate = _$v.dueDate;
@ -863,6 +885,7 @@ class ProjectEntityBuilder
_$result = _$v ??
new _$ProjectEntity._(
name: name,
color: color,
clientId: clientId,
taskRate: taskRate,
dueDate: dueDate,

View File

@ -122,6 +122,9 @@ class _$TaskStatusEntitySerializer
final result = <Object>[
'name',
serializers.serialize(object.name, specifiedType: const FullType(String)),
'color',
serializers.serialize(object.color,
specifiedType: const FullType(String)),
'sort_order',
serializers.serialize(object.sortOrder,
specifiedType: const FullType(int)),
@ -180,6 +183,10 @@ class _$TaskStatusEntitySerializer
result.name = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'color':
result.color = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'sort_order':
result.sortOrder = serializers.deserialize(value,
specifiedType: const FullType(int)) as int;
@ -419,6 +426,8 @@ class _$TaskStatusEntity extends TaskStatusEntity {
@override
final String name;
@override
final String color;
@override
final int sortOrder;
@override
final bool isChanged;
@ -443,6 +452,7 @@ class _$TaskStatusEntity extends TaskStatusEntity {
_$TaskStatusEntity._(
{this.name,
this.color,
this.sortOrder,
this.isChanged,
this.createdAt,
@ -456,6 +466,9 @@ class _$TaskStatusEntity extends TaskStatusEntity {
if (name == null) {
throw new BuiltValueNullFieldError('TaskStatusEntity', 'name');
}
if (color == null) {
throw new BuiltValueNullFieldError('TaskStatusEntity', 'color');
}
if (sortOrder == null) {
throw new BuiltValueNullFieldError('TaskStatusEntity', 'sortOrder');
}
@ -486,6 +499,7 @@ class _$TaskStatusEntity extends TaskStatusEntity {
if (identical(other, this)) return true;
return other is TaskStatusEntity &&
name == other.name &&
color == other.color &&
sortOrder == other.sortOrder &&
isChanged == other.isChanged &&
createdAt == other.createdAt &&
@ -508,7 +522,9 @@ class _$TaskStatusEntity extends TaskStatusEntity {
$jc(
$jc(
$jc(
$jc($jc(0, name.hashCode),
$jc(
$jc($jc(0, name.hashCode),
color.hashCode),
sortOrder.hashCode),
isChanged.hashCode),
createdAt.hashCode),
@ -524,6 +540,7 @@ class _$TaskStatusEntity extends TaskStatusEntity {
String toString() {
return (newBuiltValueToStringHelper('TaskStatusEntity')
..add('name', name)
..add('color', color)
..add('sortOrder', sortOrder)
..add('isChanged', isChanged)
..add('createdAt', createdAt)
@ -545,6 +562,10 @@ class TaskStatusEntityBuilder
String get name => _$this._name;
set name(String name) => _$this._name = name;
String _color;
String get color => _$this._color;
set color(String color) => _$this._color = color;
int _sortOrder;
int get sortOrder => _$this._sortOrder;
set sortOrder(int sortOrder) => _$this._sortOrder = sortOrder;
@ -583,11 +604,14 @@ class TaskStatusEntityBuilder
String get id => _$this._id;
set id(String id) => _$this._id = id;
TaskStatusEntityBuilder();
TaskStatusEntityBuilder() {
TaskStatusEntity._initializeBuilder(this);
}
TaskStatusEntityBuilder get _$this {
if (_$v != null) {
_name = _$v.name;
_color = _$v.color;
_sortOrder = _$v.sortOrder;
_isChanged = _$v.isChanged;
_createdAt = _$v.createdAt;
@ -620,6 +644,7 @@ class TaskStatusEntityBuilder
final _$result = _$v ??
new _$TaskStatusEntity._(
name: name,
color: color,
sortOrder: sortOrder,
isChanged: isChanged,
createdAt: createdAt,