prompt.js 634 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 store 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: 'storeName',
  17. // eslint-disable-next-line zammad/zammad-detect-translatable-string
  18. message: 'How is the store called?',
  19. },
  20. ]