nextjs-cms-kit 0.5.90 → 0.5.91

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 +1 @@
1
- {"version":3,"file":"fix-master-admin.d.ts","sourceRoot":"","sources":["../../src/lib/fix-master-admin.ts"],"names":[],"mappings":"AAEA,wBAAsB,wBAAwB,kBAoD7C"}
1
+ {"version":3,"file":"fix-master-admin.d.ts","sourceRoot":"","sources":["../../src/lib/fix-master-admin.ts"],"names":[],"mappings":"AAEA,wBAAsB,wBAAwB,kBA2D7C"}
@@ -26,7 +26,7 @@ export async function fixMasterAdminPrivileges() {
26
26
  });
27
27
  });
28
28
  /**
29
- * Add the admins section to the privileges
29
+ * Add the admins and logs sections to the privileges
30
30
  */
31
31
  rows.push({
32
32
  adminId: '1',
@@ -34,6 +34,12 @@ export async function fixMasterAdminPrivileges() {
34
34
  operations: 'CUD',
35
35
  publisher: '1',
36
36
  });
37
+ rows.push({
38
+ adminId: '1',
39
+ sectionName: 'log',
40
+ operations: 'CUD',
41
+ publisher: '1',
42
+ });
37
43
  await db
38
44
  .insert(AdminPrivilegesTable)
39
45
  .values(rows)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nextjs-cms-kit",
3
3
  "private": false,
4
- "version": "0.5.90",
4
+ "version": "0.5.91",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "nextjs-cms-kit": "./dist/index.js"
@@ -33,7 +33,7 @@
33
33
  "gradient-string": "^3.0.0",
34
34
  "mysql2": "^3.12.0",
35
35
  "ora": "9.0.0",
36
- "nextjs-cms": "0.5.90"
36
+ "nextjs-cms": "0.5.91"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/bcrypt": "^6.0.0",
@@ -43,8 +43,8 @@
43
43
  "tsx": "^4.20.6",
44
44
  "typescript": "^5.9.2",
45
45
  "@lzcms/prettier-config": "0.1.0",
46
- "@lzcms/tsconfig": "0.1.0",
47
- "@lzcms/eslint-config": "0.3.0"
46
+ "@lzcms/eslint-config": "0.3.0",
47
+ "@lzcms/tsconfig": "0.1.0"
48
48
  },
49
49
  "prettier": "@lzcms/prettier-config",
50
50
  "scripts": {