create-geekron-website 0.1.7 → 0.1.8

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.
File without changes
@@ -0,0 +1,28 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "abouts",
4
+ "info": {
5
+ "singularName": "about",
6
+ "pluralName": "abouts",
7
+ "displayName": "About"
8
+ },
9
+ "options": {
10
+ "draftAndPublish": true
11
+ },
12
+ "pluginOptions": {
13
+ "i18n": {
14
+ "localized": true
15
+ }
16
+ },
17
+ "attributes": {
18
+ "title": {
19
+ "type": "string",
20
+ "pluginOptions": {
21
+ "i18n": {
22
+ "localized": true
23
+ }
24
+ },
25
+ "required": true
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * about controller
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreController('api::about.about');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * about router
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreRouter('api::about.about');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * about service
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreService('api::about.about');
@@ -0,0 +1,28 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "homes",
4
+ "info": {
5
+ "singularName": "home",
6
+ "pluralName": "homes",
7
+ "displayName": "Home"
8
+ },
9
+ "options": {
10
+ "draftAndPublish": true
11
+ },
12
+ "pluginOptions": {
13
+ "i18n": {
14
+ "localized": true
15
+ }
16
+ },
17
+ "attributes": {
18
+ "title": {
19
+ "type": "string",
20
+ "pluginOptions": {
21
+ "i18n": {
22
+ "localized": true
23
+ }
24
+ },
25
+ "required": true
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * home controller
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreController('api::home.home');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * home router
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreRouter('api::home.home');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * home service
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreService('api::home.home');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-geekron-website",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "CLI tool to create Geekron websites",
5
5
  "author": {
6
6
  "name": "Geekron",
File without changes
@@ -0,0 +1,28 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "abouts",
4
+ "info": {
5
+ "singularName": "about",
6
+ "pluralName": "abouts",
7
+ "displayName": "About"
8
+ },
9
+ "options": {
10
+ "draftAndPublish": true
11
+ },
12
+ "pluginOptions": {
13
+ "i18n": {
14
+ "localized": true
15
+ }
16
+ },
17
+ "attributes": {
18
+ "title": {
19
+ "type": "string",
20
+ "pluginOptions": {
21
+ "i18n": {
22
+ "localized": true
23
+ }
24
+ },
25
+ "required": true
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * about controller
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreController('api::about.about');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * about router
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreRouter('api::about.about');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * about service
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreService('api::about.about');
@@ -0,0 +1,28 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "homes",
4
+ "info": {
5
+ "singularName": "home",
6
+ "pluralName": "homes",
7
+ "displayName": "Home"
8
+ },
9
+ "options": {
10
+ "draftAndPublish": true
11
+ },
12
+ "pluginOptions": {
13
+ "i18n": {
14
+ "localized": true
15
+ }
16
+ },
17
+ "attributes": {
18
+ "title": {
19
+ "type": "string",
20
+ "pluginOptions": {
21
+ "i18n": {
22
+ "localized": true
23
+ }
24
+ },
25
+ "required": true
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * home controller
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreController('api::home.home');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * home router
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreRouter('api::home.home');
@@ -0,0 +1,7 @@
1
+ /**
2
+ * home service
3
+ */
4
+
5
+ import { factories } from '@strapi/strapi';
6
+
7
+ export default factories.createCoreService('api::home.home');