@aeriajs/builtins 0.0.169 → 0.0.171
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Context, SchemaWithId } from '@aeriajs/types';
|
|
1
|
+
import type { Context, SchemaWithId, PackReferences } from '@aeriajs/types';
|
|
2
2
|
import type { description } from './description.js';
|
|
3
3
|
import { HTTPStatus, ACError } from '@aeriajs/types';
|
|
4
4
|
export declare enum CreateAccountError {
|
|
5
5
|
SignupDisallowed = "SIGNUP_DISALLOWED"
|
|
6
6
|
}
|
|
7
|
-
export declare const createAccount: (payload: Partial<SchemaWithId<typeof description
|
|
7
|
+
export declare const createAccount: (payload: Partial<PackReferences<SchemaWithId<typeof description>>> & Record<string, unknown>, context: Context<typeof description>) => Promise<import("@aeriajs/types").Result.Error<{
|
|
8
8
|
readonly code: CreateAccountError;
|
|
9
9
|
} & {
|
|
10
10
|
httpStatus: HTTPStatus.Forbidden;
|
|
@@ -315,7 +315,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
315
315
|
readonly userId: any;
|
|
316
316
|
};
|
|
317
317
|
} | undefined>;
|
|
318
|
-
createAccount: (payload: Partial<import("@aeriajs/types").SchemaWithId<typeof description
|
|
318
|
+
createAccount: (payload: Partial<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<typeof description>>> & Record<string, unknown>, context: import("@aeriajs/types").Context<typeof description>) => Promise<import("@aeriajs/types").Result.Error<{
|
|
319
319
|
readonly code: import("./createAccount.js").CreateAccountError;
|
|
320
320
|
} & {
|
|
321
321
|
httpStatus: import("@aeriajs/types").HTTPStatus.Forbidden;
|
package/dist/index.d.ts
CHANGED
|
@@ -736,7 +736,7 @@ export declare const collections: {
|
|
|
736
736
|
readonly userId: any;
|
|
737
737
|
};
|
|
738
738
|
} | undefined>;
|
|
739
|
-
createAccount: (payload: Partial<import("@aeriajs/types").SchemaWithId<typeof import("./collections/user/description.js").description
|
|
739
|
+
createAccount: (payload: Partial<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<typeof import("./collections/user/description.js").description>>> & Record<string, unknown>, context: import("@aeriajs/types").Context<typeof import("./collections/user/description.js").description>) => Promise<import("@aeriajs/types").Result.Error<{
|
|
740
740
|
readonly code: import("./collections/user/createAccount.js").CreateAccountError;
|
|
741
741
|
} & {
|
|
742
742
|
httpStatus: import("@aeriajs/types").HTTPStatus.Forbidden;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/builtins",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.171",
|
|
4
4
|
"description": "## Installation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"mongodb": "^6.5.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@aeriajs/core": "^0.0.
|
|
49
|
-
"@aeriajs/common": "^0.0.
|
|
50
|
-
"@aeriajs/entrypoint": "^0.0.
|
|
51
|
-
"@aeriajs/types": "^0.0.
|
|
52
|
-
"@aeriajs/validation": "^0.0.
|
|
48
|
+
"@aeriajs/core": "^0.0.171",
|
|
49
|
+
"@aeriajs/common": "^0.0.105",
|
|
50
|
+
"@aeriajs/entrypoint": "^0.0.107",
|
|
51
|
+
"@aeriajs/types": "^0.0.88",
|
|
52
|
+
"@aeriajs/validation": "^0.0.108"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"test": "echo skipping",
|