@aeriajs/core 0.0.223 → 0.0.225
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/collection/preload.d.ts +10 -0
- package/dist/presets/add.d.ts +11 -0
- package/dist/presets/add.js +14 -0
- package/dist/presets/add.mjs +12 -0
- package/dist/presets/index.d.ts +1 -0
- package/dist/presets/index.js +1 -0
- package/dist/presets/index.mjs +1 -0
- package/package.json +3 -3
|
@@ -6,6 +6,16 @@ export type PreloadOptions = {
|
|
|
6
6
|
timestamps?: boolean;
|
|
7
7
|
};
|
|
8
8
|
export declare const applyPreset: (entry: Partial<Description> | Description["properties"], presetName: keyof typeof presets, parentName?: string) => (Record<string, Property> | Partial<Description>) & ({
|
|
9
|
+
readonly actions: {
|
|
10
|
+
readonly spawnAdd: {
|
|
11
|
+
readonly label: "action.add";
|
|
12
|
+
readonly event: "spawnAdd";
|
|
13
|
+
readonly icon: "plus";
|
|
14
|
+
readonly button: true;
|
|
15
|
+
readonly translate: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
9
19
|
readonly actions: {
|
|
10
20
|
readonly removeAll: {
|
|
11
21
|
readonly label: "action.removeAll";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.add = void 0;
|
|
4
|
+
exports.add = {
|
|
5
|
+
actions: {
|
|
6
|
+
spawnAdd: {
|
|
7
|
+
label: 'action.add',
|
|
8
|
+
event: 'spawnAdd',
|
|
9
|
+
icon: 'plus',
|
|
10
|
+
button: true,
|
|
11
|
+
translate: true,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
package/dist/presets/index.d.ts
CHANGED
package/dist/presets/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./add.js"), exports);
|
|
17
18
|
__exportStar(require("./crud.js"), exports);
|
|
18
19
|
__exportStar(require("./removeAll.js"), exports);
|
|
19
20
|
__exportStar(require("./duplicate.js"), exports);
|
package/dist/presets/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.225",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"aeriaMain": "tests/fixtures/aeriaMain.js",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"mongodb-memory-server": "^9.2.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aeriajs/builtins": "^0.0.
|
|
45
|
+
"@aeriajs/builtins": "^0.0.225",
|
|
46
46
|
"@aeriajs/common": "^0.0.129",
|
|
47
47
|
"@aeriajs/entrypoint": "^0.0.132",
|
|
48
48
|
"@aeriajs/http": "^0.0.156",
|
|
49
|
-
"@aeriajs/security": "^0.0.
|
|
49
|
+
"@aeriajs/security": "^0.0.225",
|
|
50
50
|
"@aeriajs/types": "^0.0.111",
|
|
51
51
|
"@aeriajs/validation": "^0.0.144"
|
|
52
52
|
},
|