@mittwald/cli 1.0.0-alpha.36 → 1.0.0-alpha.37
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 +392 -245
- package/bin/dev.cmd +1 -1
- package/bin/dev.js +5 -0
- package/bin/run.js +1 -1
- package/dist/{esm/BaseCommand.js → BaseCommand.js} +2 -1
- package/dist/{esm/Formatter.d.ts → Formatter.d.ts} +12 -2
- package/dist/{esm/Formatter.js → Formatter.js} +11 -2
- package/dist/ListBaseCommand.d.ts +44 -0
- package/dist/{esm/ListBaseCommand.js → ListBaseCommand.js} +4 -6
- package/dist/{esm/commands → commands}/app/copy.js +2 -2
- package/dist/commands/app/dependency/list.d.ts +39 -0
- package/dist/commands/app/dependency/versions.d.ts +41 -0
- package/dist/{esm/commands → commands}/app/download.js +4 -18
- package/dist/{esm/commands → commands}/app/install/drupal.d.ts +2 -1
- package/dist/{esm/commands → commands}/app/install/drupal.js +5 -5
- package/dist/{esm/commands → commands}/app/install/shopware6.d.ts +2 -1
- package/dist/{esm/commands → commands}/app/install/shopware6.js +5 -5
- package/dist/{esm/commands → commands}/app/install/typo3.d.ts +2 -1
- package/dist/{esm/commands → commands}/app/install/typo3.js +5 -5
- package/dist/{esm/commands → commands}/app/install/wordpress.d.ts +2 -1
- package/dist/{esm/commands → commands}/app/install/wordpress.js +5 -5
- package/dist/commands/app/list.d.ts +46 -0
- package/dist/commands/backup/list.d.ts +43 -0
- package/dist/{esm/commands → commands}/backup/list.js +4 -2
- package/dist/commands/backup/schedule/list.d.ts +43 -0
- package/dist/{esm/commands → commands}/context/get.js +19 -6
- package/dist/{esm/commands → commands}/context/reset.js +1 -1
- package/dist/{esm/commands → commands}/context/set.js +1 -1
- package/dist/commands/conversation/categories.d.ts +39 -0
- package/dist/commands/conversation/list.d.ts +39 -0
- package/dist/{esm/commands → commands}/conversation/show.d.ts +1 -0
- package/dist/commands/conversation/show.js +103 -0
- package/dist/commands/conversation/show.test.js +72 -0
- package/dist/commands/cronjob/execution/list.d.ts +42 -0
- package/dist/{esm/commands → commands}/cronjob/execution/list.js +3 -3
- package/dist/commands/cronjob/list.d.ts +43 -0
- package/dist/commands/database/mysql/charsets.d.ts +39 -0
- package/dist/commands/database/mysql/list.d.ts +40 -0
- package/dist/commands/database/mysql/user/list.d.ts +40 -0
- package/dist/commands/database/mysql/versions.d.ts +39 -0
- package/dist/commands/database/redis/list.d.ts +40 -0
- package/dist/commands/database/redis/versions.d.ts +40 -0
- package/dist/commands/ddev/init.d.ts +22 -0
- package/dist/commands/ddev/init.js +120 -0
- package/dist/commands/ddev/render-config.d.ts +12 -0
- package/dist/commands/ddev/render-config.js +22 -0
- package/dist/{esm/commands → commands}/domain/dnszone/get.d.ts +3 -2
- package/dist/commands/domain/dnszone/list.d.ts +40 -0
- package/dist/{esm/commands → commands}/domain/get.d.ts +3 -2
- package/dist/commands/domain/list.d.ts +40 -0
- package/dist/{esm/commands → commands}/domain/virtualhost/create.d.ts +2 -2
- package/dist/{esm/commands → commands}/domain/virtualhost/get.d.ts +1 -1
- package/dist/{esm/commands → commands}/domain/virtualhost/get.js +2 -2
- package/dist/commands/domain/virtualhost/list.d.ts +41 -0
- package/dist/{esm/commands → commands}/login/status.js +2 -1
- package/dist/commands/mail/address/list.d.ts +40 -0
- package/dist/commands/mail/deliverybox/list.d.ts +41 -0
- package/dist/{esm/commands → commands}/org/get.d.ts +1 -1
- package/dist/commands/org/invite/list-own.d.ts +73 -0
- package/dist/{esm/commands → commands}/org/invite/list-own.js +1 -3
- package/dist/commands/org/invite/list.d.ts +41 -0
- package/dist/commands/org/list.d.ts +41 -0
- package/dist/commands/org/membership/list-own.d.ts +73 -0
- package/dist/{esm/commands → commands}/org/membership/list-own.js +5 -7
- package/dist/commands/org/membership/list.d.ts +67 -0
- package/dist/{esm/commands → commands}/org/membership/list.js +4 -2
- package/dist/{esm/commands → commands}/project/create.js +1 -1
- package/dist/{esm/commands → commands}/project/filesystem/usage.d.ts +1 -1
- package/dist/commands/project/invite/list-own.d.ts +39 -0
- package/dist/commands/project/invite/list.d.ts +40 -0
- package/dist/commands/project/list.d.ts +40 -0
- package/dist/commands/project/membership/list-own.d.ts +39 -0
- package/dist/commands/project/membership/list.d.ts +55 -0
- package/dist/commands/server/list.d.ts +39 -0
- package/dist/commands/sftp-user/list.d.ts +43 -0
- package/dist/commands/ssh-user/list.d.ts +43 -0
- package/dist/commands/user/api-token/list.d.ts +39 -0
- package/dist/{esm/commands → commands}/user/api-token/list.js +4 -5
- package/dist/commands/user/session/list.d.ts +39 -0
- package/dist/commands/user/ssh-key/list.d.ts +39 -0
- package/dist/{esm/commands → commands}/user/ssh-key/list.js +2 -5
- package/dist/{esm/lib → lib}/app/hooks.d.ts +7 -6
- package/dist/{esm/lib → lib}/app/install.d.ts +2 -1
- package/dist/{esm/lib → lib}/app/uuid.d.ts +3 -2
- package/dist/{esm/lib → lib}/app/versions.d.ts +1 -2
- package/dist/{esm/lib → lib}/context.d.ts +2 -1
- package/dist/{esm/lib → lib}/context.js +3 -1
- package/dist/lib/context_ddev.d.ts +20 -0
- package/dist/lib/context_ddev.js +81 -0
- package/dist/{esm/lib → lib}/context_flags.js +1 -1
- package/dist/{esm/lib → lib}/context_terraform.js +3 -9
- package/dist/{esm/lib → lib}/database/common.d.ts +3 -2
- package/dist/lib/ddev/config.d.ts +29 -0
- package/dist/lib/ddev/config.js +28 -0
- package/dist/lib/ddev/config_builder.d.ts +16 -0
- package/dist/lib/ddev/config_builder.js +124 -0
- package/dist/lib/ddev/config_loader.d.ts +2 -0
- package/dist/lib/ddev/config_loader.js +13 -0
- package/dist/lib/ddev/config_render.d.ts +2 -0
- package/dist/lib/ddev/config_render.js +6 -0
- package/dist/lib/ddev/flags.d.ts +3 -0
- package/dist/lib/ddev/flags.js +10 -0
- package/dist/lib/domain/dnszone/records.d.ts +18 -0
- package/dist/lib/fsutil.d.ts +2 -0
- package/dist/lib/fsutil.js +16 -0
- package/dist/{esm/lib → lib}/handleError.d.ts +3 -2
- package/dist/{esm/lib → lib}/project/flags.js +7 -4
- package/dist/lib/project/hooks.d.ts +4 -0
- package/dist/lib/projectbackup/hooks.d.ts +6 -0
- package/dist/{esm/lib → lib}/ssh/exec.d.ts +1 -1
- package/dist/{esm/lib → lib}/ssh/exec.js +9 -4
- package/dist/lib/viewhelpers/date.d.ts +7 -0
- package/dist/lib/viewhelpers/date.js +47 -0
- package/dist/lib/viewhelpers/list_column_date.d.ts +14 -0
- package/dist/lib/viewhelpers/list_column_date.js +21 -0
- package/dist/lib/viewhelpers/tui.d.ts +2 -0
- package/dist/lib/viewhelpers/tui.js +13 -0
- package/dist/{esm/rendering → rendering}/process/components/ProcessInput.js +1 -1
- package/dist/rendering/process/components/ProcessValidationErrors.d.ts +8 -0
- package/dist/{esm/rendering → rendering}/process/process.js +3 -0
- package/dist/rendering/process/process_exec.d.ts +3 -0
- package/dist/rendering/process/process_exec.js +27 -0
- package/dist/rendering/react/components/AppInstallation/AppInstallationDetails.d.ts +9 -0
- package/dist/rendering/react/components/AppInstallation/AppInstallationStatus.d.ts +10 -0
- package/dist/rendering/react/components/AppInstallation/AppSystemSoftware.d.ts +7 -0
- package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMessage.d.ts +1 -1
- package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMessages.d.ts +1 -1
- package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationStatusUpdate.d.ts +1 -1
- package/dist/{esm/rendering → rendering}/react/components/CronJob/CronJobDetails.d.ts +2 -2
- package/dist/rendering/react/components/DDEV/DDEVInitSuccess.d.ts +1 -0
- package/dist/rendering/react/components/DDEV/DDEVInitSuccess.js +9 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneDetails.d.ts +7 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecords.d.ts +7 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsA.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsMX.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsSRV.d.ts +5 -0
- package/dist/rendering/react/components/DnsZone/DnsZoneRecordsTXT.d.ts +5 -0
- package/dist/rendering/react/components/Domain/DomainBaseDetails.d.ts +7 -0
- package/dist/rendering/react/components/Domain/DomainDetails.d.ts +7 -0
- package/dist/rendering/react/components/Domain/DomainHandle.d.ts +8 -0
- package/dist/{esm/rendering → rendering}/react/components/Ingress/DnsValidationErrors.d.ts +2 -2
- package/dist/rendering/react/components/Organization/OrganizationOwner.d.ts +7 -0
- package/dist/{esm/rendering → rendering}/react/components/Project/ProjectSimpleStatus.d.ts +1 -1
- package/dist/{esm/rendering → rendering}/react/components/Project/ProjectStatus.d.ts +2 -2
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupDetails.d.ts +7 -0
- package/dist/rendering/react/components/ProjectBackup/ProjectBackupStatus.d.ts +7 -0
- package/dist/rendering/react/components/Success.d.ts +10 -0
- package/dist/{esm/rendering → rendering}/react/components/Success.js +4 -2
- package/dist/{esm/rendering → rendering}/react/hooks/useMyUserProfile.d.ts +1 -1
- package/dist/types.js +1 -0
- package/package.json +26 -25
- package/bin/dev +0 -17
- package/dist/esm/ListBaseCommand.d.ts +0 -22
- package/dist/esm/commands/app/dependency/list.d.ts +0 -18
- package/dist/esm/commands/app/dependency/versions.d.ts +0 -20
- package/dist/esm/commands/app/list.d.ts +0 -24
- package/dist/esm/commands/backup/list.d.ts +0 -21
- package/dist/esm/commands/backup/schedule/list.d.ts +0 -21
- package/dist/esm/commands/conversation/categories.d.ts +0 -18
- package/dist/esm/commands/conversation/list.d.ts +0 -18
- package/dist/esm/commands/conversation/show.js +0 -74
- package/dist/esm/commands/cronjob/execution/list.d.ts +0 -20
- package/dist/esm/commands/cronjob/list.d.ts +0 -21
- package/dist/esm/commands/database/mysql/charsets.d.ts +0 -18
- package/dist/esm/commands/database/mysql/list.d.ts +0 -18
- package/dist/esm/commands/database/mysql/user/list.d.ts +0 -18
- package/dist/esm/commands/database/mysql/versions.d.ts +0 -18
- package/dist/esm/commands/database/redis/list.d.ts +0 -18
- package/dist/esm/commands/database/redis/versions.d.ts +0 -18
- package/dist/esm/commands/domain/dnszone/list.d.ts +0 -18
- package/dist/esm/commands/domain/list.d.ts +0 -18
- package/dist/esm/commands/domain/virtualhost/list.d.ts +0 -19
- package/dist/esm/commands/mail/address/list.d.ts +0 -18
- package/dist/esm/commands/mail/deliverybox/list.d.ts +0 -19
- package/dist/esm/commands/org/invite/list-own.d.ts +0 -51
- package/dist/esm/commands/org/invite/list.d.ts +0 -19
- package/dist/esm/commands/org/list.d.ts +0 -20
- package/dist/esm/commands/org/membership/list-own.d.ts +0 -50
- package/dist/esm/commands/org/membership/list.d.ts +0 -41
- package/dist/esm/commands/project/invite/list-own.d.ts +0 -18
- package/dist/esm/commands/project/invite/list.d.ts +0 -18
- package/dist/esm/commands/project/list.d.ts +0 -19
- package/dist/esm/commands/project/membership/list-own.d.ts +0 -18
- package/dist/esm/commands/project/membership/list.d.ts +0 -31
- package/dist/esm/commands/server/list.d.ts +0 -18
- package/dist/esm/commands/sftp-user/list.d.ts +0 -21
- package/dist/esm/commands/ssh-user/list.d.ts +0 -21
- package/dist/esm/commands/user/api-token/list.d.ts +0 -18
- package/dist/esm/commands/user/session/list.d.ts +0 -18
- package/dist/esm/commands/user/ssh-key/list.d.ts +0 -18
- package/dist/esm/lib/domain/dnszone/records.d.ts +0 -17
- package/dist/esm/lib/project/hooks.d.ts +0 -3
- package/dist/esm/lib/projectbackup/hooks.d.ts +0 -5
- package/dist/esm/lib/viewhelpers/date.d.ts +0 -5
- package/dist/esm/lib/viewhelpers/date.js +0 -23
- package/dist/esm/lib/viewhelpers/tui.d.ts +0 -2
- package/dist/esm/lib/viewhelpers/tui.js +0 -13
- package/dist/esm/rendering/process/components/ProcessValidationErrors.d.ts +0 -7
- package/dist/esm/rendering/react/components/AppInstallation/AppInstallationDetails.d.ts +0 -8
- package/dist/esm/rendering/react/components/AppInstallation/AppInstallationStatus.d.ts +0 -9
- package/dist/esm/rendering/react/components/AppInstallation/AppSystemSoftware.d.ts +0 -6
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneDetails.d.ts +0 -6
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecords.d.ts +0 -6
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsA.d.ts +0 -4
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.d.ts +0 -4
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsMX.d.ts +0 -4
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsSRV.d.ts +0 -4
- package/dist/esm/rendering/react/components/DnsZone/DnsZoneRecordsTXT.d.ts +0 -4
- package/dist/esm/rendering/react/components/Domain/DomainBaseDetails.d.ts +0 -6
- package/dist/esm/rendering/react/components/Domain/DomainDetails.d.ts +0 -6
- package/dist/esm/rendering/react/components/Domain/DomainHandle.d.ts +0 -7
- package/dist/esm/rendering/react/components/Organization/OrganizationOwner.d.ts +0 -6
- package/dist/esm/rendering/react/components/ProjectBackup/ProjectBackupDetails.d.ts +0 -6
- package/dist/esm/rendering/react/components/ProjectBackup/ProjectBackupStatus.d.ts +0 -6
- package/dist/esm/rendering/react/components/Success.d.ts +0 -9
- /package/bin/{mw.cmd → run.cmd} +0 -0
- /package/dist/{esm/BaseCommand.d.ts → BaseCommand.d.ts} +0 -0
- /package/dist/{esm/DeleteBaseCommand.d.ts → DeleteBaseCommand.d.ts} +0 -0
- /package/dist/{esm/DeleteBaseCommand.js → DeleteBaseCommand.js} +0 -0
- /package/dist/{esm/ExtendedBaseCommand.d.ts → ExtendedBaseCommand.d.ts} +0 -0
- /package/dist/{esm/ExtendedBaseCommand.js → ExtendedBaseCommand.js} +0 -0
- /package/dist/{esm/Flags.d.ts → Flags.d.ts} +0 -0
- /package/dist/{esm/Flags.js → Flags.js} +0 -0
- /package/dist/{esm/GetBaseCommand.d.ts → GetBaseCommand.d.ts} +0 -0
- /package/dist/{esm/GetBaseCommand.js → GetBaseCommand.js} +0 -0
- /package/dist/{esm/Printer.d.ts → Printer.d.ts} +0 -0
- /package/dist/{esm/Printer.js → Printer.js} +0 -0
- /package/dist/{esm/commands → commands}/app/copy.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/create/node.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/create/node.js +0 -0
- /package/dist/{esm/commands → commands}/app/create/php.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/create/php.js +0 -0
- /package/dist/{esm/commands → commands}/app/create/python.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/create/python.js +0 -0
- /package/dist/{esm/commands → commands}/app/create/static.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/create/static.js +0 -0
- /package/dist/{esm/commands → commands}/app/dependency/list.js +0 -0
- /package/dist/{esm/commands → commands}/app/dependency/update.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/dependency/update.js +0 -0
- /package/dist/{esm/commands → commands}/app/dependency/versions.js +0 -0
- /package/dist/{esm/commands → commands}/app/download.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/get.js +0 -0
- /package/dist/{esm/commands → commands}/app/install/contao.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/install/contao.js +0 -0
- /package/dist/{esm/commands → commands}/app/install/grav.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/install/grav.js +0 -0
- /package/dist/{esm/commands → commands}/app/install/joomla.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/install/joomla.js +0 -0
- /package/dist/{esm/commands → commands}/app/install/matomo.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/install/matomo.js +0 -0
- /package/dist/{esm/commands → commands}/app/install/nextcloud.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/install/nextcloud.js +0 -0
- /package/dist/{esm/commands → commands}/app/install/shopware5.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/install/shopware5.js +0 -0
- /package/dist/{esm/commands → commands}/app/list.js +0 -0
- /package/dist/{esm/commands → commands}/app/ssh.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/ssh.js +0 -0
- /package/dist/{esm/commands → commands}/app/uninstall.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/uninstall.js +0 -0
- /package/dist/{esm/commands → commands}/app/versions.d.ts +0 -0
- /package/dist/{esm/commands → commands}/app/versions.js +0 -0
- /package/dist/{esm/commands → commands}/backup/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/backup/create.js +0 -0
- /package/dist/{esm/commands → commands}/backup/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/backup/delete.js +0 -0
- /package/dist/{esm/commands → commands}/backup/download.d.ts +0 -0
- /package/dist/{esm/commands → commands}/backup/download.js +0 -0
- /package/dist/{esm/commands → commands}/backup/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/backup/get.js +0 -0
- /package/dist/{esm/commands → commands}/backup/schedule/list.js +0 -0
- /package/dist/{esm/commands → commands}/context/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/context/reset.d.ts +0 -0
- /package/dist/{esm/commands → commands}/context/set.d.ts +0 -0
- /package/dist/{esm/commands → commands}/conversation/categories.js +0 -0
- /package/dist/{esm/commands → commands}/conversation/close.d.ts +0 -0
- /package/dist/{esm/commands → commands}/conversation/close.js +0 -0
- /package/dist/{esm/commands → commands}/conversation/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/conversation/create.js +0 -0
- /package/dist/{esm/commands → commands}/conversation/list.js +0 -0
- /package/dist/{esm/commands → commands}/conversation/reply.d.ts +0 -0
- /package/dist/{esm/commands → commands}/conversation/reply.js +0 -0
- /package/dist/{esm/lib/ssh/types.js → commands/conversation/show.test.d.ts} +0 -0
- /package/dist/{esm/commands → commands}/conversation/show2.d.ts +0 -0
- /package/dist/{esm/commands → commands}/conversation/show2.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/create.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/delete.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execute.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execute.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execution/abort.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execution/abort.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execution/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execution/get.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execution/logs.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/execution/logs.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/cronjob/get.js +0 -0
- /package/dist/{esm/commands → commands}/cronjob/list.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/charsets.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/create.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/delete.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/dump.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/dump.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/get.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/list.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/phpmyadmin.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/phpmyadmin.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/port-forward.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/port-forward.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/shell.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/shell.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/user/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/user/delete.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/user/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/user/get.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/user/list.js +0 -0
- /package/dist/{esm/commands → commands}/database/mysql/versions.js +0 -0
- /package/dist/{esm/commands → commands}/database/redis/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/redis/create.js +0 -0
- /package/dist/{esm/commands → commands}/database/redis/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/redis/get.js +0 -0
- /package/dist/{esm/commands → commands}/database/redis/list.js +0 -0
- /package/dist/{esm/commands → commands}/database/redis/shell.d.ts +0 -0
- /package/dist/{esm/commands → commands}/database/redis/shell.js +0 -0
- /package/dist/{esm/commands → commands}/database/redis/versions.js +0 -0
- /package/dist/{esm/commands → commands}/domain/dnszone/get.js +0 -0
- /package/dist/{esm/commands → commands}/domain/dnszone/list.js +0 -0
- /package/dist/{esm/commands → commands}/domain/dnszone/update.d.ts +0 -0
- /package/dist/{esm/commands → commands}/domain/dnszone/update.js +0 -0
- /package/dist/{esm/commands → commands}/domain/get.js +0 -0
- /package/dist/{esm/commands → commands}/domain/list.js +0 -0
- /package/dist/{esm/commands → commands}/domain/virtualhost/create.js +0 -0
- /package/dist/{esm/commands → commands}/domain/virtualhost/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/domain/virtualhost/delete.js +0 -0
- /package/dist/{esm/commands → commands}/domain/virtualhost/list.js +0 -0
- /package/dist/{esm/commands → commands}/login/reset.d.ts +0 -0
- /package/dist/{esm/commands → commands}/login/reset.js +0 -0
- /package/dist/{esm/commands → commands}/login/status.d.ts +0 -0
- /package/dist/{esm/commands → commands}/login/token.d.ts +0 -0
- /package/dist/{esm/commands → commands}/login/token.js +0 -0
- /package/dist/{esm/commands → commands}/mail/address/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/mail/address/create.js +0 -0
- /package/dist/{esm/commands → commands}/mail/address/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/mail/address/delete.js +0 -0
- /package/dist/{esm/commands → commands}/mail/address/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/mail/address/get.js +0 -0
- /package/dist/{esm/commands → commands}/mail/address/list.js +0 -0
- /package/dist/{esm/commands → commands}/mail/deliverybox/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/mail/deliverybox/get.js +0 -0
- /package/dist/{esm/commands → commands}/mail/deliverybox/list.js +0 -0
- /package/dist/{esm/commands → commands}/org/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/org/delete.js +0 -0
- /package/dist/{esm/commands → commands}/org/get.js +0 -0
- /package/dist/{esm/commands → commands}/org/invite/list.js +0 -0
- /package/dist/{esm/commands → commands}/org/invite/revoke.d.ts +0 -0
- /package/dist/{esm/commands → commands}/org/invite/revoke.js +0 -0
- /package/dist/{esm/commands → commands}/org/invite.d.ts +0 -0
- /package/dist/{esm/commands → commands}/org/invite.js +0 -0
- /package/dist/{esm/commands → commands}/org/list.js +0 -0
- /package/dist/{esm/commands → commands}/org/membership/revoke.d.ts +0 -0
- /package/dist/{esm/commands → commands}/org/membership/revoke.js +0 -0
- /package/dist/{esm/commands → commands}/project/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/delete.js +0 -0
- /package/dist/{esm/commands → commands}/project/filesystem/usage.js +0 -0
- /package/dist/{esm/commands → commands}/project/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/get.js +0 -0
- /package/dist/{esm/commands → commands}/project/invite/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/invite/get.js +0 -0
- /package/dist/{esm/commands → commands}/project/invite/list-own.js +0 -0
- /package/dist/{esm/commands → commands}/project/invite/list.js +0 -0
- /package/dist/{esm/commands → commands}/project/list.js +0 -0
- /package/dist/{esm/commands → commands}/project/membership/get-own.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/membership/get-own.js +0 -0
- /package/dist/{esm/commands → commands}/project/membership/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/membership/get.js +0 -0
- /package/dist/{esm/commands → commands}/project/membership/list-own.js +0 -0
- /package/dist/{esm/commands → commands}/project/membership/list.js +0 -0
- /package/dist/{esm/commands → commands}/project/ssh.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/ssh.js +0 -0
- /package/dist/{esm/commands → commands}/project/update.d.ts +0 -0
- /package/dist/{esm/commands → commands}/project/update.js +0 -0
- /package/dist/{esm/commands → commands}/server/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/server/get.js +0 -0
- /package/dist/{esm/commands → commands}/server/list.js +0 -0
- /package/dist/{esm/commands → commands}/sftp-user/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/sftp-user/delete.js +0 -0
- /package/dist/{esm/commands → commands}/sftp-user/list.js +0 -0
- /package/dist/{esm/commands → commands}/ssh-user/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/ssh-user/delete.js +0 -0
- /package/dist/{esm/commands → commands}/ssh-user/list.js +0 -0
- /package/dist/{esm/commands → commands}/user/api-token/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/api-token/create.js +0 -0
- /package/dist/{esm/commands → commands}/user/api-token/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/api-token/get.js +0 -0
- /package/dist/{esm/commands → commands}/user/api-token/revoke.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/api-token/revoke.js +0 -0
- /package/dist/{esm/commands → commands}/user/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/get.js +0 -0
- /package/dist/{esm/commands → commands}/user/session/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/session/get.js +0 -0
- /package/dist/{esm/commands → commands}/user/session/list.js +0 -0
- /package/dist/{esm/commands → commands}/user/ssh-key/create.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/ssh-key/create.js +0 -0
- /package/dist/{esm/commands → commands}/user/ssh-key/delete.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/ssh-key/delete.js +0 -0
- /package/dist/{esm/commands → commands}/user/ssh-key/get.d.ts +0 -0
- /package/dist/{esm/commands → commands}/user/ssh-key/get.js +0 -0
- /package/dist/{esm/lib → lib}/app/Installer.d.ts +0 -0
- /package/dist/{esm/lib → lib}/app/Installer.js +0 -0
- /package/dist/{esm/lib → lib}/app/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/app/flags.js +0 -0
- /package/dist/{esm/lib → lib}/app/hooks.js +0 -0
- /package/dist/{esm/lib → lib}/app/install.js +0 -0
- /package/dist/{esm/lib → lib}/app/uuid.js +0 -0
- /package/dist/{esm/lib → lib}/app/versions.js +0 -0
- /package/dist/{esm/lib → lib}/app/wait.d.ts +0 -0
- /package/dist/{esm/lib → lib}/app/wait.js +0 -0
- /package/dist/{esm/lib → lib}/assert_success.d.ts +0 -0
- /package/dist/{esm/lib → lib}/assert_success.js +0 -0
- /package/dist/{esm/lib → lib}/bytes.d.ts +0 -0
- /package/dist/{esm/lib → lib}/bytes.js +0 -0
- /package/dist/{esm/lib → lib}/context_flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/context_terraform.d.ts +0 -0
- /package/dist/{esm/lib → lib}/context_user.d.ts +0 -0
- /package/dist/{esm/lib → lib}/context_user.js +0 -0
- /package/dist/{esm/lib → lib}/conversation/message_input.d.ts +0 -0
- /package/dist/{esm/lib → lib}/conversation/message_input.js +0 -0
- /package/dist/{esm/lib → lib}/database/common.js +0 -0
- /package/dist/{esm/lib → lib}/database/mysql/connect.d.ts +0 -0
- /package/dist/{esm/lib → lib}/database/mysql/connect.js +0 -0
- /package/dist/{esm/lib → lib}/database/mysql/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/database/mysql/flags.js +0 -0
- /package/dist/{esm/lib → lib}/database/redis/connect.d.ts +0 -0
- /package/dist/{esm/lib → lib}/database/redis/connect.js +0 -0
- /package/dist/{esm/lib → lib}/database/redis/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/database/redis/flags.js +0 -0
- /package/dist/{esm/lib → lib}/domain/dnszone/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/domain/dnszone/flags.js +0 -0
- /package/dist/{esm/lib → lib}/domain/dnszone/records.js +0 -0
- /package/dist/{esm/lib → lib}/domain/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/domain/flags.js +0 -0
- /package/dist/{esm/lib → lib}/expires.d.ts +0 -0
- /package/dist/{esm/lib → lib}/expires.js +0 -0
- /package/dist/{esm/lib → lib}/handleError.js +0 -0
- /package/dist/{esm/lib → lib}/hasbin.d.ts +0 -0
- /package/dist/{esm/lib → lib}/hasbin.js +0 -0
- /package/dist/{esm/lib → lib}/mergeObjects.d.ts +0 -0
- /package/dist/{esm/lib → lib}/mergeObjects.js +0 -0
- /package/dist/{esm/lib → lib}/notify.d.ts +0 -0
- /package/dist/{esm/lib → lib}/notify.js +0 -0
- /package/dist/{esm/lib → lib}/org/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/org/flags.js +0 -0
- /package/dist/{esm/lib → lib}/password.d.ts +0 -0
- /package/dist/{esm/lib → lib}/password.js +0 -0
- /package/dist/{esm/lib → lib}/project/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/project/hooks.js +0 -0
- /package/dist/{esm/lib → lib}/project/ingress.d.ts +0 -0
- /package/dist/{esm/lib → lib}/project/ingress.js +0 -0
- /package/dist/{esm/lib → lib}/project/shortId.d.ts +0 -0
- /package/dist/{esm/lib → lib}/project/shortId.js +0 -0
- /package/dist/{esm/lib → lib}/projectbackup/hooks.js +0 -0
- /package/dist/{esm/lib → lib}/server/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/server/flags.js +0 -0
- /package/dist/{esm/lib → lib}/ssh/appinstall.d.ts +0 -0
- /package/dist/{esm/lib → lib}/ssh/appinstall.js +0 -0
- /package/dist/{esm/lib → lib}/ssh/flags.d.ts +0 -0
- /package/dist/{esm/lib → lib}/ssh/flags.js +0 -0
- /package/dist/{esm/lib → lib}/ssh/project.d.ts +0 -0
- /package/dist/{esm/lib → lib}/ssh/project.js +0 -0
- /package/dist/{esm/lib → lib}/ssh/types.d.ts +0 -0
- /package/dist/{esm/rendering/react/lib/observable-value → lib/ssh}/types.js +0 -0
- /package/dist/{esm/lib → lib}/viewhelpers/removeLineBreaks.d.ts +0 -0
- /package/dist/{esm/lib → lib}/viewhelpers/removeLineBreaks.js +0 -0
- /package/dist/{esm/lib → lib}/viewhelpers/size.d.ts +0 -0
- /package/dist/{esm/lib → lib}/viewhelpers/size.js +0 -0
- /package/dist/{esm/lib → lib}/wait.d.ts +0 -0
- /package/dist/{esm/lib → lib}/wait.js +0 -0
- /package/dist/{esm/normalize_id.d.ts → normalize_id.d.ts} +0 -0
- /package/dist/{esm/normalize_id.js → normalize_id.js} +0 -0
- /package/dist/{esm/rendering → rendering}/lib/getTerminalWidth.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/lib/getTerminalWidth.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessConfirmation.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessConfirmation.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessConfirmationStateSummary.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessConfirmationStateSummary.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessError.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessError.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessInput.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessInputStateSummary.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessInputStateSummary.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessState.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessState.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessStateIcon.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessStateIcon.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessStateSummary.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessStateSummary.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/components/ProcessValidationErrors.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/process.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/process_fancy.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/process_fancy.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/process_flags.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/process_flags.js +0 -0
- /package/dist/{esm/rendering → rendering}/process/process_quiet.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/process/process_quiet.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/ComponentPrinter.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/ComponentPrinter.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/ExecRenderBaseCommand.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/ExecRenderBaseCommand.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/RenderBaseCommand.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/RenderBaseCommand.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/AppInstallation/AppInstallationDetails.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/AppInstallation/AppInstallationStatus.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/AppInstallation/AppSystemSoftware.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/BooleanValue.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/BooleanValue.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ByteFormat.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ByteFormat.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMessage.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMessages.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMeta.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMeta.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationStatusUpdate.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/CreatedAt.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/CreatedAt.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/CronJob/CronJobDetails.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneDetails.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneRecords.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneRecordsA.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneRecordsAAAA.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneRecordsMX.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneRecordsSRV.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/DnsZoneRecordsTXT.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/RecordComponent.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/RecordComponent.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/RecordSetManagedByMittwald.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/RecordSetManagedByMittwald.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/RecordSetValues.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/DnsZone/RecordSetValues.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Domain/DomainBaseDetails.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Domain/DomainDetails.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Domain/DomainHandle.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ErrorBox.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ErrorBox.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Filename.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Filename.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/FormattedDate.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/FormattedDate.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Header.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Header.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/IDAndShortID.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/IDAndShortID.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Ingress/DnsValidationErrors.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/JSONView.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/JSONView.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ListItem.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ListItem.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/LocalFilename.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/LocalFilename.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Note.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Note.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Organization/CustomerIDAndNumber.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Organization/CustomerIDAndNumber.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Organization/OrganizationOrderEligibility.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Organization/OrganizationOrderEligibility.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Organization/OrganizationOwner.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Project/ProjectEnabled.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Project/ProjectEnabled.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Project/ProjectSimpleStatus.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Project/ProjectStatus.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ProjectBackup/ProjectBackupDetails.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/ProjectBackup/ProjectBackupStatus.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Render.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Render.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/SingleResult.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/SingleResult.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/BodyCell.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/BodyCell.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/BodyRow.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/BodyRow.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/BodyRows.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/BodyRows.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/CellData.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/CellData.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/CellLayout.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/CellLayout.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/HeaderCell.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/HeaderCell.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/HeaderRow.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/HeaderRow.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/RowLayout.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/RowLayout.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/Table.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/Table.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/context.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/context.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/index.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/index.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Cell.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Cell.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Column.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Column.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/ColumnName.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/ColumnName.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/ColumnOptions.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/ColumnOptions.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Row.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Row.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Table.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/Table.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/index.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Table/model/index.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Value.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Value.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Warning.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/Warning.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/WithoutLineBreaks.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/components/WithoutLineBreaks.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/context.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/context.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/error.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/error.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/hooks/useIncreaseInkStdoutColumns.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/hooks/useIncreaseInkStdoutColumns.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/hooks/useMyUserProfile.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/JsonCollectionProvider.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/JsonCollectionProvider.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/JsonRenderer.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/JsonRenderer.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/RenderJson.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/RenderJson.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/context.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/context.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/lib/unpackJsonData.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/json/lib/unpackJsonData.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/lib/observable-value/ObservableValue.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/lib/observable-value/ObservableValue.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/lib/observable-value/types.d.ts +0 -0
- /package/dist/{esm → rendering/react/lib/observable-value}/types.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/lib/observable-value/useWatchObservableValue.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/lib/observable-value/useWatchObservableValue.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/MeasureChildren.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/MeasureChildren.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/MeasureContextProvider.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/MeasureContextProvider.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/MeasureRenderer.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/MeasureRenderer.js +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/context.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/react/measure/context.js +0 -0
- /package/dist/{esm/rendering → rendering}/setup/FlagSupportedSetup.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/setup/FlagSupportedSetup.js +0 -0
- /package/dist/{esm/rendering → rendering}/setup/TableRenderSetup.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/setup/TableRenderSetup.js +0 -0
- /package/dist/{esm/rendering → rendering}/setup/usePromiseSetup.d.ts +0 -0
- /package/dist/{esm/rendering → rendering}/setup/usePromiseSetup.js +0 -0
- /package/dist/{esm/types.d.ts → types.d.ts} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../types.js";
|
|
4
|
+
import { ListColumns } from "../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["project"]["listServers"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.ProjectServer[];
|
|
37
|
+
protected getColumns(ignoredData: ResponseItem[]): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
3
|
+
import { SuccessfulResponse } from "../../types.js";
|
|
4
|
+
import { ListColumns } from "../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
6
|
+
type SftpUserResponse = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserListSftpUsers"]>>;
|
|
7
|
+
type SftpUserResponseItem = Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
8
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserListSftpUsers"]>>;
|
|
9
|
+
export default class List extends ListBaseCommand<typeof List, SftpUserResponseItem, Response> {
|
|
10
|
+
static description: string;
|
|
11
|
+
static args: {};
|
|
12
|
+
static flags: {
|
|
13
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string>;
|
|
14
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
15
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
16
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
18
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
19
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
20
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
21
|
+
type: "option";
|
|
22
|
+
helpValue?: string | undefined;
|
|
23
|
+
options?: readonly string[] | undefined;
|
|
24
|
+
multiple?: boolean | undefined;
|
|
25
|
+
multipleNonGreedy?: boolean | undefined;
|
|
26
|
+
delimiter?: "," | undefined;
|
|
27
|
+
allowStdin?: boolean | "only" | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
30
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
input: string[];
|
|
32
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
33
|
+
};
|
|
34
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
35
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
36
|
+
};
|
|
37
|
+
static aliases: string[];
|
|
38
|
+
static deprecateAliases: boolean;
|
|
39
|
+
getData(): Promise<Response>;
|
|
40
|
+
protected mapData(data: SuccessfulResponse<SftpUserResponse, 200>["data"]): SftpUserResponseItem[];
|
|
41
|
+
protected getColumns(data: SftpUserResponseItem[]): ListColumns<SftpUserResponseItem>;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
3
|
+
import { SuccessfulResponse } from "../../types.js";
|
|
4
|
+
import { ListColumns } from "../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../ListBaseCommand.js";
|
|
6
|
+
type SshUserResponse = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sftpUserListSftpUsers"]>>;
|
|
7
|
+
type SshUserResponseItem = Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
8
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["sshsftpUser"]["sshUserListSshUsers"]>>;
|
|
9
|
+
export declare class List extends ListBaseCommand<typeof List, SshUserResponseItem, Response> {
|
|
10
|
+
static description: string;
|
|
11
|
+
static args: {};
|
|
12
|
+
static flags: {
|
|
13
|
+
"project-id": import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string>;
|
|
14
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
15
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
16
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
18
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
19
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
20
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
21
|
+
type: "option";
|
|
22
|
+
helpValue?: string | undefined;
|
|
23
|
+
options?: readonly string[] | undefined;
|
|
24
|
+
multiple?: boolean | undefined;
|
|
25
|
+
multipleNonGreedy?: boolean | undefined;
|
|
26
|
+
delimiter?: "," | undefined;
|
|
27
|
+
allowStdin?: boolean | "only" | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
30
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
input: string[];
|
|
32
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
33
|
+
};
|
|
34
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
35
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
36
|
+
};
|
|
37
|
+
static aliases: string[];
|
|
38
|
+
static deprecateAliases: boolean;
|
|
39
|
+
getData(): Promise<Response>;
|
|
40
|
+
protected mapData(data: SuccessfulResponse<SshUserResponse, 200>["data"]): SshUserResponseItem[];
|
|
41
|
+
protected getColumns(data: SshUserResponseItem[]): ListColumns<SshUserResponseItem>;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["user"]["listApiTokens"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.SignupApiToken[];
|
|
37
|
+
protected getColumns(): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { formatRelativeDate } from "../../../lib/viewhelpers/date.js";
|
|
2
2
|
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
3
|
+
import { buildCreatedAtColumn } from "../../../lib/viewhelpers/list_column_date.js";
|
|
3
4
|
export default class List extends ListBaseCommand {
|
|
4
5
|
static description = "List all API tokens of the user";
|
|
5
6
|
static args = {};
|
|
@@ -13,13 +14,11 @@ export default class List extends ListBaseCommand {
|
|
|
13
14
|
return data;
|
|
14
15
|
}
|
|
15
16
|
getColumns() {
|
|
17
|
+
const createdAt = buildCreatedAtColumn(this.flags);
|
|
16
18
|
return {
|
|
17
19
|
apiTokenId: { header: "ID", minWidth: 36 },
|
|
18
20
|
description: {},
|
|
19
|
-
createdAt
|
|
20
|
-
header: "Created at",
|
|
21
|
-
get: formatCreatedAt,
|
|
22
|
-
},
|
|
21
|
+
createdAt,
|
|
23
22
|
expiresAt: {
|
|
24
23
|
header: "Expires at",
|
|
25
24
|
get: (r) => r.expiresAt
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessions.Get.Responses.$200.Content.ApplicationJson[number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["user"]["listSessions"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.SignupUserSession[];
|
|
37
|
+
protected getColumns(): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Simplify } from "@mittwald/api-client-commons";
|
|
2
|
+
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
import { SuccessfulResponse } from "../../../types.js";
|
|
4
|
+
import { ListColumns } from "../../../Formatter.js";
|
|
5
|
+
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
6
|
+
type ResponseItem = Simplify<Required<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.$200.Content.ApplicationJson>["sshKeys"][number]>;
|
|
7
|
+
type Response = Awaited<ReturnType<MittwaldAPIV2Client["user"]["listSshKeys"]>>;
|
|
8
|
+
export default class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
|
|
9
|
+
static description: string;
|
|
10
|
+
static args: {};
|
|
11
|
+
static flags: {
|
|
12
|
+
columns?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
13
|
+
csv?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
14
|
+
extended?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
15
|
+
filter?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
16
|
+
'no-header'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
17
|
+
'no-truncate'?: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean> | undefined;
|
|
18
|
+
output: import("@oclif/core/lib/interfaces/parser.js").FlagProps & {
|
|
19
|
+
type: "option";
|
|
20
|
+
helpValue?: string | undefined;
|
|
21
|
+
options?: readonly string[] | undefined;
|
|
22
|
+
multiple?: boolean | undefined;
|
|
23
|
+
multipleNonGreedy?: boolean | undefined;
|
|
24
|
+
delimiter?: "," | undefined;
|
|
25
|
+
allowStdin?: boolean | "only" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
parse: import("@oclif/core/lib/interfaces/parser.js").FlagParser<string | undefined, string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
28
|
+
defaultHelp?: import("@oclif/core/lib/interfaces/parser.js").FlagDefaultHelp<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
29
|
+
input: string[];
|
|
30
|
+
default?: import("@oclif/core/lib/interfaces/parser.js").FlagDefault<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
31
|
+
};
|
|
32
|
+
sort?: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined> | undefined;
|
|
33
|
+
"no-relative-dates": import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
34
|
+
};
|
|
35
|
+
getData(): Promise<Response>;
|
|
36
|
+
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): MittwaldAPIV2.Components.Schemas.SignupSshKey[];
|
|
37
|
+
protected getColumns(): ListColumns<ResponseItem>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { formatCreatedAt } from "../../../lib/viewhelpers/date.js";
|
|
2
1
|
import { ListBaseCommand } from "../../../ListBaseCommand.js";
|
|
2
|
+
import { buildCreatedAtColumn } from "../../../lib/viewhelpers/list_column_date.js";
|
|
3
3
|
export default class List extends ListBaseCommand {
|
|
4
4
|
static description = "Get your stored ssh keys";
|
|
5
5
|
static args = {};
|
|
@@ -20,10 +20,7 @@ export default class List extends ListBaseCommand {
|
|
|
20
20
|
},
|
|
21
21
|
comment: {},
|
|
22
22
|
fingerprint: {},
|
|
23
|
-
|
|
24
|
-
header: "Created at",
|
|
25
|
-
get: formatCreatedAt,
|
|
26
|
-
},
|
|
23
|
+
createdAt: buildCreatedAtColumn(this.flags),
|
|
27
24
|
};
|
|
28
25
|
}
|
|
29
26
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
type AppSystemSoftware = MittwaldAPIV2.Components.Schemas.AppSystemSoftware;
|
|
3
|
+
type AppSystemSoftwareVersion = MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion;
|
|
4
|
+
type AppAppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion;
|
|
5
|
+
type AppApp = MittwaldAPIV2.Components.Schemas.AppApp;
|
|
6
|
+
type AppAppInstallation = MittwaldAPIV2.Components.Schemas.AppAppInstallation;
|
|
7
7
|
export declare function useApp(appId: string): AppApp;
|
|
8
8
|
export declare function useAppInstallation(appInstallationId: string): AppAppInstallation;
|
|
9
9
|
export declare function useAppVersion(appId: string, appVersionId: string): AppAppVersion;
|
|
10
10
|
export declare function useSystemSoftware(systemSoftwareId: string): AppSystemSoftware;
|
|
11
11
|
export declare function useSystemSoftwareVersion(systemSoftwareId: string, systemSoftwareVersionId: string): AppSystemSoftwareVersion;
|
|
12
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
2
|
import { ProcessRenderer } from "../../rendering/process/process.js";
|
|
3
|
-
|
|
3
|
+
type AppAppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion;
|
|
4
4
|
export declare function triggerAppInstallation(apiClient: MittwaldAPIV2Client, process: ProcessRenderer, projectId: string, flags: Record<string, string>, appVersion: AppAppVersion): Promise<string[]>;
|
|
5
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type AppAppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion;
|
|
3
|
+
type AppApp = MittwaldAPIV2.Components.Schemas.AppApp;
|
|
4
4
|
/**
|
|
5
5
|
* Lookup an app by its UUID
|
|
6
6
|
*
|
|
@@ -38,3 +38,4 @@ export declare function getAppNameFromUuid(apiClient: MittwaldAPIV2Client, uuid:
|
|
|
38
38
|
* @param appVersionId
|
|
39
39
|
*/
|
|
40
40
|
export declare function getAppVersionNumberFromUuid(apiClient: MittwaldAPIV2Client, appId: string, appVersionId: string): Promise<string>;
|
|
41
|
+
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
-
import AppAppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion;
|
|
3
2
|
import { ProcessRenderer } from "../../rendering/process/process.js";
|
|
4
3
|
type AppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion;
|
|
5
|
-
export declare function normalizeToAppVersionUuid(apiClient: MittwaldAPIV2Client, version: string, process: ProcessRenderer, appUuid: string): Promise<AppAppVersion>;
|
|
4
|
+
export declare function normalizeToAppVersionUuid(apiClient: MittwaldAPIV2Client, version: string, process: ProcessRenderer, appUuid: string): Promise<MittwaldAPIV2.Components.Schemas.AppAppVersion>;
|
|
6
5
|
export declare function getLatestAvailableAppVersionForApp(apiClient: MittwaldAPIV2Client, appId: string): Promise<AppVersion | undefined>;
|
|
7
6
|
export declare function getAppVersionUuidFromAppVersion(apiClient: MittwaldAPIV2Client, appId: string, appVersion: string | undefined): Promise<AppVersion | undefined>;
|
|
8
7
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Config } from "@oclif/core";
|
|
2
|
+
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
3
|
export type ContextNames = "project" | "server" | "org" | "installation" | "domain" | "dnszone";
|
|
3
4
|
export type ContextKey<N extends ContextNames = ContextNames> = `${N}-id`;
|
|
4
5
|
export type ContextMap = Partial<Record<ContextKey, ContextValue>>;
|
|
@@ -22,7 +23,7 @@ export interface WritableContextProvider extends ContextProvider {
|
|
|
22
23
|
export declare class Context {
|
|
23
24
|
private readonly contextData;
|
|
24
25
|
readonly providers: ContextProvider[];
|
|
25
|
-
constructor(config: Config);
|
|
26
|
+
constructor(apiClient: MittwaldAPIV2Client, config: Config);
|
|
26
27
|
private initializeContextData;
|
|
27
28
|
reset(): Promise<void>;
|
|
28
29
|
private persist;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { TerraformContextProvider } from "./context_terraform.js";
|
|
2
2
|
import { UserContextProvider } from "./context_user.js";
|
|
3
|
+
import { DDEVContextProvider } from "./context_ddev.js";
|
|
3
4
|
function isWritable(p) {
|
|
4
5
|
return "update" in p;
|
|
5
6
|
}
|
|
6
7
|
export class Context {
|
|
7
8
|
contextData;
|
|
8
9
|
providers;
|
|
9
|
-
constructor(config) {
|
|
10
|
+
constructor(apiClient, config) {
|
|
10
11
|
this.providers = [
|
|
11
12
|
new UserContextProvider(config),
|
|
12
13
|
new TerraformContextProvider(),
|
|
14
|
+
new DDEVContextProvider(apiClient),
|
|
13
15
|
];
|
|
14
16
|
this.contextData = this.initializeContextData();
|
|
15
17
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ContextMap, ContextProvider } from "./context.js";
|
|
2
|
+
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
3
|
+
/**
|
|
4
|
+
* DDEVContextProvider is a ContextProvider that reads context overrides from
|
|
5
|
+
* local DDEV configuration files; it looks for a .ddev directory in the current
|
|
6
|
+
* working directory or any of its parent directories and reads any
|
|
7
|
+
* configuration yaml files from it.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DDEVContextProvider implements ContextProvider {
|
|
10
|
+
name: string;
|
|
11
|
+
private apiClient;
|
|
12
|
+
constructor(apiClient: MittwaldAPIV2Client);
|
|
13
|
+
getOverrides(): Promise<ContextMap>;
|
|
14
|
+
private fillOverridesFromAppInstallationId;
|
|
15
|
+
/**
|
|
16
|
+
* Find the .ddev directory in the current working directory or any of its
|
|
17
|
+
* parent directories.
|
|
18
|
+
*/
|
|
19
|
+
private findDDEVConfigDir;
|
|
20
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { cwd } from "process";
|
|
2
|
+
import path from "path";
|
|
3
|
+
import fs from "fs/promises";
|
|
4
|
+
import yaml from "js-yaml";
|
|
5
|
+
import { assertStatus } from "@mittwald/api-client";
|
|
6
|
+
import { pathExists } from "./fsutil.js";
|
|
7
|
+
/**
|
|
8
|
+
* DDEVContextProvider is a ContextProvider that reads context overrides from
|
|
9
|
+
* local DDEV configuration files; it looks for a .ddev directory in the current
|
|
10
|
+
* working directory or any of its parent directories and reads any
|
|
11
|
+
* configuration yaml files from it.
|
|
12
|
+
*/
|
|
13
|
+
export class DDEVContextProvider {
|
|
14
|
+
name = "ddev";
|
|
15
|
+
apiClient;
|
|
16
|
+
constructor(apiClient) {
|
|
17
|
+
this.apiClient = apiClient;
|
|
18
|
+
}
|
|
19
|
+
async getOverrides() {
|
|
20
|
+
const ddevConfigDir = await this.findDDEVConfigDir();
|
|
21
|
+
if (!ddevConfigDir) {
|
|
22
|
+
return {};
|
|
23
|
+
}
|
|
24
|
+
const configs = [
|
|
25
|
+
"config.yaml",
|
|
26
|
+
...(await findDDEVConfigFiles(ddevConfigDir)),
|
|
27
|
+
];
|
|
28
|
+
let overrides = {};
|
|
29
|
+
for (const config of configs) {
|
|
30
|
+
const configPath = path.join(ddevConfigDir, config);
|
|
31
|
+
const contents = await fs.readFile(configPath, "utf-8");
|
|
32
|
+
const parsed = yaml.load(contents);
|
|
33
|
+
const source = { type: "ddev", identifier: configPath };
|
|
34
|
+
for (const env of parsed.web_environment ?? []) {
|
|
35
|
+
const [name, valueInput] = env.split("=", 2);
|
|
36
|
+
if (name === "MITTWALD_APP_INSTALLATION_ID") {
|
|
37
|
+
overrides = {
|
|
38
|
+
...overrides,
|
|
39
|
+
...(await this.fillOverridesFromAppInstallationId(source, valueInput)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return overrides;
|
|
45
|
+
}
|
|
46
|
+
async fillOverridesFromAppInstallationId(source, appInstallationId) {
|
|
47
|
+
const response = await this.apiClient.app.getAppinstallation({
|
|
48
|
+
appInstallationId,
|
|
49
|
+
});
|
|
50
|
+
assertStatus(response, 200);
|
|
51
|
+
const out = {
|
|
52
|
+
"installation-id": { value: response.data.id, source },
|
|
53
|
+
};
|
|
54
|
+
if (response.data.projectId) {
|
|
55
|
+
out["project-id"] = {
|
|
56
|
+
value: response.data.projectId,
|
|
57
|
+
source,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
return out;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Find the .ddev directory in the current working directory or any of its
|
|
64
|
+
* parent directories.
|
|
65
|
+
*/
|
|
66
|
+
async findDDEVConfigDir() {
|
|
67
|
+
let currentDir = cwd();
|
|
68
|
+
while (currentDir !== "/") {
|
|
69
|
+
const ddevDir = path.join(currentDir, ".ddev", "config.yaml");
|
|
70
|
+
if (await pathExists(ddevDir)) {
|
|
71
|
+
return path.dirname(ddevDir);
|
|
72
|
+
}
|
|
73
|
+
currentDir = path.dirname(currentDir);
|
|
74
|
+
}
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
async function findDDEVConfigFiles(dir) {
|
|
79
|
+
const configFilePattern = /^config\.*\.ya?ml$/;
|
|
80
|
+
return (await fs.readdir(dir)).filter((e) => configFilePattern.test(e));
|
|
81
|
+
}
|
|
@@ -60,7 +60,7 @@ export function makeFlagSet(name, char, opts = {}) {
|
|
|
60
60
|
if (idInput) {
|
|
61
61
|
return normalize(apiClient, idInput);
|
|
62
62
|
}
|
|
63
|
-
const idFromContext = await new Context(cfg).getContextValue(flagName);
|
|
63
|
+
const idFromContext = await new Context(apiClient, cfg).getContextValue(flagName);
|
|
64
64
|
if (idFromContext) {
|
|
65
65
|
return idFromContext.value;
|
|
66
66
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import fs from "fs/promises";
|
|
2
2
|
import { cwd } from "process";
|
|
3
3
|
import path from "path";
|
|
4
|
+
import { pathExists } from "./fsutil.js";
|
|
4
5
|
function overrideIDFromState(state, type) {
|
|
5
6
|
const instances = state.resources?.find((r) => r.type === type)?.instances;
|
|
6
7
|
if (instances === undefined) {
|
|
@@ -44,17 +45,10 @@ export class TerraformContextProvider {
|
|
|
44
45
|
let currentDir = cwd();
|
|
45
46
|
while (currentDir !== "/") {
|
|
46
47
|
const stateFile = path.join(currentDir, "terraform.tfstate");
|
|
47
|
-
|
|
48
|
-
await fs.stat(stateFile);
|
|
48
|
+
if (await pathExists(stateFile)) {
|
|
49
49
|
return stateFile;
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
if (e instanceof Error && "code" in e && e.code === "ENOENT") {
|
|
53
|
-
currentDir = path.dirname(currentDir);
|
|
54
|
-
continue;
|
|
55
|
-
}
|
|
56
|
-
throw e;
|
|
57
|
-
}
|
|
51
|
+
currentDir = path.dirname(currentDir);
|
|
58
52
|
}
|
|
59
53
|
return undefined;
|
|
60
54
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
2
|
import { ProcessRenderer } from "../../rendering/process/process.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ProjectProject = MittwaldAPIV2.Components.Schemas.ProjectProject;
|
|
4
|
+
type SignupAccount = MittwaldAPIV2.Components.Schemas.SignupAccount;
|
|
5
5
|
export declare function getUser(apiClient: MittwaldAPIV2Client, p: ProcessRenderer): Promise<SignupAccount>;
|
|
6
6
|
export declare function getProject(apiClient: MittwaldAPIV2Client, p: ProcessRenderer, database: {
|
|
7
7
|
projectId: string;
|
|
8
8
|
}): Promise<ProjectProject>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This type defines a subset of the DDEV configuration that is relevant for the
|
|
3
|
+
* DDEV init-config command. See the [full reference][ddev-config] for a full
|
|
4
|
+
* reference.
|
|
5
|
+
*
|
|
6
|
+
* [ddev-config]: https://ddev.readthedocs.io/en/latest/users/configuration/config/
|
|
7
|
+
*/
|
|
8
|
+
export interface DDEVConfig {
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
override_config: boolean;
|
|
12
|
+
webserver_type: string;
|
|
13
|
+
php_version: string;
|
|
14
|
+
nodejs_version: string;
|
|
15
|
+
web_environment: string[];
|
|
16
|
+
docroot: string;
|
|
17
|
+
database: DDEVDatabaseConfig;
|
|
18
|
+
}
|
|
19
|
+
export interface DDEVDatabaseConfig {
|
|
20
|
+
type: string;
|
|
21
|
+
version: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Convert a DDEV configuration to a list of command-line flags that can be used
|
|
25
|
+
* for the "ddev config" command.
|
|
26
|
+
*
|
|
27
|
+
* @param config
|
|
28
|
+
*/
|
|
29
|
+
export declare function ddevConfigToFlags(config: Partial<DDEVConfig>): string[];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a DDEV configuration to a list of command-line flags that can be used
|
|
3
|
+
* for the "ddev config" command.
|
|
4
|
+
*
|
|
5
|
+
* @param config
|
|
6
|
+
*/
|
|
7
|
+
export function ddevConfigToFlags(config) {
|
|
8
|
+
const flags = [];
|
|
9
|
+
if (config.type) {
|
|
10
|
+
flags.push("--project-type", config.type);
|
|
11
|
+
}
|
|
12
|
+
if (config.webserver_type) {
|
|
13
|
+
flags.push("--webserver-type", config.webserver_type);
|
|
14
|
+
}
|
|
15
|
+
if (config.php_version) {
|
|
16
|
+
flags.push("--php-version", config.php_version);
|
|
17
|
+
}
|
|
18
|
+
if (config.docroot) {
|
|
19
|
+
flags.push("--docroot", config.docroot);
|
|
20
|
+
}
|
|
21
|
+
if (config.database) {
|
|
22
|
+
flags.push("--database", `${config.database.type}:${config.database.version}`);
|
|
23
|
+
}
|
|
24
|
+
for (const env of config.web_environment || []) {
|
|
25
|
+
flags.push("--web-environment-add", env);
|
|
26
|
+
}
|
|
27
|
+
return flags;
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MittwaldAPIV2Client } from "@mittwald/api-client";
|
|
2
|
+
import { DDEVConfig } from "./config.js";
|
|
3
|
+
export declare class DDEVConfigBuilder {
|
|
4
|
+
private apiClient;
|
|
5
|
+
constructor(apiClient: MittwaldAPIV2Client);
|
|
6
|
+
build(appInstallationId: string, type: string): Promise<Partial<DDEVConfig>>;
|
|
7
|
+
private determineDocumentRoot;
|
|
8
|
+
private determineProjectType;
|
|
9
|
+
private determineDatabaseVersion;
|
|
10
|
+
private determinePHPVersion;
|
|
11
|
+
private buildSystemSoftwareVersionMap;
|
|
12
|
+
private getSystemSoftware;
|
|
13
|
+
private getSystemSoftwareVersion;
|
|
14
|
+
private getAppVersion;
|
|
15
|
+
private getAppInstallation;
|
|
16
|
+
}
|