@mittwald/cli 1.0.0-alpha.3 → 1.0.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3196 -1426
- package/bin/run.js +0 -0
- package/dist/esm/BaseCommand.d.ts +1 -1
- package/dist/esm/BaseCommand.js +1 -0
- package/dist/esm/DeleteBaseCommand.d.ts +6 -9
- package/dist/esm/DeleteBaseCommand.js +27 -21
- package/dist/esm/ExtendedBaseCommand.d.ts +5 -1
- package/dist/esm/ExtendedBaseCommand.js +12 -0
- package/dist/esm/Formatter.d.ts +5 -2
- package/dist/esm/Formatter.js +23 -3
- package/dist/esm/GetBaseCommand.d.ts +3 -4
- package/dist/esm/GetBaseCommand.js +2 -4
- package/dist/esm/Helpers.d.ts +2 -0
- package/dist/esm/Helpers.js +13 -1
- package/dist/esm/ListBaseCommand.d.ts +3 -4
- package/dist/esm/ListBaseCommand.js +10 -7
- package/dist/esm/Printer.d.ts +6 -7
- package/dist/esm/Printer.js +3 -3
- package/dist/esm/Translator.d.ts +7 -3
- package/dist/esm/Translator.js +29 -8
- package/dist/esm/commands/app/copy.d.ts +19 -0
- package/dist/esm/commands/app/copy.js +40 -0
- package/dist/esm/commands/app/create/node.d.ts +12 -0
- package/dist/esm/commands/app/create/node.js +13 -0
- package/dist/esm/commands/app/create/php.d.ts +12 -0
- package/dist/esm/commands/app/create/php.js +13 -0
- package/dist/esm/commands/app/create/python.d.ts +12 -0
- package/dist/esm/commands/app/create/python.js +13 -0
- package/dist/esm/commands/app/create/static.d.ts +12 -0
- package/dist/esm/commands/app/create/static.js +13 -0
- package/dist/esm/commands/app/dependency/list.d.ts +18 -0
- package/dist/esm/commands/app/dependency/list.js +27 -0
- package/dist/esm/commands/app/dependency/update.d.ts +21 -0
- package/dist/esm/commands/app/dependency/update.js +104 -0
- package/dist/esm/commands/app/dependency/versions.d.ts +20 -0
- package/dist/esm/commands/app/dependency/versions.js +39 -0
- package/dist/esm/commands/app/get.d.ts +13 -0
- package/dist/esm/commands/app/get.js +21 -0
- package/dist/esm/commands/app/install/contao.d.ts +11 -0
- package/dist/esm/commands/app/install/contao.js +24 -0
- package/dist/esm/commands/app/install/drupal.d.ts +11 -0
- package/dist/esm/commands/app/install/drupal.js +21 -0
- package/dist/esm/commands/app/install/grav.d.ts +11 -0
- package/dist/esm/commands/app/install/grav.js +22 -0
- package/dist/esm/commands/app/install/joomla.d.ts +11 -0
- package/dist/esm/commands/app/install/joomla.js +23 -0
- package/dist/esm/commands/app/install/matomo.d.ts +11 -0
- package/dist/esm/commands/app/install/matomo.js +21 -0
- package/dist/esm/commands/app/install/nextcloud.d.ts +11 -0
- package/dist/esm/commands/app/install/nextcloud.js +21 -0
- package/dist/esm/commands/app/install/shopware5.d.ts +11 -0
- package/dist/esm/commands/app/install/shopware5.js +26 -0
- package/dist/esm/commands/app/install/shopware6.d.ts +11 -0
- package/dist/esm/commands/app/install/shopware6.js +26 -0
- package/dist/esm/commands/app/install/typo3.d.ts +11 -0
- package/dist/esm/commands/app/install/typo3.js +22 -0
- package/dist/esm/commands/app/install/wordpress.d.ts +11 -0
- package/dist/esm/commands/app/install/wordpress.js +21 -0
- package/dist/esm/commands/app/list.d.ts +20 -12
- package/dist/esm/commands/app/list.js +57 -40
- package/dist/esm/commands/app/ssh.d.ts +13 -0
- package/dist/esm/commands/app/ssh.js +55 -0
- package/dist/esm/commands/app/uninstall.d.ts +10 -0
- package/dist/esm/commands/app/uninstall.js +17 -0
- package/dist/esm/commands/app/versions.d.ts +12 -0
- package/dist/esm/commands/app/versions.js +53 -0
- package/dist/esm/commands/backup/create.d.ts +21 -0
- package/dist/esm/commands/backup/create.js +61 -0
- package/dist/esm/commands/backup/delete.d.ts +15 -0
- package/dist/esm/commands/backup/delete.js +23 -0
- package/dist/esm/commands/backup/download.d.ts +29 -0
- package/dist/esm/commands/backup/download.js +179 -0
- package/dist/esm/commands/backup/get.d.ts +14 -0
- package/dist/esm/commands/backup/get.js +29 -0
- package/dist/esm/commands/backup/list.d.ts +21 -0
- package/dist/esm/commands/backup/list.js +34 -0
- package/dist/esm/commands/backup/schedule/list.d.ts +21 -0
- package/dist/esm/commands/backup/schedule/list.js +31 -0
- package/dist/esm/commands/context/get.d.ts +10 -0
- package/dist/esm/commands/context/get.js +61 -0
- package/dist/esm/commands/context/set.d.ts +12 -0
- package/dist/esm/commands/context/set.js +48 -0
- package/dist/esm/commands/conversation/categories.d.ts +11 -4
- package/dist/esm/commands/conversation/categories.js +11 -3
- package/dist/esm/commands/conversation/close.d.ts +1 -1
- package/dist/esm/commands/conversation/close.js +1 -1
- package/dist/esm/commands/conversation/create.d.ts +1 -1
- package/dist/esm/commands/conversation/create.js +1 -1
- package/dist/esm/commands/conversation/list.d.ts +11 -4
- package/dist/esm/commands/conversation/list.js +13 -5
- package/dist/esm/commands/conversation/reply.d.ts +1 -1
- package/dist/esm/commands/conversation/reply.js +1 -1
- package/dist/esm/commands/conversation/show.d.ts +1 -1
- package/dist/esm/commands/conversation/show.js +10 -14
- package/dist/esm/commands/conversation/show2.js +7 -6
- package/dist/esm/commands/cronjob/create.d.ts +23 -0
- package/dist/esm/commands/cronjob/create.js +97 -0
- package/dist/esm/commands/cronjob/delete.d.ts +13 -0
- package/dist/esm/commands/cronjob/delete.js +21 -0
- package/dist/esm/commands/cronjob/execute.d.ts +17 -0
- package/dist/esm/commands/cronjob/execute.js +42 -0
- package/dist/esm/commands/cronjob/execution/abort.d.ts +18 -0
- package/dist/esm/commands/cronjob/execution/abort.js +41 -0
- package/dist/esm/commands/cronjob/execution/get.d.ts +17 -0
- package/dist/esm/commands/cronjob/execution/get.js +26 -0
- package/dist/esm/commands/cronjob/execution/list.d.ts +20 -0
- package/dist/esm/commands/cronjob/execution/list.js +41 -0
- package/dist/esm/commands/cronjob/execution/logs.d.ts +17 -0
- package/dist/esm/commands/cronjob/execution/logs.js +77 -0
- package/dist/esm/commands/cronjob/get.d.ts +14 -0
- package/dist/esm/commands/cronjob/get.js +30 -0
- package/dist/esm/commands/cronjob/list.d.ts +21 -0
- package/dist/esm/commands/cronjob/list.js +43 -0
- package/dist/esm/commands/database/mysql/charsets.d.ts +12 -3
- package/dist/esm/commands/database/mysql/charsets.js +19 -2
- package/dist/esm/commands/database/mysql/create.d.ts +24 -0
- package/dist/esm/commands/database/mysql/create.js +103 -0
- package/dist/esm/commands/database/mysql/delete.d.ts +14 -0
- package/dist/esm/commands/database/mysql/delete.js +20 -0
- package/dist/esm/commands/database/mysql/dump.d.ts +15 -0
- package/dist/esm/commands/database/mysql/dump.js +70 -0
- package/dist/esm/commands/database/mysql/get.d.ts +14 -2
- package/dist/esm/commands/database/mysql/get.js +14 -5
- package/dist/esm/commands/database/mysql/list.d.ts +10 -3
- package/dist/esm/commands/database/mysql/list.js +22 -18
- package/dist/esm/commands/database/mysql/phpmyadmin.d.ts +8 -0
- package/dist/esm/commands/database/mysql/phpmyadmin.js +25 -0
- package/dist/esm/commands/database/mysql/port-forward.d.ts +14 -0
- package/dist/esm/commands/database/mysql/port-forward.js +44 -0
- package/dist/esm/commands/database/mysql/shell.d.ts +14 -0
- package/dist/esm/commands/database/mysql/shell.js +39 -0
- package/dist/esm/commands/database/mysql/user/get.d.ts +13 -2
- package/dist/esm/commands/database/mysql/user/get.js +18 -5
- package/dist/esm/commands/database/mysql/user/list.d.ts +13 -4
- package/dist/esm/commands/database/mysql/user/list.js +35 -2
- package/dist/esm/commands/database/mysql/versions.d.ts +12 -3
- package/dist/esm/commands/database/mysql/versions.js +17 -2
- package/dist/esm/commands/database/redis/create.d.ts +20 -0
- package/dist/esm/commands/database/redis/create.js +83 -0
- package/dist/esm/commands/database/redis/get.d.ts +13 -2
- package/dist/esm/commands/database/redis/get.js +18 -5
- package/dist/esm/commands/database/redis/list.d.ts +12 -3
- package/dist/esm/commands/database/redis/list.js +24 -2
- package/dist/esm/commands/database/redis/shell.d.ts +13 -0
- package/dist/esm/commands/database/redis/shell.js +26 -0
- package/dist/esm/commands/database/redis/versions.d.ts +12 -3
- package/dist/esm/commands/database/redis/versions.js +22 -2
- package/dist/esm/commands/domain/dnszone/get.d.ts +16 -0
- package/dist/esm/commands/domain/dnszone/get.js +32 -0
- package/dist/esm/commands/domain/dnszone/list.d.ts +18 -0
- package/dist/esm/commands/domain/dnszone/list.js +71 -0
- package/dist/esm/commands/domain/dnszone/update.d.ts +28 -0
- package/dist/esm/commands/domain/dnszone/update.js +176 -0
- package/dist/esm/commands/domain/get.d.ts +15 -2
- package/dist/esm/commands/domain/get.js +31 -5
- package/dist/esm/commands/domain/list.d.ts +14 -5
- package/dist/esm/commands/domain/list.js +39 -2
- package/dist/esm/commands/domain/virtualhost/create.d.ts +25 -0
- package/dist/esm/commands/domain/virtualhost/create.js +106 -0
- package/dist/esm/commands/domain/virtualhost/delete.d.ts +13 -0
- package/dist/esm/commands/domain/virtualhost/delete.js +21 -0
- package/dist/esm/commands/domain/virtualhost/get.d.ts +13 -2
- package/dist/esm/commands/domain/virtualhost/get.js +73 -5
- package/dist/esm/commands/domain/virtualhost/list.d.ts +3 -4
- package/dist/esm/commands/domain/virtualhost/list.js +39 -20
- package/dist/esm/commands/login/reset.d.ts +12 -0
- package/dist/esm/commands/login/reset.js +39 -0
- package/dist/esm/commands/login/status.d.ts +1 -1
- package/dist/esm/commands/login/status.js +1 -1
- package/dist/esm/commands/login/token.d.ts +2 -1
- package/dist/esm/commands/login/token.js +1 -0
- package/dist/esm/commands/mail/address/create.d.ts +25 -4
- package/dist/esm/commands/mail/address/create.js +137 -32
- package/dist/esm/commands/mail/address/delete.d.ts +1 -0
- package/dist/esm/commands/mail/address/delete.js +3 -3
- package/dist/esm/commands/mail/address/get.d.ts +15 -2
- package/dist/esm/commands/mail/address/get.js +21 -5
- package/dist/esm/commands/mail/address/list.d.ts +12 -4
- package/dist/esm/commands/mail/address/list.js +19 -7
- package/dist/esm/commands/mail/deliverybox/get.d.ts +15 -2
- package/dist/esm/commands/mail/deliverybox/get.js +21 -5
- package/dist/esm/commands/mail/deliverybox/list.d.ts +12 -5
- package/dist/esm/commands/mail/deliverybox/list.js +15 -10
- package/dist/esm/commands/org/delete.d.ts +13 -0
- package/dist/esm/commands/org/delete.js +16 -0
- package/dist/esm/commands/org/get.d.ts +14 -0
- package/dist/esm/commands/org/get.js +52 -0
- package/dist/esm/commands/org/invite/list-own.d.ts +51 -0
- package/dist/esm/commands/org/invite/list-own.js +41 -0
- package/dist/esm/commands/org/invite/list.d.ts +19 -0
- package/dist/esm/commands/org/invite/list.js +35 -0
- package/dist/esm/commands/org/invite/revoke.d.ts +17 -0
- package/dist/esm/commands/org/invite/revoke.js +39 -0
- package/dist/esm/commands/org/invite.d.ts +21 -0
- package/dist/esm/commands/org/invite.js +53 -0
- package/dist/esm/commands/org/list.d.ts +20 -0
- package/dist/esm/commands/org/list.js +44 -0
- package/dist/esm/commands/org/membership/list-own.d.ts +50 -0
- package/dist/esm/commands/org/membership/list-own.js +42 -0
- package/dist/esm/commands/org/membership/list.d.ts +41 -0
- package/dist/esm/commands/org/membership/list.js +43 -0
- package/dist/esm/commands/org/membership/revoke.d.ts +17 -0
- package/dist/esm/commands/org/membership/revoke.js +43 -0
- package/dist/esm/commands/project/create.d.ts +15 -4
- package/dist/esm/commands/project/create.js +46 -37
- package/dist/esm/commands/project/delete.d.ts +2 -2
- package/dist/esm/commands/project/delete.js +7 -17
- package/dist/esm/commands/project/filesystem/usage.d.ts +13 -3
- package/dist/esm/commands/project/filesystem/usage.js +51 -9
- package/dist/esm/commands/project/get.d.ts +13 -3
- package/dist/esm/commands/project/get.js +80 -9
- package/dist/esm/commands/project/invite/get.d.ts +13 -2
- package/dist/esm/commands/project/invite/get.js +18 -5
- package/dist/esm/commands/project/invite/list-own.d.ts +10 -3
- package/dist/esm/commands/project/invite/list-own.js +12 -4
- package/dist/esm/commands/project/invite/list.d.ts +10 -4
- package/dist/esm/commands/project/invite/list.js +15 -9
- package/dist/esm/commands/project/list.d.ts +10 -3
- package/dist/esm/commands/project/list.js +10 -2
- package/dist/esm/commands/project/membership/get-own.d.ts +11 -3
- package/dist/esm/commands/project/membership/get-own.js +14 -9
- package/dist/esm/commands/project/membership/get.d.ts +13 -2
- package/dist/esm/commands/project/membership/get.js +18 -5
- package/dist/esm/commands/project/membership/list-own.d.ts +10 -3
- package/dist/esm/commands/project/membership/list-own.js +12 -4
- package/dist/esm/commands/project/membership/list.d.ts +10 -4
- package/dist/esm/commands/project/membership/list.js +18 -10
- package/dist/esm/commands/project/ssh.d.ts +3 -3
- package/dist/esm/commands/project/ssh.js +7 -15
- package/dist/esm/commands/project/update.d.ts +3 -3
- package/dist/esm/commands/project/update.js +7 -11
- package/dist/esm/commands/server/get.d.ts +13 -2
- package/dist/esm/commands/server/get.js +14 -5
- package/dist/esm/commands/server/list.d.ts +10 -3
- package/dist/esm/commands/server/list.js +10 -2
- package/dist/esm/commands/sftp-user/list.d.ts +21 -0
- package/dist/esm/commands/sftp-user/list.js +31 -0
- package/dist/esm/commands/ssh-user/list.d.ts +21 -0
- package/dist/esm/commands/ssh-user/list.js +29 -0
- package/dist/esm/commands/user/api-token/create.d.ts +9 -3
- package/dist/esm/commands/user/api-token/create.js +33 -15
- package/dist/esm/commands/user/api-token/get.d.ts +13 -2
- package/dist/esm/commands/user/api-token/get.js +18 -5
- package/dist/esm/commands/user/api-token/list.d.ts +11 -4
- package/dist/esm/commands/user/api-token/list.js +14 -4
- package/dist/esm/commands/user/api-token/revoke.d.ts +8 -3
- package/dist/esm/commands/user/api-token/revoke.js +8 -8
- package/dist/esm/commands/user/get.d.ts +14 -2
- package/dist/esm/commands/user/get.js +19 -5
- package/dist/esm/commands/user/session/get.d.ts +13 -2
- package/dist/esm/commands/user/session/get.js +18 -5
- package/dist/esm/commands/user/session/list.d.ts +11 -4
- package/dist/esm/commands/user/session/list.js +14 -4
- package/dist/esm/commands/user/ssh-key/create.d.ts +6 -3
- package/dist/esm/commands/user/ssh-key/create.js +35 -18
- package/dist/esm/commands/user/ssh-key/delete.d.ts +5 -4
- package/dist/esm/commands/user/ssh-key/delete.js +9 -28
- package/dist/esm/commands/user/ssh-key/get.d.ts +13 -2
- package/dist/esm/commands/user/ssh-key/get.js +18 -5
- package/dist/esm/commands/user/ssh-key/list.d.ts +11 -4
- package/dist/esm/commands/user/ssh-key/list.js +10 -2
- package/dist/esm/lib/app/Installer.d.ts +21 -0
- package/dist/esm/lib/app/Installer.js +49 -0
- package/dist/esm/lib/app/flags.d.ts +28 -0
- package/dist/esm/lib/app/flags.js +212 -0
- package/dist/esm/lib/app/hooks.d.ts +11 -0
- package/dist/esm/lib/app/hooks.js +43 -0
- package/dist/esm/lib/app/install.d.ts +4 -0
- package/dist/esm/lib/app/install.js +43 -0
- package/dist/esm/lib/app/uuid.d.ts +4 -0
- package/dist/esm/lib/app/uuid.js +44 -0
- package/dist/esm/lib/app/versions.d.ts +8 -0
- package/dist/esm/lib/app/versions.js +49 -0
- package/dist/esm/lib/app/wait.d.ts +3 -0
- package/dist/esm/lib/app/wait.js +19 -0
- package/dist/esm/lib/assert_success.d.ts +3 -0
- package/dist/esm/lib/assert_success.js +7 -0
- package/dist/esm/lib/bytes.d.ts +1 -0
- package/dist/esm/lib/bytes.js +16 -0
- package/dist/esm/lib/context.d.ts +37 -0
- package/dist/esm/lib/context.js +49 -0
- package/dist/esm/lib/context_flags.d.ts +47 -0
- package/dist/esm/lib/context_flags.js +75 -0
- package/dist/esm/lib/context_terraform.d.ts +6 -0
- package/dist/esm/lib/context_terraform.js +61 -0
- package/dist/esm/lib/context_user.d.ts +10 -0
- package/dist/esm/lib/context_user.js +41 -0
- package/dist/esm/lib/database/common.d.ts +8 -0
- package/dist/esm/lib/database/common.js +17 -0
- package/dist/esm/lib/database/mysql/connect.d.ts +19 -0
- package/dist/esm/lib/database/mysql/connect.js +50 -0
- package/dist/esm/lib/database/mysql/flags.d.ts +10 -0
- package/dist/esm/lib/database/mysql/flags.js +48 -0
- package/dist/esm/lib/database/redis/connect.d.ts +8 -0
- package/dist/esm/lib/database/redis/connect.js +22 -0
- package/dist/esm/lib/database/redis/flags.d.ts +7 -0
- package/dist/esm/lib/database/redis/flags.js +35 -0
- package/dist/esm/lib/domain/dnszone/flags.d.ts +1 -0
- package/dist/esm/lib/domain/dnszone/flags.js +19 -0
- package/dist/esm/lib/domain/dnszone/records.d.ts +17 -0
- package/dist/esm/lib/domain/dnszone/records.js +18 -0
- package/dist/esm/lib/domain/flags.d.ts +1 -0
- package/dist/esm/lib/domain/flags.js +20 -0
- package/dist/esm/lib/expires.d.ts +11 -0
- package/dist/esm/lib/expires.js +31 -0
- package/dist/esm/lib/handleError.d.ts +7 -0
- package/dist/esm/lib/handleError.js +18 -13
- package/dist/esm/lib/org/flags.d.ts +1 -0
- package/dist/esm/lib/org/flags.js +3 -0
- package/dist/esm/lib/password.d.ts +2 -0
- package/dist/esm/lib/password.js +20 -0
- package/dist/esm/lib/project/flags.d.ts +15 -0
- package/dist/esm/lib/project/flags.js +53 -0
- package/dist/esm/lib/project/hooks.d.ts +3 -0
- package/dist/esm/lib/project/hooks.js +11 -0
- package/dist/esm/lib/project/ingress.d.ts +2 -0
- package/dist/esm/lib/project/ingress.js +18 -0
- package/dist/esm/lib/project/shortId.d.ts +2 -0
- package/dist/esm/lib/project/shortId.js +11 -0
- package/dist/esm/lib/projectbackup/hooks.d.ts +5 -0
- package/dist/esm/lib/projectbackup/hooks.js +19 -0
- package/dist/esm/lib/server/flags.d.ts +1 -0
- package/dist/esm/lib/server/flags.js +3 -0
- package/dist/esm/lib/viewhelpers/date.d.ts +2 -1
- package/dist/esm/lib/viewhelpers/date.js +9 -2
- package/dist/esm/lib/viewhelpers/removeLineBreaks.d.ts +1 -0
- package/dist/esm/lib/viewhelpers/removeLineBreaks.js +1 -0
- package/dist/esm/lib/viewhelpers/size.d.ts +2 -1
- package/dist/esm/lib/viewhelpers/size.js +2 -2
- package/dist/esm/lib/wait.d.ts +5 -0
- package/dist/esm/lib/wait.js +23 -0
- package/dist/esm/rendering/lib/getTerminalWidth.d.ts +1 -0
- package/dist/esm/rendering/lib/getTerminalWidth.js +2 -0
- package/dist/esm/rendering/process/components/ProcessConfirmation.d.ts +6 -0
- package/dist/esm/rendering/process/components/ProcessConfirmation.js +12 -0
- package/dist/esm/rendering/process/components/ProcessConfirmationStateSummary.d.ts +5 -0
- package/dist/esm/rendering/process/components/ProcessConfirmationStateSummary.js +18 -0
- package/dist/esm/rendering/process/components/ProcessError.d.ts +4 -0
- package/dist/esm/rendering/process/components/ProcessError.js +10 -0
- package/dist/esm/rendering/process/components/ProcessInput.d.ts +6 -0
- package/dist/esm/rendering/process/components/ProcessInput.js +15 -0
- package/dist/esm/rendering/process/components/ProcessInputStateSummary.d.ts +5 -0
- package/dist/esm/rendering/process/components/ProcessInputStateSummary.js +13 -0
- package/dist/esm/rendering/process/components/ProcessState.d.ts +5 -0
- package/dist/esm/rendering/process/components/ProcessState.js +8 -0
- package/dist/esm/rendering/process/components/ProcessStateIcon.d.ts +5 -0
- package/dist/esm/rendering/process/components/ProcessStateIcon.js +22 -0
- package/dist/esm/rendering/process/components/ProcessStateSummary.d.ts +5 -0
- package/dist/esm/rendering/process/components/ProcessStateSummary.js +30 -0
- package/dist/esm/rendering/process/components/ProcessValidationErrors.d.ts +7 -0
- package/dist/esm/rendering/process/components/ProcessValidationErrors.js +17 -0
- package/dist/esm/rendering/process/process.d.ts +44 -0
- package/dist/esm/rendering/process/process.js +28 -0
- package/dist/esm/rendering/process/process_fancy.d.ts +17 -0
- package/dist/esm/rendering/process/process_fancy.js +119 -0
- package/dist/esm/rendering/process/process_flags.d.ts +20 -0
- package/dist/esm/rendering/process/process_flags.js +29 -0
- package/dist/esm/rendering/process/process_quiet.d.ts +12 -0
- package/dist/esm/rendering/process/process_quiet.js +29 -0
- package/dist/esm/rendering/react/ComponentPrinter.d.ts +7 -0
- package/dist/esm/rendering/react/ComponentPrinter.js +13 -0
- package/dist/esm/rendering/react/ExecRenderBaseCommand.d.ts +8 -0
- package/dist/esm/rendering/react/ExecRenderBaseCommand.js +25 -0
- package/dist/esm/rendering/react/RenderBaseCommand.d.ts +15 -0
- package/dist/esm/rendering/react/RenderBaseCommand.js +47 -4
- package/dist/esm/rendering/react/components/AppInstallation/AppInstallationDetails.d.ts +8 -0
- package/dist/esm/rendering/react/components/AppInstallation/AppInstallationDetails.js +49 -0
- package/dist/esm/rendering/react/components/AppInstallation/AppInstallationStatus.d.ts +9 -0
- package/dist/esm/rendering/react/components/AppInstallation/AppInstallationStatus.js +12 -0
- package/dist/esm/rendering/react/components/AppInstallation/AppSystemSoftware.d.ts +6 -0
- package/dist/esm/rendering/react/components/AppInstallation/AppSystemSoftware.js +18 -0
- package/dist/esm/rendering/react/components/BooleanValue.d.ts +4 -0
- package/dist/esm/rendering/react/components/BooleanValue.js +9 -0
- package/dist/esm/rendering/react/components/ByteFormat.d.ts +4 -0
- package/dist/esm/rendering/react/components/ByteFormat.js +12 -0
- package/dist/esm/rendering/react/components/{ConversationMessage.js → Conversation/ConversationMessage.js} +1 -1
- package/dist/esm/rendering/react/components/Conversation/ConversationMessages.d.ts +8 -0
- package/dist/esm/rendering/react/components/Conversation/ConversationMessages.js +13 -0
- package/dist/esm/rendering/react/components/{ConversationMeta.js → Conversation/ConversationMeta.js} +8 -6
- package/dist/esm/rendering/react/components/CreatedAt.d.ts +8 -0
- package/dist/esm/rendering/react/components/CreatedAt.js +10 -0
- package/dist/esm/rendering/react/components/CronJob/CronJobDetails.d.ts +8 -0
- package/dist/esm/rendering/react/components/CronJob/CronJobDetails.js +48 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneDetails.d.ts +6 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneDetails.js +12 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecords.d.ts +6 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecords.js +17 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsA.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsA.js +14 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.js +14 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsMX.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsMX.js +13 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsSRV.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsSRV.js +9 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsTXT.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsTXT.js +9 -0
- package/dist/esm/rendering/react/components/DnsZone/RecordComponent.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/RecordComponent.js +1 -0
- package/dist/esm/rendering/react/components/DnsZone/RecordSetManagedByMittwald.d.ts +1 -0
- package/dist/esm/rendering/react/components/DnsZone/RecordSetManagedByMittwald.js +3 -0
- package/dist/esm/rendering/react/components/DnsZone/RecordSetValues.d.ts +4 -0
- package/dist/esm/rendering/react/components/DnsZone/RecordSetValues.js +5 -0
- package/dist/esm/rendering/react/components/Domain/DomainBaseDetails.d.ts +6 -0
- package/dist/esm/rendering/react/components/Domain/DomainBaseDetails.js +13 -0
- package/dist/esm/rendering/react/components/Domain/DomainDetails.d.ts +6 -0
- package/dist/esm/rendering/react/components/Domain/DomainDetails.js +7 -0
- package/dist/esm/rendering/react/components/Domain/DomainHandle.d.ts +7 -0
- package/dist/esm/rendering/react/components/Domain/DomainHandle.js +24 -0
- package/dist/esm/rendering/react/components/ErrorBox.d.ts +11 -0
- package/dist/esm/rendering/react/components/ErrorBox.js +71 -0
- package/dist/esm/rendering/react/components/Filename.d.ts +4 -0
- package/dist/esm/rendering/react/components/Filename.js +5 -0
- package/dist/esm/rendering/react/components/FormattedDate.d.ts +8 -0
- package/dist/esm/rendering/react/components/FormattedDate.js +16 -0
- package/dist/esm/rendering/react/components/Header.d.ts +2 -2
- package/dist/esm/rendering/react/components/IDAndShortID.d.ts +7 -0
- package/dist/esm/rendering/react/components/IDAndShortID.js +6 -0
- package/dist/esm/rendering/react/components/Ingress/DnsValidationErrors.d.ts +8 -0
- package/dist/esm/rendering/react/components/Ingress/DnsValidationErrors.js +17 -0
- package/dist/esm/rendering/react/components/JSONView.d.ts +7 -0
- package/dist/esm/rendering/react/components/JSONView.js +3 -0
- package/dist/esm/rendering/react/components/ListItem.d.ts +3 -0
- package/dist/esm/rendering/react/components/ListItem.js +5 -0
- package/dist/esm/rendering/react/components/LocalFilename.d.ts +5 -0
- package/dist/esm/rendering/react/components/LocalFilename.js +14 -0
- package/dist/esm/rendering/react/components/Note.d.ts +10 -0
- package/dist/esm/rendering/react/components/Note.js +8 -0
- package/dist/esm/rendering/react/components/Organization/CustomerIDAndNumber.d.ts +7 -0
- package/dist/esm/rendering/react/components/Organization/CustomerIDAndNumber.js +6 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOrderEligibility.d.ts +6 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOrderEligibility.js +9 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOwner.d.ts +6 -0
- package/dist/esm/rendering/react/components/Organization/OrganizationOwner.js +14 -0
- package/dist/esm/rendering/react/components/Project/ProjectEnabled.d.ts +6 -0
- package/dist/esm/rendering/react/components/Project/ProjectEnabled.js +9 -0
- package/dist/esm/rendering/react/components/Project/ProjectSimpleStatus.d.ts +7 -0
- package/dist/esm/rendering/react/components/Project/ProjectSimpleStatus.js +19 -0
- package/dist/esm/rendering/react/components/Project/ProjectStatus.d.ts +18 -0
- package/dist/esm/rendering/react/components/Project/ProjectStatus.js +8 -0
- package/dist/esm/rendering/react/components/ProjectBackup/ProjectBackupDetails.d.ts +6 -0
- package/dist/esm/rendering/react/components/ProjectBackup/ProjectBackupDetails.js +29 -0
- package/dist/esm/rendering/react/components/ProjectBackup/ProjectBackupStatus.d.ts +6 -0
- package/dist/esm/rendering/react/components/ProjectBackup/ProjectBackupStatus.js +8 -0
- package/dist/esm/rendering/react/components/Render.d.ts +6 -0
- package/dist/esm/rendering/react/components/Render.js +5 -0
- package/dist/esm/rendering/react/components/SingleResult.d.ts +10 -0
- package/dist/esm/rendering/react/components/SingleResult.js +15 -0
- package/dist/esm/rendering/react/components/Success.d.ts +9 -0
- package/dist/esm/rendering/react/components/Success.js +6 -0
- package/dist/esm/rendering/react/components/Table/BodyCell.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/BodyCell.js +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRow.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRow.js +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRows.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/BodyRows.js +6 -0
- package/dist/esm/rendering/react/components/Table/CellData.d.ts +6 -0
- package/dist/esm/rendering/react/components/Table/CellData.js +32 -0
- package/dist/esm/rendering/react/components/Table/CellLayout.d.ts +8 -0
- package/dist/esm/rendering/react/components/Table/CellLayout.js +17 -0
- package/dist/esm/rendering/react/components/Table/HeaderCell.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/HeaderCell.js +7 -0
- package/dist/esm/rendering/react/components/Table/HeaderRow.d.ts +8 -0
- package/dist/esm/rendering/react/components/Table/HeaderRow.js +7 -0
- package/dist/esm/rendering/react/components/Table/RowLayout.d.ts +5 -0
- package/dist/esm/rendering/react/components/Table/RowLayout.js +3 -0
- package/dist/esm/rendering/react/components/Table/Table.d.ts +10 -0
- package/dist/esm/rendering/react/components/Table/Table.js +21 -0
- package/dist/esm/rendering/react/components/Table/context.d.ts +9 -0
- package/dist/esm/rendering/react/components/Table/context.js +7 -0
- package/dist/esm/rendering/react/components/Table/index.d.ts +1 -0
- package/dist/esm/rendering/react/components/Table/index.js +1 -0
- package/dist/esm/rendering/react/components/Table/model/Cell.d.ts +19 -0
- package/dist/esm/rendering/react/components/Table/model/Cell.js +24 -0
- package/dist/esm/rendering/react/components/Table/model/Column.d.ts +16 -0
- package/dist/esm/rendering/react/components/Table/model/Column.js +38 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnName.d.ts +7 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnName.js +17 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnOptions.d.ts +25 -0
- package/dist/esm/rendering/react/components/Table/model/ColumnOptions.js +41 -0
- package/dist/esm/rendering/react/components/Table/model/Row.d.ts +14 -0
- package/dist/esm/rendering/react/components/Table/model/Row.js +37 -0
- package/dist/esm/rendering/react/components/Table/model/Table.d.ts +19 -0
- package/dist/esm/rendering/react/components/Table/model/Table.js +48 -0
- package/dist/esm/rendering/react/components/Table/model/index.d.ts +5 -0
- package/dist/esm/rendering/react/components/Table/model/index.js +5 -0
- package/dist/esm/rendering/react/components/Value.d.ts +5 -0
- package/dist/esm/rendering/react/components/Value.js +8 -0
- package/dist/esm/rendering/react/components/Warning.d.ts +4 -0
- package/dist/esm/rendering/react/components/Warning.js +7 -0
- package/dist/esm/rendering/react/components/WithoutLineBreaks.d.ts +2 -0
- package/dist/esm/rendering/react/components/WithoutLineBreaks.js +7 -0
- package/dist/esm/rendering/react/context.d.ts +3 -2
- package/dist/esm/rendering/react/context.js +4 -1
- package/dist/esm/rendering/react/error.d.ts +7 -0
- package/dist/esm/rendering/react/error.js +12 -0
- package/dist/esm/rendering/react/hooks/useIncreaseInkStdoutColumns.d.ts +1 -0
- package/dist/esm/rendering/react/hooks/useIncreaseInkStdoutColumns.js +9 -0
- package/dist/esm/rendering/react/hooks/useMyUserProfile.js +5 -1
- package/dist/esm/rendering/react/json/JsonCollectionProvider.d.ts +2 -0
- package/dist/esm/rendering/react/json/JsonCollectionProvider.js +10 -0
- package/dist/esm/rendering/react/json/JsonRenderer.d.ts +2 -0
- package/dist/esm/rendering/react/json/JsonRenderer.js +14 -0
- package/dist/esm/rendering/react/json/RenderJson.d.ts +7 -0
- package/dist/esm/rendering/react/json/RenderJson.js +19 -0
- package/dist/esm/rendering/react/json/context.d.ts +5 -0
- package/dist/esm/rendering/react/json/context.js +4 -0
- package/dist/esm/rendering/react/json/lib/unpackJsonData.d.ts +1 -0
- package/dist/esm/rendering/react/json/lib/unpackJsonData.js +5 -0
- package/dist/esm/rendering/react/lib/observable-value/ObservableValue.d.ts +10 -0
- package/dist/esm/rendering/react/lib/observable-value/ObservableValue.js +25 -0
- package/dist/esm/rendering/react/lib/observable-value/types.d.ts +2 -0
- package/dist/esm/rendering/react/lib/observable-value/types.js +1 -0
- package/dist/esm/rendering/react/lib/observable-value/useWatchObservableValue.d.ts +2 -0
- package/dist/esm/rendering/react/lib/observable-value/useWatchObservableValue.js +9 -0
- package/dist/esm/rendering/react/measure/MeasureChildren.d.ts +8 -0
- package/dist/esm/rendering/react/measure/MeasureChildren.js +19 -0
- package/dist/esm/rendering/react/measure/MeasureContextProvider.d.ts +2 -0
- package/dist/esm/rendering/react/measure/MeasureContextProvider.js +14 -0
- package/dist/esm/rendering/react/measure/MeasureRenderer.d.ts +2 -0
- package/dist/esm/rendering/react/measure/MeasureRenderer.js +22 -0
- package/dist/esm/rendering/react/measure/context.d.ts +18 -0
- package/dist/esm/rendering/react/measure/context.js +48 -0
- package/dist/esm/rendering/setup/FlagSupportedSetup.d.ts +2 -0
- package/dist/esm/rendering/setup/TableRenderSetup.d.ts +10 -12
- package/dist/esm/rendering/setup/TableRenderSetup.js +19 -6
- package/dist/esm/rendering/setup/usePromiseSetup.d.ts +4 -3
- package/package.json +128 -38
- package/.deps/client.tgz +0 -0
- package/.deps/commons.tgz +0 -0
- package/dist/esm/commands/app/delete.d.ts +0 -12
- package/dist/esm/commands/app/delete.js +0 -45
- package/dist/esm/commands/app/getApp.d.ts +0 -3
- package/dist/esm/commands/app/getApp.js +0 -6
- package/dist/esm/commands/app/getAppinstallation.d.ts +0 -3
- package/dist/esm/commands/app/getAppinstallation.js +0 -6
- package/dist/esm/commands/app/getAppversion.d.ts +0 -3
- package/dist/esm/commands/app/getAppversion.js +0 -6
- package/dist/esm/commands/app/getSystemsoftware.d.ts +0 -3
- package/dist/esm/commands/app/getSystemsoftware.js +0 -6
- package/dist/esm/commands/app/getSystemsoftwareversion.d.ts +0 -3
- package/dist/esm/commands/app/getSystemsoftwareversion.js +0 -6
- package/dist/esm/commands/app/listAppinstallations.d.ts +0 -9
- package/dist/esm/commands/app/listAppinstallations.js +0 -6
- package/dist/esm/commands/app/listApps.d.ts +0 -9
- package/dist/esm/commands/app/listApps.js +0 -6
- package/dist/esm/commands/app/listAppversions.d.ts +0 -9
- package/dist/esm/commands/app/listAppversions.js +0 -6
- package/dist/esm/commands/app/listSystemsoftwares.d.ts +0 -9
- package/dist/esm/commands/app/listSystemsoftwares.js +0 -6
- package/dist/esm/commands/app/listSystemsoftwareversions.d.ts +0 -9
- package/dist/esm/commands/app/listSystemsoftwareversions.js +0 -6
- package/dist/esm/commands/app/retrieveStatus.d.ts +0 -3
- package/dist/esm/commands/app/retrieveStatus.js +0 -6
- package/dist/esm/commands/article/getArticle.d.ts +0 -3
- package/dist/esm/commands/article/getArticle.js +0 -6
- package/dist/esm/commands/article/listArticles.d.ts +0 -9
- package/dist/esm/commands/article/listArticles.js +0 -6
- package/dist/esm/commands/contract/getBaseItemOfContract.d.ts +0 -3
- package/dist/esm/commands/contract/getBaseItemOfContract.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContract.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContract.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractByDomain.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractByDomain.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractByProject.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractByProject.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractByServer.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractByServer.js +0 -6
- package/dist/esm/commands/contract/getDetailOfContractItem.d.ts +0 -3
- package/dist/esm/commands/contract/getDetailOfContractItem.js +0 -6
- package/dist/esm/commands/contract/getNextTerminationDateForItem.d.ts +0 -3
- package/dist/esm/commands/contract/getNextTerminationDateForItem.js +0 -6
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.d.ts +0 -3
- package/dist/esm/commands/contract/invoiceDetailOfInvoice.js +0 -6
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.d.ts +0 -3
- package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.js +0 -6
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.d.ts +0 -9
- package/dist/esm/commands/contract/invoiceListCustomerInvoices.js +0 -6
- package/dist/esm/commands/contract/listContracts.d.ts +0 -9
- package/dist/esm/commands/contract/listContracts.js +0 -6
- package/dist/esm/commands/contract/orderGetOrder.d.ts +0 -3
- package/dist/esm/commands/contract/orderGetOrder.js +0 -6
- package/dist/esm/commands/contract/orderListCustomerOrders.d.ts +0 -9
- package/dist/esm/commands/contract/orderListCustomerOrders.js +0 -6
- package/dist/esm/commands/contract/orderListProjectOrders.d.ts +0 -9
- package/dist/esm/commands/contract/orderListProjectOrders.js +0 -6
- package/dist/esm/commands/cronjob/getCronjob.d.ts +0 -3
- package/dist/esm/commands/cronjob/getCronjob.js +0 -6
- package/dist/esm/commands/cronjob/getExecution.d.ts +0 -3
- package/dist/esm/commands/cronjob/getExecution.js +0 -6
- package/dist/esm/commands/cronjob/listCronjobs.d.ts +0 -9
- package/dist/esm/commands/cronjob/listCronjobs.js +0 -6
- package/dist/esm/commands/cronjob/listExecutions.d.ts +0 -9
- package/dist/esm/commands/cronjob/listExecutions.js +0 -6
- package/dist/esm/commands/customer/getCustomer.d.ts +0 -3
- package/dist/esm/commands/customer/getCustomer.js +0 -6
- package/dist/esm/commands/customer/getCustomerCategory.d.ts +0 -3
- package/dist/esm/commands/customer/getCustomerCategory.js +0 -6
- package/dist/esm/commands/customer/getCustomerInvite.d.ts +0 -3
- package/dist/esm/commands/customer/getCustomerInvite.js +0 -6
- package/dist/esm/commands/customer/getCustomerMembership.d.ts +0 -3
- package/dist/esm/commands/customer/getCustomerMembership.js +0 -6
- package/dist/esm/commands/customer/getCustomerTokenInvite.d.ts +0 -3
- package/dist/esm/commands/customer/getCustomerTokenInvite.js +0 -6
- package/dist/esm/commands/customer/isCustomerLegallyCompetent.d.ts +0 -3
- package/dist/esm/commands/customer/isCustomerLegallyCompetent.js +0 -6
- package/dist/esm/commands/customer/listCustomerInvites.d.ts +0 -9
- package/dist/esm/commands/customer/listCustomerInvites.js +0 -6
- package/dist/esm/commands/customer/listCustomerMemberships.d.ts +0 -9
- package/dist/esm/commands/customer/listCustomerMemberships.js +0 -6
- package/dist/esm/commands/customer/listCustomers.d.ts +0 -9
- package/dist/esm/commands/customer/listCustomers.js +0 -6
- package/dist/esm/commands/customer/listInvitesForCustomer.d.ts +0 -9
- package/dist/esm/commands/customer/listInvitesForCustomer.js +0 -6
- package/dist/esm/commands/customer/listMembershipsForCustomer.d.ts +0 -9
- package/dist/esm/commands/customer/listMembershipsForCustomer.js +0 -6
- package/dist/esm/commands/customer/listOfCustomerCategories.d.ts +0 -9
- package/dist/esm/commands/customer/listOfCustomerCategories.js +0 -6
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.d.ts +0 -3
- package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.js +0 -7
- package/dist/esm/commands/domain/dnsZoneGetSpecific.d.ts +0 -3
- package/dist/esm/commands/domain/dnsZoneGetSpecific.js +0 -6
- package/dist/esm/commands/domain/dnsZonesForProject.d.ts +0 -3
- package/dist/esm/commands/domain/dnsZonesForProject.js +0 -6
- package/dist/esm/commands/domain/getHandleFields.d.ts +0 -3
- package/dist/esm/commands/domain/getHandleFields.js +0 -6
- package/dist/esm/commands/domain/getSpecificDomainOwnership.d.ts +0 -3
- package/dist/esm/commands/domain/getSpecificDomainOwnership.js +0 -6
- package/dist/esm/commands/domain/listDomainOwnerships.d.ts +0 -9
- package/dist/esm/commands/domain/listDomainOwnerships.js +0 -6
- package/dist/esm/commands/domain/tld/get.d.ts +0 -3
- package/dist/esm/commands/domain/tld/get.js +0 -6
- package/dist/esm/commands/domain/tld/list.d.ts +0 -9
- package/dist/esm/commands/domain/tld/list.js +0 -6
- package/dist/esm/commands/project/backup/get.d.ts +0 -3
- package/dist/esm/commands/project/backup/get.js +0 -6
- package/dist/esm/commands/project/backup/list.d.ts +0 -12
- package/dist/esm/commands/project/backup/list.js +0 -24
- package/dist/esm/commands/project/backupschedule/get.d.ts +0 -3
- package/dist/esm/commands/project/backupschedule/get.js +0 -6
- package/dist/esm/commands/project/backupschedule/list.d.ts +0 -13
- package/dist/esm/commands/project/backupschedule/list.js +0 -21
- package/dist/esm/commands/project/filesystem/directories.d.ts +0 -3
- package/dist/esm/commands/project/filesystem/directories.js +0 -6
- package/dist/esm/commands/project/filesystem/file-content.d.ts +0 -3
- package/dist/esm/commands/project/filesystem/file-content.js +0 -6
- package/dist/esm/commands/project/filesystem/files.d.ts +0 -16
- package/dist/esm/commands/project/filesystem/files.js +0 -25
- package/dist/esm/commands/project/list1.d.ts +0 -7
- package/dist/esm/commands/project/list1.js +0 -18
- package/dist/esm/commands/project/list2.d.ts +0 -9
- package/dist/esm/commands/project/list2.js +0 -26
- package/dist/esm/commands/project/sftp-user/list.d.ts +0 -13
- package/dist/esm/commands/project/sftp-user/list.js +0 -24
- package/dist/esm/commands/project/ssh-user/list.d.ts +0 -13
- package/dist/esm/commands/project/ssh-user/list.js +0 -24
- package/dist/esm/generated/app/getApp.d.ts +0 -16
- package/dist/esm/generated/app/getApp.js +0 -25
- package/dist/esm/generated/app/getAppinstallation.d.ts +0 -16
- package/dist/esm/generated/app/getAppinstallation.js +0 -25
- package/dist/esm/generated/app/getAppversion.d.ts +0 -16
- package/dist/esm/generated/app/getAppversion.js +0 -29
- package/dist/esm/generated/app/getSystemsoftware.d.ts +0 -16
- package/dist/esm/generated/app/getSystemsoftware.js +0 -25
- package/dist/esm/generated/app/getSystemsoftwareversion.d.ts +0 -16
- package/dist/esm/generated/app/getSystemsoftwareversion.js +0 -29
- package/dist/esm/generated/app/listAppinstallations.d.ts +0 -13
- package/dist/esm/generated/app/listAppinstallations.js +0 -24
- package/dist/esm/generated/app/listApps.d.ts +0 -13
- package/dist/esm/generated/app/listApps.js +0 -17
- package/dist/esm/generated/app/listAppversions.d.ts +0 -13
- package/dist/esm/generated/app/listAppversions.js +0 -24
- package/dist/esm/generated/app/listSystemsoftwares.d.ts +0 -13
- package/dist/esm/generated/app/listSystemsoftwares.js +0 -17
- package/dist/esm/generated/app/listSystemsoftwareversions.d.ts +0 -13
- package/dist/esm/generated/app/listSystemsoftwareversions.js +0 -24
- package/dist/esm/generated/app/retrieveStatus.d.ts +0 -14
- package/dist/esm/generated/app/retrieveStatus.js +0 -24
- package/dist/esm/generated/article/getArticle.d.ts +0 -16
- package/dist/esm/generated/article/getArticle.js +0 -25
- package/dist/esm/generated/article/listArticles.d.ts +0 -13
- package/dist/esm/generated/article/listArticles.js +0 -17
- package/dist/esm/generated/backup/getProjectBackup.d.ts +0 -16
- package/dist/esm/generated/backup/getProjectBackup.js +0 -25
- package/dist/esm/generated/backup/getProjectBackupSchedule.d.ts +0 -16
- package/dist/esm/generated/backup/getProjectBackupSchedule.js +0 -25
- package/dist/esm/generated/backup/listProjectBackupSchedules.d.ts +0 -13
- package/dist/esm/generated/backup/listProjectBackupSchedules.js +0 -24
- package/dist/esm/generated/backup/listProjectBackups.d.ts +0 -13
- package/dist/esm/generated/backup/listProjectBackups.js +0 -24
- package/dist/esm/generated/contract/getBaseItemOfContract.d.ts +0 -14
- package/dist/esm/generated/contract/getBaseItemOfContract.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContract.d.ts +0 -16
- package/dist/esm/generated/contract/getDetailOfContract.js +0 -25
- package/dist/esm/generated/contract/getDetailOfContractByDomain.d.ts +0 -14
- package/dist/esm/generated/contract/getDetailOfContractByDomain.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContractByProject.d.ts +0 -14
- package/dist/esm/generated/contract/getDetailOfContractByProject.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContractByServer.d.ts +0 -14
- package/dist/esm/generated/contract/getDetailOfContractByServer.js +0 -24
- package/dist/esm/generated/contract/getDetailOfContractItem.d.ts +0 -16
- package/dist/esm/generated/contract/getDetailOfContractItem.js +0 -29
- package/dist/esm/generated/contract/getNextTerminationDateForItem.d.ts +0 -15
- package/dist/esm/generated/contract/getNextTerminationDateForItem.js +0 -28
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.d.ts +0 -16
- package/dist/esm/generated/contract/invoiceDetailOfInvoice.js +0 -29
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.d.ts +0 -14
- package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.js +0 -24
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.d.ts +0 -13
- package/dist/esm/generated/contract/invoiceListCustomerInvoices.js +0 -24
- package/dist/esm/generated/contract/listContracts.d.ts +0 -13
- package/dist/esm/generated/contract/listContracts.js +0 -24
- package/dist/esm/generated/contract/orderGetOrder.d.ts +0 -16
- package/dist/esm/generated/contract/orderGetOrder.js +0 -25
- package/dist/esm/generated/contract/orderListCustomerOrders.d.ts +0 -13
- package/dist/esm/generated/contract/orderListCustomerOrders.js +0 -24
- package/dist/esm/generated/contract/orderListProjectOrders.d.ts +0 -13
- package/dist/esm/generated/contract/orderListProjectOrders.js +0 -24
- package/dist/esm/generated/conversation/getCategory.d.ts +0 -16
- package/dist/esm/generated/conversation/getCategory.js +0 -25
- package/dist/esm/generated/conversation/getConversation.d.ts +0 -16
- package/dist/esm/generated/conversation/getConversation.js +0 -25
- package/dist/esm/generated/conversation/listCategories.d.ts +0 -13
- package/dist/esm/generated/conversation/listCategories.js +0 -17
- package/dist/esm/generated/conversation/listConversations.d.ts +0 -13
- package/dist/esm/generated/conversation/listConversations.js +0 -17
- package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +0 -13
- package/dist/esm/generated/conversation/listMessagesByConversation.js +0 -24
- package/dist/esm/generated/cronjob/getCronjob.d.ts +0 -16
- package/dist/esm/generated/cronjob/getCronjob.js +0 -25
- package/dist/esm/generated/cronjob/getExecution.d.ts +0 -16
- package/dist/esm/generated/cronjob/getExecution.js +0 -29
- package/dist/esm/generated/cronjob/listCronjobs.d.ts +0 -13
- package/dist/esm/generated/cronjob/listCronjobs.js +0 -24
- package/dist/esm/generated/cronjob/listExecutions.d.ts +0 -13
- package/dist/esm/generated/cronjob/listExecutions.js +0 -24
- package/dist/esm/generated/customer/getCustomer.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomer.js +0 -25
- package/dist/esm/generated/customer/getCustomerCategory.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomerCategory.js +0 -25
- package/dist/esm/generated/customer/getCustomerInvite.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomerInvite.js +0 -25
- package/dist/esm/generated/customer/getCustomerMembership.d.ts +0 -16
- package/dist/esm/generated/customer/getCustomerMembership.js +0 -25
- package/dist/esm/generated/customer/getCustomerTokenInvite.d.ts +0 -14
- package/dist/esm/generated/customer/getCustomerTokenInvite.js +0 -16
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.d.ts +0 -14
- package/dist/esm/generated/customer/isCustomerLegallyCompetent.js +0 -24
- package/dist/esm/generated/customer/listCustomerInvites.d.ts +0 -13
- package/dist/esm/generated/customer/listCustomerInvites.js +0 -17
- package/dist/esm/generated/customer/listCustomerMemberships.d.ts +0 -13
- package/dist/esm/generated/customer/listCustomerMemberships.js +0 -17
- package/dist/esm/generated/customer/listCustomers.d.ts +0 -13
- package/dist/esm/generated/customer/listCustomers.js +0 -17
- package/dist/esm/generated/customer/listInvitesForCustomer.d.ts +0 -13
- package/dist/esm/generated/customer/listInvitesForCustomer.js +0 -24
- package/dist/esm/generated/customer/listMembershipsForCustomer.d.ts +0 -13
- package/dist/esm/generated/customer/listMembershipsForCustomer.js +0 -24
- package/dist/esm/generated/customer/listOfCustomerCategories.d.ts +0 -13
- package/dist/esm/generated/customer/listOfCustomerCategories.js +0 -17
- package/dist/esm/generated/database/getMysqlDatabase.d.ts +0 -16
- package/dist/esm/generated/database/getMysqlDatabase.js +0 -25
- package/dist/esm/generated/database/getMysqlUser.d.ts +0 -16
- package/dist/esm/generated/database/getMysqlUser.js +0 -25
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.d.ts +0 -14
- package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.js +0 -24
- package/dist/esm/generated/database/getRedisDatabase.d.ts +0 -16
- package/dist/esm/generated/database/getRedisDatabase.js +0 -25
- package/dist/esm/generated/database/listMysqlCharsets.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlCharsets.js +0 -17
- package/dist/esm/generated/database/listMysqlDatabases.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlDatabases.js +0 -24
- package/dist/esm/generated/database/listMysqlUsers.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlUsers.js +0 -24
- package/dist/esm/generated/database/listMysqlVersions.d.ts +0 -13
- package/dist/esm/generated/database/listMysqlVersions.js +0 -17
- package/dist/esm/generated/database/listRedisDatabases.d.ts +0 -13
- package/dist/esm/generated/database/listRedisDatabases.js +0 -24
- package/dist/esm/generated/database/listRedisVersions.d.ts +0 -13
- package/dist/esm/generated/database/listRedisVersions.js +0 -17
- package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +0 -16
- package/dist/esm/generated/domain/dnsZoneGetSpecific.js +0 -25
- package/dist/esm/generated/domain/dnsZonesForProject.d.ts +0 -14
- package/dist/esm/generated/domain/dnsZonesForProject.js +0 -24
- package/dist/esm/generated/domain/getDomain.d.ts +0 -16
- package/dist/esm/generated/domain/getDomain.js +0 -25
- package/dist/esm/generated/domain/getHandleFields.d.ts +0 -16
- package/dist/esm/generated/domain/getHandleFields.js +0 -25
- package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +0 -16
- package/dist/esm/generated/domain/getSpecificDomainOwnership.js +0 -25
- package/dist/esm/generated/domain/getToplevelDomain.d.ts +0 -16
- package/dist/esm/generated/domain/getToplevelDomain.js +0 -25
- package/dist/esm/generated/domain/ingressGetSpecific.d.ts +0 -16
- package/dist/esm/generated/domain/ingressGetSpecific.js +0 -25
- package/dist/esm/generated/domain/ingressListAccessible.d.ts +0 -13
- package/dist/esm/generated/domain/ingressListAccessible.js +0 -17
- package/dist/esm/generated/domain/ingressListForProject.d.ts +0 -13
- package/dist/esm/generated/domain/ingressListForProject.js +0 -24
- package/dist/esm/generated/domain/listDomainOwnerships.d.ts +0 -13
- package/dist/esm/generated/domain/listDomainOwnerships.js +0 -24
- package/dist/esm/generated/domain/listDomains.d.ts +0 -13
- package/dist/esm/generated/domain/listDomains.js +0 -24
- package/dist/esm/generated/domain/listToplevelDomains.d.ts +0 -13
- package/dist/esm/generated/domain/listToplevelDomains.js +0 -17
- package/dist/esm/generated/file/getFile.d.ts +0 -16
- package/dist/esm/generated/file/getFile.js +0 -25
- package/dist/esm/generated/file/getFileMeta.d.ts +0 -14
- package/dist/esm/generated/file/getFileMeta.js +0 -24
- package/dist/esm/generated/file/getFileTokenRules.d.ts +0 -16
- package/dist/esm/generated/file/getFileTokenRules.js +0 -25
- package/dist/esm/generated/file/getFileTypeRules.d.ts +0 -16
- package/dist/esm/generated/file/getFileTypeRules.js +0 -25
- package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +0 -16
- package/dist/esm/generated/mail/deliveryboxGetSpecific.js +0 -25
- package/dist/esm/generated/mail/deliveryboxList.d.ts +0 -13
- package/dist/esm/generated/mail/deliveryboxList.js +0 -24
- package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +0 -16
- package/dist/esm/generated/mail/mailaddressGetSpecific.js +0 -25
- package/dist/esm/generated/mail/mailaddressList.d.ts +0 -13
- package/dist/esm/generated/mail/mailaddressList.js +0 -24
- package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +0 -14
- package/dist/esm/generated/mail/projectsettingGetSpecific.js +0 -24
- package/dist/esm/generated/notification/newsletterGetInfo.d.ts +0 -14
- package/dist/esm/generated/notification/newsletterGetInfo.js +0 -16
- package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +0 -14
- package/dist/esm/generated/notification/scountUnreadNotifications.js +0 -16
- package/dist/esm/generated/notification/slistNotifications.d.ts +0 -13
- package/dist/esm/generated/notification/slistNotifications.js +0 -17
- package/dist/esm/generated/project/getProject.d.ts +0 -16
- package/dist/esm/generated/project/getProject.js +0 -25
- package/dist/esm/generated/project/getProjectInvite.d.ts +0 -16
- package/dist/esm/generated/project/getProjectInvite.js +0 -25
- package/dist/esm/generated/project/getProjectMembership.d.ts +0 -16
- package/dist/esm/generated/project/getProjectMembership.js +0 -25
- package/dist/esm/generated/project/getProjectTokenInvite.d.ts +0 -14
- package/dist/esm/generated/project/getProjectTokenInvite.js +0 -16
- package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +0 -14
- package/dist/esm/generated/project/getSelfMembershipForProject.js +0 -24
- package/dist/esm/generated/project/getServer.d.ts +0 -16
- package/dist/esm/generated/project/getServer.js +0 -25
- package/dist/esm/generated/project/listInvitesForProject.d.ts +0 -13
- package/dist/esm/generated/project/listInvitesForProject.js +0 -24
- package/dist/esm/generated/project/listMembershipsForProject.d.ts +0 -13
- package/dist/esm/generated/project/listMembershipsForProject.js +0 -24
- package/dist/esm/generated/project/listProjectInvites.d.ts +0 -13
- package/dist/esm/generated/project/listProjectInvites.js +0 -17
- package/dist/esm/generated/project/listProjectMemberships.d.ts +0 -13
- package/dist/esm/generated/project/listProjectMemberships.js +0 -17
- package/dist/esm/generated/project/listProjects.d.ts +0 -13
- package/dist/esm/generated/project/listProjects.js +0 -17
- package/dist/esm/generated/project/listServers.d.ts +0 -13
- package/dist/esm/generated/project/listServers.js +0 -17
- package/dist/esm/generated/projectFileSystem/getDirectories.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getDirectories.js +0 -24
- package/dist/esm/generated/projectFileSystem/getDiskUsage.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getDiskUsage.js +0 -24
- package/dist/esm/generated/projectFileSystem/getFileContent.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getFileContent.js +0 -24
- package/dist/esm/generated/projectFileSystem/getJwt.d.ts +0 -14
- package/dist/esm/generated/projectFileSystem/getJwt.js +0 -24
- package/dist/esm/generated/projectFileSystem/listFiles.d.ts +0 -13
- package/dist/esm/generated/projectFileSystem/listFiles.js +0 -24
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.d.ts +0 -16
- package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.js +0 -25
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.d.ts +0 -13
- package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.js +0 -24
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.d.ts +0 -16
- package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.js +0 -25
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.d.ts +0 -13
- package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.js +0 -24
- package/dist/esm/generated/user/getApiToken.d.ts +0 -16
- package/dist/esm/generated/user/getApiToken.js +0 -25
- package/dist/esm/generated/user/getEmail.d.ts +0 -14
- package/dist/esm/generated/user/getEmail.js +0 -16
- package/dist/esm/generated/user/getMfaStatus.d.ts +0 -14
- package/dist/esm/generated/user/getMfaStatus.js +0 -16
- package/dist/esm/generated/user/getOwnProfile.d.ts +0 -14
- package/dist/esm/generated/user/getOwnProfile.js +0 -16
- package/dist/esm/generated/user/getPasswordUpdatedAt.d.ts +0 -14
- package/dist/esm/generated/user/getPasswordUpdatedAt.js +0 -16
- package/dist/esm/generated/user/getPersonalizedSettings.d.ts +0 -14
- package/dist/esm/generated/user/getPersonalizedSettings.js +0 -24
- package/dist/esm/generated/user/getSession.d.ts +0 -16
- package/dist/esm/generated/user/getSession.js +0 -25
- package/dist/esm/generated/user/getSshKey.d.ts +0 -16
- package/dist/esm/generated/user/getSshKey.js +0 -25
- package/dist/esm/generated/user/getUser.d.ts +0 -14
- package/dist/esm/generated/user/getUser.js +0 -16
- package/dist/esm/generated/user/listApiTokens.d.ts +0 -13
- package/dist/esm/generated/user/listApiTokens.js +0 -17
- package/dist/esm/generated/user/listFeedback.d.ts +0 -13
- package/dist/esm/generated/user/listFeedback.js +0 -24
- package/dist/esm/generated/user/listSessions.d.ts +0 -13
- package/dist/esm/generated/user/listSessions.js +0 -17
- package/dist/esm/generated/user/listSshKeys.d.ts +0 -13
- package/dist/esm/generated/user/listSshKeys.js +0 -17
- package/dist/esm/generated/user/supportCodeRequest.d.ts +0 -14
- package/dist/esm/generated/user/supportCodeRequest.js +0 -16
- package/dist/esm/rendering/oclif/components/table.d.ts +0 -11
- package/dist/esm/rendering/oclif/components/table.js +0 -49
- package/dist/esm/rendering/react/components/Table.d.ts +0 -7
- package/dist/esm/rendering/react/components/Table.js +0 -4
- /package/dist/esm/rendering/react/components/{ConversationMessage.d.ts → Conversation/ConversationMessage.d.ts} +0 -0
- /package/dist/esm/rendering/react/components/{ConversationMeta.d.ts → Conversation/ConversationMeta.d.ts} +0 -0
- /package/dist/esm/rendering/react/components/{ConversationStatusUpdate.d.ts → Conversation/ConversationStatusUpdate.d.ts} +0 -0
- /package/dist/esm/rendering/react/components/{ConversationStatusUpdate.js → Conversation/ConversationStatusUpdate.js} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
export const staticInstaller = new AppInstaller("d20baefd-81d2-42aa-bfba-9a3220ae839b", "custom static site", ["document-root", "site-title", "wait"]);
|
|
4
|
+
export default class InstallStatic extends ExecRenderBaseCommand {
|
|
5
|
+
static description = staticInstaller.description;
|
|
6
|
+
static flags = staticInstaller.flags;
|
|
7
|
+
async exec() {
|
|
8
|
+
return staticInstaller.exec(this.apiClient, this.args, this.flags, this.config);
|
|
9
|
+
}
|
|
10
|
+
render(result) {
|
|
11
|
+
return staticInstaller.render(result, this.flags);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
5
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2SystemSoftwares.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["app"]["listSystemsoftwares"]>>;
|
|
8
|
+
export declare class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
13
|
+
};
|
|
14
|
+
getData(): Promise<Response>;
|
|
15
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.AppSystemSoftware[];
|
|
16
|
+
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
2
|
+
export class List extends ListBaseCommand {
|
|
3
|
+
static description = "Get all available dependencies";
|
|
4
|
+
static args = {};
|
|
5
|
+
static flags = {
|
|
6
|
+
...ListBaseCommand.baseFlags,
|
|
7
|
+
};
|
|
8
|
+
async getData() {
|
|
9
|
+
return await this.apiClient.app.listSystemsoftwares({
|
|
10
|
+
pathParameters: {},
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
mapData(data) {
|
|
14
|
+
data.sort((a, b) => a.tags[0].localeCompare(b.tags[0]) || a.name.localeCompare(b.name));
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
getColumns(data) {
|
|
18
|
+
const baseColumns = super.getColumns(data);
|
|
19
|
+
return {
|
|
20
|
+
id: baseColumns.id,
|
|
21
|
+
name: {},
|
|
22
|
+
tags: {
|
|
23
|
+
get: (item) => item.tags.join(", "),
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
export default class Update extends ExecRenderBaseCommand<typeof Update, void> {
|
|
4
|
+
static summary: string;
|
|
5
|
+
static args: {
|
|
6
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string>;
|
|
7
|
+
"installation-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string>;
|
|
8
|
+
};
|
|
9
|
+
static examples: {
|
|
10
|
+
description: string;
|
|
11
|
+
command: string;
|
|
12
|
+
}[];
|
|
13
|
+
static flags: {
|
|
14
|
+
set: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[], import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
15
|
+
"update-policy": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
16
|
+
quiet: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
17
|
+
};
|
|
18
|
+
protected exec(): Promise<void>;
|
|
19
|
+
private getVersions;
|
|
20
|
+
protected render(): ReactNode;
|
|
21
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
3
|
+
import { appInstallationArgs } from "../../../lib/app/flags.js";
|
|
4
|
+
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
5
|
+
import { Flags } from "@oclif/core";
|
|
6
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
7
|
+
import { Success } from "../../../rendering/react/components/Success.js";
|
|
8
|
+
import { Range, SemVer } from "semver";
|
|
9
|
+
import { Value } from "../../../rendering/react/components/Value.js";
|
|
10
|
+
import { Text } from "ink";
|
|
11
|
+
export default class Update extends ExecRenderBaseCommand {
|
|
12
|
+
static summary = "Update the dependencies of an app";
|
|
13
|
+
static args = { ...appInstallationArgs };
|
|
14
|
+
static examples = [
|
|
15
|
+
{
|
|
16
|
+
description: "Update Node.js version to newest available from the 18.x branch",
|
|
17
|
+
command: "<%= config.bin %> <%= command.id %> $APP_ID --set node=~18",
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
static flags = {
|
|
21
|
+
...processFlags,
|
|
22
|
+
set: Flags.string({
|
|
23
|
+
summary: "set a dependency to a specific version",
|
|
24
|
+
description: `\
|
|
25
|
+
The format is <dependency>=<version>, where <dependency> is the name of the dependency (use the "<%= config.bin %> app dependency list" command to get a list of available dependencies) and <version> is a semver constraint.
|
|
26
|
+
|
|
27
|
+
This flag may be specified multiple times to update multiple dependencies.`,
|
|
28
|
+
multiple: true,
|
|
29
|
+
required: true,
|
|
30
|
+
}),
|
|
31
|
+
"update-policy": Flags.string({
|
|
32
|
+
summary: "set the update policy for the configured dependencies",
|
|
33
|
+
default: "patchLevel",
|
|
34
|
+
options: ["none", "inheritedFromApp", "patchLevel", "all"],
|
|
35
|
+
}),
|
|
36
|
+
};
|
|
37
|
+
async exec() {
|
|
38
|
+
const appInstallationId = await this.withAppInstallationId(Update);
|
|
39
|
+
const updatePolicy = this.flags["update-policy"];
|
|
40
|
+
const process = makeProcessRenderer(this.flags, "Updating app dependencies");
|
|
41
|
+
const systemSoftwares = await process.runStep("fetching system softwares", async () => {
|
|
42
|
+
const r = await this.apiClient.app.listSystemsoftwares();
|
|
43
|
+
assertStatus(r, 200);
|
|
44
|
+
return r.data;
|
|
45
|
+
});
|
|
46
|
+
const versionsToUpdate = {};
|
|
47
|
+
for (const s of this.flags.set) {
|
|
48
|
+
const [software, versionSpec] = s.split("=");
|
|
49
|
+
const parsedVersionSpec = new Range(versionSpec);
|
|
50
|
+
if (!parsedVersionSpec) {
|
|
51
|
+
throw new Error(`version spec ${versionSpec} is not a valid semver constraint`);
|
|
52
|
+
}
|
|
53
|
+
const systemSoftware = systemSoftwares.find((s) => s.name.toLowerCase() === software.toLowerCase());
|
|
54
|
+
if (!systemSoftware) {
|
|
55
|
+
throw new Error(`unknown system software ${software}`);
|
|
56
|
+
}
|
|
57
|
+
const versions = await this.getVersions(process, systemSoftware);
|
|
58
|
+
const version = await process.runStep(`determining version for ${software}`, async () => {
|
|
59
|
+
const exactMatch = versions.find((v) => v.externalVersion === versionSpec);
|
|
60
|
+
if (exactMatch) {
|
|
61
|
+
return exactMatch;
|
|
62
|
+
}
|
|
63
|
+
const version = versions.find((v) => parsedVersionSpec.test(v.externalVersion));
|
|
64
|
+
if (!version) {
|
|
65
|
+
const available = versions.map((v) => v.externalVersion).join(", ");
|
|
66
|
+
throw new Error(`unknown version ${versionSpec} for ${software}; available versions are: ${available}`);
|
|
67
|
+
}
|
|
68
|
+
return version;
|
|
69
|
+
});
|
|
70
|
+
process.addInfo(_jsxs(Text, { children: ["selected ", _jsx(Value, { children: systemSoftware.name }), " version:", " ", _jsx(Value, { children: version.externalVersion })] }));
|
|
71
|
+
versionsToUpdate[systemSoftware.id] = {
|
|
72
|
+
systemSoftwareVersion: version.id,
|
|
73
|
+
updatePolicy,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
await process.runStep("updating app dependencies", async () => {
|
|
77
|
+
const r = await this.apiClient.app.patchAppinstallation({
|
|
78
|
+
appInstallationId,
|
|
79
|
+
data: {
|
|
80
|
+
systemSoftware: versionsToUpdate,
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
assertStatus(r, 204);
|
|
84
|
+
});
|
|
85
|
+
process.complete(_jsx(Success, { children: "The dependencies of this app were successfully updated!" }));
|
|
86
|
+
}
|
|
87
|
+
async getVersions(p, systemSoftware) {
|
|
88
|
+
const versions = await p.runStep(`fetching versions for ${systemSoftware.name}`, async () => {
|
|
89
|
+
const r = await this.apiClient.app.listSystemsoftwareversions({
|
|
90
|
+
systemSoftwareId: systemSoftware.id,
|
|
91
|
+
});
|
|
92
|
+
assertStatus(r, 200);
|
|
93
|
+
return r.data;
|
|
94
|
+
});
|
|
95
|
+
versions.sort((a, b) => {
|
|
96
|
+
return (new SemVer(a.externalVersion).compare(new SemVer(b.externalVersion)) *
|
|
97
|
+
-1);
|
|
98
|
+
});
|
|
99
|
+
return versions;
|
|
100
|
+
}
|
|
101
|
+
render() {
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
4
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
5
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2SystemSoftwareSystemSoftwareIdVersions.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["app"]["listSystemsoftwareversions"]>>;
|
|
8
|
+
export declare class Versions extends ListBaseCommand<typeof Versions, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {
|
|
11
|
+
systemsoftware: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
|
|
12
|
+
};
|
|
13
|
+
static flags: {
|
|
14
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
15
|
+
};
|
|
16
|
+
getData(): Promise<Response>;
|
|
17
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[];
|
|
18
|
+
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { assertStatus } from "@mittwald/api-client-commons";
|
|
2
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
+
import { SemVer } from "semver";
|
|
4
|
+
import { Args } from "@oclif/core";
|
|
5
|
+
export class Versions extends ListBaseCommand {
|
|
6
|
+
static description = "Get all available versions of a particular dependency";
|
|
7
|
+
static args = {
|
|
8
|
+
systemsoftware: Args.string({
|
|
9
|
+
description: "name of the systemsoftware for which to list versions",
|
|
10
|
+
required: true,
|
|
11
|
+
}),
|
|
12
|
+
};
|
|
13
|
+
static flags = {
|
|
14
|
+
...ListBaseCommand.baseFlags,
|
|
15
|
+
};
|
|
16
|
+
async getData() {
|
|
17
|
+
const systemSoftwareName = this.args["systemsoftware"];
|
|
18
|
+
const systemSoftwares = await this.apiClient.app.listSystemsoftwares({});
|
|
19
|
+
assertStatus(systemSoftwares, 200);
|
|
20
|
+
const systemSoftware = systemSoftwares.data.find((s) => s.name.toLowerCase() === systemSoftwareName.toLowerCase());
|
|
21
|
+
if (!systemSoftware) {
|
|
22
|
+
throw new Error(`system software ${systemSoftwareName} not found`);
|
|
23
|
+
}
|
|
24
|
+
return await this.apiClient.app.listSystemsoftwareversions({
|
|
25
|
+
systemSoftwareId: systemSoftware.id,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
mapData(data) {
|
|
29
|
+
data.sort((a, b) => new SemVer(a.externalVersion).compare(b.externalVersion));
|
|
30
|
+
return data;
|
|
31
|
+
}
|
|
32
|
+
getColumns(data) {
|
|
33
|
+
const baseColumns = super.getColumns(data);
|
|
34
|
+
return {
|
|
35
|
+
id: baseColumns.id,
|
|
36
|
+
externalVersion: { header: "Version" },
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RenderBaseCommand } from "../../rendering/react/RenderBaseCommand.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
export default class Get extends RenderBaseCommand<typeof Get> {
|
|
4
|
+
static description: string;
|
|
5
|
+
static flags: {
|
|
6
|
+
[x: string]: import("@oclif/core/lib/interfaces/parser.js").Flag<any>;
|
|
7
|
+
};
|
|
8
|
+
static args: {
|
|
9
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string>;
|
|
10
|
+
"installation-id": import("@oclif/core/lib/interfaces/parser.js").Arg<string>;
|
|
11
|
+
};
|
|
12
|
+
protected render(): ReactNode;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { RenderBaseCommand } from "../../rendering/react/RenderBaseCommand.js";
|
|
3
|
+
import { RenderJson } from "../../rendering/react/json/RenderJson.js";
|
|
4
|
+
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
5
|
+
import { AppInstallationDetails } from "../../rendering/react/components/AppInstallation/AppInstallationDetails.js";
|
|
6
|
+
import { useApp, useAppInstallation } from "../../lib/app/hooks.js";
|
|
7
|
+
import { appInstallationArgs } from "../../lib/app/flags.js";
|
|
8
|
+
export default class Get extends RenderBaseCommand {
|
|
9
|
+
static description = "Get details about an app installation";
|
|
10
|
+
static flags = { ...GetBaseCommand.baseFlags };
|
|
11
|
+
static args = { ...appInstallationArgs };
|
|
12
|
+
render() {
|
|
13
|
+
const appInstallationId = this.useAppInstallationId(Get);
|
|
14
|
+
const appInstallation = useAppInstallation(appInstallationId);
|
|
15
|
+
const app = useApp(appInstallation.appId);
|
|
16
|
+
if (this.flags.output === "json") {
|
|
17
|
+
return _jsx(RenderJson, { name: "appInstallation", data: appInstallation });
|
|
18
|
+
}
|
|
19
|
+
return (_jsx(AppInstallationDetails, { appInstallation: appInstallation, app: app }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallContao extends ExecRenderBaseCommand<typeof InstallContao, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "admin-firstname" | "admin-lastname" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("4916ce3e-cba4-4d2e-9798-a8764aa14cf3", "Contao", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-firstname",
|
|
7
|
+
"admin-user",
|
|
8
|
+
"admin-email",
|
|
9
|
+
"admin-pass",
|
|
10
|
+
"admin-firstname",
|
|
11
|
+
"admin-lastname",
|
|
12
|
+
"site-title",
|
|
13
|
+
"wait",
|
|
14
|
+
]);
|
|
15
|
+
export default class InstallContao extends ExecRenderBaseCommand {
|
|
16
|
+
static description = installer.description;
|
|
17
|
+
static flags = installer.flags;
|
|
18
|
+
async exec() {
|
|
19
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
20
|
+
}
|
|
21
|
+
render(result) {
|
|
22
|
+
return installer.render(result, this.flags);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallDrupal extends ExecRenderBaseCommand<typeof InstallDrupal, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("3d8a261a-3d6f-4e09-b68c-bfe90aece514", "Drupal", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"site-title",
|
|
10
|
+
"wait",
|
|
11
|
+
]);
|
|
12
|
+
export default class InstallDrupal extends ExecRenderBaseCommand {
|
|
13
|
+
static description = installer.description;
|
|
14
|
+
static flags = installer.flags;
|
|
15
|
+
async exec() {
|
|
16
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
17
|
+
}
|
|
18
|
+
render(result) {
|
|
19
|
+
return installer.render(result, this.flags);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallGrav extends ExecRenderBaseCommand<typeof InstallGrav, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "admin-user" | "admin-email" | "admin-pass" | "admin-firstname" | "admin-lastname" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("d3a465da-75a2-44ab-8e81-6960055f6255", "Grav", [
|
|
4
|
+
"version",
|
|
5
|
+
"admin-user",
|
|
6
|
+
"admin-email",
|
|
7
|
+
"admin-pass",
|
|
8
|
+
"admin-firstname",
|
|
9
|
+
"admin-lastname",
|
|
10
|
+
"site-title",
|
|
11
|
+
"wait",
|
|
12
|
+
]);
|
|
13
|
+
export default class InstallGrav extends ExecRenderBaseCommand {
|
|
14
|
+
static description = installer.description;
|
|
15
|
+
static flags = installer.flags;
|
|
16
|
+
async exec() {
|
|
17
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
18
|
+
}
|
|
19
|
+
render(result) {
|
|
20
|
+
return installer.render(result, this.flags);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallJoomla extends ExecRenderBaseCommand<typeof InstallJoomla, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "admin-firstname" | "admin-lastname" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("8d404bff-6d75-4833-9eed-1b83b0552585", "Joomla!", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"admin-firstname",
|
|
10
|
+
"admin-lastname",
|
|
11
|
+
"site-title",
|
|
12
|
+
"wait",
|
|
13
|
+
]);
|
|
14
|
+
export default class InstallJoomla extends ExecRenderBaseCommand {
|
|
15
|
+
static description = installer.description;
|
|
16
|
+
static flags = installer.flags;
|
|
17
|
+
async exec() {
|
|
18
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
19
|
+
}
|
|
20
|
+
render(result) {
|
|
21
|
+
return installer.render(result, this.flags);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallMatomo extends ExecRenderBaseCommand<typeof InstallMatomo, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("91fa05e7-34f7-42e8-a8d3-a9c42abd5f8c", "Matomo", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"site-title",
|
|
10
|
+
"wait",
|
|
11
|
+
]);
|
|
12
|
+
export default class InstallMatomo extends ExecRenderBaseCommand {
|
|
13
|
+
static description = installer.description;
|
|
14
|
+
static flags = installer.flags;
|
|
15
|
+
async exec() {
|
|
16
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
17
|
+
}
|
|
18
|
+
render(result) {
|
|
19
|
+
return installer.render(result, this.flags);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallNextcloud extends ExecRenderBaseCommand<typeof InstallNextcloud, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("0b97d59f-ee13-4f18-a1f6-53e1beaf2e70", "Shopware 6", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"site-title",
|
|
10
|
+
"wait",
|
|
11
|
+
]);
|
|
12
|
+
export default class InstallNextcloud extends ExecRenderBaseCommand {
|
|
13
|
+
static description = installer.description;
|
|
14
|
+
static flags = installer.flags;
|
|
15
|
+
async exec() {
|
|
16
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
17
|
+
}
|
|
18
|
+
render(result) {
|
|
19
|
+
return installer.render(result, this.flags);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallShopware5 extends ExecRenderBaseCommand<typeof InstallShopware5, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "admin-firstname" | "admin-lastname" | "site-title" | "shop-email" | "shop-lang" | "shop-currency" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("a23acf9c-9298-4082-9e7d-25356f9976dc", "Shopware 5", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"admin-firstname",
|
|
10
|
+
"admin-lastname",
|
|
11
|
+
"site-title",
|
|
12
|
+
"shop-email",
|
|
13
|
+
"shop-lang",
|
|
14
|
+
"shop-currency",
|
|
15
|
+
"wait",
|
|
16
|
+
]);
|
|
17
|
+
export default class InstallShopware5 extends ExecRenderBaseCommand {
|
|
18
|
+
static description = installer.description;
|
|
19
|
+
static flags = installer.flags;
|
|
20
|
+
async exec() {
|
|
21
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
22
|
+
}
|
|
23
|
+
render(result) {
|
|
24
|
+
return installer.render(result, this.flags);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallShopware6 extends ExecRenderBaseCommand<typeof InstallShopware6, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "admin-firstname" | "admin-lastname" | "site-title" | "shop-email" | "shop-lang" | "shop-currency" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("12d54d05-7e55-4cf3-90c4-093516e0eaf8", "Shopware 6", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"admin-firstname",
|
|
10
|
+
"admin-lastname",
|
|
11
|
+
"site-title",
|
|
12
|
+
"shop-email",
|
|
13
|
+
"shop-lang",
|
|
14
|
+
"shop-currency",
|
|
15
|
+
"wait",
|
|
16
|
+
]);
|
|
17
|
+
export default class InstallShopware6 extends ExecRenderBaseCommand {
|
|
18
|
+
static description = installer.description;
|
|
19
|
+
static flags = installer.flags;
|
|
20
|
+
async exec() {
|
|
21
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
22
|
+
}
|
|
23
|
+
render(result) {
|
|
24
|
+
return installer.render(result, this.flags);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallTYPO3 extends ExecRenderBaseCommand<typeof InstallTYPO3, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "install-mode" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import { AppInstaller, } from "../../../lib/app/Installer.js";
|
|
3
|
+
const installer = new AppInstaller("352971cc-b96a-4a26-8651-b08d7c8a7357", "TYPO3", [
|
|
4
|
+
"version",
|
|
5
|
+
"host",
|
|
6
|
+
"admin-user",
|
|
7
|
+
"admin-email",
|
|
8
|
+
"admin-pass",
|
|
9
|
+
"site-title",
|
|
10
|
+
"install-mode",
|
|
11
|
+
"wait",
|
|
12
|
+
]);
|
|
13
|
+
export default class InstallTYPO3 extends ExecRenderBaseCommand {
|
|
14
|
+
static description = installer.description;
|
|
15
|
+
static flags = installer.flags;
|
|
16
|
+
async exec() {
|
|
17
|
+
return installer.exec(this.apiClient, this.args, this.flags, this.config);
|
|
18
|
+
}
|
|
19
|
+
render(result) {
|
|
20
|
+
return installer.render(result, this.flags);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AppInstallationResult } from "../../../lib/app/Installer.js";
|
|
4
|
+
export default class InstallWordPress extends ExecRenderBaseCommand<typeof InstallWordPress, AppInstallationResult> {
|
|
5
|
+
static description: string;
|
|
6
|
+
static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "wait")[]>>;
|
|
7
|
+
protected exec(): Promise<{
|
|
8
|
+
appInstallationId: string;
|
|
9
|
+
}>;
|
|
10
|
+
protected render(result: AppInstallationResult): React.ReactNode;
|
|
11
|
+
}
|