@nextsparkjs/core 0.1.0-beta.159 → 0.1.0-beta.160
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/styles/classes.json
CHANGED
|
@@ -71,32 +71,28 @@ export const PERMISSIONS_CONFIG_OVERRIDES: ThemePermissionsConfig = {
|
|
|
71
71
|
],
|
|
72
72
|
|
|
73
73
|
// ------------------------------------------
|
|
74
|
-
// PAGES ENTITY (
|
|
74
|
+
// PAGES ENTITY (bundled with the starter theme by default)
|
|
75
75
|
// ------------------------------------------
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// ],
|
|
85
|
-
// __PAGES_PERMISSIONS_END__
|
|
76
|
+
pages: [
|
|
77
|
+
{ action: 'create', label: 'Create Pages', description: 'Can create new pages', roles: ['owner', 'admin'] },
|
|
78
|
+
{ action: 'read', label: 'View Pages', description: 'Can view page details', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
79
|
+
{ action: 'list', label: 'List Pages', description: 'Can see the pages list', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
80
|
+
{ action: 'update', label: 'Edit Pages', description: 'Can modify page content', roles: ['owner', 'admin'] },
|
|
81
|
+
{ action: 'delete', label: 'Delete Pages', description: 'Can delete pages', roles: ['owner', 'admin'], dangerous: true },
|
|
82
|
+
{ action: 'publish', label: 'Publish Pages', description: 'Can publish pages to make them public', roles: ['owner', 'admin'] },
|
|
83
|
+
],
|
|
86
84
|
|
|
87
85
|
// ------------------------------------------
|
|
88
|
-
// POSTS ENTITY (
|
|
86
|
+
// POSTS ENTITY (bundled with the starter theme by default)
|
|
89
87
|
// ------------------------------------------
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
// ],
|
|
99
|
-
// __POSTS_PERMISSIONS_END__
|
|
88
|
+
posts: [
|
|
89
|
+
{ action: 'create', label: 'Create Posts', description: 'Can create new blog posts', roles: ['owner', 'admin', 'member'] },
|
|
90
|
+
{ action: 'read', label: 'View Posts', description: 'Can view post details', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
91
|
+
{ action: 'list', label: 'List Posts', description: 'Can see the posts list', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
92
|
+
{ action: 'update', label: 'Edit Posts', description: 'Can modify post content', roles: ['owner', 'admin', 'member'] },
|
|
93
|
+
{ action: 'delete', label: 'Delete Posts', description: 'Can delete posts', roles: ['owner', 'admin'], dangerous: true },
|
|
94
|
+
{ action: 'publish', label: 'Publish Posts', description: 'Can publish posts to make them public', roles: ['owner', 'admin'] },
|
|
95
|
+
],
|
|
100
96
|
},
|
|
101
97
|
}
|
|
102
98
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/core",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.160",
|
|
4
4
|
"description": "NextSpark - The complete SaaS framework for Next.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "NextSpark <hello@nextspark.dev>",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"tailwind-merge": "^3.3.1",
|
|
469
469
|
"uuid": "^13.0.0",
|
|
470
470
|
"zod": "^4.1.5",
|
|
471
|
-
"@nextsparkjs/testing": "0.1.0-beta.
|
|
471
|
+
"@nextsparkjs/testing": "0.1.0-beta.160"
|
|
472
472
|
},
|
|
473
473
|
"scripts": {
|
|
474
474
|
"postinstall": "node scripts/postinstall.mjs || true",
|
|
@@ -71,32 +71,28 @@ export const PERMISSIONS_CONFIG_OVERRIDES: ThemePermissionsConfig = {
|
|
|
71
71
|
],
|
|
72
72
|
|
|
73
73
|
// ------------------------------------------
|
|
74
|
-
// PAGES ENTITY (
|
|
74
|
+
// PAGES ENTITY (bundled with the starter theme by default)
|
|
75
75
|
// ------------------------------------------
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// ],
|
|
85
|
-
// __PAGES_PERMISSIONS_END__
|
|
76
|
+
pages: [
|
|
77
|
+
{ action: 'create', label: 'Create Pages', description: 'Can create new pages', roles: ['owner', 'admin'] },
|
|
78
|
+
{ action: 'read', label: 'View Pages', description: 'Can view page details', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
79
|
+
{ action: 'list', label: 'List Pages', description: 'Can see the pages list', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
80
|
+
{ action: 'update', label: 'Edit Pages', description: 'Can modify page content', roles: ['owner', 'admin'] },
|
|
81
|
+
{ action: 'delete', label: 'Delete Pages', description: 'Can delete pages', roles: ['owner', 'admin'], dangerous: true },
|
|
82
|
+
{ action: 'publish', label: 'Publish Pages', description: 'Can publish pages to make them public', roles: ['owner', 'admin'] },
|
|
83
|
+
],
|
|
86
84
|
|
|
87
85
|
// ------------------------------------------
|
|
88
|
-
// POSTS ENTITY (
|
|
86
|
+
// POSTS ENTITY (bundled with the starter theme by default)
|
|
89
87
|
// ------------------------------------------
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
// ],
|
|
99
|
-
// __POSTS_PERMISSIONS_END__
|
|
88
|
+
posts: [
|
|
89
|
+
{ action: 'create', label: 'Create Posts', description: 'Can create new blog posts', roles: ['owner', 'admin', 'member'] },
|
|
90
|
+
{ action: 'read', label: 'View Posts', description: 'Can view post details', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
91
|
+
{ action: 'list', label: 'List Posts', description: 'Can see the posts list', roles: ['owner', 'admin', 'member', 'viewer'] },
|
|
92
|
+
{ action: 'update', label: 'Edit Posts', description: 'Can modify post content', roles: ['owner', 'admin', 'member'] },
|
|
93
|
+
{ action: 'delete', label: 'Delete Posts', description: 'Can delete posts', roles: ['owner', 'admin'], dangerous: true },
|
|
94
|
+
{ action: 'publish', label: 'Publish Posts', description: 'Can publish posts to make them public', roles: ['owner', 'admin'] },
|
|
95
|
+
],
|
|
100
96
|
},
|
|
101
97
|
}
|
|
102
98
|
|