@cravery/core 0.0.35 → 0.0.37
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/config/collections.d.ts +3 -2
- package/dist/config/collections.d.ts.map +1 -1
- package/dist/config/collections.js +3 -2
- package/dist/config/collections.js.map +1 -1
- package/dist/types/iam/profile.d.ts +3 -1
- package/dist/types/iam/profile.d.ts.map +1 -1
- package/dist/types/submission/submission.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/config/collections.ts +3 -2
- package/src/types/iam/profile.ts +3 -1
- package/src/types/submission/submission.ts +10 -10
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export declare const COLLECTIONS: {
|
|
2
|
+
Content: string;
|
|
2
3
|
Equipment: string;
|
|
4
|
+
Feedback: string;
|
|
3
5
|
Followers: string;
|
|
4
6
|
Ingredients: string;
|
|
5
|
-
Moderations: string;
|
|
6
7
|
Profiles: string;
|
|
7
|
-
RecipeQueue: string;
|
|
8
8
|
Recipes: string;
|
|
9
9
|
Reports: string;
|
|
10
10
|
Settings: string;
|
|
11
|
+
Submissions: string;
|
|
11
12
|
Subscriptions: string;
|
|
12
13
|
Users: string;
|
|
13
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/config/collections.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/config/collections.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC"}
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.COLLECTIONS = void 0;
|
|
4
4
|
exports.COLLECTIONS = {
|
|
5
|
+
Content: "content",
|
|
5
6
|
Equipment: "equipment",
|
|
7
|
+
Feedback: "feedback",
|
|
6
8
|
Followers: "followers",
|
|
7
9
|
Ingredients: "ingredients",
|
|
8
|
-
Moderations: "moderations",
|
|
9
10
|
Profiles: "profiles",
|
|
10
|
-
RecipeQueue: "recipe_queue",
|
|
11
11
|
Recipes: "recipes",
|
|
12
12
|
Reports: "reports",
|
|
13
13
|
Settings: "settings",
|
|
14
|
+
Submissions: "submissions",
|
|
14
15
|
Subscriptions: "subscriptions",
|
|
15
16
|
Users: "users",
|
|
16
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../src/config/collections.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../src/config/collections.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;CACf,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { Entity } from "../core";
|
|
1
|
+
import { Entity, Timestamp } from "../core";
|
|
2
2
|
import { ProfileStatus } from "./profile_status";
|
|
3
3
|
export interface Profile extends Entity {
|
|
4
4
|
bio?: string;
|
|
5
|
+
deletedAt?: Timestamp;
|
|
6
|
+
email: string;
|
|
5
7
|
heroUrl?: string;
|
|
6
8
|
imageUrl?: string;
|
|
7
9
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/types/iam/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,WAAW,OAAQ,SAAQ,MAAM;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submission.d.ts","sourceRoot":"","sources":["../../../src/types/submission/submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,MAAM;
|
|
1
|
+
{"version":3,"file":"submission.d.ts","sourceRoot":"","sources":["../../../src/types/submission/submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export const COLLECTIONS = {
|
|
2
|
+
Content: "content",
|
|
2
3
|
Equipment: "equipment",
|
|
4
|
+
Feedback: "feedback",
|
|
3
5
|
Followers: "followers",
|
|
4
6
|
Ingredients: "ingredients",
|
|
5
|
-
Moderations: "moderations",
|
|
6
7
|
Profiles: "profiles",
|
|
7
|
-
RecipeQueue: "recipe_queue",
|
|
8
8
|
Recipes: "recipes",
|
|
9
9
|
Reports: "reports",
|
|
10
10
|
Settings: "settings",
|
|
11
|
+
Submissions: "submissions",
|
|
11
12
|
Subscriptions: "subscriptions",
|
|
12
13
|
Users: "users",
|
|
13
14
|
};
|
package/src/types/iam/profile.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Entity } from "../core";
|
|
1
|
+
import { Entity, Timestamp } 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
|
+
email: string;
|
|
6
8
|
heroUrl?: string;
|
|
7
9
|
imageUrl?: string;
|
|
8
10
|
name: string;
|
|
@@ -3,14 +3,14 @@ import { SubmissionStatus } from "./submission_status";
|
|
|
3
3
|
import { Suggestion } from "./suggestion";
|
|
4
4
|
|
|
5
5
|
export interface Submission extends Entity {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
locale: Locale;
|
|
8
|
+
reason?: string;
|
|
9
|
+
recipeId: string;
|
|
10
|
+
reviewedAt?: Timestamp;
|
|
11
|
+
reviewedBy?: string;
|
|
12
|
+
score?: number;
|
|
13
|
+
status: SubmissionStatus;
|
|
14
|
+
suggestions?: Suggestion[];
|
|
15
|
+
userId: string;
|
|
16
16
|
}
|