@aeriajs/builtins 0.0.86 → 0.0.88
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/collections/file/index.d.ts +2 -2
- package/dist/collections/file/insert.d.ts +1 -1
- package/dist/collections/log/index.d.ts +2 -2
- package/dist/collections/user/description.js +0 -7
- package/dist/collections/user/description.mjs +0 -7
- package/dist/collections/user/index.d.ts +2 -2
- package/dist/collections/user/insert.d.ts +1 -1
- package/dist/index.d.ts +6 -6
- package/package.json +6 -6
|
@@ -245,7 +245,7 @@ export declare const file: Omit<import("@aeriajs/types").Collection<{
|
|
|
245
245
|
readonly ask: true;
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
248
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
249
249
|
readonly $id: "file";
|
|
250
250
|
readonly owned: "always";
|
|
251
251
|
readonly presets: readonly ["owned"];
|
|
@@ -711,7 +711,7 @@ export declare const file: Omit<import("@aeriajs/types").Collection<{
|
|
|
711
711
|
readonly ask: true;
|
|
712
712
|
};
|
|
713
713
|
};
|
|
714
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
714
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
715
715
|
readonly $id: "file";
|
|
716
716
|
readonly owned: "always";
|
|
717
717
|
readonly presets: readonly ["owned"];
|
|
@@ -4,7 +4,7 @@ export declare const insert: (payload: {
|
|
|
4
4
|
what: {
|
|
5
5
|
content: string;
|
|
6
6
|
} & Pick<PackReferences<SchemaWithId<typeof description>>, '_id' | 'name' | 'owner' | 'absolute_path'>;
|
|
7
|
-
}, context: Context<typeof description>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
7
|
+
}, context: Context<typeof description>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<SchemaWithId<{
|
|
8
8
|
readonly $id: "file";
|
|
9
9
|
readonly owned: "always";
|
|
10
10
|
readonly presets: readonly ["owned"];
|
|
@@ -29,7 +29,7 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
|
|
|
29
29
|
functions: {
|
|
30
30
|
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any> | null>;
|
|
31
31
|
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any>[]>;
|
|
32
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
32
|
+
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<any>>>;
|
|
33
33
|
};
|
|
34
34
|
exposedFunctions: {
|
|
35
35
|
readonly get: true;
|
|
@@ -94,7 +94,7 @@ export declare const log: Omit<import("@aeriajs/types").Collection<{
|
|
|
94
94
|
functions: {
|
|
95
95
|
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any> | null>;
|
|
96
96
|
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any>[]>;
|
|
97
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
97
|
+
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<any>>>;
|
|
98
98
|
};
|
|
99
99
|
contracts: {
|
|
100
100
|
readonly get?: import("@aeriajs/types").Contract | undefined;
|
|
@@ -79,13 +79,6 @@ exports.description = (0, core_1.defineDescription)({
|
|
|
79
79
|
type: 'boolean',
|
|
80
80
|
readOnly: true,
|
|
81
81
|
},
|
|
82
|
-
// resources_usage: {
|
|
83
|
-
// type: 'object',
|
|
84
|
-
// additionalProperties: {
|
|
85
|
-
// $ref: 'resourceUsage',
|
|
86
|
-
// inline: true,
|
|
87
|
-
// },
|
|
88
|
-
// },
|
|
89
82
|
updated_at: {
|
|
90
83
|
type: 'string',
|
|
91
84
|
format: 'date-time',
|
|
@@ -73,13 +73,6 @@ export const description = defineDescription({
|
|
|
73
73
|
type: "boolean",
|
|
74
74
|
readOnly: true
|
|
75
75
|
},
|
|
76
|
-
// resources_usage: {
|
|
77
|
-
// type: 'object',
|
|
78
|
-
// additionalProperties: {
|
|
79
|
-
// $ref: 'resourceUsage',
|
|
80
|
-
// inline: true,
|
|
81
|
-
// },
|
|
82
|
-
// },
|
|
83
76
|
updated_at: {
|
|
84
77
|
type: "string",
|
|
85
78
|
format: "date-time"
|
|
@@ -307,7 +307,7 @@ export declare const user: {
|
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
310
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
311
311
|
readonly $id: "user";
|
|
312
312
|
readonly required: readonly ["name", "roles", "email"];
|
|
313
313
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -1804,7 +1804,7 @@ export declare const user: {
|
|
|
1804
1804
|
};
|
|
1805
1805
|
};
|
|
1806
1806
|
};
|
|
1807
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
1807
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
1808
1808
|
readonly $id: "user";
|
|
1809
1809
|
readonly required: readonly ["name", "roles", "email"];
|
|
1810
1810
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -2,7 +2,7 @@ import type { Context, SchemaWithId, PackReferences } from '@aeriajs/types';
|
|
|
2
2
|
import type { description } from './description';
|
|
3
3
|
export declare const insert: (payload: {
|
|
4
4
|
what: Omit<PackReferences<SchemaWithId<typeof description>>, 'roles'>;
|
|
5
|
-
}, context: Context<typeof description>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
5
|
+
}, context: Context<typeof description>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<SchemaWithId<{
|
|
6
6
|
readonly $id: "user";
|
|
7
7
|
readonly required: readonly ["name", "roles", "email"];
|
|
8
8
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
package/dist/index.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ export declare const collections: {
|
|
|
163
163
|
readonly ask: true;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
166
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
167
167
|
readonly $id: "file";
|
|
168
168
|
readonly owned: "always";
|
|
169
169
|
readonly presets: readonly ["owned"];
|
|
@@ -629,7 +629,7 @@ export declare const collections: {
|
|
|
629
629
|
readonly ask: true;
|
|
630
630
|
};
|
|
631
631
|
};
|
|
632
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
632
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
633
633
|
readonly $id: "file";
|
|
634
634
|
readonly owned: "always";
|
|
635
635
|
readonly presets: readonly ["owned"];
|
|
@@ -1013,7 +1013,7 @@ export declare const collections: {
|
|
|
1013
1013
|
functions: {
|
|
1014
1014
|
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any> | null>;
|
|
1015
1015
|
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any>[]>;
|
|
1016
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
1016
|
+
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<any>>>;
|
|
1017
1017
|
};
|
|
1018
1018
|
exposedFunctions: {
|
|
1019
1019
|
readonly get: true;
|
|
@@ -1078,7 +1078,7 @@ export declare const collections: {
|
|
|
1078
1078
|
functions: {
|
|
1079
1079
|
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any> | null>;
|
|
1080
1080
|
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<any>[]>;
|
|
1081
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
1081
|
+
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<any>>, context: import("@aeriajs/types").StrictContext<any>, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<any>>>;
|
|
1082
1082
|
};
|
|
1083
1083
|
contracts: {
|
|
1084
1084
|
readonly get?: import("@aeriajs/types").Contract | undefined;
|
|
@@ -1504,7 +1504,7 @@ export declare const collections: {
|
|
|
1504
1504
|
};
|
|
1505
1505
|
};
|
|
1506
1506
|
};
|
|
1507
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
1507
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
1508
1508
|
readonly $id: "user";
|
|
1509
1509
|
readonly required: readonly ["name", "roles", "email"];
|
|
1510
1510
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -3001,7 +3001,7 @@ export declare const collections: {
|
|
|
3001
3001
|
};
|
|
3002
3002
|
};
|
|
3003
3003
|
};
|
|
3004
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").
|
|
3004
|
+
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACError | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
|
|
3005
3005
|
readonly $id: "user";
|
|
3006
3006
|
readonly required: readonly ["name", "roles", "email"];
|
|
3007
3007
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/builtins",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.88",
|
|
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.88",
|
|
49
|
+
"@aeriajs/common": "^0.0.54",
|
|
50
|
+
"@aeriajs/entrypoint": "^0.0.54",
|
|
51
|
+
"@aeriajs/types": "^0.0.51",
|
|
52
|
+
"@aeriajs/validation": "^0.0.57"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"test": "echo skipping",
|