Skip to content

Commit

Permalink
feat(vth): add print page single type
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjong committed Dec 1, 2023
1 parent ade27e6 commit a6fad68
Show file tree
Hide file tree
Showing 8 changed files with 308 additions and 172 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"kind": "singleType",
"collectionName": "print_pages",
"info": {
"singularName": "print-page",
"pluralName": "print-pages",
"displayName": "Print page",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"versiondate": {
"type": "date",
"required": true
},
"title": {
"type": "string"
},
"introductionBody": {
"type": "text"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* print-page controller
*/

import { factories } from '@strapi/strapi';

export default factories.createCoreController('api::print-page.print-page');
7 changes: 7 additions & 0 deletions apps/vth-dashboard/src/api/print-page/routes/print-page.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* print-page router
*/

import { factories } from '@strapi/strapi';

export default factories.createCoreRouter('api::print-page.print-page');
7 changes: 7 additions & 0 deletions apps/vth-dashboard/src/api/print-page/services/print-page.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* print-page service
*/

import { factories } from '@strapi/strapi';

export default factories.createCoreService('api::print-page.print-page');
151 changes: 0 additions & 151 deletions apps/vth-frontend/src/app/[locale]/poc/disabled-page.tsx

This file was deleted.

Loading

0 comments on commit a6fad68

Please sign in to comment.