prompt.js 635 B

123456789101112131415161718192021
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. module.exports = [
  3. {
  4. type: 'select',
  5. name: 'directoryScope',
  6. // eslint-disable-next-line zammad/zammad-detect-translatable-string
  7. message: 'Where should the component be created?',
  8. choices: [
  9. { directoryScope: 'desktop', message: 'Desktop' },
  10. { directoryScope: 'mobile', message: 'Mobile' },
  11. { directoryScope: 'shared', message: 'Shared' },
  12. ],
  13. },
  14. {
  15. type: 'input',
  16. name: 'composableName',
  17. // eslint-disable-next-line zammad/zammad-detect-translatable-string
  18. message: 'Composable name?',
  19. },
  20. ]