@dani-builder/strapi-plugin-builder 0.1.0

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.
Files changed (87) hide show
  1. package/bin/sync.js +320 -0
  2. package/dist/server/src/bootstrap.d.ts +6 -0
  3. package/dist/server/src/bootstrap.d.ts.map +1 -0
  4. package/dist/server/src/bootstrap.js +8 -0
  5. package/dist/server/src/bootstrap.js.map +1 -0
  6. package/dist/server/src/components/blocks/bento-grid.json +29 -0
  7. package/dist/server/src/components/blocks/content.json +23 -0
  8. package/dist/server/src/components/blocks/cta.json +37 -0
  9. package/dist/server/src/components/blocks/faq.json +20 -0
  10. package/dist/server/src/components/blocks/features.json +32 -0
  11. package/dist/server/src/components/blocks/hero.json +42 -0
  12. package/dist/server/src/components/blocks/highlights.json +32 -0
  13. package/dist/server/src/components/blocks/inquiry-form.json +18 -0
  14. package/dist/server/src/components/blocks/logo-cloud.json +27 -0
  15. package/dist/server/src/components/blocks/pricing.json +27 -0
  16. package/dist/server/src/components/blocks/slider.json +27 -0
  17. package/dist/server/src/components/blocks/stats.json +32 -0
  18. package/dist/server/src/components/blocks/team.json +27 -0
  19. package/dist/server/src/components/blocks/testimonials.json +32 -0
  20. package/dist/server/src/components/elements/footer.json +36 -0
  21. package/dist/server/src/components/elements/section.json +41 -0
  22. package/dist/server/src/components/shared/analytics-setting.json +26 -0
  23. package/dist/server/src/components/shared/bento-item.json +42 -0
  24. package/dist/server/src/components/shared/brand-colors.json +17 -0
  25. package/dist/server/src/components/shared/chatbot-setting.json +25 -0
  26. package/dist/server/src/components/shared/feature-item.json +28 -0
  27. package/dist/server/src/components/shared/highlight-item.json +27 -0
  28. package/dist/server/src/components/shared/link.json +27 -0
  29. package/dist/server/src/components/shared/logo-item.json +24 -0
  30. package/dist/server/src/components/shared/navigation-group.json +21 -0
  31. package/dist/server/src/components/shared/pricing-tier.json +36 -0
  32. package/dist/server/src/components/shared/seo.json +39 -0
  33. package/dist/server/src/components/shared/site-verification.json +22 -0
  34. package/dist/server/src/components/shared/slider-item.json +27 -0
  35. package/dist/server/src/components/shared/stat-item.json +20 -0
  36. package/dist/server/src/components/shared/team-member.json +30 -0
  37. package/dist/server/src/components/shared/testimonial-item.json +35 -0
  38. package/dist/server/src/controllers/global.d.ts +12 -0
  39. package/dist/server/src/controllers/global.d.ts.map +1 -0
  40. package/dist/server/src/controllers/global.js +22 -0
  41. package/dist/server/src/controllers/global.js.map +1 -0
  42. package/dist/server/src/controllers/index.d.ts +3 -0
  43. package/dist/server/src/controllers/index.d.ts.map +1 -0
  44. package/dist/server/src/controllers/index.js +13 -0
  45. package/dist/server/src/controllers/index.js.map +1 -0
  46. package/dist/server/src/controllers/page.d.ts +17 -0
  47. package/dist/server/src/controllers/page.d.ts.map +1 -0
  48. package/dist/server/src/controllers/page.js +37 -0
  49. package/dist/server/src/controllers/page.js.map +1 -0
  50. package/dist/server/src/index.d.ts +3 -0
  51. package/dist/server/src/index.d.ts.map +1 -0
  52. package/dist/server/src/index.js +19 -0
  53. package/dist/server/src/index.js.map +1 -0
  54. package/dist/server/src/register.d.ts +11 -0
  55. package/dist/server/src/register.d.ts.map +1 -0
  56. package/dist/server/src/register.js +48 -0
  57. package/dist/server/src/register.js.map +1 -0
  58. package/dist/server/src/routes/content-api.d.ts +14 -0
  59. package/dist/server/src/routes/content-api.d.ts.map +1 -0
  60. package/dist/server/src/routes/content-api.js +35 -0
  61. package/dist/server/src/routes/content-api.js.map +1 -0
  62. package/dist/server/src/routes/index.d.ts +16 -0
  63. package/dist/server/src/routes/index.d.ts.map +1 -0
  64. package/dist/server/src/routes/index.js +10 -0
  65. package/dist/server/src/routes/index.js.map +1 -0
  66. package/dist/server/src/services/index.d.ts +3 -0
  67. package/dist/server/src/services/index.d.ts.map +1 -0
  68. package/dist/server/src/services/index.js +11 -0
  69. package/dist/server/src/services/index.js.map +1 -0
  70. package/dist/server/src/services/populate.d.ts +75 -0
  71. package/dist/server/src/services/populate.d.ts.map +1 -0
  72. package/dist/server/src/services/populate.js +252 -0
  73. package/dist/server/src/services/populate.js.map +1 -0
  74. package/package.json +55 -0
  75. package/schemas/api/article/content-types/article/schema.json +102 -0
  76. package/schemas/api/author/content-types/author/schema.json +44 -0
  77. package/schemas/api/category/content-types/category/schema.json +43 -0
  78. package/schemas/api/faq/content-types/faq/schema.json +36 -0
  79. package/schemas/api/global/content-types/global/schema.json +64 -0
  80. package/schemas/api/inquiry/content-types/inquiry/schema.json +31 -0
  81. package/schemas/api/navigation/content-types/navigation/schema.json +52 -0
  82. package/schemas/api/page/content-types/page/schema.json +62 -0
  83. package/schemas/api/series/content-types/series/schema.json +44 -0
  84. package/schemas/api/site-setting/content-types/site-setting/schema.json +35 -0
  85. package/schemas/api/tag/content-types/tag/schema.json +44 -0
  86. package/schemas/manifest.json +16 -0
  87. package/strapi-server.js +3 -0
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@dani-builder/strapi-plugin-builder",
3
+ "version": "0.1.0",
4
+ "description": "Daniworks Builder — reusable CMS components, content types, and smart API for Strapi v5",
5
+ "license": "MIT",
6
+ "strapi": {
7
+ "name": "builder",
8
+ "displayName": "Daniworks Builder",
9
+ "description": "Reusable CMS building blocks with smart API endpoints",
10
+ "kind": "plugin"
11
+ },
12
+ "exports": {
13
+ "./package.json": "./package.json",
14
+ "./strapi-server": {
15
+ "types": "./dist/server/src/index.d.ts",
16
+ "source": "./server/src/index.ts",
17
+ "require": "./dist/server/src/index.js",
18
+ "default": "./dist/server/src/index.js"
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "schemas",
24
+ "bin",
25
+ "strapi-server.js"
26
+ ],
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/hojinzs/daniworks-builder-v2.git",
33
+ "directory": "packages/strapi-plugin-builder"
34
+ },
35
+ "bin": {
36
+ "daniworks-builder": "./bin/sync.js"
37
+ },
38
+ "scripts": {
39
+ "build": "tsc && node -e \"const fs=require('fs'),p=require('path'),src='server/src/components',dst='dist/server/src/components';(function cp(s,d){fs.mkdirSync(d,{recursive:true});fs.readdirSync(s).forEach(f=>{const sp=p.join(s,f),dp=p.join(d,f);fs.statSync(sp).isDirectory()?cp(sp,dp):f.endsWith('.json')&&fs.copyFileSync(sp,dp);})})(src,dst)\"",
40
+ "watch": "strapi-plugin watch",
41
+ "verify": "strapi-plugin verify"
42
+ },
43
+ "dependencies": {},
44
+ "devDependencies": {
45
+ "@strapi/sdk-plugin": "^5.0.0",
46
+ "@strapi/strapi": "^5.0.0",
47
+ "@types/node": "^20",
48
+ "typescript": "^5.0.0"
49
+ },
50
+ "peerDependencies": {
51
+ "@strapi/strapi": "^5.0.0",
52
+ "@strapi/plugin-color-picker": "^5.0.0",
53
+ "@d3levvv/strapi-react-icons-plugin": "^1.0.0"
54
+ }
55
+ }
@@ -0,0 +1,102 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "articles",
4
+ "info": {
5
+ "singularName": "article",
6
+ "pluralName": "articles",
7
+ "displayName": "Article",
8
+ "description": "Blog/news post with rich text body and relations"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": true
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "title": {
18
+ "type": "string",
19
+ "required": true,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "slug": {
23
+ "type": "uid",
24
+ "targetField": "title",
25
+ "required": true,
26
+ "pluginOptions": { "i18n": { "localized": true } }
27
+ },
28
+ "body": {
29
+ "type": "blocks",
30
+ "required": true,
31
+ "pluginOptions": { "i18n": { "localized": true } }
32
+ },
33
+ "summary": {
34
+ "type": "text",
35
+ "pluginOptions": { "i18n": { "localized": true } }
36
+ },
37
+ "excerpt": {
38
+ "type": "text",
39
+ "pluginOptions": { "i18n": { "localized": true } }
40
+ },
41
+ "cover": {
42
+ "type": "media",
43
+ "multiple": false,
44
+ "allowedTypes": ["images"],
45
+ "pluginOptions": { "i18n": { "localized": true } }
46
+ },
47
+ "gallery": {
48
+ "type": "media",
49
+ "multiple": true,
50
+ "allowedTypes": ["images"],
51
+ "pluginOptions": { "i18n": { "localized": true } }
52
+ },
53
+ "reading_time": {
54
+ "type": "integer",
55
+ "min": 1,
56
+ "default": 5
57
+ },
58
+ "firstPublishedAt": {
59
+ "type": "datetime"
60
+ },
61
+ "seo": {
62
+ "type": "component",
63
+ "component": "shared.seo",
64
+ "repeatable": false,
65
+ "pluginOptions": { "i18n": { "localized": true } }
66
+ },
67
+ "categories": {
68
+ "type": "relation",
69
+ "relation": "manyToMany",
70
+ "target": "api::category.category",
71
+ "inversedBy": "articles"
72
+ },
73
+ "tags": {
74
+ "type": "relation",
75
+ "relation": "manyToMany",
76
+ "target": "api::tag.tag",
77
+ "inversedBy": "articles"
78
+ },
79
+ "author": {
80
+ "type": "relation",
81
+ "relation": "manyToOne",
82
+ "target": "api::author.author",
83
+ "inversedBy": "articles"
84
+ },
85
+ "series": {
86
+ "type": "relation",
87
+ "relation": "manyToOne",
88
+ "target": "api::series.series",
89
+ "inversedBy": "articles"
90
+ },
91
+ "series_order": {
92
+ "type": "integer",
93
+ "min": 1,
94
+ "default": 1
95
+ },
96
+ "related_posts": {
97
+ "type": "relation",
98
+ "relation": "manyToMany",
99
+ "target": "api::article.article"
100
+ }
101
+ }
102
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "authors",
4
+ "info": {
5
+ "singularName": "author",
6
+ "pluralName": "authors",
7
+ "displayName": "Author",
8
+ "description": "Article author profile"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": false
12
+ },
13
+ "attributes": {
14
+ "name": {
15
+ "type": "string",
16
+ "required": true
17
+ },
18
+ "slug": {
19
+ "type": "uid",
20
+ "targetField": "name",
21
+ "required": true
22
+ },
23
+ "role": {
24
+ "type": "string"
25
+ },
26
+ "bio": {
27
+ "type": "richtext"
28
+ },
29
+ "avatar": {
30
+ "type": "media",
31
+ "multiple": false,
32
+ "allowedTypes": ["images"]
33
+ },
34
+ "email": {
35
+ "type": "email"
36
+ },
37
+ "articles": {
38
+ "type": "relation",
39
+ "relation": "oneToMany",
40
+ "target": "api::article.article",
41
+ "mappedBy": "author"
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "categories",
4
+ "info": {
5
+ "singularName": "category",
6
+ "pluralName": "categories",
7
+ "displayName": "Category",
8
+ "description": "Unified category for articles and FAQs"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": false
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "name": {
18
+ "type": "string",
19
+ "required": true,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "slug": {
23
+ "type": "uid",
24
+ "targetField": "name",
25
+ "required": true,
26
+ "pluginOptions": { "i18n": { "localized": true } }
27
+ },
28
+ "description": {
29
+ "type": "text",
30
+ "pluginOptions": { "i18n": { "localized": true } }
31
+ },
32
+ "sortOrder": {
33
+ "type": "integer",
34
+ "pluginOptions": { "i18n": { "localized": true } }
35
+ },
36
+ "articles": {
37
+ "type": "relation",
38
+ "relation": "manyToMany",
39
+ "target": "api::article.article",
40
+ "mappedBy": "categories"
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "faqs",
4
+ "info": {
5
+ "singularName": "faq",
6
+ "pluralName": "faqs",
7
+ "displayName": "FAQ",
8
+ "description": "Frequently asked question entry"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": true
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "question": {
18
+ "type": "string",
19
+ "maxLength": 255,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "answer": {
23
+ "type": "blocks",
24
+ "pluginOptions": { "i18n": { "localized": true } }
25
+ },
26
+ "sortOrder": {
27
+ "type": "integer",
28
+ "pluginOptions": { "i18n": { "localized": true } }
29
+ },
30
+ "category": {
31
+ "type": "relation",
32
+ "relation": "oneToOne",
33
+ "target": "api::category.category"
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "globals",
4
+ "info": {
5
+ "singularName": "global",
6
+ "pluralName": "globals",
7
+ "displayName": "Global",
8
+ "description": "Site-wide content, theme settings, footer, and common blocks"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": true
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "sitename": {
18
+ "type": "string",
19
+ "required": true,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "seo": {
23
+ "type": "component",
24
+ "component": "shared.seo",
25
+ "repeatable": false,
26
+ "pluginOptions": { "i18n": { "localized": true } }
27
+ },
28
+ "home": {
29
+ "type": "relation",
30
+ "relation": "oneToOne",
31
+ "target": "api::page.page"
32
+ },
33
+ "footer": {
34
+ "type": "component",
35
+ "component": "elements.footer",
36
+ "repeatable": false,
37
+ "pluginOptions": { "i18n": { "localized": true } }
38
+ },
39
+ "siteWideBlocks": {
40
+ "type": "dynamiczone",
41
+ "components": [
42
+ "blocks.slider",
43
+ "blocks.inquiry-form",
44
+ "blocks.hero",
45
+ "blocks.features"
46
+ ],
47
+ "pluginOptions": { "i18n": { "localized": true } }
48
+ },
49
+ "darkModeEnabled": {
50
+ "type": "boolean",
51
+ "default": false
52
+ },
53
+ "defaultTheme": {
54
+ "type": "enumeration",
55
+ "enum": ["light", "dark"],
56
+ "pluginOptions": { "i18n": { "localized": true } }
57
+ },
58
+ "favicon": {
59
+ "type": "media",
60
+ "multiple": false,
61
+ "allowedTypes": ["images"]
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "inquiries",
4
+ "info": {
5
+ "singularName": "inquiry",
6
+ "pluralName": "inquiries",
7
+ "displayName": "Inquiry",
8
+ "description": "Contact form submission data"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": false
12
+ },
13
+ "attributes": {
14
+ "name": {
15
+ "type": "string",
16
+ "required": true
17
+ },
18
+ "email": {
19
+ "type": "string"
20
+ },
21
+ "phone": {
22
+ "type": "string"
23
+ },
24
+ "subject": {
25
+ "type": "string"
26
+ },
27
+ "message": {
28
+ "type": "text"
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "navigations",
4
+ "info": {
5
+ "singularName": "navigation",
6
+ "pluralName": "navigations",
7
+ "displayName": "Navigation",
8
+ "description": "Global navigation with logo, menu groups, and CTA links"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": true
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "mainLogo": {
18
+ "type": "media",
19
+ "multiple": false,
20
+ "allowedTypes": ["images"]
21
+ },
22
+ "darkLogo": {
23
+ "type": "media",
24
+ "multiple": false,
25
+ "allowedTypes": ["images"]
26
+ },
27
+ "globalNavigation": {
28
+ "type": "component",
29
+ "component": "shared.navigation-group",
30
+ "repeatable": true,
31
+ "pluginOptions": { "i18n": { "localized": true } }
32
+ },
33
+ "primaryLink": {
34
+ "type": "component",
35
+ "component": "shared.link",
36
+ "repeatable": false,
37
+ "pluginOptions": { "i18n": { "localized": true } }
38
+ },
39
+ "secondaryLink": {
40
+ "type": "component",
41
+ "component": "shared.link",
42
+ "repeatable": false,
43
+ "pluginOptions": { "i18n": { "localized": true } }
44
+ },
45
+ "align": {
46
+ "type": "enumeration",
47
+ "enum": ["left", "center", "right"],
48
+ "default": "left",
49
+ "pluginOptions": { "i18n": { "localized": true } }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "pages",
4
+ "info": {
5
+ "singularName": "page",
6
+ "pluralName": "pages",
7
+ "displayName": "Page",
8
+ "description": "Website page with dynamic zone block-based layout"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": true
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "title": {
18
+ "type": "string",
19
+ "required": true,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "slug": {
23
+ "type": "uid",
24
+ "targetField": "title",
25
+ "required": true,
26
+ "pluginOptions": { "i18n": { "localized": true } }
27
+ },
28
+ "seo": {
29
+ "type": "component",
30
+ "component": "shared.seo",
31
+ "repeatable": false,
32
+ "pluginOptions": { "i18n": { "localized": true } }
33
+ },
34
+ "blocks": {
35
+ "type": "dynamiczone",
36
+ "components": [
37
+ "elements.section",
38
+ "blocks.hero",
39
+ "blocks.features",
40
+ "blocks.cta",
41
+ "blocks.slider",
42
+ "blocks.inquiry-form",
43
+ "blocks.faq",
44
+ "blocks.highlights",
45
+ "blocks.bento-grid",
46
+ "blocks.testimonials",
47
+ "blocks.logo-cloud",
48
+ "blocks.stats",
49
+ "blocks.pricing",
50
+ "blocks.content",
51
+ "blocks.team"
52
+ ],
53
+ "pluginOptions": { "i18n": { "localized": true } }
54
+ },
55
+ "headerMode": {
56
+ "type": "enumeration",
57
+ "enum": ["overlay", "offset"],
58
+ "default": "offset",
59
+ "pluginOptions": { "i18n": { "localized": true } }
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "series",
4
+ "info": {
5
+ "singularName": "series",
6
+ "pluralName": "all-series",
7
+ "displayName": "Series",
8
+ "description": "Article series/serial publication"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": false
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "name": {
18
+ "type": "string",
19
+ "required": true,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "slug": {
23
+ "type": "uid",
24
+ "targetField": "name",
25
+ "required": true,
26
+ "pluginOptions": { "i18n": { "localized": true } }
27
+ },
28
+ "description": {
29
+ "type": "text",
30
+ "pluginOptions": { "i18n": { "localized": true } }
31
+ },
32
+ "cover": {
33
+ "type": "media",
34
+ "multiple": false,
35
+ "allowedTypes": ["images"]
36
+ },
37
+ "articles": {
38
+ "type": "relation",
39
+ "relation": "oneToMany",
40
+ "target": "api::article.article",
41
+ "mappedBy": "series"
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "kind": "singleType",
3
+ "collectionName": "site_settings",
4
+ "info": {
5
+ "singularName": "site-setting",
6
+ "pluralName": "site-settings",
7
+ "displayName": "Site Settings",
8
+ "description": "Operational settings for analytics, chatbot, and site verification"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": false
12
+ },
13
+ "attributes": {
14
+ "analyticsSettings": {
15
+ "type": "component",
16
+ "component": "shared.analytics-setting",
17
+ "repeatable": true
18
+ },
19
+ "chatbot": {
20
+ "type": "component",
21
+ "component": "shared.chatbot-setting",
22
+ "repeatable": false
23
+ },
24
+ "siteVerifications": {
25
+ "type": "component",
26
+ "component": "shared.site-verification",
27
+ "repeatable": true
28
+ },
29
+ "brandColors": {
30
+ "type": "component",
31
+ "component": "shared.brand-colors",
32
+ "repeatable": false
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "kind": "collectionType",
3
+ "collectionName": "tags",
4
+ "info": {
5
+ "singularName": "tag",
6
+ "pluralName": "tags",
7
+ "displayName": "Tag",
8
+ "description": "Article tag with optional color"
9
+ },
10
+ "options": {
11
+ "draftAndPublish": false
12
+ },
13
+ "pluginOptions": {
14
+ "i18n": { "localized": true }
15
+ },
16
+ "attributes": {
17
+ "name": {
18
+ "type": "string",
19
+ "required": true,
20
+ "pluginOptions": { "i18n": { "localized": true } }
21
+ },
22
+ "slug": {
23
+ "type": "uid",
24
+ "targetField": "name",
25
+ "required": true,
26
+ "pluginOptions": { "i18n": { "localized": true } }
27
+ },
28
+ "color": {
29
+ "type": "customField",
30
+ "customField": "plugin::color-picker.color",
31
+ "regex": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
32
+ },
33
+ "description": {
34
+ "type": "text",
35
+ "pluginOptions": { "i18n": { "localized": true } }
36
+ },
37
+ "articles": {
38
+ "type": "relation",
39
+ "relation": "manyToMany",
40
+ "target": "api::article.article",
41
+ "mappedBy": "tags"
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "schemas": {
4
+ "api/article/content-types/article/schema.json": "2132ee9adf1ee655",
5
+ "api/author/content-types/author/schema.json": "0c095ecf444c5144",
6
+ "api/category/content-types/category/schema.json": "c3293e2f133d8bdd",
7
+ "api/faq/content-types/faq/schema.json": "5ab2eb08c8759d3d",
8
+ "api/global/content-types/global/schema.json": "1747958164905bc0",
9
+ "api/inquiry/content-types/inquiry/schema.json": "91e73914d90f00aa",
10
+ "api/navigation/content-types/navigation/schema.json": "f3de97d495b05992",
11
+ "api/page/content-types/page/schema.json": "4785a703fb16c149",
12
+ "api/series/content-types/series/schema.json": "9bec5db799dc3934",
13
+ "api/site-setting/content-types/site-setting/schema.json": "aba1bab12196cdca",
14
+ "api/tag/content-types/tag/schema.json": "7ae922a1e3a5cb81"
15
+ }
16
+ }
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ module.exports = require('./dist/server/src/index.js').default;