mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: make build mobile
This commit is contained in:
@@ -665,7 +665,7 @@ class $AssetOcrEntityTable extends i2.AssetOcrEntity
|
|||||||
@override
|
@override
|
||||||
late final i0.GeneratedColumn<String> recognizedText =
|
late final i0.GeneratedColumn<String> recognizedText =
|
||||||
i0.GeneratedColumn<String>(
|
i0.GeneratedColumn<String>(
|
||||||
'text',
|
'recognized_text',
|
||||||
aliasedName,
|
aliasedName,
|
||||||
false,
|
false,
|
||||||
type: i0.DriftSqlType.string,
|
type: i0.DriftSqlType.string,
|
||||||
@@ -784,11 +784,11 @@ class $AssetOcrEntityTable extends i2.AssetOcrEntity
|
|||||||
} else if (isInserting) {
|
} else if (isInserting) {
|
||||||
context.missing(_textScoreMeta);
|
context.missing(_textScoreMeta);
|
||||||
}
|
}
|
||||||
if (data.containsKey('text')) {
|
if (data.containsKey('recognized_text')) {
|
||||||
context.handle(
|
context.handle(
|
||||||
_recognizedTextMeta,
|
_recognizedTextMeta,
|
||||||
recognizedText.isAcceptableOrUnknown(
|
recognizedText.isAcceptableOrUnknown(
|
||||||
data['text']!,
|
data['recognized_text']!,
|
||||||
_recognizedTextMeta,
|
_recognizedTextMeta,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@@ -860,7 +860,7 @@ class $AssetOcrEntityTable extends i2.AssetOcrEntity
|
|||||||
)!,
|
)!,
|
||||||
recognizedText: attachedDatabase.typeMapping.read(
|
recognizedText: attachedDatabase.typeMapping.read(
|
||||||
i0.DriftSqlType.string,
|
i0.DriftSqlType.string,
|
||||||
data['${effectivePrefix}text'],
|
data['${effectivePrefix}recognized_text'],
|
||||||
)!,
|
)!,
|
||||||
isVisible: attachedDatabase.typeMapping.read(
|
isVisible: attachedDatabase.typeMapping.read(
|
||||||
i0.DriftSqlType.bool,
|
i0.DriftSqlType.bool,
|
||||||
@@ -927,7 +927,7 @@ class AssetOcrEntityData extends i0.DataClass
|
|||||||
map['y4'] = i0.Variable<double>(y4);
|
map['y4'] = i0.Variable<double>(y4);
|
||||||
map['box_score'] = i0.Variable<double>(boxScore);
|
map['box_score'] = i0.Variable<double>(boxScore);
|
||||||
map['text_score'] = i0.Variable<double>(textScore);
|
map['text_score'] = i0.Variable<double>(textScore);
|
||||||
map['text'] = i0.Variable<String>(recognizedText);
|
map['recognized_text'] = i0.Variable<String>(recognizedText);
|
||||||
map['is_visible'] = i0.Variable<bool>(isVisible);
|
map['is_visible'] = i0.Variable<bool>(isVisible);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
@@ -1174,7 +1174,7 @@ class AssetOcrEntityCompanion
|
|||||||
if (y4 != null) 'y4': y4,
|
if (y4 != null) 'y4': y4,
|
||||||
if (boxScore != null) 'box_score': boxScore,
|
if (boxScore != null) 'box_score': boxScore,
|
||||||
if (textScore != null) 'text_score': textScore,
|
if (textScore != null) 'text_score': textScore,
|
||||||
if (recognizedText != null) 'text': recognizedText,
|
if (recognizedText != null) 'recognized_text': recognizedText,
|
||||||
if (isVisible != null) 'is_visible': isVisible,
|
if (isVisible != null) 'is_visible': isVisible,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1253,7 +1253,7 @@ class AssetOcrEntityCompanion
|
|||||||
map['text_score'] = i0.Variable<double>(textScore.value);
|
map['text_score'] = i0.Variable<double>(textScore.value);
|
||||||
}
|
}
|
||||||
if (recognizedText.present) {
|
if (recognizedText.present) {
|
||||||
map['text'] = i0.Variable<String>(recognizedText.value);
|
map['recognized_text'] = i0.Variable<String>(recognizedText.value);
|
||||||
}
|
}
|
||||||
if (isVisible.present) {
|
if (isVisible.present) {
|
||||||
map['is_visible'] = i0.Variable<bool>(isVisible.value);
|
map['is_visible'] = i0.Variable<bool>(isVisible.value);
|
||||||
|
|||||||
Reference in New Issue
Block a user