返回 CodeWhale
presets.json
1 {
2 "version": 1,
3 "default": "a",
4 "mode_selection_enabled": true,
5 "presets": [
6 {
7 "id": "a",
8 "trust": "user",
9 "is_default": true,
10 "name": "Preset Alpha",
11 "description": "First caller only",
12 "order": 1,
13 "entry": {
14 "path": "native/presets/a.mjs",
15 "sha256": "a829785244f32a58718ea6ae39adad8d361afbfb685149f63509ae40ce1b47fa"
16 }
17 },
18 {
19 "id": "b",
20 "trust": "user",
21 "is_default": false,
22 "name": "Preset Beta",
23 "description": "Second caller only",
24 "order": 2,
25 "entry": {
26 "path": "native/presets/b.mjs",
27 "sha256": "3d5fa7f503184098d473990f1f0336059b67a46c2e9a482d4549c2e3281ba894"
28 }
29 }
30 ],
31 "inventory": {
32 "a": {
33 "path": "presets/a/agent.cordis.yml",
34 "rows": [
35 {
36 "entryId": null,
37 "moduleName": "../../common.mjs",
38 "enabled": true
39 }
40 ]
41 },
42 "b": {
43 "path": "presets/b/agent.cordis.yml",
44 "rows": [
45 {
46 "entryId": null,
47 "moduleName": "@demo/preset-row",
48 "enabled": true
49 }
50 ]
51 }
52 }
53 }
53 lines JSON