@cravery/core 0.0.66 → 0.0.68
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.
- package/dist/types/core/currency.d.ts +3 -0
- package/dist/types/core/currency.d.ts.map +1 -0
- package/dist/types/core/currency.js +13 -0
- package/dist/types/core/currency.js.map +1 -0
- package/dist/types/core/index.d.ts +2 -0
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/index.js +2 -0
- package/dist/types/core/index.js.map +1 -1
- package/dist/types/core/price.d.ts +2 -1
- package/dist/types/core/price.d.ts.map +1 -1
- package/dist/types/core/unit.d.ts.map +1 -0
- package/dist/types/core/unit.js.map +1 -0
- package/dist/types/equipment/equipment_entity.d.ts +1 -1
- package/dist/types/equipment/equipment_entity.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/ingredients/ingredient.d.ts +1 -1
- package/dist/types/ingredients/ingredient.d.ts.map +1 -1
- package/dist/types/ingredients/ingredient_entity.d.ts +2 -3
- package/dist/types/ingredients/ingredient_entity.d.ts.map +1 -1
- package/dist/types/ingredients/user_ingredient.d.ts +1 -2
- package/dist/types/ingredients/user_ingredient.d.ts.map +1 -1
- package/dist/types/interactions/cook.d.ts +6 -0
- package/dist/types/interactions/cook.d.ts.map +1 -0
- package/dist/types/{users/profile.js → interactions/cook.js} +1 -1
- package/dist/types/interactions/cook.js.map +1 -0
- package/dist/types/interactions/index.d.ts +4 -0
- package/dist/types/interactions/index.d.ts.map +1 -0
- package/dist/types/interactions/index.js +20 -0
- package/dist/types/interactions/index.js.map +1 -0
- package/dist/types/interactions/rate.d.ts +6 -0
- package/dist/types/interactions/rate.d.ts.map +1 -0
- package/dist/types/{users/bookmark.js → interactions/rate.js} +1 -1
- package/dist/types/interactions/rate.js.map +1 -0
- package/dist/types/interactions/save.d.ts +6 -0
- package/dist/types/interactions/save.d.ts.map +1 -0
- package/dist/types/interactions/save.js +3 -0
- package/dist/types/interactions/save.js.map +1 -0
- package/dist/types/limits/index.d.ts.map +1 -0
- package/dist/types/limits/index.js.map +1 -0
- package/dist/types/{access → limits}/limits.d.ts.map +1 -1
- package/dist/types/{access → limits}/limits.js.map +1 -1
- package/dist/types/limits/operation.d.ts +3 -0
- package/dist/types/limits/operation.d.ts.map +1 -0
- package/dist/types/{access → limits}/operation.js +2 -1
- package/dist/types/limits/operation.js.map +1 -0
- package/dist/types/{access → limits}/usage.d.ts.map +1 -1
- package/dist/types/{access → limits}/usage.js.map +1 -1
- package/dist/types/recipes/index.d.ts +0 -1
- package/dist/types/recipes/index.d.ts.map +1 -1
- package/dist/types/recipes/index.js +0 -1
- package/dist/types/recipes/index.js.map +1 -1
- package/dist/types/recipes/recipe.d.ts +8 -4
- package/dist/types/recipes/recipe.d.ts.map +1 -1
- package/dist/types/reports/target.d.ts.map +1 -1
- package/dist/types/subscriptions/cost.d.ts +2 -1
- package/dist/types/subscriptions/cost.d.ts.map +1 -1
- package/dist/types/subscriptions/index.d.ts +1 -0
- package/dist/types/subscriptions/index.d.ts.map +1 -1
- package/dist/types/subscriptions/index.js +1 -0
- package/dist/types/subscriptions/index.js.map +1 -1
- package/dist/types/subscriptions/member.d.ts +3 -2
- package/dist/types/subscriptions/member.d.ts.map +1 -1
- package/dist/types/subscriptions/member_status.d.ts +3 -0
- package/dist/types/subscriptions/member_status.d.ts.map +1 -0
- package/dist/types/subscriptions/member_status.js +10 -0
- package/dist/types/subscriptions/member_status.js.map +1 -0
- package/dist/types/subscriptions/subscription.d.ts +4 -3
- package/dist/types/subscriptions/subscription.d.ts.map +1 -1
- package/dist/types/users/index.d.ts +0 -2
- package/dist/types/users/index.d.ts.map +1 -1
- package/dist/types/users/index.js +0 -2
- package/dist/types/users/index.js.map +1 -1
- package/dist/types/users/request.d.ts +14 -4
- package/dist/types/users/request.d.ts.map +1 -1
- package/dist/types/users/user.d.ts +1 -0
- package/dist/types/users/user.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/types/core/currency.ts +10 -0
- package/src/types/core/index.ts +2 -0
- package/src/types/core/price.ts +3 -1
- package/src/types/equipment/equipment_entity.ts +1 -1
- package/src/types/index.ts +2 -1
- package/src/types/ingredients/ingredient.ts +1 -1
- package/src/types/ingredients/ingredient_entity.ts +2 -3
- package/src/types/ingredients/user_ingredient.ts +1 -2
- package/src/types/interactions/cook.ts +6 -0
- package/src/types/interactions/index.ts +3 -0
- package/src/types/interactions/rate.ts +6 -0
- package/src/types/interactions/save.ts +6 -0
- package/src/types/{access → limits}/index.ts +3 -3
- package/src/types/{access → limits}/limits.ts +6 -6
- package/src/types/{access → limits}/operation.ts +10 -10
- package/src/types/{access → limits}/usage.ts +9 -9
- package/src/types/recipes/index.ts +0 -1
- package/src/types/recipes/recipe.ts +9 -4
- package/src/types/reports/target.ts +8 -1
- package/src/types/subscriptions/cost.ts +3 -1
- package/src/types/subscriptions/index.ts +1 -0
- package/src/types/subscriptions/member.ts +3 -2
- package/src/types/subscriptions/member_status.ts +7 -0
- package/src/types/subscriptions/subscription.ts +4 -3
- package/src/types/users/index.ts +0 -2
- package/src/types/users/request.ts +18 -4
- package/src/types/users/user.ts +1 -0
- package/dist/types/access/index.d.ts.map +0 -1
- package/dist/types/access/index.js.map +0 -1
- package/dist/types/access/operation.d.ts +0 -3
- package/dist/types/access/operation.d.ts.map +0 -1
- package/dist/types/access/operation.js.map +0 -1
- package/dist/types/recipes/unit.d.ts.map +0 -1
- package/dist/types/recipes/unit.js.map +0 -1
- package/dist/types/users/bookmark.d.ts +0 -5
- package/dist/types/users/bookmark.d.ts.map +0 -1
- package/dist/types/users/bookmark.js.map +0 -1
- package/dist/types/users/profile.d.ts +0 -8
- package/dist/types/users/profile.d.ts.map +0 -1
- package/dist/types/users/profile.js.map +0 -1
- package/src/types/users/bookmark.ts +0 -5
- package/src/types/users/profile.ts +0 -8
- /package/dist/types/{recipes → core}/unit.d.ts +0 -0
- /package/dist/types/{recipes → core}/unit.js +0 -0
- /package/dist/types/{access → limits}/index.d.ts +0 -0
- /package/dist/types/{access → limits}/index.js +0 -0
- /package/dist/types/{access → limits}/limits.d.ts +0 -0
- /package/dist/types/{access → limits}/limits.js +0 -0
- /package/dist/types/{access → limits}/usage.d.ts +0 -0
- /package/dist/types/{access → limits}/usage.js +0 -0
- /package/src/types/{recipes → core}/unit.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../../src/types/core/currency.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,4DAQlB,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CURRENCY_VALUES = void 0;
|
|
4
|
+
exports.CURRENCY_VALUES = [
|
|
5
|
+
"USD",
|
|
6
|
+
"CAD",
|
|
7
|
+
"GBP",
|
|
8
|
+
"EUR",
|
|
9
|
+
"EGP",
|
|
10
|
+
"AED",
|
|
11
|
+
"SAR",
|
|
12
|
+
];
|
|
13
|
+
//# sourceMappingURL=currency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currency.js","sourceRoot":"","sources":["../../../src/types/core/currency.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACG,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./currency";
|
|
1
2
|
export * from "./entity";
|
|
2
3
|
export * from "./entity_status";
|
|
3
4
|
export * from "./errors";
|
|
@@ -7,4 +8,5 @@ export * from "./pagination";
|
|
|
7
8
|
export * from "./price";
|
|
8
9
|
export * from "./theme";
|
|
9
10
|
export * from "./timestamp";
|
|
11
|
+
export * from "./unit";
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
|
package/dist/types/core/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./currency"), exports);
|
|
17
18
|
__exportStar(require("./entity"), exports);
|
|
18
19
|
__exportStar(require("./entity_status"), exports);
|
|
19
20
|
__exportStar(require("./errors"), exports);
|
|
@@ -23,4 +24,5 @@ __exportStar(require("./pagination"), exports);
|
|
|
23
24
|
__exportStar(require("./price"), exports);
|
|
24
25
|
__exportStar(require("./theme"), exports);
|
|
25
26
|
__exportStar(require("./timestamp"), exports);
|
|
27
|
+
__exportStar(require("./unit"), exports);
|
|
26
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,kDAAgC;AAChC,2CAAyB;AACzB,2CAAyB;AACzB,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,kDAAgC;AAChC,2CAAyB;AACzB,2CAAyB;AACzB,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,yCAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../src/types/core/price.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../src/types/core/price.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../../src/types/core/unit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,6TA8Cd,CAAC;AACX,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unit.js","sourceRoot":"","sources":["../../../src/types/core/unit.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,kBAAkB;IAClB,IAAI;IACJ,GAAG;IACH,oBAAoB;IACpB,KAAK;IACL,MAAM;IACN,OAAO;IACP,KAAK;IACL,MAAM;IACN,OAAO;IACP,QAAQ;IACR,kBAAkB;IAClB,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,oBAAoB;IACpB,IAAI;IACJ,IAAI;IACJ,gBAAgB;IAChB,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,OAAO;IACP,SAAS;IACT,mBAAmB;IACnB,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,YAAY;IACZ,KAAK;IACL,SAAS;IACT,QAAQ;IACR,KAAK;IACL,YAAY;IACZ,SAAS;IACT,OAAO;IACP,MAAM;IACN,MAAM;CACE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equipment_entity.d.ts","sourceRoot":"","sources":["../../../src/types/equipment/equipment_entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,WAAW,mBAAoB,SAAQ,MAAM;IACjD,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"equipment_entity.d.ts","sourceRoot":"","sources":["../../../src/types/equipment/equipment_entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,WAAW,mBAAoB,SAAQ,MAAM;IACjD,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eACf,SAAQ,mBAAmB,EAAE,sBAAsB;CAAG"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export * from "./access";
|
|
2
1
|
export * from "./core";
|
|
3
2
|
export * from "./equipment";
|
|
4
3
|
export * from "./ingredients";
|
|
4
|
+
export * from "./interactions";
|
|
5
|
+
export * from "./limits";
|
|
5
6
|
export * from "./recipes";
|
|
6
7
|
export * from "./reports";
|
|
7
8
|
export * from "./settings";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -14,10 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./access"), exports);
|
|
18
17
|
__exportStar(require("./core"), exports);
|
|
19
18
|
__exportStar(require("./equipment"), exports);
|
|
20
19
|
__exportStar(require("./ingredients"), exports);
|
|
20
|
+
__exportStar(require("./interactions"), exports);
|
|
21
|
+
__exportStar(require("./limits"), exports);
|
|
21
22
|
__exportStar(require("./recipes"), exports);
|
|
22
23
|
__exportStar(require("./reports"), exports);
|
|
23
24
|
__exportStar(require("./settings"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B;AAC5B,gDAA8B;AAC9B,iDAA+B;AAC/B,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,kDAAgC;AAChC,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAW,SAAQ,cAAc,EAAE,iBAAiB;CAAG"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { Entity, Price } from "../core";
|
|
2
|
-
import { Unit } from "../recipes";
|
|
1
|
+
import { Entity, Price, Unit } from "../core";
|
|
3
2
|
import { IngredientCategory } from "./category";
|
|
4
3
|
import { IngredientGroup } from "./group";
|
|
5
4
|
export interface IngredientEntityMeta extends Entity {
|
|
6
5
|
category: IngredientCategory;
|
|
7
6
|
group: IngredientGroup;
|
|
8
7
|
slug: string;
|
|
9
|
-
imageUrl?: string
|
|
8
|
+
imageUrl?: string;
|
|
10
9
|
price?: Price;
|
|
11
10
|
standardUnit?: Unit;
|
|
12
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient_entity.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient_entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ingredient_entity.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/ingredient_entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAClD,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,eAAe,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBACf,SAAQ,oBAAoB,EAAE,uBAAuB;CAAG"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Entity, Price, Timestamp } from "../core";
|
|
2
|
-
import { Unit } from "../recipes";
|
|
1
|
+
import { Entity, Price, Timestamp, Unit } from "../core";
|
|
3
2
|
import { IngredientCategory } from "./category";
|
|
4
3
|
import { IngredientGroup } from "./group";
|
|
5
4
|
export interface UserIngredient extends Entity {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/user_ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"user_ingredient.d.ts","sourceRoot":"","sources":["../../../src/types/ingredients/user_ingredient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,MAAM;IAC5C,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cook.d.ts","sourceRoot":"","sources":["../../../src/types/interactions/cook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,YAAa,SAAQ,MAAM;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cook.js","sourceRoot":"","sources":["../../../src/types/interactions/cook.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/interactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./cook"), exports);
|
|
18
|
+
__exportStar(require("./rate"), exports);
|
|
19
|
+
__exportStar(require("./save"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../src/types/interactions/rate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,WAAY,SAAQ,MAAM;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/types/interactions/rate.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save.d.ts","sourceRoot":"","sources":["../../../src/types/interactions/save.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,WAAY,SAAQ,MAAM;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save.js","sourceRoot":"","sources":["../../../src/types/interactions/save.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/limits/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/limits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../../../src/types/limits/limits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limits.js","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"limits.js","sourceRoot":"","sources":["../../../src/types/limits/limits.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../src/types/limits/operation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,8HAQnB,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OPERATION_VALUES = void 0;
|
|
4
4
|
exports.OPERATION_VALUES = [
|
|
5
|
+
"assistant",
|
|
6
|
+
"mealPlan",
|
|
5
7
|
"recipeFromUrl",
|
|
6
8
|
"recipeFromImage",
|
|
7
9
|
"recipeFromText",
|
|
8
10
|
"scanIngredients",
|
|
9
11
|
"scanEquipment",
|
|
10
|
-
"mealPlan",
|
|
11
12
|
];
|
|
12
13
|
//# sourceMappingURL=operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../src/types/limits/operation.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,WAAW;IACX,UAAU;IACV,eAAe;IACf,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,eAAe;CACP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/types/limits/usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/types/
|
|
1
|
+
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/types/limits/usage.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
|
|
@@ -28,5 +28,4 @@ __exportStar(require("./recipe"), exports);
|
|
|
28
28
|
__exportStar(require("./spiciness"), exports);
|
|
29
29
|
__exportStar(require("./temperature_unit"), exports);
|
|
30
30
|
__exportStar(require("./temperature"), exports);
|
|
31
|
-
__exportStar(require("./unit"), exports);
|
|
32
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/recipes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,8CAA4B;AAC5B,8CAA4B;AAC5B,kDAAgC;AAChC,iDAA+B;AAC/B,2CAAyB;AACzB,8CAA4B;AAC5B,qDAAmC;AACnC,gDAA8B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/recipes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,8CAA4B;AAC5B,8CAA4B;AAC5B,kDAAgC;AAChC,iDAA+B;AAC/B,2CAAyB;AACzB,8CAA4B;AAC5B,qDAAmC;AACnC,gDAA8B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity } from "../core";
|
|
1
|
+
import { Entity, Price } from "../core";
|
|
2
2
|
import { Locale } from "../core/locale";
|
|
3
3
|
import { Allergen } from "./allergen";
|
|
4
4
|
import { Cuisine } from "./cuisine";
|
|
@@ -25,6 +25,7 @@ export interface RecipeMeta extends Entity {
|
|
|
25
25
|
mealTypes: MealType[];
|
|
26
26
|
nutrition?: Nutrition;
|
|
27
27
|
originalLocale: Locale;
|
|
28
|
+
price?: Price;
|
|
28
29
|
searchTerms?: string[];
|
|
29
30
|
servings: number;
|
|
30
31
|
source: RecipeSource;
|
|
@@ -58,14 +59,17 @@ export interface Recipe extends Entity {
|
|
|
58
59
|
mealTypes: MealType[];
|
|
59
60
|
nutrition?: Nutrition;
|
|
60
61
|
originalLocale: Locale;
|
|
61
|
-
|
|
62
|
+
price?: Price;
|
|
62
63
|
servings: number;
|
|
63
|
-
source: RecipeSource;
|
|
64
|
-
sourceUrl?: string;
|
|
65
64
|
spiciness: Spiciness;
|
|
66
65
|
time: number;
|
|
67
66
|
tips?: string[];
|
|
68
67
|
title: string;
|
|
69
68
|
videoUrl?: string;
|
|
70
69
|
}
|
|
70
|
+
export interface AdminRecipe extends Recipe {
|
|
71
|
+
searchTerms?: string[];
|
|
72
|
+
source: RecipeSource;
|
|
73
|
+
sourceUrl?: string;
|
|
74
|
+
}
|
|
71
75
|
//# sourceMappingURL=recipe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/recipes/recipe.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../src/types/reports/target.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,
|
|
1
|
+
{"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../src/types/reports/target.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,EACN,QAAQ,GACR,OAAO,GACP,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,QAAQ,GAAG,SAAS,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,gBAAgB,GAChB,WAAW,GACX,aAAa,GACb,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cost.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/cost.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"cost.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/cost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./billing_period"), exports);
|
|
18
18
|
__exportStar(require("./cost"), exports);
|
|
19
|
+
__exportStar(require("./member_status"), exports);
|
|
19
20
|
__exportStar(require("./member"), exports);
|
|
20
21
|
__exportStar(require("./store"), exports);
|
|
21
22
|
__exportStar(require("./subscription_role"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/subscriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,yCAAuB;AACvB,2CAAyB;AACzB,0CAAwB;AACxB,sDAAoC;AACpC,wDAAsC;AACtC,sDAAoC;AACpC,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/subscriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,yCAAuB;AACvB,kDAAgC;AAChC,2CAAyB;AACzB,0CAAwB;AACxB,sDAAoC;AACpC,wDAAsC;AACtC,sDAAoC;AACpC,iDAA+B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Timestamp } from "../core";
|
|
2
|
+
import { MemberStatus } from "./member_status";
|
|
2
3
|
import { SubscriptionRole } from "./subscription_role";
|
|
3
|
-
import { SubscriptionStatus } from "./subscription_status";
|
|
4
4
|
export interface Member {
|
|
5
5
|
userId: string;
|
|
6
6
|
role: SubscriptionRole;
|
|
7
|
-
status:
|
|
7
|
+
status: MemberStatus;
|
|
8
8
|
invitedAt: Timestamp;
|
|
9
9
|
joinedAt?: Timestamp;
|
|
10
|
+
removedAt?: Timestamp;
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=member.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/member.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/member.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"member_status.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/member_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,uDAKvB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"member_status.js","sourceRoot":"","sources":["../../../src/types/subscriptions/member_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,SAAS;IACT,QAAQ;IACR,UAAU;IACV,SAAS;CACD,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityBase, Timestamp } from "../core";
|
|
2
2
|
import { BillingPeriod } from "./billing_period";
|
|
3
3
|
import { Member } from "./member";
|
|
4
4
|
import { SubscriptionStore } from "./store";
|
|
5
|
+
import { SubscriptionStatus } from "./subscription_status";
|
|
5
6
|
import { SubscriptionTier } from "./subscription_tier";
|
|
6
|
-
export interface Subscription extends
|
|
7
|
+
export interface Subscription extends EntityBase {
|
|
7
8
|
billingPeriod: BillingPeriod;
|
|
8
9
|
customerId: string;
|
|
9
10
|
entitlementId: string;
|
|
10
11
|
expiresAt: Timestamp;
|
|
11
|
-
inTrial: boolean;
|
|
12
12
|
members: Member[];
|
|
13
13
|
purchasedAt: Timestamp;
|
|
14
14
|
renewable: boolean;
|
|
15
|
+
status: SubscriptionStatus;
|
|
15
16
|
store: SubscriptionStore;
|
|
16
17
|
tier: SubscriptionTier;
|
|
17
18
|
cancelledAt?: Timestamp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/types/subscriptions/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,SAAS,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,iBAAiB,CAAC;IACzB,IAAI,EAAE,gBAAgB,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/users/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
|
|
@@ -14,8 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./bookmark"), exports);
|
|
18
|
-
__exportStar(require("./profile"), exports);
|
|
19
17
|
__exportStar(require("./request_status"), exports);
|
|
20
18
|
__exportStar(require("./request"), exports);
|
|
21
19
|
__exportStar(require("./user_role"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,4CAA0B;AAC1B,8CAA4B;AAC5B,yCAAuB"}
|