installWizard.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. import type {InstallWizardOptions} from 'sentry/views/admin/installWizard/index';
  2. export function InstallWizardFixture(params = {}): InstallWizardOptions {
  3. return {
  4. 'mail.use-tls': {
  5. field: {
  6. disabledReason: undefined,
  7. required: true,
  8. disabled: false,
  9. allowEmpty: true,
  10. isSet: true,
  11. key: '',
  12. label: '',
  13. },
  14. },
  15. 'mail.use-ssl': {
  16. field: {
  17. disabledReason: undefined,
  18. required: true,
  19. disabled: false,
  20. allowEmpty: true,
  21. isSet: true,
  22. key: '',
  23. label: '',
  24. },
  25. },
  26. 'mail.username': {
  27. field: {
  28. disabledReason: undefined,
  29. required: true,
  30. disabled: false,
  31. allowEmpty: true,
  32. isSet: true,
  33. key: '',
  34. label: '',
  35. },
  36. },
  37. 'mail.port': {
  38. field: {
  39. disabledReason: undefined,
  40. required: true,
  41. disabled: false,
  42. allowEmpty: false,
  43. isSet: true,
  44. key: '',
  45. label: '',
  46. },
  47. },
  48. 'system.admin-email': {
  49. field: {
  50. disabledReason: undefined,
  51. required: true,
  52. disabled: false,
  53. allowEmpty: false,
  54. isSet: true,
  55. key: '',
  56. label: '',
  57. },
  58. },
  59. 'mail.password': {
  60. field: {
  61. disabledReason: undefined,
  62. required: true,
  63. disabled: false,
  64. allowEmpty: true,
  65. isSet: true,
  66. key: '',
  67. label: '',
  68. },
  69. },
  70. 'mail.from': {
  71. field: {
  72. disabledReason: undefined,
  73. required: true,
  74. disabled: false,
  75. allowEmpty: false,
  76. isSet: true,
  77. key: '',
  78. label: '',
  79. },
  80. },
  81. 'system.url-prefix': {
  82. field: {
  83. disabledReason: 'diskPriority',
  84. required: true,
  85. disabled: true,
  86. allowEmpty: false,
  87. isSet: true,
  88. key: '',
  89. label: '',
  90. },
  91. },
  92. 'auth.allow-registration': {
  93. field: {
  94. disabledReason: undefined,
  95. required: true,
  96. disabled: false,
  97. allowEmpty: true,
  98. isSet: true,
  99. key: '',
  100. label: '',
  101. },
  102. },
  103. 'beacon.anonymous': {
  104. field: {
  105. disabledReason: undefined,
  106. required: true,
  107. disabled: false,
  108. allowEmpty: true,
  109. isSet: true,
  110. key: '',
  111. label: '',
  112. },
  113. },
  114. 'mail.host': {
  115. field: {
  116. disabledReason: undefined,
  117. required: true,
  118. disabled: false,
  119. allowEmpty: false,
  120. isSet: true,
  121. key: '',
  122. label: '',
  123. },
  124. },
  125. ...params,
  126. };
  127. }