@mittwald/cli 1.0.0-alpha.45 → 1.0.0-alpha.47
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 +214 -154
- package/bin/run.js +1 -1
- package/dist/commands/app/copy.d.ts +1 -1
- package/dist/commands/app/copy.js +2 -2
- package/dist/commands/app/create/node.d.ts +4 -4
- package/dist/commands/app/create/node.js +2 -2
- package/dist/commands/app/create/php.d.ts +4 -4
- package/dist/commands/app/create/php.js +2 -2
- package/dist/commands/app/create/python.d.ts +4 -4
- package/dist/commands/app/create/python.js +2 -2
- package/dist/commands/app/create/static.d.ts +4 -4
- package/dist/commands/app/create/static.js +2 -2
- package/dist/commands/app/dependency/list.d.ts +3 -4
- package/dist/commands/app/dependency/list.js +2 -5
- package/dist/commands/app/dependency/update.d.ts +1 -1
- package/dist/commands/app/dependency/update.js +2 -2
- package/dist/commands/app/dependency/versions.d.ts +3 -4
- package/dist/commands/app/dependency/versions.js +2 -5
- package/dist/commands/app/download.d.ts +3 -2
- package/dist/commands/app/download.js +15 -31
- package/dist/commands/app/get.d.ts +1 -1
- package/dist/commands/app/get.js +4 -4
- package/dist/commands/app/install/contao.d.ts +3 -3
- package/dist/commands/app/install/contao.js +2 -3
- package/dist/commands/app/install/drupal.d.ts +4 -4
- package/dist/commands/app/install/drupal.js +2 -3
- package/dist/commands/app/install/grav.d.ts +3 -3
- package/dist/commands/app/install/grav.js +2 -3
- package/dist/commands/app/install/joomla.d.ts +3 -3
- package/dist/commands/app/install/joomla.js +2 -3
- package/dist/commands/app/install/matomo.d.ts +3 -3
- package/dist/commands/app/install/matomo.js +2 -3
- package/dist/commands/app/install/moodle.d.ts +4 -4
- package/dist/commands/app/install/moodle.js +2 -3
- package/dist/commands/app/install/neos.d.ts +4 -4
- package/dist/commands/app/install/neos.js +2 -3
- package/dist/commands/app/install/nextcloud.d.ts +3 -3
- package/dist/commands/app/install/nextcloud.js +2 -3
- package/dist/commands/app/install/prestashop.d.ts +4 -4
- package/dist/commands/app/install/prestashop.js +2 -3
- package/dist/commands/app/install/shopware5.d.ts +3 -3
- package/dist/commands/app/install/shopware5.js +2 -3
- package/dist/commands/app/install/shopware6.d.ts +4 -4
- package/dist/commands/app/install/shopware6.js +2 -3
- package/dist/commands/app/install/typo3.d.ts +4 -4
- package/dist/commands/app/install/typo3.js +2 -3
- package/dist/commands/app/install/wordpress.d.ts +4 -4
- package/dist/commands/app/install/wordpress.js +2 -3
- package/dist/commands/app/list-upgrade-candidates.d.ts +2 -2
- package/dist/commands/app/list-upgrade-candidates.js +4 -4
- package/dist/commands/app/list.d.ts +3 -3
- package/dist/commands/app/list.js +4 -4
- package/dist/commands/app/ssh.d.ts +1 -1
- package/dist/commands/app/ssh.js +6 -6
- package/dist/commands/app/uninstall.d.ts +1 -1
- package/dist/commands/app/uninstall.js +2 -2
- package/dist/commands/app/upgrade.d.ts +3 -2
- package/dist/commands/app/upgrade.js +9 -11
- package/dist/commands/app/upload.d.ts +3 -2
- package/dist/commands/app/upload.js +15 -28
- package/dist/commands/app/versions.d.ts +2 -2
- package/dist/commands/app/versions.js +10 -19
- package/dist/commands/backup/create.d.ts +3 -3
- package/dist/commands/backup/create.js +6 -7
- package/dist/commands/backup/delete.d.ts +2 -2
- package/dist/commands/backup/delete.js +4 -9
- package/dist/commands/backup/download.d.ts +3 -3
- package/dist/commands/backup/download.js +20 -25
- package/dist/commands/backup/get.d.ts +2 -2
- package/dist/commands/backup/get.js +9 -12
- package/dist/commands/backup/list.d.ts +2 -4
- package/dist/commands/backup/list.js +8 -11
- package/dist/commands/backup/schedule/list.d.ts +2 -4
- package/dist/commands/backup/schedule/list.js +2 -5
- package/dist/commands/context/get.d.ts +1 -1
- package/dist/commands/context/get.js +2 -2
- package/dist/commands/context/reset.d.ts +1 -1
- package/dist/commands/context/reset.js +2 -2
- package/dist/commands/context/set.d.ts +1 -1
- package/dist/commands/context/set.js +6 -11
- package/dist/commands/conversation/categories.d.ts +2 -4
- package/dist/commands/conversation/categories.js +3 -6
- package/dist/commands/conversation/close.d.ts +3 -3
- package/dist/commands/conversation/close.js +6 -10
- package/dist/commands/conversation/create.d.ts +1 -1
- package/dist/commands/conversation/create.js +2 -2
- package/dist/commands/conversation/list.d.ts +2 -4
- package/dist/commands/conversation/list.js +2 -5
- package/dist/commands/conversation/reply.d.ts +3 -3
- package/dist/commands/conversation/reply.js +9 -14
- package/dist/commands/conversation/show.d.ts +3 -3
- package/dist/commands/conversation/show.js +8 -14
- package/dist/commands/conversation/show2.d.ts +1 -1
- package/dist/commands/conversation/show2.js +1 -1
- package/dist/commands/cronjob/create.d.ts +3 -1
- package/dist/commands/cronjob/create.js +10 -4
- package/dist/commands/cronjob/delete.d.ts +1 -1
- package/dist/commands/cronjob/delete.js +2 -2
- package/dist/commands/cronjob/execute.d.ts +1 -1
- package/dist/commands/cronjob/execute.js +1 -1
- package/dist/commands/cronjob/execution/abort.d.ts +1 -1
- package/dist/commands/cronjob/execution/abort.js +2 -2
- package/dist/commands/cronjob/execution/get.d.ts +1 -1
- package/dist/commands/cronjob/execution/get.js +1 -1
- package/dist/commands/cronjob/execution/list.d.ts +2 -4
- package/dist/commands/cronjob/execution/list.js +5 -7
- package/dist/commands/cronjob/execution/logs.d.ts +1 -1
- package/dist/commands/cronjob/execution/logs.js +2 -2
- package/dist/commands/cronjob/get.d.ts +2 -2
- package/dist/commands/cronjob/get.js +3 -3
- package/dist/commands/cronjob/list.d.ts +2 -4
- package/dist/commands/cronjob/list.js +3 -6
- package/dist/commands/database/mysql/charsets.d.ts +3 -4
- package/dist/commands/database/mysql/charsets.js +2 -5
- package/dist/commands/database/mysql/create.d.ts +2 -2
- package/dist/commands/database/mysql/create.js +5 -5
- package/dist/commands/database/mysql/delete.d.ts +1 -2
- package/dist/commands/database/mysql/delete.js +3 -7
- package/dist/commands/database/mysql/dump.d.ts +1 -1
- package/dist/commands/database/mysql/dump.js +6 -6
- package/dist/commands/database/mysql/get.d.ts +1 -1
- package/dist/commands/database/mysql/get.js +2 -2
- package/dist/commands/database/mysql/import.d.ts +1 -1
- package/dist/commands/database/mysql/import.js +6 -6
- package/dist/commands/database/mysql/list.d.ts +2 -4
- package/dist/commands/database/mysql/list.js +2 -5
- package/dist/commands/database/mysql/phpmyadmin.d.ts +1 -1
- package/dist/commands/database/mysql/phpmyadmin.js +2 -2
- package/dist/commands/database/mysql/port-forward.d.ts +1 -1
- package/dist/commands/database/mysql/port-forward.js +6 -6
- package/dist/commands/database/mysql/shell.d.ts +1 -1
- package/dist/commands/database/mysql/shell.js +6 -6
- package/dist/commands/database/mysql/user/delete.d.ts +1 -1
- package/dist/commands/database/mysql/user/delete.js +2 -2
- package/dist/commands/database/mysql/user/get.d.ts +1 -1
- package/dist/commands/database/mysql/user/get.js +1 -1
- package/dist/commands/database/mysql/user/list.d.ts +2 -4
- package/dist/commands/database/mysql/user/list.js +1 -4
- package/dist/commands/database/mysql/versions.d.ts +2 -4
- package/dist/commands/database/mysql/versions.js +1 -4
- package/dist/commands/database/redis/create.d.ts +1 -1
- package/dist/commands/database/redis/create.js +2 -2
- package/dist/commands/database/redis/get.d.ts +1 -1
- package/dist/commands/database/redis/get.js +1 -1
- package/dist/commands/database/redis/list.d.ts +2 -4
- package/dist/commands/database/redis/list.js +2 -5
- package/dist/commands/database/redis/shell.d.ts +1 -1
- package/dist/commands/database/redis/shell.js +6 -6
- package/dist/commands/database/redis/versions.d.ts +2 -4
- package/dist/commands/database/redis/versions.js +2 -5
- package/dist/commands/ddev/init.d.ts +1 -1
- package/dist/commands/ddev/init.js +3 -3
- package/dist/commands/ddev/render-config.d.ts +1 -1
- package/dist/commands/ddev/render-config.js +2 -2
- package/dist/commands/domain/dnszone/get.d.ts +1 -1
- package/dist/commands/domain/dnszone/get.js +3 -3
- package/dist/commands/domain/dnszone/list.d.ts +2 -4
- package/dist/commands/domain/dnszone/list.js +3 -6
- package/dist/commands/domain/dnszone/update.d.ts +1 -1
- package/dist/commands/domain/dnszone/update.js +3 -3
- package/dist/commands/domain/get.d.ts +1 -1
- package/dist/commands/domain/get.js +3 -3
- package/dist/commands/domain/list.d.ts +2 -4
- package/dist/commands/domain/list.js +2 -5
- package/dist/commands/domain/virtualhost/create.d.ts +1 -1
- package/dist/commands/domain/virtualhost/create.js +2 -2
- package/dist/commands/domain/virtualhost/delete.d.ts +1 -1
- package/dist/commands/domain/virtualhost/delete.js +1 -1
- package/dist/commands/domain/virtualhost/get.d.ts +1 -1
- package/dist/commands/domain/virtualhost/get.js +2 -2
- package/dist/commands/domain/virtualhost/list.d.ts +2 -4
- package/dist/commands/domain/virtualhost/list.js +2 -5
- package/dist/commands/login/reset.d.ts +1 -1
- package/dist/commands/login/reset.js +2 -2
- package/dist/commands/login/status.d.ts +1 -1
- package/dist/commands/login/status.js +1 -1
- package/dist/commands/login/token.d.ts +1 -1
- package/dist/commands/login/token.js +2 -2
- package/dist/commands/mail/address/create.d.ts +3 -2
- package/dist/commands/mail/address/create.js +6 -5
- package/dist/commands/mail/address/delete.d.ts +1 -1
- package/dist/commands/mail/address/delete.js +1 -1
- package/dist/commands/mail/address/get.d.ts +1 -1
- package/dist/commands/mail/address/get.js +1 -1
- package/dist/commands/mail/address/list.d.ts +2 -4
- package/dist/commands/mail/address/list.js +6 -9
- package/dist/commands/mail/address/update.d.ts +1 -1
- package/dist/commands/mail/address/update.js +2 -2
- package/dist/commands/mail/deliverybox/get.d.ts +1 -1
- package/dist/commands/mail/deliverybox/get.js +1 -1
- package/dist/commands/mail/deliverybox/list.d.ts +2 -4
- package/dist/commands/mail/deliverybox/list.js +3 -6
- package/dist/commands/org/delete.d.ts +1 -1
- package/dist/commands/org/delete.js +2 -2
- package/dist/commands/org/get.d.ts +1 -1
- package/dist/commands/org/get.js +3 -3
- package/dist/commands/org/invite/list-own.d.ts +3 -3
- package/dist/commands/org/invite/list-own.js +2 -2
- package/dist/commands/org/invite/list.d.ts +3 -6
- package/dist/commands/org/invite/list.js +10 -12
- package/dist/commands/org/invite/revoke.d.ts +1 -1
- package/dist/commands/org/invite/revoke.js +1 -1
- package/dist/commands/org/invite.d.ts +2 -2
- package/dist/commands/org/invite.js +5 -5
- package/dist/commands/org/list.d.ts +2 -4
- package/dist/commands/org/list.js +1 -4
- package/dist/commands/org/membership/list-own.d.ts +3 -3
- package/dist/commands/org/membership/list-own.js +6 -7
- package/dist/commands/org/membership/list.d.ts +3 -3
- package/dist/commands/org/membership/list.js +7 -8
- package/dist/commands/org/membership/revoke.d.ts +1 -1
- package/dist/commands/org/membership/revoke.js +1 -1
- package/dist/commands/project/create.d.ts +2 -2
- package/dist/commands/project/create.js +3 -3
- package/dist/commands/project/delete.d.ts +1 -1
- package/dist/commands/project/delete.js +3 -3
- package/dist/commands/project/filesystem/usage.d.ts +1 -1
- package/dist/commands/project/filesystem/usage.js +16 -11
- package/dist/commands/project/get.d.ts +2 -2
- package/dist/commands/project/get.js +6 -6
- package/dist/commands/project/invite/get.d.ts +1 -1
- package/dist/commands/project/invite/get.js +1 -1
- package/dist/commands/project/invite/list-own.d.ts +2 -4
- package/dist/commands/project/invite/list-own.js +2 -5
- package/dist/commands/project/invite/list.d.ts +2 -4
- package/dist/commands/project/invite/list.js +13 -16
- package/dist/commands/project/list.d.ts +3 -6
- package/dist/commands/project/list.js +1 -4
- package/dist/commands/project/membership/get-own.d.ts +1 -1
- package/dist/commands/project/membership/get-own.js +2 -2
- package/dist/commands/project/membership/get.d.ts +1 -1
- package/dist/commands/project/membership/get.js +1 -1
- package/dist/commands/project/membership/list-own.d.ts +2 -4
- package/dist/commands/project/membership/list-own.js +10 -15
- package/dist/commands/project/membership/list.d.ts +3 -3
- package/dist/commands/project/membership/list.js +3 -3
- package/dist/commands/project/ssh.d.ts +1 -1
- package/dist/commands/project/ssh.js +5 -5
- package/dist/commands/project/update.d.ts +1 -1
- package/dist/commands/project/update.js +2 -2
- package/dist/commands/server/get.d.ts +1 -1
- package/dist/commands/server/get.js +2 -2
- package/dist/commands/server/list.d.ts +2 -4
- package/dist/commands/server/list.js +1 -4
- package/dist/commands/sftp-user/delete.d.ts +1 -1
- package/dist/commands/sftp-user/delete.js +2 -2
- package/dist/commands/sftp-user/list.d.ts +2 -5
- package/dist/commands/sftp-user/list.js +2 -5
- package/dist/commands/ssh-user/delete.d.ts +1 -1
- package/dist/commands/ssh-user/delete.js +2 -2
- package/dist/commands/ssh-user/list.d.ts +2 -5
- package/dist/commands/ssh-user/list.js +2 -5
- package/dist/commands/user/api-token/create.d.ts +3 -4
- package/dist/commands/user/api-token/create.js +14 -25
- package/dist/commands/user/api-token/get.d.ts +1 -1
- package/dist/commands/user/api-token/get.js +1 -1
- package/dist/commands/user/api-token/list.d.ts +2 -4
- package/dist/commands/user/api-token/list.js +10 -13
- package/dist/commands/user/api-token/revoke.d.ts +1 -1
- package/dist/commands/user/api-token/revoke.js +1 -1
- package/dist/commands/user/get.d.ts +1 -1
- package/dist/commands/user/get.js +1 -1
- package/dist/commands/user/session/get.d.ts +1 -1
- package/dist/commands/user/session/get.js +1 -1
- package/dist/commands/user/session/list.d.ts +2 -4
- package/dist/commands/user/session/list.js +10 -12
- package/dist/commands/user/ssh-key/create.d.ts +2 -2
- package/dist/commands/user/ssh-key/create.js +5 -5
- package/dist/commands/user/ssh-key/delete.d.ts +1 -1
- package/dist/commands/user/ssh-key/delete.js +1 -1
- package/dist/commands/user/ssh-key/get.d.ts +1 -1
- package/dist/commands/user/ssh-key/get.js +1 -1
- package/dist/commands/user/ssh-key/import.d.ts +2 -2
- package/dist/commands/user/ssh-key/import.js +5 -5
- package/dist/commands/user/ssh-key/list.d.ts +3 -3
- package/dist/commands/user/ssh-key/list.js +3 -3
- package/dist/lib/apiutil/SuccessfulResponse.d.ts +19 -0
- package/dist/lib/auth/token.js +1 -1
- package/dist/{BaseCommand.js → lib/basecommands/BaseCommand.js} +4 -4
- package/dist/{types.d.ts → lib/basecommands/CommandFlags.d.ts} +2 -4
- package/dist/{DeleteBaseCommand.d.ts → lib/basecommands/DeleteBaseCommand.d.ts} +1 -1
- package/dist/{DeleteBaseCommand.js → lib/basecommands/DeleteBaseCommand.js} +3 -3
- package/dist/{rendering/react → lib/basecommands}/ExecRenderBaseCommand.d.ts +2 -2
- package/dist/{rendering/react → lib/basecommands}/ExecRenderBaseCommand.js +2 -2
- package/dist/{ExtendedBaseCommand.d.ts → lib/basecommands/ExtendedBaseCommand.d.ts} +2 -2
- package/dist/{ExtendedBaseCommand.js → lib/basecommands/ExtendedBaseCommand.js} +3 -3
- package/dist/{GetBaseCommand.d.ts → lib/basecommands/GetBaseCommand.d.ts} +1 -1
- package/dist/{GetBaseCommand.js → lib/basecommands/GetBaseCommand.js} +1 -1
- package/dist/{ListBaseCommand.d.ts → lib/basecommands/ListBaseCommand.d.ts} +5 -3
- package/dist/{ListBaseCommand.js → lib/basecommands/ListBaseCommand.js} +10 -3
- package/dist/{rendering/react → lib/basecommands}/RenderBaseCommand.d.ts +3 -3
- package/dist/{rendering/react → lib/basecommands}/RenderBaseCommand.js +6 -6
- package/dist/lib/{context.d.ts → context/Context.d.ts} +11 -14
- package/dist/lib/{context.js → context/Context.js} +12 -5
- package/dist/lib/context/ContextProvider.d.ts +6 -0
- package/dist/lib/{context_ddev.d.ts → context/DDEVContextProvider.d.ts} +3 -2
- package/dist/lib/{context_ddev.js → context/DDEVContextProvider.js} +3 -3
- package/dist/lib/context/FlagSet.d.ts +20 -0
- package/dist/lib/{context_flags.d.ts → context/FlagSetBuilder.d.ts} +23 -9
- package/dist/lib/context/FlagSetBuilder.js +148 -0
- package/dist/lib/context/TerraformContextProvider.d.ts +7 -0
- package/dist/lib/{context_terraform.js → context/TerraformContextProvider.js} +2 -2
- package/dist/lib/{context_user.d.ts → context/UserContextProvider.d.ts} +4 -2
- package/dist/lib/{context_user.js → context/UserContextProvider.js} +4 -6
- package/dist/lib/context/WritableContextProvider.d.ts +14 -0
- package/dist/lib/context/WritableContextProvider.js +1 -0
- package/dist/lib/ddev/config_loader.js +1 -1
- package/dist/lib/ddev/init_assert.js +2 -2
- package/dist/lib/error/UnexpectedShortIDPassedError.js +1 -1
- package/dist/lib/{handleError.d.ts → error/handleError.d.ts} +2 -3
- package/dist/lib/{handleError.js → error/handleError.js} +4 -6
- package/dist/lib/flags/expireFlags.d.ts +7 -0
- package/dist/lib/flags/expireFlags.js +18 -0
- package/dist/lib/{app → resources/app}/Installer.d.ts +5 -3
- package/dist/lib/{app → resources/app}/Installer.js +4 -4
- package/dist/lib/{app → resources/app}/custom_installation.js +3 -3
- package/dist/lib/{app → resources/app}/flags.d.ts +7 -7
- package/dist/lib/{app → resources/app}/flags.js +18 -12
- package/dist/lib/{app → resources/app}/hooks.js +1 -1
- package/dist/lib/{app → resources/app}/install.d.ts +1 -1
- package/dist/lib/resources/app/sync.d.ts +15 -0
- package/dist/lib/resources/app/sync.js +55 -0
- package/dist/lib/resources/app/upgrade.d.ts +1 -0
- package/dist/lib/resources/app/upgrade.js +1 -0
- package/dist/lib/{app → resources/app}/versions.d.ts +1 -1
- package/dist/lib/{app → resources/app}/versions.js +1 -1
- package/dist/lib/{app → resources/app}/wait.d.ts +3 -2
- package/dist/lib/{app → resources/app}/wait.js +3 -3
- package/dist/lib/resources/backup/flags.d.ts +1 -0
- package/dist/lib/resources/backup/flags.js +4 -0
- package/dist/lib/resources/conversation/flags.d.ts +2 -0
- package/dist/lib/resources/conversation/flags.js +12 -0
- package/dist/lib/{database → resources/database}/common.d.ts +1 -1
- package/dist/lib/{database → resources/database}/mysql/connect.d.ts +1 -1
- package/dist/lib/{database → resources/database}/mysql/temp_user.d.ts +1 -1
- package/dist/lib/{database → resources/database}/mysql/temp_user.js +1 -1
- package/dist/lib/{database → resources/database}/redis/connect.d.ts +1 -1
- package/dist/lib/{database → resources/database}/redis/flags.js +2 -2
- package/dist/lib/resources/domain/dnszone/flags.d.ts +1 -0
- package/dist/lib/{domain → resources/domain}/dnszone/flags.js +2 -2
- package/dist/lib/resources/domain/flags.d.ts +1 -0
- package/dist/lib/{domain → resources/domain}/flags.js +2 -2
- package/dist/lib/resources/mail/flags.d.ts +1 -0
- package/dist/lib/{mail → resources/mail}/flags.js +2 -2
- package/dist/lib/resources/org/flags.d.ts +2 -0
- package/dist/lib/resources/org/flags.js +10 -0
- package/dist/lib/{project → resources/project}/flags.d.ts +4 -3
- package/dist/lib/{project → resources/project}/flags.js +15 -8
- package/dist/lib/{project → resources/project}/hooks.js +1 -1
- package/dist/lib/{project → resources/project}/ingress.js +2 -4
- package/dist/lib/{projectbackup → resources/projectbackup}/hooks.js +1 -1
- package/dist/lib/resources/server/flags.d.ts +2 -0
- package/dist/lib/resources/server/flags.js +10 -0
- package/dist/lib/resources/ssh/types.js +1 -0
- package/dist/lib/units/ByteQuantity.d.ts +23 -0
- package/dist/lib/units/ByteQuantity.js +49 -0
- package/dist/lib/units/Duration.d.ts +23 -0
- package/dist/lib/units/Duration.js +57 -0
- package/dist/lib/util/fs/hasBinaryInPath.d.ts +9 -0
- package/dist/lib/{hasbin.js → util/fs/hasBinaryInPath.js} +9 -1
- package/dist/lib/util/fs/isNotFound.d.ts +8 -0
- package/dist/lib/util/fs/isNotFound.js +10 -0
- package/dist/lib/util/fs/pathExists.d.ts +7 -0
- package/dist/lib/{fsutil.js → util/fs/pathExists.js} +7 -3
- package/dist/lib/util/maybe.d.ts +12 -0
- package/dist/lib/util/maybe.js +17 -0
- package/dist/lib/util/mergeObjects.d.ts +7 -0
- package/dist/lib/{mergeObjects.js → util/mergeObjects.js} +8 -2
- package/dist/lib/util/password/generatePassword.d.ts +9 -0
- package/dist/lib/util/password/generatePassword.js +12 -0
- package/dist/lib/util/password/generatePasswordWithSpecialChars.d.ts +9 -0
- package/dist/lib/{password.js → util/password/generatePasswordWithSpecialChars.js} +9 -5
- package/dist/lib/wait.d.ts +5 -2
- package/dist/lib/wait.js +10 -9
- package/dist/rendering/formatter/GetFormatter.d.ts +11 -0
- package/dist/rendering/formatter/GetFormatter.js +20 -0
- package/dist/rendering/formatter/ListDateColumnFormatter.d.ts +24 -0
- package/dist/rendering/formatter/ListDateColumnFormatter.js +28 -0
- package/dist/{Formatter.d.ts → rendering/formatter/ListFormatter.d.ts} +2 -12
- package/dist/{Formatter.js → rendering/formatter/ListFormatter.js} +1 -19
- package/dist/rendering/formatter/printHeader.d.ts +7 -0
- package/dist/rendering/formatter/printHeader.js +12 -0
- package/dist/rendering/formatter/printKeyValues.d.ts +7 -0
- package/dist/{lib/viewhelpers/tui.js → rendering/formatter/printKeyValues.js} +6 -5
- package/dist/rendering/lib/getTerminalWidth.d.ts +7 -1
- package/dist/rendering/lib/getTerminalWidth.js +9 -2
- package/dist/rendering/process/components/ProcessError.js +1 -1
- package/dist/rendering/process/process_exec.js +3 -0
- package/dist/rendering/react/ComponentPrinter.d.ts +1 -1
- package/dist/rendering/react/components/AppInstallation/AppInstallationDetails.js +8 -10
- package/dist/rendering/react/components/AppInstallation/AppSystemSoftware.js +1 -1
- package/dist/rendering/react/components/ByteFormat.d.ts +9 -1
- package/dist/rendering/react/components/ByteFormat.js +9 -10
- package/dist/rendering/react/components/CronJob/CronJobDetails.js +2 -2
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsA.js +1 -1
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.js +1 -1
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsMX.js +1 -1
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsSRV.js +1 -1
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsTXT.js +1 -1
- package/dist/rendering/react/components/FormattedDate.js +1 -1
- package/dist/rendering/react/components/OptionalValue.d.ts +13 -0
- package/dist/rendering/react/components/OptionalValue.js +16 -0
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupDetails.js +2 -2
- package/dist/rendering/react/components/Table/CellData.js +1 -1
- package/dist/rendering/react/components/WithoutLineBreaks.js +1 -1
- package/dist/rendering/setup/FlagSupportedSetup.js +1 -1
- package/dist/{lib/viewhelpers/date.d.ts → rendering/textformat/formatDate.d.ts} +0 -1
- package/dist/{lib/viewhelpers/date.js → rendering/textformat/formatDate.js} +8 -15
- package/dist/rendering/textformat/removeLineBreaks.d.ts +6 -0
- package/dist/rendering/textformat/removeLineBreaks.js +8 -0
- package/package.json +5 -5
- package/dist/Flags.d.ts +0 -1
- package/dist/Flags.js +0 -1
- package/dist/lib/bytes.d.ts +0 -1
- package/dist/lib/bytes.js +0 -16
- package/dist/lib/context_flags.js +0 -88
- package/dist/lib/context_terraform.d.ts +0 -6
- package/dist/lib/domain/dnszone/flags.d.ts +0 -1
- package/dist/lib/domain/flags.d.ts +0 -1
- package/dist/lib/expires.d.ts +0 -11
- package/dist/lib/expires.js +0 -31
- package/dist/lib/fsutil.d.ts +0 -2
- package/dist/lib/hasbin.d.ts +0 -1
- package/dist/lib/mail/flags.d.ts +0 -1
- package/dist/lib/mergeObjects.d.ts +0 -1
- package/dist/lib/notify.d.ts +0 -2
- package/dist/lib/notify.js +0 -5
- package/dist/lib/org/flags.d.ts +0 -1
- package/dist/lib/org/flags.js +0 -3
- package/dist/lib/password.d.ts +0 -2
- package/dist/lib/server/flags.d.ts +0 -1
- package/dist/lib/server/flags.js +0 -3
- package/dist/lib/viewhelpers/list_column_date.d.ts +0 -14
- package/dist/lib/viewhelpers/list_column_date.js +0 -21
- package/dist/lib/viewhelpers/removeLineBreaks.d.ts +0 -1
- package/dist/lib/viewhelpers/removeLineBreaks.js +0 -1
- package/dist/lib/viewhelpers/size.d.ts +0 -2
- package/dist/lib/viewhelpers/size.js +0 -4
- package/dist/lib/viewhelpers/tui.d.ts +0 -2
- package/dist/normalize_id.d.ts +0 -7
- package/dist/normalize_id.js +0 -34
- /package/dist/lib/{app/upgrade.d.ts → apiutil/SuccessfulResponse.js} +0 -0
- /package/dist/lib/{api_consistency.d.ts → apiutil/api_consistency.d.ts} +0 -0
- /package/dist/lib/{api_consistency.js → apiutil/api_consistency.js} +0 -0
- /package/dist/lib/{api_logging.d.ts → apiutil/api_logging.d.ts} +0 -0
- /package/dist/lib/{api_logging.js → apiutil/api_logging.js} +0 -0
- /package/dist/lib/{api_retry.d.ts → apiutil/api_retry.d.ts} +0 -0
- /package/dist/lib/{api_retry.js → apiutil/api_retry.js} +0 -0
- /package/dist/lib/{assert_success.d.ts → apiutil/assert_success.d.ts} +0 -0
- /package/dist/lib/{assert_success.js → apiutil/assert_success.js} +0 -0
- /package/dist/{BaseCommand.d.ts → lib/basecommands/BaseCommand.d.ts} +0 -0
- /package/dist/lib/{app/upgrade.js → basecommands/CommandFlags.js} +0 -0
- /package/dist/lib/{ssh/types.js → context/ContextProvider.js} +0 -0
- /package/dist/{types.js → lib/context/FlagSet.js} +0 -0
- /package/dist/lib/{app → resources/app}/custom_installation.d.ts +0 -0
- /package/dist/lib/{app → resources/app}/hooks.d.ts +0 -0
- /package/dist/lib/{app → resources/app}/install.js +0 -0
- /package/dist/lib/{app → resources/app}/uuid.d.ts +0 -0
- /package/dist/lib/{app → resources/app}/uuid.js +0 -0
- /package/dist/lib/{conversation → resources/conversation}/message_input.d.ts +0 -0
- /package/dist/lib/{conversation → resources/conversation}/message_input.js +0 -0
- /package/dist/lib/{database → resources/database}/common.js +0 -0
- /package/dist/lib/{database → resources/database}/mysql/connect.js +0 -0
- /package/dist/lib/{database → resources/database}/mysql/flags.d.ts +0 -0
- /package/dist/lib/{database → resources/database}/mysql/flags.js +0 -0
- /package/dist/lib/{database → resources/database}/redis/connect.js +0 -0
- /package/dist/lib/{database → resources/database}/redis/flags.d.ts +0 -0
- /package/dist/lib/{domain → resources/domain}/dnszone/records.d.ts +0 -0
- /package/dist/lib/{domain → resources/domain}/dnszone/records.js +0 -0
- /package/dist/lib/{project → resources/project}/hooks.d.ts +0 -0
- /package/dist/lib/{project → resources/project}/ingress.d.ts +0 -0
- /package/dist/lib/{project → resources/project}/shortId.d.ts +0 -0
- /package/dist/lib/{project → resources/project}/shortId.js +0 -0
- /package/dist/lib/{projectbackup → resources/projectbackup}/hooks.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/appinstall.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/appinstall.js +0 -0
- /package/dist/lib/{ssh → resources/ssh}/connection.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/connection.js +0 -0
- /package/dist/lib/{ssh → resources/ssh}/doc.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/doc.js +0 -0
- /package/dist/lib/{ssh → resources/ssh}/exec.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/exec.js +0 -0
- /package/dist/lib/{ssh → resources/ssh}/flags.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/flags.js +0 -0
- /package/dist/lib/{ssh → resources/ssh}/project.d.ts +0 -0
- /package/dist/lib/{ssh → resources/ssh}/project.js +0 -0
- /package/dist/lib/{ssh → resources/ssh}/types.d.ts +0 -0
- /package/dist/lib/{language.d.ts → util/language/articleForWord.d.ts} +0 -0
- /package/dist/lib/{language.js → util/language/articleForWord.js} +0 -0
- /package/dist/{Printer.d.ts → rendering/Printer.d.ts} +0 -0
- /package/dist/{Printer.js → rendering/Printer.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as fs from "fs/promises";
|
|
3
|
-
import { ExecRenderBaseCommand } from "../../
|
|
3
|
+
import { ExecRenderBaseCommand } from "../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
4
4
|
import { Box, Text } from "ink";
|
|
5
5
|
import { Note } from "../../rendering/react/components/Note.js";
|
|
6
6
|
import { FancyProcessRenderer } from "../../rendering/process/process_fancy.js";
|
|
7
7
|
import { Filename } from "../../rendering/react/components/Filename.js";
|
|
8
8
|
import { getTokenFilename } from "../../lib/auth/token.js";
|
|
9
|
-
import { isNotFound } from "../../lib/
|
|
9
|
+
import { isNotFound } from "../../lib/util/fs/isNotFound.js";
|
|
10
10
|
export default class Reset extends ExecRenderBaseCommand {
|
|
11
11
|
static description = "Reset your local authentication state";
|
|
12
12
|
authenticationRequired = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ux } from "@oclif/core";
|
|
2
|
-
import { BaseCommand } from "../../BaseCommand.js";
|
|
2
|
+
import { BaseCommand } from "../../lib/basecommands/BaseCommand.js";
|
|
3
3
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
4
4
|
import { formatDistanceToNow } from "date-fns";
|
|
5
5
|
export default class Status extends BaseCommand {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Flags, ux } from "@oclif/core";
|
|
2
|
-
import { BaseCommand } from "../../BaseCommand.js";
|
|
2
|
+
import { BaseCommand } from "../../lib/basecommands/BaseCommand.js";
|
|
3
3
|
import * as fs from "fs/promises";
|
|
4
4
|
import { getTokenFilename } from "../../lib/auth/token.js";
|
|
5
|
-
import { isNotFound } from "../../lib/
|
|
5
|
+
import { isNotFound } from "../../lib/util/fs/isNotFound.js";
|
|
6
6
|
export default class Token extends BaseCommand {
|
|
7
7
|
static description = "Authenticate using an API token";
|
|
8
8
|
static flags = {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ProcessRenderer } from "../../../rendering/process/process.js";
|
|
4
4
|
import { FlagInput, OutputFlags } from "@oclif/core/lib/interfaces/parser.js";
|
|
5
|
+
import ByteQuantity from "../../../lib/units/ByteQuantity.js";
|
|
5
6
|
type CreateResult = {
|
|
6
7
|
addressId: string;
|
|
7
8
|
generatedPassword: string | null;
|
|
@@ -13,7 +14,7 @@ export default class Create extends ExecRenderBaseCommand<typeof Create, CreateR
|
|
|
13
14
|
address: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
14
15
|
"catch-all": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
15
16
|
"enable-spam-protection": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
16
|
-
quota: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<
|
|
17
|
+
quota: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<ByteQuantity, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
17
18
|
password: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
18
19
|
"random-password": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
19
20
|
"forward-to": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[], import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Flags } from "@oclif/core";
|
|
3
3
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
4
|
-
import { projectFlags } from "../../../lib/project/flags.js";
|
|
5
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
4
|
+
import { projectFlags } from "../../../lib/resources/project/flags.js";
|
|
5
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
6
6
|
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
7
7
|
import { Text } from "ink";
|
|
8
8
|
import { Success } from "../../../rendering/react/components/Success.js";
|
|
9
9
|
import * as crypto from "crypto";
|
|
10
10
|
import { Value } from "../../../rendering/react/components/Value.js";
|
|
11
|
+
import ByteQuantity from "../../../lib/units/ByteQuantity.js";
|
|
11
12
|
export default class Create extends ExecRenderBaseCommand {
|
|
12
13
|
static summary = "Create a new mail address";
|
|
13
14
|
static description = `\
|
|
@@ -37,9 +38,9 @@ export default class Create extends ExecRenderBaseCommand {
|
|
|
37
38
|
default: true,
|
|
38
39
|
allowNo: true,
|
|
39
40
|
}),
|
|
40
|
-
quota:
|
|
41
|
-
description: "mailbox quota
|
|
42
|
-
default:
|
|
41
|
+
quota: ByteQuantity.flag({
|
|
42
|
+
description: "mailbox quota",
|
|
43
|
+
default: ByteQuantity.fromString("1Gi"),
|
|
43
44
|
}),
|
|
44
45
|
password: Flags.string({
|
|
45
46
|
summary: "mailbox password",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeleteBaseCommand } from "../../../DeleteBaseCommand.js";
|
|
1
|
+
import { DeleteBaseCommand } from "../../../lib/basecommands/DeleteBaseCommand.js";
|
|
2
2
|
export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
3
3
|
static description: string;
|
|
4
4
|
static resourceName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Args } from "@oclif/core";
|
|
2
2
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
3
|
-
import { DeleteBaseCommand } from "../../../DeleteBaseCommand.js";
|
|
3
|
+
import { DeleteBaseCommand } from "../../../lib/basecommands/DeleteBaseCommand.js";
|
|
4
4
|
export default class Delete extends DeleteBaseCommand {
|
|
5
5
|
static description = "Delete a mail address";
|
|
6
6
|
static resourceName = "mail address";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
2
|
+
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
3
|
export type PathParams = MittwaldAPIV2.Paths.V2MailAddressesMailAddressId.Get.Parameters.Path;
|
|
4
4
|
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["getMailAddress"]>>;
|
|
5
5
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Args } from "@oclif/core";
|
|
2
|
-
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
2
|
+
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
3
|
export default class Get extends GetBaseCommand {
|
|
4
4
|
static description = "Get a specific mail address";
|
|
5
5
|
static flags = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
+
import { ListColumns } from "../../../rendering/formatter/ListFormatter.js";
|
|
4
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
6
5
|
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailAddresses.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
6
|
type Response = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["listMailAddresses"]>>;
|
|
8
7
|
export declare class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
@@ -34,7 +33,6 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
34
33
|
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
35
34
|
};
|
|
36
35
|
getData(): Promise<Response>;
|
|
37
|
-
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.MailMailAddress[];
|
|
38
36
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
39
37
|
}
|
|
40
38
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { formatRelativeDate } from "../../../
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
1
|
+
import { formatRelativeDate } from "../../../rendering/textformat/formatDate.js";
|
|
2
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
3
|
+
import { projectFlags } from "../../../lib/resources/project/flags.js";
|
|
4
|
+
import ByteQuantity from "../../../lib/units/ByteQuantity.js";
|
|
5
5
|
export class List extends ListBaseCommand {
|
|
6
6
|
static description = "Get all mail addresses for a project ID";
|
|
7
7
|
static args = {};
|
|
@@ -13,9 +13,6 @@ export class List extends ListBaseCommand {
|
|
|
13
13
|
const projectId = await this.withProjectId(List);
|
|
14
14
|
return this.apiClient.mail.listMailAddresses({ projectId });
|
|
15
15
|
}
|
|
16
|
-
mapData(data) {
|
|
17
|
-
return data;
|
|
18
|
-
}
|
|
19
16
|
getColumns(data) {
|
|
20
17
|
const baseColumns = super.getColumns(data);
|
|
21
18
|
return {
|
|
@@ -39,9 +36,9 @@ export class List extends ListBaseCommand {
|
|
|
39
36
|
if (!r.mailbox?.storageInBytes.current) {
|
|
40
37
|
return "unknown";
|
|
41
38
|
}
|
|
42
|
-
return (
|
|
39
|
+
return (ByteQuantity.fromBytes(r.mailbox?.storageInBytes.current.value).format() +
|
|
43
40
|
" of " +
|
|
44
|
-
|
|
41
|
+
ByteQuantity.fromBytes(r.mailbox?.storageInBytes.limit).format());
|
|
45
42
|
},
|
|
46
43
|
},
|
|
47
44
|
updatedAt: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ProcessRenderer } from "../../../rendering/process/process.js";
|
|
4
4
|
type UpdateResult = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Flags } from "@oclif/core";
|
|
3
3
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
4
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
4
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
5
5
|
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
6
6
|
import { Text } from "ink";
|
|
7
7
|
import { Success } from "../../../rendering/react/components/Success.js";
|
|
8
|
-
import { mailAddressArgs, withMailAddressId } from "../../../lib/mail/flags.js";
|
|
8
|
+
import { mailAddressArgs, withMailAddressId, } from "../../../lib/resources/mail/flags.js";
|
|
9
9
|
import crypto from "crypto";
|
|
10
10
|
export default class Update extends ExecRenderBaseCommand {
|
|
11
11
|
static summary = "Update a mail address";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
2
|
+
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
3
|
export type PathParams = MittwaldAPIV2.Paths.V2DeliveryBoxesDeliveryBoxId.Get.Parameters.Path;
|
|
4
4
|
type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["getDeliveryBox"]>>;
|
|
5
5
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Args } from "@oclif/core";
|
|
2
|
-
import { GetBaseCommand } from "../../../GetBaseCommand.js";
|
|
2
|
+
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
3
|
export default class Get extends GetBaseCommand {
|
|
4
4
|
static description = "Get a specific delivery box";
|
|
5
5
|
static flags = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
+
import { ListColumns } from "../../../rendering/formatter/ListFormatter.js";
|
|
4
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
6
5
|
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDeliveryBoxes.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
6
|
export type PathParams = MittwaldAPIV2.Paths.V2ProjectsProjectIdDeliveryBoxes.Get.Parameters.Path;
|
|
8
7
|
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["listDeliveryBoxes"]>>;
|
|
@@ -35,7 +34,6 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
35
34
|
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string>;
|
|
36
35
|
};
|
|
37
36
|
getData(): Promise<Response>;
|
|
38
|
-
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.MailDeliverybox[];
|
|
39
37
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
40
38
|
}
|
|
41
39
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { formatRelativeDate } from "../../../
|
|
2
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
-
import { projectFlags } from "../../../lib/project/flags.js";
|
|
1
|
+
import { formatRelativeDate } from "../../../rendering/textformat/formatDate.js";
|
|
2
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
3
|
+
import { projectFlags } from "../../../lib/resources/project/flags.js";
|
|
4
4
|
export class List extends ListBaseCommand {
|
|
5
5
|
static description = "Get all deliveryboxes by project ID";
|
|
6
6
|
static args = {};
|
|
@@ -12,9 +12,6 @@ export class List extends ListBaseCommand {
|
|
|
12
12
|
const projectId = await this.withProjectId(List);
|
|
13
13
|
return this.apiClient.mail.listDeliveryBoxes({ projectId });
|
|
14
14
|
}
|
|
15
|
-
mapData(data) {
|
|
16
|
-
return data;
|
|
17
|
-
}
|
|
18
15
|
getColumns(data) {
|
|
19
16
|
const baseColumns = super.getColumns(data);
|
|
20
17
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeleteBaseCommand } from "../../DeleteBaseCommand.js";
|
|
1
|
+
import { DeleteBaseCommand } from "../../lib/basecommands/DeleteBaseCommand.js";
|
|
2
2
|
export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
3
3
|
static description: string;
|
|
4
4
|
static resourceName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
2
|
-
import { DeleteBaseCommand } from "../../DeleteBaseCommand.js";
|
|
3
|
-
import { orgArgs, withOrgId } from "../../lib/org/flags.js";
|
|
2
|
+
import { DeleteBaseCommand } from "../../lib/basecommands/DeleteBaseCommand.js";
|
|
3
|
+
import { orgArgs, withOrgId } from "../../lib/resources/org/flags.js";
|
|
4
4
|
export default class Delete extends DeleteBaseCommand {
|
|
5
5
|
static description = "Delete an organization";
|
|
6
6
|
static resourceName = "organization";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
-
import { RenderBaseCommand } from "../../
|
|
2
|
+
import { RenderBaseCommand } from "../../lib/basecommands/RenderBaseCommand.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
export type PathParams = MittwaldAPIV2.Paths.V2CustomersCustomerId.Get.Parameters.Path;
|
|
5
5
|
export declare class Get extends RenderBaseCommand<typeof Get> {
|
package/dist/commands/org/get.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../GetBaseCommand.js";
|
|
3
|
-
import { orgArgs, withOrgId } from "../../lib/org/flags.js";
|
|
4
|
-
import { RenderBaseCommand } from "../../
|
|
2
|
+
import { GetBaseCommand } from "../../lib/basecommands/GetBaseCommand.js";
|
|
3
|
+
import { orgArgs, withOrgId } from "../../lib/resources/org/flags.js";
|
|
4
|
+
import { RenderBaseCommand } from "../../lib/basecommands/RenderBaseCommand.js";
|
|
5
5
|
import { usePromise } from "@mittwald/react-use-promise";
|
|
6
6
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
7
7
|
import { RenderJson } from "../../rendering/react/json/RenderJson.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
3
|
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
4
|
-
import { SuccessfulResponse } from "../../../
|
|
5
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
-
import { ListColumns } from "../../../
|
|
4
|
+
import { SuccessfulResponse } from "../../../lib/apiutil/SuccessfulResponse.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
6
|
+
import { ListColumns } from "../../../rendering/formatter/ListFormatter.js";
|
|
7
7
|
type CustomerCustomer = MittwaldAPIV2.Components.Schemas.CustomerCustomer;
|
|
8
8
|
type CustomerInvite = MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite;
|
|
9
9
|
type ResponseItem = Simplify<CustomerInvite & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
2
|
-
import { formatRelativeDate } from "../../../
|
|
1
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
2
|
+
import { formatRelativeDate } from "../../../rendering/textformat/formatDate.js";
|
|
3
3
|
export class List extends ListBaseCommand {
|
|
4
4
|
static description = "List all organization invites for the executing user.";
|
|
5
5
|
static args = {};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ListColumns } from "../../../Formatter.js";
|
|
3
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
4
|
+
import { ListColumns } from "../../../rendering/formatter/ListFormatter.js";
|
|
6
5
|
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdInvites.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
-
|
|
8
|
-
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listInvitesForCustomer"]>>;
|
|
6
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listInvitesForCustomer"]>>;
|
|
9
7
|
export declare abstract class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
10
8
|
static description: string;
|
|
11
9
|
static args: {};
|
|
@@ -35,7 +33,6 @@ export declare abstract class List extends ListBaseCommand<typeof List, Response
|
|
|
35
33
|
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
36
34
|
};
|
|
37
35
|
getData(): Promise<Response>;
|
|
38
|
-
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[];
|
|
39
36
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
40
37
|
}
|
|
41
38
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
2
|
-
import { orgFlags, withOrgId } from "../../../lib/org/flags.js";
|
|
3
|
-
import
|
|
1
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
2
|
+
import { orgFlags, withOrgId } from "../../../lib/resources/org/flags.js";
|
|
3
|
+
import ListDateColumnFormatter from "../../../rendering/formatter/ListDateColumnFormatter.js";
|
|
4
4
|
export class List extends ListBaseCommand {
|
|
5
5
|
static description = "List all invites for an organization.";
|
|
6
6
|
static args = {};
|
|
@@ -14,22 +14,20 @@ export class List extends ListBaseCommand {
|
|
|
14
14
|
customerId,
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
mapData(data) {
|
|
18
|
-
return data;
|
|
19
|
-
}
|
|
20
17
|
getColumns(data) {
|
|
18
|
+
const dateColumnBuilder = new ListDateColumnFormatter(this.flags);
|
|
19
|
+
const expiresAt = dateColumnBuilder.buildColumn({
|
|
20
|
+
header: "Expires",
|
|
21
|
+
column: "membershipExpiresAt",
|
|
22
|
+
fallback: "(never)",
|
|
23
|
+
});
|
|
21
24
|
return {
|
|
22
25
|
id: super.getColumns(data).id,
|
|
23
26
|
role: {},
|
|
24
27
|
email: {
|
|
25
28
|
get: (item) => item.mailAddress,
|
|
26
29
|
},
|
|
27
|
-
expiresAt
|
|
28
|
-
header: "Expires",
|
|
29
|
-
get: (item) => item.membershipExpiresAt
|
|
30
|
-
? formatRelativeDate(item.membershipExpiresAt)
|
|
31
|
-
: "(never)",
|
|
32
|
-
},
|
|
30
|
+
expiresAt,
|
|
33
31
|
};
|
|
34
32
|
}
|
|
35
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
export declare class Revoke extends ExecRenderBaseCommand<typeof Revoke, {
|
|
4
4
|
deleted: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
2
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
3
3
|
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
4
4
|
import { Args } from "@oclif/core";
|
|
5
5
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ExecRenderBaseCommand } from "../../
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
export declare class Invite extends ExecRenderBaseCommand<typeof Invite, {
|
|
4
4
|
inviteId: string;
|
|
5
5
|
}> {
|
|
6
6
|
static description: string;
|
|
7
7
|
static flags: {
|
|
8
|
-
expires: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<
|
|
8
|
+
expires: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<Date | undefined>;
|
|
9
9
|
email: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
10
|
role: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
11
11
|
message: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ExecRenderBaseCommand } from "../../
|
|
3
|
-
import { orgFlags, withOrgId } from "../../lib/org/flags.js";
|
|
2
|
+
import { ExecRenderBaseCommand } from "../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
3
|
+
import { orgFlags, withOrgId } from "../../lib/resources/org/flags.js";
|
|
4
4
|
import { makeProcessRenderer, processFlags, } from "../../rendering/process/process_flags.js";
|
|
5
5
|
import { Flags } from "@oclif/core";
|
|
6
6
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
7
7
|
import { Success } from "../../rendering/react/components/Success.js";
|
|
8
8
|
import { Value } from "../../rendering/react/components/Value.js";
|
|
9
|
-
import {
|
|
9
|
+
import { expireFlags } from "../../lib/flags/expireFlags.js";
|
|
10
10
|
const inviteFlags = {
|
|
11
11
|
email: Flags.string({
|
|
12
12
|
description: "The email address of the user to invite.",
|
|
@@ -20,7 +20,7 @@ const inviteFlags = {
|
|
|
20
20
|
message: Flags.string({
|
|
21
21
|
description: "A message to include in the invitation email.",
|
|
22
22
|
}),
|
|
23
|
-
...expireFlags("invitation"),
|
|
23
|
+
...expireFlags("invitation", false),
|
|
24
24
|
};
|
|
25
25
|
export class Invite extends ExecRenderBaseCommand {
|
|
26
26
|
static description = "Invite a user to an organization.";
|
|
@@ -35,7 +35,7 @@ export class Invite extends ExecRenderBaseCommand {
|
|
|
35
35
|
mailAddress: this.flags.email,
|
|
36
36
|
role: this.flags.role,
|
|
37
37
|
message: this.flags.message,
|
|
38
|
-
membershipExpiresAt:
|
|
38
|
+
membershipExpiresAt: this.flags.expires?.toJSON(),
|
|
39
39
|
},
|
|
40
40
|
});
|
|
41
41
|
assertStatus(result, 201);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
3
|
+
import { ListColumns } from "../../rendering/formatter/ListFormatter.js";
|
|
4
|
+
import { ListBaseCommand } from "../../lib/basecommands/ListBaseCommand.js";
|
|
6
5
|
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2Customers.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
6
|
export type PathParams = MittwaldAPIV2.Paths.V2Customers.Get.Parameters.Path;
|
|
8
7
|
export type Response = Awaited<ReturnType<MittwaldAPIV2Client["customer"]["listCustomers"]>>;
|
|
@@ -35,7 +34,6 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
35
34
|
};
|
|
36
35
|
getData(): Promise<Response>;
|
|
37
36
|
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
38
|
-
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.CustomerCustomer[];
|
|
39
37
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
40
38
|
}
|
|
41
39
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
1
|
+
import { ListBaseCommand } from "../../lib/basecommands/ListBaseCommand.js";
|
|
2
2
|
export class List extends ListBaseCommand {
|
|
3
3
|
static description = "Get all organizations the authenticated user has access to.";
|
|
4
4
|
static args = {};
|
|
@@ -12,9 +12,6 @@ export class List extends ListBaseCommand {
|
|
|
12
12
|
mapParams(input) {
|
|
13
13
|
return input;
|
|
14
14
|
}
|
|
15
|
-
mapData(data) {
|
|
16
|
-
return data;
|
|
17
|
-
}
|
|
18
15
|
getColumns(data) {
|
|
19
16
|
const { id, customerNumber } = super.getColumns(data, {
|
|
20
17
|
shortIdKey: "customerNumber",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
3
|
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
4
|
-
import { SuccessfulResponse } from "../../../
|
|
5
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
-
import { ListColumns } from "../../../
|
|
4
|
+
import { SuccessfulResponse } from "../../../lib/apiutil/SuccessfulResponse.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
6
|
+
import { ListColumns } from "../../../rendering/formatter/ListFormatter.js";
|
|
7
7
|
type CustomerCustomer = MittwaldAPIV2.Components.Schemas.CustomerCustomer;
|
|
8
8
|
type CustomerMembership = MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership;
|
|
9
9
|
type ResponseItem = Simplify<CustomerMembership & {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
2
|
-
import
|
|
3
|
-
import { makeDateRendererForFlags } from "../../../lib/viewhelpers/list_column_date.js";
|
|
1
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
2
|
+
import ListDateColumnFormatter from "../../../rendering/formatter/ListDateColumnFormatter.js";
|
|
4
3
|
export class ListOwn extends ListBaseCommand {
|
|
5
4
|
static description = "List all organization memberships for the executing user.";
|
|
6
5
|
static args = {};
|
|
@@ -24,17 +23,17 @@ export class ListOwn extends ListBaseCommand {
|
|
|
24
23
|
}
|
|
25
24
|
getColumns(data) {
|
|
26
25
|
const baseColumns = super.getColumns(data);
|
|
27
|
-
const
|
|
26
|
+
const dateColumnBuilder = new ListDateColumnFormatter(this.flags);
|
|
28
27
|
return {
|
|
29
28
|
id: baseColumns.id,
|
|
30
29
|
role: {},
|
|
31
30
|
org: {
|
|
32
31
|
get: (item) => item.org?.name ?? "(unknown org)",
|
|
33
32
|
},
|
|
34
|
-
memberSince: {
|
|
33
|
+
memberSince: dateColumnBuilder.buildColumn({
|
|
35
34
|
header: "Member since",
|
|
36
|
-
|
|
37
|
-
},
|
|
35
|
+
column: "memberSince",
|
|
36
|
+
}),
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
39
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
2
|
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
3
|
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
4
|
-
import { SuccessfulResponse } from "../../../
|
|
5
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
-
import { ListColumns } from "../../../
|
|
4
|
+
import { SuccessfulResponse } from "../../../lib/apiutil/SuccessfulResponse.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
6
|
+
import { ListColumns } from "../../../rendering/formatter/ListFormatter.js";
|
|
7
7
|
type UserUser = MittwaldAPIV2.Components.Schemas.UserUser;
|
|
8
8
|
type CustomerMembership = MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership;
|
|
9
9
|
type ResponseItem = Simplify<CustomerMembership & {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
2
|
-
import { orgFlags, withOrgId } from "../../../lib/org/flags.js";
|
|
3
|
-
import
|
|
4
|
-
import { makeDateRendererForFlags } from "../../../lib/viewhelpers/list_column_date.js";
|
|
1
|
+
import { ListBaseCommand } from "../../../lib/basecommands/ListBaseCommand.js";
|
|
2
|
+
import { orgFlags, withOrgId } from "../../../lib/resources/org/flags.js";
|
|
3
|
+
import ListDateColumnFormatter from "../../../rendering/formatter/ListDateColumnFormatter.js";
|
|
5
4
|
export class List extends ListBaseCommand {
|
|
6
5
|
static description = "List all memberships belonging to an organization.";
|
|
7
6
|
static args = {};
|
|
@@ -29,17 +28,17 @@ export class List extends ListBaseCommand {
|
|
|
29
28
|
}
|
|
30
29
|
getColumns(data) {
|
|
31
30
|
const baseColumns = super.getColumns(data);
|
|
32
|
-
const
|
|
31
|
+
const dateColumnBuilder = new ListDateColumnFormatter(this.flags);
|
|
33
32
|
return {
|
|
34
33
|
id: baseColumns.id,
|
|
35
34
|
role: {},
|
|
36
35
|
user: {
|
|
37
36
|
get: (item) => item.user?.email ?? "(unknown user)",
|
|
38
37
|
},
|
|
39
|
-
memberSince: {
|
|
38
|
+
memberSince: dateColumnBuilder.buildColumn({
|
|
40
39
|
header: "Member since",
|
|
41
|
-
|
|
42
|
-
},
|
|
40
|
+
column: "memberSince",
|
|
41
|
+
}),
|
|
43
42
|
};
|
|
44
43
|
}
|
|
45
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
1
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
export declare class Revoke extends ExecRenderBaseCommand<typeof Revoke, {
|
|
4
4
|
deleted: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ExecRenderBaseCommand } from "../../../
|
|
2
|
+
import { ExecRenderBaseCommand } from "../../../lib/basecommands/ExecRenderBaseCommand.js";
|
|
3
3
|
import { makeProcessRenderer, processFlags, } from "../../../rendering/process/process_flags.js";
|
|
4
4
|
import { Args } from "@oclif/core";
|
|
5
5
|
import { assertStatus } from "@mittwald/api-client-commons";
|