-
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.
Co-authored-by: Frederike Ramin <[email protected]> Co-authored-by: Joschka de Cuveland <[email protected]>
- Loading branch information
1 parent
b06d71f
commit 9260a44
Showing
6 changed files
with
2,164 additions
and
0 deletions.
There are no files selected for viewing
84 changes: 84 additions & 0 deletions
84
src/api/formular-flow-page/content-types/formular-flow-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,84 @@ | ||
{ | ||
"kind": "collectionType", | ||
"collectionName": "formular_flow_pages", | ||
"info": { | ||
"singularName": "formular-flow-page", | ||
"pluralName": "formular-flow-pages", | ||
"displayName": "FormularFlowPage" | ||
}, | ||
"options": { | ||
"draftAndPublish": true | ||
}, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"attributes": { | ||
"slug": { | ||
"type": "string", | ||
"required": true, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
} | ||
}, | ||
"meta": { | ||
"type": "component", | ||
"repeatable": false, | ||
"component": "page.meta-page-info", | ||
"required": true, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
} | ||
}, | ||
"heading": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string" | ||
}, | ||
"pre_form": { | ||
"type": "dynamiczone", | ||
"components": [ | ||
"basic.heading", | ||
"basic.paragraph" | ||
], | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
} | ||
}, | ||
"form": { | ||
"type": "dynamiczone", | ||
"components": [ | ||
"form-elements.input", | ||
"form-elements.select", | ||
"form-elements.dropdown" | ||
], | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
} | ||
} | ||
}, | ||
"post_form": { | ||
"type": "dynamiczone", | ||
"components": [ | ||
"basic.heading", | ||
"basic.paragraph" | ||
], | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
} | ||
} | ||
} |
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,9 @@ | ||
'use strict'; | ||
|
||
/** | ||
* formular-flow-page controller | ||
*/ | ||
|
||
const { createCoreController } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreController('api::formular-flow-page.formular-flow-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,9 @@ | ||
'use strict'; | ||
|
||
/** | ||
* formular-flow-page router | ||
*/ | ||
|
||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreRouter('api::formular-flow-page.formular-flow-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,9 @@ | ||
'use strict'; | ||
|
||
/** | ||
* formular-flow-page service | ||
*/ | ||
|
||
const { createCoreService } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreService('api::formular-flow-page.formular-flow-page'); |
Oops, something went wrong.