0.13.1 : add legal pages
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 8m49s

This commit is contained in:
2026-02-12 23:31:47 +01:00
parent 178e229258
commit cf3e705193
7 changed files with 6731 additions and 45474 deletions

View File

@@ -0,0 +1,25 @@
{
"kind": "collectionType",
"collectionName": "legal_pages",
"info": {
"singularName": "legal-page",
"pluralName": "legal-pages",
"displayName": "LegalPage"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string"
},
"slug": {
"type": "uid",
"targetField": "title"
},
"content": {
"type": "blocks"
}
}
}

View File

@@ -0,0 +1,7 @@
/**
* legal-page controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::legal-page.legal-page');

View File

@@ -0,0 +1,7 @@
/**
* legal-page router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::legal-page.legal-page');

View File

@@ -0,0 +1,7 @@
/**
* legal-page service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::legal-page.legal-page');