slicejs-web-framework 2.3.2 → 2.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slicejs-web-framework",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -0,0 +1,105 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://slicejs.local/sliceConfig.schema.json",
4
+ "title": "Slice.js Config",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "properties": {
8
+ "debugger": {
9
+ "type": "object",
10
+ "additionalProperties": true,
11
+ "properties": {
12
+ "enabled": { "type": "boolean" },
13
+ "click": { "type": "string", "enum": ["right", "left"] }
14
+ }
15
+ },
16
+ "stylesManager": {
17
+ "type": "object",
18
+ "additionalProperties": true,
19
+ "properties": {
20
+ "requestedStyles": { "type": "array", "items": { "type": "string" } }
21
+ }
22
+ },
23
+ "themeManager": {
24
+ "type": "object",
25
+ "additionalProperties": true,
26
+ "properties": {
27
+ "enabled": { "type": "boolean" },
28
+ "defaultTheme": { "type": "string" },
29
+ "saveThemeLocally": { "type": "boolean" },
30
+ "useBrowserTheme": { "type": "boolean" }
31
+ }
32
+ },
33
+ "logger": {
34
+ "type": "object",
35
+ "additionalProperties": true,
36
+ "properties": {
37
+ "enabled": { "type": "boolean" },
38
+ "showLogs": { "type": "object", "additionalProperties": true }
39
+ }
40
+ },
41
+ "events": {
42
+ "type": "object",
43
+ "additionalProperties": true,
44
+ "properties": {
45
+ "enabled": { "type": "boolean" },
46
+ "ui": {
47
+ "type": "object",
48
+ "additionalProperties": true,
49
+ "properties": {
50
+ "enabled": { "type": "boolean" },
51
+ "shortcut": { "type": "string" }
52
+ }
53
+ }
54
+ }
55
+ },
56
+ "context": {
57
+ "type": "object",
58
+ "additionalProperties": true,
59
+ "properties": {
60
+ "enabled": { "type": "boolean" },
61
+ "ui": {
62
+ "type": "object",
63
+ "additionalProperties": true,
64
+ "properties": {
65
+ "enabled": { "type": "boolean" },
66
+ "shortcut": { "type": "string" }
67
+ }
68
+ }
69
+ }
70
+ },
71
+ "paths": {
72
+ "type": "object",
73
+ "additionalProperties": true,
74
+ "properties": {
75
+ "components": { "type": "object", "additionalProperties": true },
76
+ "themes": { "type": "string" },
77
+ "styles": { "type": "string" },
78
+ "routesFile": { "type": "string" }
79
+ },
80
+ "required": ["components", "themes", "styles", "routesFile"]
81
+ },
82
+ "router": {
83
+ "type": "object",
84
+ "additionalProperties": true,
85
+ "properties": {
86
+ "defaultRoute": { "type": "string" }
87
+ }
88
+ },
89
+ "loading": {
90
+ "type": "object",
91
+ "additionalProperties": true,
92
+ "properties": {
93
+ "enabled": { "type": "boolean" }
94
+ }
95
+ },
96
+ "server": {
97
+ "type": "object",
98
+ "additionalProperties": true,
99
+ "properties": {
100
+ "port": { "type": "number" },
101
+ "host": { "type": "string" }
102
+ }
103
+ }
104
+ }
105
+ }