@aeriajs/builtins 0.0.253 → 0.0.255
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.
|
@@ -11,7 +11,7 @@ export declare const createAccount: (payload: Partial<PackReferences<SchemaWithI
|
|
|
11
11
|
readonly code: "MALFORMED_INPUT";
|
|
12
12
|
readonly details: import("@aeriajs/types").PropertyValidationError | import("@aeriajs/types").ValidationError;
|
|
13
13
|
} & {
|
|
14
|
-
httpStatus:
|
|
14
|
+
httpStatus: 422;
|
|
15
15
|
}> | import("@aeriajs/types").Result.Error<{
|
|
16
16
|
readonly code: "OWNERSHIP_ERROR";
|
|
17
17
|
} & {
|
|
@@ -34,7 +34,7 @@ const createAccount = async (payload, context) => {
|
|
|
34
34
|
},
|
|
35
35
|
});
|
|
36
36
|
if (error) {
|
|
37
|
-
return context.error(types_1.HTTPStatus.
|
|
37
|
+
return context.error(types_1.HTTPStatus.UnprocessableContent, {
|
|
38
38
|
code: types_1.ACError.MalformedInput,
|
|
39
39
|
details: error,
|
|
40
40
|
});
|
|
@@ -667,7 +667,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
667
667
|
readonly code: "MALFORMED_INPUT";
|
|
668
668
|
readonly details: import("@aeriajs/types").PropertyValidationError | import("@aeriajs/types").ValidationError;
|
|
669
669
|
} & {
|
|
670
|
-
httpStatus:
|
|
670
|
+
httpStatus: 422;
|
|
671
671
|
}> | import("@aeriajs/types").Result.Error<{
|
|
672
672
|
readonly code: "OWNERSHIP_ERROR";
|
|
673
673
|
} & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1135,7 +1135,7 @@ export declare const collections: {
|
|
|
1135
1135
|
readonly code: "MALFORMED_INPUT";
|
|
1136
1136
|
readonly details: import("@aeriajs/types").PropertyValidationError | import("@aeriajs/types").ValidationError;
|
|
1137
1137
|
} & {
|
|
1138
|
-
httpStatus:
|
|
1138
|
+
httpStatus: 422;
|
|
1139
1139
|
}> | import("@aeriajs/types").Result.Error<{
|
|
1140
1140
|
readonly code: "OWNERSHIP_ERROR";
|
|
1141
1141
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/builtins",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.255",
|
|
4
4
|
"description": "## Installation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"mongodb": "^6.5.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@aeriajs/common": "^0.0.
|
|
48
|
-
"@aeriajs/core": "^0.0.
|
|
49
|
-
"@aeriajs/entrypoint": "^0.0.
|
|
50
|
-
"@aeriajs/types": "^0.0.
|
|
51
|
-
"@aeriajs/validation": "^0.0.
|
|
47
|
+
"@aeriajs/common": "^0.0.143",
|
|
48
|
+
"@aeriajs/core": "^0.0.255",
|
|
49
|
+
"@aeriajs/entrypoint": "^0.0.147",
|
|
50
|
+
"@aeriajs/types": "^0.0.125",
|
|
51
|
+
"@aeriajs/validation": "^0.0.159"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"test": "echo skipping",
|