@nextsparkjs/theme-crm 0.1.0-beta.49 → 0.1.0-beta.51
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.
|
@@ -53,6 +53,19 @@ export const DASHBOARD_CONFIG = {
|
|
|
53
53
|
devtoolsAccess: {
|
|
54
54
|
enabled: true,
|
|
55
55
|
},
|
|
56
|
+
/**
|
|
57
|
+
* Settings menu dropdown (gear icon)
|
|
58
|
+
*/
|
|
59
|
+
settingsMenu: {
|
|
60
|
+
enabled: true,
|
|
61
|
+
links: [
|
|
62
|
+
{
|
|
63
|
+
label: 'navigation.patterns',
|
|
64
|
+
href: '/dashboard/patterns',
|
|
65
|
+
icon: 'layers',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
56
69
|
userMenu: {
|
|
57
70
|
enabled: true,
|
|
58
71
|
showAvatar: true,
|
|
@@ -151,6 +151,17 @@ export const PERMISSIONS_CONFIG_OVERRIDES: ThemePermissionsConfig = {
|
|
|
151
151
|
{ action: 'update', label: 'Edit pipelines', description: 'Can modify pipeline stages', roles: ['owner'] },
|
|
152
152
|
{ action: 'delete', label: 'Delete pipelines', description: 'Can delete pipelines', roles: ['owner'], dangerous: true },
|
|
153
153
|
],
|
|
154
|
+
|
|
155
|
+
// ------------------------------------------
|
|
156
|
+
// PATTERNS
|
|
157
|
+
// ------------------------------------------
|
|
158
|
+
patterns: [
|
|
159
|
+
{ action: 'create', label: 'Create Patterns', description: 'Can create reusable patterns', roles: ['owner', 'admin'] },
|
|
160
|
+
{ action: 'read', label: 'View Patterns', description: 'Can view pattern details', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
161
|
+
{ action: 'list', label: 'List Patterns', description: 'Can see the patterns list', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
162
|
+
{ action: 'update', label: 'Edit Patterns', description: 'Can modify patterns', roles: ['owner', 'admin'] },
|
|
163
|
+
{ action: 'delete', label: 'Delete Patterns', description: 'Can delete patterns', roles: ['owner', 'admin'], dangerous: true },
|
|
164
|
+
],
|
|
154
165
|
},
|
|
155
166
|
|
|
156
167
|
// ==========================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/theme-crm",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.51",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./config/theme.config.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"react": "^19.0.0",
|
|
14
14
|
"react-dom": "^19.0.0",
|
|
15
15
|
"zod": "^4.0.0",
|
|
16
|
-
"@nextsparkjs/core": "0.1.0-beta.
|
|
17
|
-
"@nextsparkjs/testing": "0.1.0-beta.
|
|
16
|
+
"@nextsparkjs/core": "0.1.0-beta.51",
|
|
17
|
+
"@nextsparkjs/testing": "0.1.0-beta.51"
|
|
18
18
|
},
|
|
19
19
|
"nextspark": {
|
|
20
20
|
"type": "theme",
|