@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,124 @@
|
|
|
1
|
+
import { assertStatus } from "@mittwald/api-client";
|
|
2
|
+
import { typo3Installer } from "../../commands/app/install/typo3.js";
|
|
3
|
+
import { wordpressInstaller } from "../../commands/app/install/wordpress.js";
|
|
4
|
+
import { shopware6Installer } from "../../commands/app/install/shopware6.js";
|
|
5
|
+
import { drupalInstaller } from "../../commands/app/install/drupal.js";
|
|
6
|
+
export class DDEVConfigBuilder {
|
|
7
|
+
apiClient;
|
|
8
|
+
constructor(apiClient) {
|
|
9
|
+
this.apiClient = apiClient;
|
|
10
|
+
}
|
|
11
|
+
async build(appInstallationId, type) {
|
|
12
|
+
const appInstallation = await this.getAppInstallation(appInstallationId);
|
|
13
|
+
const systemSoftwares = await this.buildSystemSoftwareVersionMap(appInstallation);
|
|
14
|
+
return {
|
|
15
|
+
override_config: true,
|
|
16
|
+
type: await this.determineProjectType(appInstallation, type),
|
|
17
|
+
webserver_type: "apache-fpm",
|
|
18
|
+
php_version: this.determinePHPVersion(systemSoftwares),
|
|
19
|
+
database: await this.determineDatabaseVersion(appInstallation),
|
|
20
|
+
docroot: await this.determineDocumentRoot(appInstallation),
|
|
21
|
+
web_environment: [
|
|
22
|
+
`MITTWALD_APP_INSTALLATION_ID=${appInstallation.shortId}`,
|
|
23
|
+
],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
async determineDocumentRoot(inst) {
|
|
27
|
+
const appVersion = await this.getAppVersion(inst.appId, inst.appVersion.desired);
|
|
28
|
+
if (appVersion.docRootUserEditable && hasCustomDocumentRoot(inst)) {
|
|
29
|
+
return stripLeadingSlash(inst.customDocumentRoot);
|
|
30
|
+
}
|
|
31
|
+
return stripLeadingSlash(appVersion.docRoot);
|
|
32
|
+
}
|
|
33
|
+
async determineProjectType(inst, type) {
|
|
34
|
+
if (type !== "auto") {
|
|
35
|
+
return type;
|
|
36
|
+
}
|
|
37
|
+
switch (inst.appId) {
|
|
38
|
+
case typo3Installer.appId:
|
|
39
|
+
return "typo3";
|
|
40
|
+
case wordpressInstaller.appId:
|
|
41
|
+
return "wordpress";
|
|
42
|
+
case shopware6Installer.appId:
|
|
43
|
+
return "shopware6";
|
|
44
|
+
case drupalInstaller.appId: {
|
|
45
|
+
const version = await this.getAppVersion(inst.appId, inst.appVersion.desired);
|
|
46
|
+
const [major] = version.externalVersion.split(".");
|
|
47
|
+
return `drupal${major}`;
|
|
48
|
+
}
|
|
49
|
+
default:
|
|
50
|
+
throw new Error("Automatic project type detection failed. Please specify the project type manually by setting the `--override-type` flag.");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
async determineDatabaseVersion(inst) {
|
|
54
|
+
const isPrimary = (db) => db.purpose === "primary";
|
|
55
|
+
const primary = (inst.linkedDatabases || []).find(isPrimary);
|
|
56
|
+
if (primary?.kind === "mysql") {
|
|
57
|
+
const r = await this.apiClient.database.getMysqlDatabase({
|
|
58
|
+
mysqlDatabaseId: primary.databaseId,
|
|
59
|
+
});
|
|
60
|
+
assertStatus(r, 200);
|
|
61
|
+
return {
|
|
62
|
+
type: "mysql",
|
|
63
|
+
version: r.data.version,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
return undefined;
|
|
67
|
+
}
|
|
68
|
+
determinePHPVersion(systemSoftwareVersions) {
|
|
69
|
+
if (!("php" in systemSoftwareVersions)) {
|
|
70
|
+
return undefined;
|
|
71
|
+
}
|
|
72
|
+
const version = systemSoftwareVersions["php"];
|
|
73
|
+
return stripPatchLevelVersion(version);
|
|
74
|
+
}
|
|
75
|
+
async buildSystemSoftwareVersionMap(inst) {
|
|
76
|
+
const versionMap = {};
|
|
77
|
+
for (const { systemSoftwareId, systemSoftwareVersion, } of inst.systemSoftware || []) {
|
|
78
|
+
const { name } = await this.getSystemSoftware(systemSoftwareId);
|
|
79
|
+
const { externalVersion } = await this.getSystemSoftwareVersion(systemSoftwareId, systemSoftwareVersion.desired);
|
|
80
|
+
versionMap[name] = externalVersion;
|
|
81
|
+
}
|
|
82
|
+
return versionMap;
|
|
83
|
+
}
|
|
84
|
+
async getSystemSoftware(systemSoftwareId) {
|
|
85
|
+
const systemSoftwareResponse = await this.apiClient.app.getSystemsoftware({
|
|
86
|
+
systemSoftwareId,
|
|
87
|
+
});
|
|
88
|
+
assertStatus(systemSoftwareResponse, 200);
|
|
89
|
+
return systemSoftwareResponse.data;
|
|
90
|
+
}
|
|
91
|
+
async getSystemSoftwareVersion(systemSoftwareId, systemSoftwareVersionId) {
|
|
92
|
+
const r = await this.apiClient.app.getSystemsoftwareversion({
|
|
93
|
+
systemSoftwareId,
|
|
94
|
+
systemSoftwareVersionId,
|
|
95
|
+
});
|
|
96
|
+
assertStatus(r, 200);
|
|
97
|
+
return r.data;
|
|
98
|
+
}
|
|
99
|
+
async getAppVersion(appId, appVersionId) {
|
|
100
|
+
const r = await this.apiClient.app.getAppversion({
|
|
101
|
+
appId,
|
|
102
|
+
appVersionId,
|
|
103
|
+
});
|
|
104
|
+
assertStatus(r, 200);
|
|
105
|
+
return r.data;
|
|
106
|
+
}
|
|
107
|
+
async getAppInstallation(appInstallationId) {
|
|
108
|
+
const r = await this.apiClient.app.getAppinstallation({
|
|
109
|
+
appInstallationId,
|
|
110
|
+
});
|
|
111
|
+
assertStatus(r, 200);
|
|
112
|
+
return r.data;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function hasCustomDocumentRoot(inst) {
|
|
116
|
+
return inst.customDocumentRoot !== undefined;
|
|
117
|
+
}
|
|
118
|
+
function stripLeadingSlash(input) {
|
|
119
|
+
return input.replace(/^\//, "");
|
|
120
|
+
}
|
|
121
|
+
function stripPatchLevelVersion(version) {
|
|
122
|
+
const [major, minor] = version.split(".");
|
|
123
|
+
return `${major}.${minor}`;
|
|
124
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { readFile } from "fs/promises";
|
|
2
|
+
import { pathExists } from "../fsutil.js";
|
|
3
|
+
import { load } from "js-yaml";
|
|
4
|
+
import { cwd } from "process";
|
|
5
|
+
import path from "path";
|
|
6
|
+
export async function loadDDEVConfig(baseDir = cwd()) {
|
|
7
|
+
const configPath = path.join(baseDir, ".ddev", "config.yaml");
|
|
8
|
+
if (!(await pathExists(configPath))) {
|
|
9
|
+
return undefined;
|
|
10
|
+
}
|
|
11
|
+
const existing = await readFile(".ddev/config.yaml", "utf-8");
|
|
12
|
+
return load(existing);
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Flags } from "@oclif/core";
|
|
2
|
+
export const ddevFlags = {
|
|
3
|
+
"override-type": Flags.string({
|
|
4
|
+
summary: "Override the type of the generated DDEV configuration",
|
|
5
|
+
default: "auto",
|
|
6
|
+
description: "The type of the generated DDEV configuration; this can be any of the documented DDEV project types, or 'auto' (which is also the default) for automatic discovery." +
|
|
7
|
+
"\n\n" +
|
|
8
|
+
"See https://ddev.readthedocs.io/en/latest/users/configuration/config/#type for more information",
|
|
9
|
+
}),
|
|
10
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
type DnsRecordCombinedA = MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
3
|
+
type DnsCombinedAManaged = MittwaldAPIV2.Components.Schemas.DnsCombinedAManaged;
|
|
4
|
+
type DnsRecordMX = MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
5
|
+
type DnsRecordMXManaged = MittwaldAPIV2.Components.Schemas.DnsRecordMXManaged;
|
|
6
|
+
type DnsCombinedACustom = MittwaldAPIV2.Components.Schemas.DnsCombinedACustom;
|
|
7
|
+
type DnsRecordMXCustom = MittwaldAPIV2.Components.Schemas.DnsRecordMXCustom;
|
|
8
|
+
type DnsRecordTXT = MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
9
|
+
type DnsRecordTXTComponent = MittwaldAPIV2.Components.Schemas.DnsRecordTXTComponent;
|
|
10
|
+
type DnsRecordSRVComponent = MittwaldAPIV2.Components.Schemas.DnsRecordSRVComponent;
|
|
11
|
+
type DnsRecordSRV = MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
|
|
12
|
+
export declare function isManagedARecord(r: DnsRecordCombinedA): r is DnsCombinedAManaged;
|
|
13
|
+
export declare function isCustomARecord(r: DnsRecordCombinedA): r is DnsCombinedACustom;
|
|
14
|
+
export declare function isManagedMXRecord(r: DnsRecordMX): r is DnsRecordMXManaged;
|
|
15
|
+
export declare function isCustomMXRecord(r: DnsRecordMX): r is DnsRecordMXCustom;
|
|
16
|
+
export declare function isTXTRecord(r: DnsRecordTXT): r is DnsRecordTXTComponent;
|
|
17
|
+
export declare function isSRVRecord(r: DnsRecordSRV): r is DnsRecordSRVComponent;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import fs from "fs/promises";
|
|
2
|
+
export function isNotFound(e) {
|
|
3
|
+
return e instanceof Error && "code" in e && e.code === "ENOENT";
|
|
4
|
+
}
|
|
5
|
+
export async function pathExists(path) {
|
|
6
|
+
try {
|
|
7
|
+
await fs.stat(path);
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
catch (e) {
|
|
11
|
+
if (isNotFound(e)) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
throw e;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OclifError, PrettyPrintableError } from "@oclif/core/lib/interfaces/index.js";
|
|
2
2
|
import { ApiClientError, AxiosResponse } from "@mittwald/api-client-commons";
|
|
3
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
4
|
-
|
|
3
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
4
|
+
type CommonsValidationErrors = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
5
5
|
export declare const handleError: (error: Error & Partial<PrettyPrintableError> & Partial<OclifError> & {
|
|
6
6
|
skipOclifErrorHandling?: boolean;
|
|
7
7
|
}) => void;
|
|
@@ -9,3 +9,4 @@ export declare function isUnexpectedError(err: unknown): boolean;
|
|
|
9
9
|
export declare function isValidationError(err: unknown): err is ApiClientError<CommonsValidationErrors> & {
|
|
10
10
|
response: AxiosResponse<CommonsValidationErrors>;
|
|
11
11
|
};
|
|
12
|
+
export {};
|
|
@@ -24,9 +24,12 @@ export function makeProjectFlagSet(name, char, opts = {}) {
|
|
|
24
24
|
}),
|
|
25
25
|
};
|
|
26
26
|
if (supportsContext) {
|
|
27
|
-
flags[flagName].summary +=
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
flags[flagName].summary +=
|
|
28
|
+
`; this flag is optional if a default ${displayName} is set in the context`;
|
|
29
|
+
flags[flagName].description +=
|
|
30
|
+
`; you can also use the "<%= config.bin %> context set --${flagName}=<VALUE>" command to persistently set a default ${displayName} for all commands that accept this flag.`;
|
|
31
|
+
args[flagName].description +=
|
|
32
|
+
`; this argument is optional if a default ${displayName} is set in the context`;
|
|
30
33
|
}
|
|
31
34
|
const idFromArgsOrFlag = (flags, args) => {
|
|
32
35
|
if (args[flagName]) {
|
|
@@ -46,7 +49,7 @@ export function makeProjectFlagSet(name, char, opts = {}) {
|
|
|
46
49
|
const projectId = await withProjectId(apiClient, commandType, flags, args, cfg);
|
|
47
50
|
return normalize(apiClient, projectId, idInput);
|
|
48
51
|
}
|
|
49
|
-
const idFromContext = await new Context(cfg).getContextValue(flagName);
|
|
52
|
+
const idFromContext = await new Context(apiClient, cfg).getContextValue(flagName);
|
|
50
53
|
if (idFromContext) {
|
|
51
54
|
return idFromContext.value;
|
|
52
55
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
type BackupProjectBackup = MittwaldAPIV2.Components.Schemas.BackupProjectBackup;
|
|
3
|
+
type BackupProjectBackupSchedule = MittwaldAPIV2.Components.Schemas.BackupProjectBackupSchedule;
|
|
4
|
+
export declare function useProjectBackup(projectBackupId: string): BackupProjectBackup;
|
|
5
|
+
export declare function useProjectBackupSchedule(projectBackupScheduleId: string): BackupProjectBackupSchedule;
|
|
6
|
+
export {};
|
|
@@ -11,4 +11,4 @@ export type RunCommand = {
|
|
|
11
11
|
} | {
|
|
12
12
|
shell: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function executeViaSSH(client: MittwaldAPIV2Client, sshUser: string | undefined, target: RunTarget, command: RunCommand, output: NodeJS.WritableStream): Promise<void>;
|
|
14
|
+
export declare function executeViaSSH(client: MittwaldAPIV2Client, sshUser: string | undefined, target: RunTarget, command: RunCommand, output: NodeJS.WritableStream | null, input?: NodeJS.ReadableStream | null): Promise<void>;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import cp from "child_process";
|
|
2
2
|
import { getSSHConnectionForAppInstallation } from "./appinstall.js";
|
|
3
3
|
import { getSSHConnectionForProject } from "./project.js";
|
|
4
|
-
export async function executeViaSSH(client, sshUser, target, command, output) {
|
|
4
|
+
export async function executeViaSSH(client, sshUser, target, command, output, input = null) {
|
|
5
5
|
const { user, host } = await connectionDataForTarget(client, target, sshUser);
|
|
6
6
|
const sshCommandArgs = "shell" in command
|
|
7
7
|
? ["bash", "-c", command.shell]
|
|
8
8
|
: [command.command, ...command.args];
|
|
9
9
|
const sshArgs = ["-l", user, "-T", host, ...sshCommandArgs];
|
|
10
10
|
const ssh = cp.spawn("ssh", sshArgs, {
|
|
11
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
11
|
+
stdio: [input ? "pipe" : "ignore", output ? "pipe" : "ignore", "pipe"],
|
|
12
12
|
});
|
|
13
13
|
let err = "";
|
|
14
|
-
ssh.
|
|
14
|
+
if (input && ssh.stdin) {
|
|
15
|
+
input.pipe(ssh.stdin);
|
|
16
|
+
}
|
|
17
|
+
if (output && ssh.stdout) {
|
|
18
|
+
ssh.stdout.pipe(output);
|
|
19
|
+
}
|
|
15
20
|
ssh.stderr.on("data", (data) => {
|
|
16
21
|
err += data.toString();
|
|
17
22
|
});
|
|
@@ -25,7 +30,7 @@ export async function executeViaSSH(client, sshUser, target, command, output) {
|
|
|
25
30
|
rej(new Error(`ssh+${command} exited with code ${code}\n${err}`));
|
|
26
31
|
}
|
|
27
32
|
};
|
|
28
|
-
if (output === process.stdout) {
|
|
33
|
+
if (output === process.stdout || output === null) {
|
|
29
34
|
resolve();
|
|
30
35
|
}
|
|
31
36
|
else {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type DateRenderer = (d: Date | string) => string;
|
|
2
|
+
export declare function optionalDateRenderer(r: DateRenderer): (n: Date | string | undefined) => string | undefined;
|
|
3
|
+
export declare const formatDateISO: DateRenderer;
|
|
4
|
+
export declare const formatDateLocale: DateRenderer;
|
|
5
|
+
export declare const formatRelativeDate: DateRenderer;
|
|
6
|
+
export declare const parseDate: (text: string) => Date | undefined;
|
|
7
|
+
export declare function makeDateRendererForFormat(format: string, relative: boolean): DateRenderer;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { formatDistanceToNow } from "date-fns";
|
|
2
|
+
const forceDateType = (d) => {
|
|
3
|
+
if (typeof d === "string") {
|
|
4
|
+
return new Date(d);
|
|
5
|
+
}
|
|
6
|
+
return d;
|
|
7
|
+
};
|
|
8
|
+
export function optionalDateRenderer(r) {
|
|
9
|
+
return (d) => {
|
|
10
|
+
if (d === undefined) {
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
13
|
+
return r(d);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export const formatDateISO = (d) => forceDateType(d).toISOString();
|
|
17
|
+
export const formatDateLocale = (d) => forceDateType(d).toLocaleString();
|
|
18
|
+
export const formatRelativeDate = (date) => {
|
|
19
|
+
if (!date) {
|
|
20
|
+
return "unknown";
|
|
21
|
+
}
|
|
22
|
+
if (typeof date === "string") {
|
|
23
|
+
date = new Date(date);
|
|
24
|
+
}
|
|
25
|
+
if (date.getTime() < new Date().getTime()) {
|
|
26
|
+
return formatDistanceToNow(date) + " ago";
|
|
27
|
+
}
|
|
28
|
+
return formatDistanceToNow(date) + " from now";
|
|
29
|
+
};
|
|
30
|
+
export const parseDate = (text) => {
|
|
31
|
+
const time = Date.parse(text);
|
|
32
|
+
if (isNaN(time)) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
return new Date(time);
|
|
36
|
+
};
|
|
37
|
+
export function makeDateRendererForFormat(format, relative) {
|
|
38
|
+
switch (format) {
|
|
39
|
+
case "csv":
|
|
40
|
+
return formatDateISO;
|
|
41
|
+
case "json":
|
|
42
|
+
case "yaml":
|
|
43
|
+
return (d) => forceDateType(d).toJSON();
|
|
44
|
+
default:
|
|
45
|
+
return relative ? formatRelativeDate : formatDateLocale;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FlagOutput } from "@oclif/core/lib/interfaces/parser.js";
|
|
2
|
+
import { DateRenderer } from "./date.js";
|
|
3
|
+
import { table } from "@oclif/core/lib/cli-ux/styled/table.js";
|
|
4
|
+
import Column = table.Column;
|
|
5
|
+
type ResourceWithCreatedAt = {
|
|
6
|
+
createdAt: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function isResourceWithCreatedAt(resource: Record<string, unknown>): resource is ResourceWithCreatedAt;
|
|
9
|
+
export declare function makeDateRendererForFlags(flags: FlagOutput): DateRenderer;
|
|
10
|
+
export declare function buildCreatedAtColumn(flags: FlagOutput): Partial<Column<Record<string, unknown>>>;
|
|
11
|
+
export declare function formatCreatedAt(row: {
|
|
12
|
+
createdAt: string;
|
|
13
|
+
}): string;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { formatDateISO, formatRelativeDate, makeDateRendererForFormat, } from "./date.js";
|
|
2
|
+
import { isListFormatterFlags } from "../../Formatter.js";
|
|
3
|
+
export function isResourceWithCreatedAt(resource) {
|
|
4
|
+
return "createdAt" in resource;
|
|
5
|
+
}
|
|
6
|
+
export function makeDateRendererForFlags(flags) {
|
|
7
|
+
if (isListFormatterFlags(flags)) {
|
|
8
|
+
return makeDateRendererForFormat(flags.output, !flags["no-relative-dates"]);
|
|
9
|
+
}
|
|
10
|
+
return formatDateISO;
|
|
11
|
+
}
|
|
12
|
+
export function buildCreatedAtColumn(flags) {
|
|
13
|
+
const dateFormatter = makeDateRendererForFlags(flags);
|
|
14
|
+
return {
|
|
15
|
+
header: "Created at",
|
|
16
|
+
get: (row) => dateFormatter(new Date(`${row.createdAt}`)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function formatCreatedAt(row) {
|
|
20
|
+
return formatRelativeDate(new Date(`${row.createdAt}`));
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
export function printHeader(heading) {
|
|
3
|
+
console.log(chalk.bold.white(heading));
|
|
4
|
+
console.log(chalk.bold.white("─".repeat(heading.length)));
|
|
5
|
+
console.log();
|
|
6
|
+
}
|
|
7
|
+
export function printKeyValues(tableContents) {
|
|
8
|
+
const keys = Object.keys(tableContents);
|
|
9
|
+
const l = Math.max(...keys.map((k) => k.length));
|
|
10
|
+
for (const key of keys) {
|
|
11
|
+
console.log(chalk.blueBright(key.padEnd(l, " ")), " ", tableContents[key]);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -9,7 +9,7 @@ export const ProcessInput = ({ step, onSubmit }) => {
|
|
|
9
9
|
const [value, setValue] = useState("");
|
|
10
10
|
if (!step.value) {
|
|
11
11
|
const { isRawModeSupported } = useStdin();
|
|
12
|
-
return (_jsx(_Fragment, { children: _jsxs(Box, { marginX: 2, children: [_jsx(ProcessStateIcon, { step: step }), _jsxs(Text, { children: [step.title, ": "] }), isRawModeSupported ? (_jsx(TextInput, { mask: step.mask ? "*" : undefined, value: value, onChange: setValue, onSubmit: onSubmit })) : (_jsx(InteractiveInputDisabled, {}))] }) }));
|
|
12
|
+
return (_jsx(_Fragment, { children: _jsxs(Box, { marginX: 2, children: [_jsx(ProcessStateIcon, { step: step }), _jsxs(Text, { children: [step.title, ": "] }), isRawModeSupported ? (_jsx(Text, { color: "blue", children: _jsx(TextInput, { mask: step.mask ? "*" : undefined, value: value, onChange: setValue, onSubmit: onSubmit }) })) : (_jsx(InteractiveInputDisabled, {}))] }) }));
|
|
13
13
|
}
|
|
14
14
|
return _jsx(ProcessState, { step: step });
|
|
15
15
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type CommonsValidationErrors = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
4
|
+
export declare const ProcessValidationErrors: React.FC<{
|
|
5
|
+
err: CommonsValidationErrors;
|
|
6
|
+
color?: string;
|
|
7
|
+
}>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { spawn } from "child_process";
|
|
2
|
+
export async function spawnInProcess(r, title, cmd, args) {
|
|
3
|
+
const step = r.addStep(title);
|
|
4
|
+
const child = spawn(cmd, args, {
|
|
5
|
+
shell: false,
|
|
6
|
+
stdio: ["inherit", "pipe", "pipe"],
|
|
7
|
+
});
|
|
8
|
+
const appendOutput = (chunk) => {
|
|
9
|
+
if (typeof chunk === "string") {
|
|
10
|
+
step.appendOutput(chunk);
|
|
11
|
+
}
|
|
12
|
+
if (Buffer.isBuffer(chunk)) {
|
|
13
|
+
step.appendOutput(chunk.toString());
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
child.stdout.on("data", appendOutput);
|
|
17
|
+
child.stderr.on("data", appendOutput);
|
|
18
|
+
child.on("exit", (code) => {
|
|
19
|
+
if (code === 0) {
|
|
20
|
+
step.complete();
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
step.error(new Error(`${cmd} exited with code ${code}`));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
await step.wait();
|
|
27
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type AppAppInstallation = MittwaldAPIV2.Components.Schemas.AppAppInstallation;
|
|
4
|
+
type AppApp = MittwaldAPIV2.Components.Schemas.AppApp;
|
|
5
|
+
export declare const AppInstallationDetails: FC<{
|
|
6
|
+
appInstallation: AppAppInstallation;
|
|
7
|
+
app: AppApp;
|
|
8
|
+
}>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type AppAppInstallation = MittwaldAPIV2.Components.Schemas.AppAppInstallation;
|
|
4
|
+
type AppAppVersion = MittwaldAPIV2.Components.Schemas.AppAppVersion;
|
|
5
|
+
export declare const AppInstallationStatus: FC<{
|
|
6
|
+
appInstallation: AppAppInstallation;
|
|
7
|
+
desired: AppAppVersion;
|
|
8
|
+
current: AppAppVersion | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type AppAppInstallation = MittwaldAPIV2.Components.Schemas.AppAppInstallation;
|
|
4
|
+
export declare const AppSystemSoftware: FC<{
|
|
5
|
+
appInstallation: AppAppInstallation;
|
|
6
|
+
}>;
|
|
7
|
+
export {};
|
package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMessage.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
3
|
type Message = MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate;
|
|
4
4
|
interface Props {
|
|
5
5
|
message: Message;
|
package/dist/{esm/rendering → rendering}/react/components/Conversation/ConversationMessages.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
3
|
type Message = MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate;
|
|
4
4
|
interface Props {
|
|
5
5
|
messages: Message[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
-
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type CronjobCronjob = MittwaldAPIV2.Components.Schemas.CronjobCronjob;
|
|
4
4
|
type CronJobComponent = FC<{
|
|
5
5
|
cronjob: CronjobCronjob;
|
|
6
6
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DDEVInitSuccess(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { defaultSuccessColor, Success } from "../Success.js";
|
|
3
|
+
import { Box, Text } from "ink";
|
|
4
|
+
function DDEVCommand({ command, text, dangerous, }) {
|
|
5
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Box, { children: [_jsx(Text, { color: "yellow", children: command.join(" ") }), dangerous ? (_jsxs(Text, { color: "red", bold: true, children: [" ", "(DANGEROUS!)"] })) : undefined] }), _jsx(Box, { marginLeft: 2, children: _jsx(Text, { wrap: "wrap", children: text }) })] }));
|
|
6
|
+
}
|
|
7
|
+
export function DDEVInitSuccess() {
|
|
8
|
+
return (_jsxs(Success, { innerText: false, children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: defaultSuccessColor, children: "DDEV project successfully initialized! \uD83D\uDE80" }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: defaultSuccessColor, children: "You can now use the following commands to get started with your DDEV project:" }) }), _jsx(DDEVCommand, { command: ["ddev", "start"], text: "Start and initialize all project containers" }), _jsx(DDEVCommand, { command: ["ddev", "pull", "mittwald"], text: "Download the latest database and files from the mittwald application linked to this DDEV project" }), _jsx(DDEVCommand, { command: ["ddev", "push", "mittwald"], text: "Upload the latest database and files to the mittwald application linked to this DDEV project", dangerous: true }), _jsx(Box, { marginTop: 1, children: _jsxs(Text, { color: defaultSuccessColor, children: ["You can also use the ", _jsx(Text, { color: "yellow", children: "mw ddev init" }), " command repeatedly to continuously update your DDEV configuration."] }) })] }));
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RecordComponent } from "./RecordComponent.js";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type DnsRecordCombinedA = MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
4
|
+
export declare const DnsZoneRecordsA: RecordComponent<DnsRecordCombinedA>;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RecordComponent } from "./RecordComponent.js";
|
|
2
|
+
import type { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
3
|
+
type DnsRecordCombinedA = MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
4
|
+
export declare const DnsZoneRecordsAAAA: RecordComponent<DnsRecordCombinedA>;
|
|
5
|
+
export {};
|