-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vth): add print page single type
- Loading branch information
Showing
8 changed files
with
308 additions
and
172 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
apps/vth-dashboard/src/api/print-page/content-types/print-page/schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
apps/vth-dashboard/src/api/print-page/controllers/print-page.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
151
apps/vth-frontend/src/app/[locale]/poc/disabled-page.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.