feat(verify): phone

This commit is contained in:
mso7nueh
2025-05-21 17:42:43 +03:00
parent cb9fff9327
commit 067e0929ed
98 changed files with 821 additions and 760 deletions

View File

@@ -99,7 +99,7 @@ enum TypeOfRecipe {
}
@freezed
class RecipeCreateEntity with _$RecipeCreateEntity {
abstract class RecipeCreateEntity with _$RecipeCreateEntity {
const RecipeCreateEntity._();
const factory RecipeCreateEntity({
@@ -138,7 +138,7 @@ class RecipeCreateEntity with _$RecipeCreateEntity {
}
@freezed
class StepEntity with _$StepEntity {
abstract class StepEntity with _$StepEntity {
const StepEntity._();
const factory StepEntity({

View File

@@ -5,7 +5,7 @@ part 'ingredient.freezed.dart';
part 'ingredient.g.dart';
@freezed
class Ingredient with _$Ingredient {
abstract class Ingredient with _$Ingredient {
const factory Ingredient({
required String name,
required String unit,

View File

@@ -5,7 +5,7 @@ part 'product.freezed.dart';
part 'product.g.dart';
@freezed
class Product with _$Product {
abstract class Product with _$Product {
const factory Product({
required int id,
required String name,

View File

@@ -17,7 +17,7 @@ enum RecipeType {
}
@freezed
class RecipeCreateModel with _$RecipeCreateModel {
abstract class RecipeCreateModel with _$RecipeCreateModel {
const factory RecipeCreateModel({
required String title,
required String state,

View File

@@ -7,7 +7,7 @@ part 'recipe_model.freezed.dart';
part 'recipe_model.g.dart';
@freezed
class RecipeModel with _$RecipeModel {
abstract class RecipeModel with _$RecipeModel {
const factory RecipeModel({
List<Ingredient?>? ingredients,
List<Step?>? steps,

View File

@@ -6,7 +6,7 @@ part 'recipe_tag_model.freezed.dart';
part 'recipe_tag_model.g.dart';
@freezed
class RecipeTagModel with _$RecipeTagModel {
abstract class RecipeTagModel with _$RecipeTagModel {
const factory RecipeTagModel({
@JsonKey(name: "data") required List<RecipeTag> data,
@JsonKey(name: "links") required Links links,
@@ -17,7 +17,7 @@ class RecipeTagModel with _$RecipeTagModel {
}
@freezed
class RecipeTag with _$RecipeTag {
abstract class RecipeTag with _$RecipeTag {
const factory RecipeTag({
@JsonKey(name: "id") required int id,
@JsonKey(name: "name") required String name,

View File

@@ -5,7 +5,7 @@ part 'step.freezed.dart';
part 'step.g.dart';
@freezed
class Step with _$Step {
abstract class Step with _$Step {
const factory Step({
String? image,
String? description,

View File

@@ -4,7 +4,7 @@ import 'package:freezed_annotation/freezed_annotation.dart';
part 'create_recipe_state.freezed.dart';
@freezed
class CreateRecipeState with _$CreateRecipeState {
abstract class CreateRecipeState with _$CreateRecipeState {
const factory CreateRecipeState({
required RecipeCreateEntity entity,
required bool loading,