fix(diary): added proccesing of future dates and fixed deleted portions

This commit is contained in:
Username1548
2025-04-08 21:28:40 +07:00
parent 245c854754
commit 823dc78490
25 changed files with 1038 additions and 371 deletions

View File

@@ -113,14 +113,13 @@ Map<String, dynamic> _$$PortionModelImplToJson(_$PortionModelImpl instance) =>
};
const _$PortionStateEnumMap = {
PortionState.active: 'active',
PortionState.filledDiet: 'filledDiet',
PortionState.eatenFromDiet: 'eatenFromDiet',
PortionState.filledDiet: 'filled_diet',
PortionState.eatenFromDiet: 'eaten_from_diet',
PortionState.eaten: 'eaten',
PortionState.eatenDeleted: 'eatenDeleted',
PortionState.eatenEdited: 'eatenEdited',
PortionState.eatenDeleted: 'eaten_deleted',
PortionState.eatenEdited: 'eaten_edited',
PortionState.commented: 'commented',
PortionState.revieweByUser: 'revieweByUser',
PortionState.reviewedByUser: 'reviewed_by_user',
};
_$TypeOfDiaryModelImpl _$$TypeOfDiaryModelImplFromJson(