@hedia/types 2.1.63-alpha.3 → 2.1.63-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import { Languages } from "../../enums";
|
|
|
2
2
|
import { IRpcRoute } from "../../types";
|
|
3
3
|
export declare namespace FoodService {
|
|
4
4
|
namespace Enums {
|
|
5
|
-
enum
|
|
5
|
+
enum MealType {
|
|
6
6
|
Breakfast = "breakfast",
|
|
7
7
|
Lunch = "lunch",
|
|
8
8
|
Dinner = "dinner",
|
|
@@ -11,7 +11,7 @@ export declare namespace FoodService {
|
|
|
11
11
|
}
|
|
12
12
|
namespace RPC {
|
|
13
13
|
namespace SearchFood {
|
|
14
|
-
type
|
|
14
|
+
type Post = IRpcRoute<Types.IFoodSearchRequest, Types.IFoodSearchResponse>;
|
|
15
15
|
}
|
|
16
16
|
namespace AddFood {
|
|
17
17
|
type Post = IRpcRoute<Types.IAddFoodRequest, {}>;
|
|
@@ -40,7 +40,7 @@ export declare namespace FoodService {
|
|
|
40
40
|
interface IFoodFavorites {
|
|
41
41
|
id: string;
|
|
42
42
|
foodItemsId: string;
|
|
43
|
-
|
|
43
|
+
mealType: Enums.MealType;
|
|
44
44
|
}
|
|
45
45
|
interface IFoodItems {
|
|
46
46
|
id: string;
|
|
@@ -5,13 +5,13 @@ var FoodService;
|
|
|
5
5
|
(function (FoodService) {
|
|
6
6
|
let Enums;
|
|
7
7
|
(function (Enums) {
|
|
8
|
-
let
|
|
9
|
-
(function (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})(
|
|
8
|
+
let MealType;
|
|
9
|
+
(function (MealType) {
|
|
10
|
+
MealType["Breakfast"] = "breakfast";
|
|
11
|
+
MealType["Lunch"] = "lunch";
|
|
12
|
+
MealType["Dinner"] = "dinner";
|
|
13
|
+
MealType["Night"] = "night";
|
|
14
|
+
})(MealType = Enums.MealType || (Enums.MealType = {}));
|
|
15
15
|
})(Enums = FoodService.Enums || (FoodService.Enums = {}));
|
|
16
16
|
})(FoodService = exports.FoodService || (exports.FoodService = {}));
|
|
17
17
|
//# sourceMappingURL=food.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"food.js","sourceRoot":"","sources":["../../../../types/services/rpc/food.ts"],"names":[],"mappings":";;;AAGA,IAAiB,WAAW,CAyE3B;AAzED,WAAiB,WAAW;IAC3B,IAAiB,KAAK,CAOrB;IAPD,WAAiB,KAAK;QACrB,IAAY,
|
|
1
|
+
{"version":3,"file":"food.js","sourceRoot":"","sources":["../../../../types/services/rpc/food.ts"],"names":[],"mappings":";;;AAGA,IAAiB,WAAW,CAyE3B;AAzED,WAAiB,WAAW;IAC3B,IAAiB,KAAK,CAOrB;IAPD,WAAiB,KAAK;QACrB,IAAY,QAKX;QALD,WAAY,QAAQ;YACnB,mCAAuB,CAAA;YACvB,2BAAe,CAAA;YACf,6BAAiB,CAAA;YACjB,2BAAe,CAAA;QAChB,CAAC,EALW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAKnB;IACF,CAAC,EAPgB,KAAK,GAAL,iBAAK,KAAL,iBAAK,QAOrB;AAiEF,CAAC,EAzEgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAyE3B"}
|