Skip to content

Commit

Permalink
feat: previous choices is the value for host_template_types.
Browse files Browse the repository at this point in the history
Modify choices for content_types
  • Loading branch information
kotto5 committed Oct 27, 2024
1 parent 63787ff commit e17ba1e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions lib/prompts/createModulePrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,18 @@ const CONTENT_TYPES_PROMPT = {
message: i18n(`${i18nKey}.selectContentType`),
default: ['PAGE'],
choices: [
{ name: 'Page', value: 'PAGE' },
{ name: 'Blog post', value: 'BLOG_POST' },
{ name: 'Blog listing', value: 'BLOG_LISTING' },
{ name: 'Email', value: 'EMAIL' },
{ name: 'Any', value: 'ANY'},
{ name: 'Landing page', value: 'LANDING_PAGE'},
{ name: 'Site page', value: 'SITE_PAGE'},
{ name: 'Blog post', value: 'BLOG_POST'},
{ name: 'Blog listing', value: 'BLOG_LISTING'},
{ name: 'Email', value: 'EMAIL'},
{ name: 'Knowledge base', value: 'KNOWLEDGE_BASE'},
{ name: 'Quote template', value: 'QUOTE_TEMPLATE'},
{ name: 'Customer portal', value: 'CUSTOMER_PORTAL'},
{ name: 'Web interactive', value: 'WEB_INTERACTIVE'},
{ name: 'Subscription', value: 'SUBSCRIPTION'},
{ name: 'Membership', value: 'MEMBERSHIP'}
],
validate: input => {
return new Promise(function(resolve, reject) {
Expand Down

0 comments on commit e17ba1e

Please sign in to comment.