@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-06-04T14:37:14.403Z",
2
+ "generated": "2026-06-09T21:44:36.489Z",
3
3
  "totalClasses": 1081,
4
4
  "classes": [
5
5
  "!text-2xl",
@@ -71,32 +71,28 @@ export const PERMISSIONS_CONFIG_OVERRIDES: ThemePermissionsConfig = {
71
71
  ],
72
72
 
73
73
  // ------------------------------------------
74
- // PAGES ENTITY (uncommented by CLI if pages feature enabled)
74
+ // PAGES ENTITY (bundled with the starter theme by default)
75
75
  // ------------------------------------------
76
- // __PAGES_PERMISSIONS_START__
77
- // pages: [
78
- // { action: 'create', label: 'Create Pages', description: 'Can create new pages', roles: ['owner', 'admin'] },
79
- // { action: 'read', label: 'View Pages', description: 'Can view page details', roles: ['owner', 'admin', 'member', 'viewer'] },
80
- // { action: 'list', label: 'List Pages', description: 'Can see the pages list', roles: ['owner', 'admin', 'member', 'viewer'] },
81
- // { action: 'update', label: 'Edit Pages', description: 'Can modify page content', roles: ['owner', 'admin'] },
82
- // { action: 'delete', label: 'Delete Pages', description: 'Can delete pages', roles: ['owner', 'admin'], dangerous: true },
83
- // { action: 'publish', label: 'Publish Pages', description: 'Can publish pages to make them public', roles: ['owner', 'admin'] },
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 (uncommented by CLI if blog feature enabled)
86
+ // POSTS ENTITY (bundled with the starter theme by default)
89
87
  // ------------------------------------------
90
- // __POSTS_PERMISSIONS_START__
91
- // posts: [
92
- // { action: 'create', label: 'Create Posts', description: 'Can create new blog posts', roles: ['owner', 'admin', 'member'] },
93
- // { action: 'read', label: 'View Posts', description: 'Can view post details', roles: ['owner', 'admin', 'member', 'viewer'] },
94
- // { action: 'list', label: 'List Posts', description: 'Can see the posts list', roles: ['owner', 'admin', 'member', 'viewer'] },
95
- // { action: 'update', label: 'Edit Posts', description: 'Can modify post content', roles: ['owner', 'admin', 'member'] },
96
- // { action: 'delete', label: 'Delete Posts', description: 'Can delete posts', roles: ['owner', 'admin'], dangerous: true },
97
- // { action: 'publish', label: 'Publish Posts', description: 'Can publish posts to make them public', roles: ['owner', 'admin'] },
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.159",
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.159"
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 (uncommented by CLI if pages feature enabled)
74
+ // PAGES ENTITY (bundled with the starter theme by default)
75
75
  // ------------------------------------------
76
- // __PAGES_PERMISSIONS_START__
77
- // pages: [
78
- // { action: 'create', label: 'Create Pages', description: 'Can create new pages', roles: ['owner', 'admin'] },
79
- // { action: 'read', label: 'View Pages', description: 'Can view page details', roles: ['owner', 'admin', 'member', 'viewer'] },
80
- // { action: 'list', label: 'List Pages', description: 'Can see the pages list', roles: ['owner', 'admin', 'member', 'viewer'] },
81
- // { action: 'update', label: 'Edit Pages', description: 'Can modify page content', roles: ['owner', 'admin'] },
82
- // { action: 'delete', label: 'Delete Pages', description: 'Can delete pages', roles: ['owner', 'admin'], dangerous: true },
83
- // { action: 'publish', label: 'Publish Pages', description: 'Can publish pages to make them public', roles: ['owner', 'admin'] },
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 (uncommented by CLI if blog feature enabled)
86
+ // POSTS ENTITY (bundled with the starter theme by default)
89
87
  // ------------------------------------------
90
- // __POSTS_PERMISSIONS_START__
91
- // posts: [
92
- // { action: 'create', label: 'Create Posts', description: 'Can create new blog posts', roles: ['owner', 'admin', 'member'] },
93
- // { action: 'read', label: 'View Posts', description: 'Can view post details', roles: ['owner', 'admin', 'member', 'viewer'] },
94
- // { action: 'list', label: 'List Posts', description: 'Can see the posts list', roles: ['owner', 'admin', 'member', 'viewer'] },
95
- // { action: 'update', label: 'Edit Posts', description: 'Can modify post content', roles: ['owner', 'admin', 'member'] },
96
- // { action: 'delete', label: 'Delete Posts', description: 'Can delete posts', roles: ['owner', 'admin'], dangerous: true },
97
- // { action: 'publish', label: 'Publish Posts', description: 'Can publish posts to make them public', roles: ['owner', 'admin'] },
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