@cravery/core 0.0.39 → 0.0.41
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/entity.d.ts +1 -0
- package/dist/types/core/entity.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +0 -1
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/index.js +0 -1
- package/dist/types/core/index.js.map +1 -1
- package/dist/types/iam/profile.d.ts +1 -2
- package/dist/types/iam/profile.d.ts.map +1 -1
- package/dist/types/iam/subscription_status.d.ts +1 -1
- package/dist/types/iam/subscription_status.d.ts.map +1 -1
- package/dist/types/iam/subscription_status.js +1 -0
- package/dist/types/iam/subscription_status.js.map +1 -1
- package/dist/types/iam/user.d.ts +1 -2
- package/dist/types/iam/user.d.ts.map +1 -1
- package/dist/types/recipe/comment.d.ts +1 -2
- package/dist/types/recipe/comment.d.ts.map +1 -1
- package/dist/types/recipe/recipe.d.ts +1 -3
- package/dist/types/recipe/recipe.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/types/core/entity.ts +1 -0
- package/src/types/core/index.ts +0 -1
- package/src/types/iam/profile.ts +1 -2
- package/src/types/iam/subscription_status.ts +1 -0
- package/src/types/iam/user.ts +1 -2
- package/src/types/recipe/comment.ts +8 -9
- package/src/types/recipe/recipe.ts +1 -3
- package/src/types/core/asset.ts +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/types/core/entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/types/core/entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
package/dist/types/core/index.js
CHANGED
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./api"), exports);
|
|
18
|
-
__exportStar(require("./asset"), exports);
|
|
19
18
|
__exportStar(require("./entity"), exports);
|
|
20
19
|
__exportStar(require("./errors"), exports);
|
|
21
20
|
__exportStar(require("./locale"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,uDAAqC;AACrC,+CAA6B;AAC7B,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
import { ProfileStatus } from "./profile_status";
|
|
3
3
|
export interface Profile extends Entity {
|
|
4
4
|
bio?: string;
|
|
5
|
-
deletedAt?: Timestamp;
|
|
6
5
|
email: string;
|
|
7
6
|
heroUrl?: string;
|
|
8
7
|
imageUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,WAAW,OAAQ,SAAQ,MAAM;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SUBSCRIPTION_STATUS_VALUES: readonly ["active", "deleted", "pending", "rejected"];
|
|
1
|
+
export declare const SUBSCRIPTION_STATUS_VALUES: readonly ["active", "deleted", "expired", "pending", "rejected"];
|
|
2
2
|
export type SubscriptionStatus = (typeof SUBSCRIPTION_STATUS_VALUES)[number];
|
|
3
3
|
//# sourceMappingURL=subscription_status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_status.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"subscription_status.d.ts","sourceRoot":"","sources":["../../../src/types/iam/subscription_status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,kEAM7B,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_status.js","sourceRoot":"","sources":["../../../src/types/iam/subscription_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,QAAQ;IACR,SAAS;IACT,SAAS;IACT,UAAU;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"subscription_status.js","sourceRoot":"","sources":["../../../src/types/iam/subscription_status.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,UAAU;CACF,CAAC"}
|
package/dist/types/iam/user.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
import { UserRole } from "./user_role";
|
|
3
3
|
import { UserStatus } from "./user_status";
|
|
4
4
|
export interface User extends Entity {
|
|
5
|
-
deletedAt?: Timestamp;
|
|
6
5
|
email: string;
|
|
7
6
|
imageUrl?: string;
|
|
8
7
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/iam/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,IAAK,SAAQ,MAAM;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,UAAU,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
export interface RecipeComment extends Entity {
|
|
3
3
|
recipeId: string;
|
|
4
4
|
userId: string;
|
|
5
5
|
content: string;
|
|
6
6
|
parentId?: string;
|
|
7
|
-
deletedAt?: Timestamp;
|
|
8
7
|
}
|
|
9
8
|
//# sourceMappingURL=comment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
import { Locale } from "../core/locale";
|
|
3
3
|
import { Allergen } from "./allergen";
|
|
4
4
|
import { Cuisine } from "./cuisine";
|
|
@@ -17,7 +17,6 @@ export interface RecipeMeta extends Entity {
|
|
|
17
17
|
confidence: number;
|
|
18
18
|
createdBy: string;
|
|
19
19
|
cuisine: Cuisine;
|
|
20
|
-
deletedAt?: Timestamp;
|
|
21
20
|
dietaryTags: DietaryTag[];
|
|
22
21
|
difficulty: Difficulty;
|
|
23
22
|
equipment?: EquipmentMeta[];
|
|
@@ -48,7 +47,6 @@ export interface Recipe extends Entity {
|
|
|
48
47
|
confidence: number;
|
|
49
48
|
createdBy: string;
|
|
50
49
|
cuisine: Cuisine;
|
|
51
|
-
deletedAt?: Timestamp;
|
|
52
50
|
description: string;
|
|
53
51
|
dietaryTags: DietaryTag[];
|
|
54
52
|
difficulty: Difficulty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../../src/types/recipe/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,E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AAC;CACf"}
|
package/package.json
CHANGED
package/src/types/core/entity.ts
CHANGED
package/src/types/core/index.ts
CHANGED
package/src/types/iam/profile.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
import { ProfileStatus } from "./profile_status";
|
|
3
3
|
|
|
4
4
|
export interface Profile extends Entity {
|
|
5
5
|
bio?: string;
|
|
6
|
-
deletedAt?: Timestamp
|
|
7
6
|
email: string;
|
|
8
7
|
heroUrl?: string;
|
|
9
8
|
imageUrl?: string;
|
package/src/types/iam/user.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
import { UserRole } from "./user_role";
|
|
3
3
|
import { UserStatus } from "./user_status";
|
|
4
4
|
|
|
5
5
|
export interface User extends Entity {
|
|
6
|
-
deletedAt?: Timestamp;
|
|
7
6
|
email: string;
|
|
8
7
|
imageUrl?: string;
|
|
9
8
|
name: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Entity
|
|
2
|
-
|
|
3
|
-
export interface RecipeComment extends Entity {
|
|
4
|
-
recipeId: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
content: string;
|
|
7
|
-
parentId?: string;
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
import { Entity } from "../core";
|
|
2
|
+
|
|
3
|
+
export interface RecipeComment extends Entity {
|
|
4
|
+
recipeId: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
content: string;
|
|
7
|
+
parentId?: string;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity
|
|
1
|
+
import { Entity } from "../core";
|
|
2
2
|
import { Locale } from "../core/locale";
|
|
3
3
|
import { Allergen } from "./allergen";
|
|
4
4
|
import { Cuisine } from "./cuisine";
|
|
@@ -26,7 +26,6 @@ export interface RecipeMeta extends Entity {
|
|
|
26
26
|
confidence: number;
|
|
27
27
|
createdBy: string;
|
|
28
28
|
cuisine: Cuisine;
|
|
29
|
-
deletedAt?: Timestamp;
|
|
30
29
|
dietaryTags: DietaryTag[];
|
|
31
30
|
difficulty: Difficulty;
|
|
32
31
|
equipment?: EquipmentMeta[];
|
|
@@ -59,7 +58,6 @@ export interface Recipe extends Entity {
|
|
|
59
58
|
confidence: number;
|
|
60
59
|
createdBy: string;
|
|
61
60
|
cuisine: Cuisine;
|
|
62
|
-
deletedAt?: Timestamp;
|
|
63
61
|
description: string;
|
|
64
62
|
dietaryTags: DietaryTag[];
|
|
65
63
|
difficulty: Difficulty;
|