@aeriajs/builtins 0.0.249 → 0.0.251
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.
|
@@ -57,7 +57,9 @@ export declare const log: Omit<import("@aeriajs/types").Collection<never>, "func
|
|
|
57
57
|
};
|
|
58
58
|
functions: {
|
|
59
59
|
get: <TContext extends import("@aeriajs/types").Context>(payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<TContext["description"]>>, context: TContext, options?: import("@aeriajs/core").GetOptions) => Promise<import("@aeriajs/types").GetReturnType<import("@aeriajs/types").SchemaWithId<TContext["description"]>>>;
|
|
60
|
-
getAll: <
|
|
60
|
+
getAll: <TDescription extends import("@aeriajs/types").Description, TFunctions>(payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<TDescription>>, context: import("@aeriajs/types").Context<TDescription, undefined | (TFunctions & {
|
|
61
|
+
count?: (...args: unknown[]) => Promise<import("@aeriajs/types").CountReturnType>;
|
|
62
|
+
})>, options?: import("@aeriajs/core").GetAllOptions) => Promise<import("@aeriajs/types").GetAllReturnType<import("@aeriajs/types").SchemaWithId<TDescription>>>;
|
|
61
63
|
insert: <TContext extends import("@aeriajs/types").Context>(payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<TContext["description"]>>, context: TContext, options?: import("@aeriajs/core").InsertOptions) => Promise<import("@aeriajs/types").InsertReturnType<import("@aeriajs/types").SchemaWithId<TContext["description"]>>>;
|
|
62
64
|
};
|
|
63
65
|
contracts: {
|
|
@@ -214,7 +214,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
214
214
|
};
|
|
215
215
|
functions: {
|
|
216
216
|
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>, context: Omit<Context, "token">) => Promise<import("@aeriajs/types").GetReturnType<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>>;
|
|
217
|
-
readonly getAll: (payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description
|
|
217
|
+
readonly getAll: (payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>, context: Omit<Context, "token">) => Promise<import("@aeriajs/types").GetAllReturnType<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>>;
|
|
218
218
|
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>, context: Omit<Context, "token">) => Promise<{
|
|
219
219
|
readonly _tag: "Result";
|
|
220
220
|
readonly error: undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -380,7 +380,9 @@ export declare const collections: {
|
|
|
380
380
|
};
|
|
381
381
|
functions: {
|
|
382
382
|
get: <TContext extends import("@aeriajs/types").Context>(payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<TContext["description"]>>, context: TContext, options?: import("@aeriajs/core").GetOptions) => Promise<import("@aeriajs/types").GetReturnType<import("@aeriajs/types").SchemaWithId<TContext["description"]>>>;
|
|
383
|
-
getAll: <
|
|
383
|
+
getAll: <TDescription extends import("@aeriajs/types").Description, TFunctions>(payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<TDescription>>, context: import("@aeriajs/types").Context<TDescription, undefined | (TFunctions & {
|
|
384
|
+
count?: (...args: unknown[]) => Promise<import("@aeriajs/types").CountReturnType>;
|
|
385
|
+
})>, options?: import("@aeriajs/core").GetAllOptions) => Promise<import("@aeriajs/types").GetAllReturnType<import("@aeriajs/types").SchemaWithId<TDescription>>>;
|
|
384
386
|
insert: <TContext extends import("@aeriajs/types").Context>(payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<TContext["description"]>>, context: TContext, options?: import("@aeriajs/core").InsertOptions) => Promise<import("@aeriajs/types").InsertReturnType<import("@aeriajs/types").SchemaWithId<TContext["description"]>>>;
|
|
385
387
|
};
|
|
386
388
|
contracts: {
|
|
@@ -680,7 +682,7 @@ export declare const collections: {
|
|
|
680
682
|
};
|
|
681
683
|
functions: {
|
|
682
684
|
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>, context: Omit<import("@aeriajs/types").Context, "token">) => Promise<import("@aeriajs/types").GetReturnType<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>>;
|
|
683
|
-
readonly getAll: (payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description
|
|
685
|
+
readonly getAll: (payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>, context: Omit<import("@aeriajs/types").Context, "token">) => Promise<import("@aeriajs/types").GetAllReturnType<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>>;
|
|
684
686
|
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<import("@aeriajs/types").Description>>, context: Omit<import("@aeriajs/types").Context, "token">) => Promise<{
|
|
685
687
|
readonly _tag: "Result";
|
|
686
688
|
readonly error: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/builtins",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.251",
|
|
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.140",
|
|
48
|
+
"@aeriajs/core": "^0.0.251",
|
|
49
|
+
"@aeriajs/entrypoint": "^0.0.144",
|
|
50
|
+
"@aeriajs/types": "^0.0.122",
|
|
51
|
+
"@aeriajs/validation": "^0.0.156"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"test": "echo skipping",
|