@webbio/strapi-plugin-page-builder 0.12.0-platform → 0.12.1-platform

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webbio/strapi-plugin-page-builder",
3
- "version": "0.12.0-platform",
3
+ "version": "0.12.1-platform",
4
4
  "description": "This is the description of the plugin.",
5
5
  "scripts": {
6
6
  "develop": "tsc -p tsconfig.server.json -w",
@@ -5,6 +5,7 @@ import template from './template';
5
5
  import platform from './platform';
6
6
  import sitemap from './sitemap';
7
7
  import privateContent from './private-content';
8
+ import userCategory from './user-category';
8
9
 
9
10
  export default {
10
11
  page,
@@ -13,5 +14,6 @@ export default {
13
14
  template,
14
15
  platform,
15
16
  sitemap,
16
- 'private-content': privateContent
17
+ 'private-content': privateContent,
18
+ 'user-category': userCategory
17
19
  };
@@ -0,0 +1,3 @@
1
+ import { factories } from '@strapi/strapi';
2
+
3
+ export default factories.createCoreController('plugin::page-builder.user-category');
@@ -1,3 +1,5 @@
1
+ import userCategory from './user-category';
2
+
1
3
  const routes = {
2
4
  'private-content': {
3
5
  type: 'content-api',
@@ -106,7 +108,8 @@ const routes = {
106
108
  handler: 'sitemap.generate'
107
109
  }
108
110
  ]
109
- }
111
+ },
112
+ 'user-category': userCategory
110
113
  };
111
114
 
112
115
  export default routes;
@@ -0,0 +1,3 @@
1
+ import { factories } from '@strapi/strapi';
2
+
3
+ export default factories.createCoreRouter('plugin::page-builder.user-category');
@@ -7,6 +7,7 @@ import platform from './platform';
7
7
  import sitemap from './sitemap';
8
8
  import email from './email';
9
9
  import privateContent from './private-content';
10
+ import userCategory from './user-category';
10
11
 
11
12
  export default {
12
13
  page,
@@ -17,5 +18,6 @@ export default {
17
18
  platform,
18
19
  sitemap,
19
20
  email,
20
- 'private-content': privateContent
21
+ 'private-content': privateContent,
22
+ 'user-category': userCategory
21
23
  };
@@ -0,0 +1,3 @@
1
+ import { factories } from '@strapi/strapi';
2
+
3
+ export default factories.createCoreService('plugin::page-builder.user-category');