@mamindom/common 1.0.110 → 1.0.111

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.
@@ -26,7 +26,7 @@ export declare const GRPC_CLIENTS: {
26
26
  };
27
27
  readonly CATALOG_PACKAGE: {
28
28
  readonly package: "catalog.v1";
29
- readonly protoPath: readonly [string, string, string, string, string, string, string, string, string, string, string, string, string];
29
+ readonly protoPath: readonly [string, string, string, string, string, string, string, string, string, string, string, string, string, string];
30
30
  readonly env: "CATALOG_GRPC_URL";
31
31
  };
32
32
  readonly MEDIA_PACKAGE: {
@@ -42,6 +42,7 @@ exports.GRPC_CLIENTS = {
42
42
  contracts_1.PROTO_PATHS.BUNDLE,
43
43
  contracts_1.PROTO_PATHS.FILTER,
44
44
  contracts_1.PROTO_PATHS.SEARCH,
45
+ contracts_1.PROTO_PATHS.SEO_FILTER,
45
46
  contracts_1.PROTO_PATHS.PICKUP,
46
47
  contracts_1.PROTO_PATHS.PRODUCT_REVIEW
47
48
  ],
@@ -102,6 +102,17 @@ exports.PERMISSION_GROUPS = [
102
102
  }
103
103
  ]
104
104
  },
105
+ {
106
+ key: 'seo',
107
+ label: 'SEO',
108
+ permissions: [
109
+ {
110
+ key: 'seo.manage',
111
+ groupKey: 'seo',
112
+ label: 'Керування SEO-фільтрами та metadata'
113
+ }
114
+ ]
115
+ },
105
116
  {
106
117
  key: 'system',
107
118
  label: 'Система',
@@ -180,7 +191,8 @@ exports.SYSTEM_ROLE_DEFAULTS = {
180
191
  'seo.meta',
181
192
  'seo.redirects',
182
193
  'seo.sitemap',
183
- 'seo.robots'
194
+ 'seo.robots',
195
+ 'seo.manage'
184
196
  ]
185
197
  },
186
198
  user: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mamindom/common",
3
- "version": "1.0.110",
3
+ "version": "1.0.111",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "typescript": "^5.9.3"
22
22
  },
23
23
  "dependencies": {
24
- "@mamindom/contracts": "^1.0.141",
24
+ "@mamindom/contracts": "^1.0.142",
25
25
  "@nestjs/common": "^11.1.16",
26
26
  "@nestjs/config": "^4.0.3",
27
27
  "@nestjs/microservices": "^11.1.16"