@aeriajs/builtins 0.0.289 → 0.0.291
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.
|
@@ -27,7 +27,7 @@ declare const Payload: Partial<{} & Omit<Readonly<import("@aeriajs/types").Filte
|
|
|
27
27
|
noSerialize: boolean;
|
|
28
28
|
router: boolean;
|
|
29
29
|
}, never>>;
|
|
30
|
-
export declare const describe: (contextOrPayload: RouteContext | typeof Payload) => Promise<
|
|
30
|
+
export declare const describe: (contextOrPayload: RouteContext | typeof Payload) => Promise<string | {
|
|
31
31
|
readonly _tag: "Error";
|
|
32
32
|
readonly error: {
|
|
33
33
|
readonly httpStatus: 422;
|
|
@@ -99,5 +99,5 @@ export const describe = async (contextOrPayload) => {
|
|
|
99
99
|
return Result.result(result);
|
|
100
100
|
}
|
|
101
101
|
contextOrPayload.response.setHeader('content-type', 'application/bson');
|
|
102
|
-
return
|
|
102
|
+
return serialize(result);
|
|
103
103
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/builtins",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.291",
|
|
5
5
|
"description": "## Installation",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"@aeriajs/entrypoint": "link:../entrypoint",
|
|
39
39
|
"@aeriajs/types": "link:../types",
|
|
40
40
|
"@aeriajs/validation": "link:../validation",
|
|
41
|
-
"mongodb": "^
|
|
41
|
+
"mongodb": "^7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@aeriajs/common": "^0.0.
|
|
45
|
-
"@aeriajs/core": "^0.0.
|
|
46
|
-
"@aeriajs/entrypoint": "^0.0.
|
|
47
|
-
"@aeriajs/types": "^0.0.
|
|
48
|
-
"@aeriajs/validation": "^0.0.
|
|
44
|
+
"@aeriajs/common": "^0.0.164",
|
|
45
|
+
"@aeriajs/core": "^0.0.291",
|
|
46
|
+
"@aeriajs/entrypoint": "^0.0.172",
|
|
47
|
+
"@aeriajs/types": "^0.0.139",
|
|
48
|
+
"@aeriajs/validation": "^0.0.188"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "echo skipping",
|
|
52
52
|
"lint": "eslint .",
|
|
53
53
|
"lint:fix": "eslint . --fix",
|
|
54
54
|
"build": "tsc",
|
|
55
|
-
"
|
|
55
|
+
"compile-builtins-icons": "pnpm -w compile-builtins-icons"
|
|
56
56
|
}
|
|
57
57
|
}
|