@webiny/project-aws 0.0.0-unstable.5387e5f7c8 → 0.0.0-unstable.676006d08e
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/AwsProjectSdk.d.ts +38 -0
- package/AwsProjectSdk.js +61 -0
- package/AwsProjectSdk.js.map +1 -0
- package/_templates/appTemplates/api/graphql/package.json +2 -2
- package/_templates/appTemplates/api/graphql/src/index.ts +2 -2
- package/_templates/appTemplates/api/graphql/src/web.ts +15 -0
- package/_templates/appTemplates/api/graphql/webiny.config.ts +6 -1
- package/_templates/extensions/OpenSearch/api/graphql/src/index.ts +2 -2
- package/_templates/extensions/OpenSearch/api/graphql/src/web.ts +15 -0
- package/_templates/extensions/Postgres/api/graphql/src/index.ts +17 -0
- package/_templates/extensions/Postgres/api/graphql/src/web.ts +15 -0
- package/_templates/extensions/TenantStorages/ddb/api/graphql/src/index.ts +25 -0
- package/_templates/extensions/TenantStorages/ddb/api/graphql/src/web.ts +17 -0
- package/_templates/extensions/TenantStorages/ddb-os/api/graphql/src/index.ts +25 -0
- package/_templates/extensions/TenantStorages/ddb-os/api/graphql/src/web.ts +17 -0
- package/_templates/extensions/TenantStorages/pg/api/graphql/src/index.ts +25 -0
- package/_templates/extensions/TenantStorages/pg/api/graphql/src/web.ts +16 -0
- package/abstractions/features/DestroyApp.d.ts +18 -0
- package/abstractions/features/DestroyApp.js +5 -0
- package/abstractions/features/DestroyApp.js.map +1 -0
- package/abstractions/features/ExportStack.d.ts +18 -0
- package/abstractions/features/ExportStack.js +5 -0
- package/abstractions/features/ExportStack.js.map +1 -0
- package/abstractions/features/GetAppOutput.d.ts +18 -0
- package/abstractions/features/GetAppOutput.js +5 -0
- package/abstractions/features/GetAppOutput.js.map +1 -0
- package/abstractions/features/GetAppStackOutput.d.ts +18 -0
- package/abstractions/features/GetAppStackOutput.js +5 -0
- package/abstractions/features/GetAppStackOutput.js.map +1 -0
- package/abstractions/features/GetPulumiResourceNamePrefix.d.ts +7 -0
- package/abstractions/features/GetPulumiResourceNamePrefix.js +5 -0
- package/abstractions/features/GetPulumiResourceNamePrefix.js.map +1 -0
- package/abstractions/features/RefreshApp.d.ts +18 -0
- package/abstractions/features/RefreshApp.js +5 -0
- package/abstractions/features/RefreshApp.js.map +1 -0
- package/abstractions/features/RunPulumiCommand.d.ts +19 -0
- package/abstractions/features/RunPulumiCommand.js +5 -0
- package/abstractions/features/RunPulumiCommand.js.map +1 -0
- package/abstractions/index.d.ts +21 -6
- package/abstractions/index.js +21 -6
- package/abstractions/pulumiTypes.d.ts +18 -0
- package/abstractions/pulumiTypes.js +0 -0
- package/abstractions/services/GetPulumiService.d.ts +20 -0
- package/abstractions/services/GetPulumiService.js +5 -0
- package/abstractions/services/GetPulumiService.js.map +1 -0
- package/abstractions/services/GetPulumiVersionService.d.ts +12 -0
- package/abstractions/services/GetPulumiVersionService.js +5 -0
- package/abstractions/services/GetPulumiVersionService.js.map +1 -0
- package/abstractions/services/IsRemotePulumiBackendService.d.ts +7 -0
- package/abstractions/services/IsRemotePulumiBackendService.js +5 -0
- package/abstractions/services/IsRemotePulumiBackendService.js.map +1 -0
- package/abstractions/services/ListAppLambdaFunctionsService.d.ts +23 -0
- package/abstractions/services/ListAppLambdaFunctionsService.js +5 -0
- package/abstractions/services/ListAppLambdaFunctionsService.js.map +1 -0
- package/abstractions/services/ListDeployedEnvironmentsService.d.ts +12 -0
- package/abstractions/services/ListDeployedEnvironmentsService.js +5 -0
- package/abstractions/services/ListDeployedEnvironmentsService.js.map +1 -0
- package/abstractions/services/PulumiExportService.d.ts +13 -0
- package/abstractions/services/PulumiExportService.js +6 -0
- package/abstractions/services/PulumiExportService.js.map +1 -0
- package/abstractions/services/PulumiGetConfigPassphraseService.d.ts +7 -0
- package/abstractions/services/PulumiGetConfigPassphraseService.js +5 -0
- package/abstractions/services/PulumiGetConfigPassphraseService.js.map +1 -0
- package/abstractions/services/PulumiGetSecretsProviderService.d.ts +7 -0
- package/abstractions/services/PulumiGetSecretsProviderService.js +5 -0
- package/abstractions/services/PulumiGetSecretsProviderService.js.map +1 -0
- package/abstractions/services/PulumiGetStackOutputService.d.ts +13 -0
- package/abstractions/services/PulumiGetStackOutputService.js +5 -0
- package/abstractions/services/PulumiGetStackOutputService.js.map +1 -0
- package/abstractions/services/PulumiImportService.d.ts +8 -0
- package/abstractions/services/PulumiImportService.js +5 -0
- package/abstractions/services/PulumiImportService.js.map +1 -0
- package/abstractions/services/PulumiLoginService.d.ts +19 -0
- package/abstractions/services/PulumiLoginService.js +5 -0
- package/abstractions/services/PulumiLoginService.js.map +1 -0
- package/abstractions/services/PulumiSelectStackService.d.ts +10 -0
- package/abstractions/services/PulumiSelectStackService.js +5 -0
- package/abstractions/services/PulumiSelectStackService.js.map +1 -0
- package/abstractions/services/StackOutputCacheService.d.ts +10 -0
- package/abstractions/services/StackOutputCacheService.js +5 -0
- package/abstractions/services/StackOutputCacheService.js.map +1 -0
- package/abstractions/services/WatchedLambdaFunctionsService.d.ts +28 -0
- package/abstractions/services/WatchedLambdaFunctionsService.js +5 -0
- package/abstractions/services/WatchedLambdaFunctionsService.js.map +1 -0
- package/api.d.ts +7 -21
- package/api.js +3 -4
- package/api.js.map +1 -1
- package/apps/createApiApp.d.ts +18 -1
- package/apps/createCoreApp.d.ts +1 -1
- package/decorators/DeployAppClearWatchedLambdaFunctions.d.ts +20 -0
- package/decorators/DeployAppClearWatchedLambdaFunctions.js +35 -0
- package/decorators/DeployAppClearWatchedLambdaFunctions.js.map +1 -0
- package/decorators/DeployAppRefreshStackOutputCache.d.ts +20 -0
- package/decorators/DeployAppRefreshStackOutputCache.js +34 -0
- package/decorators/DeployAppRefreshStackOutputCache.js.map +1 -0
- package/decorators/DeployAppWithHooks.d.ts +25 -0
- package/decorators/DeployAppWithHooks.js +58 -0
- package/decorators/DeployAppWithHooks.js.map +1 -0
- package/decorators/DeployAppWithWatchedLambdaReplacement.d.ts +20 -0
- package/decorators/DeployAppWithWatchedLambdaReplacement.js +42 -0
- package/decorators/DeployAppWithWatchedLambdaReplacement.js.map +1 -0
- package/decorators/DestroyAppClearStackOutputCache.d.ts +28 -0
- package/decorators/DestroyAppClearStackOutputCache.js +31 -0
- package/decorators/DestroyAppClearStackOutputCache.js.map +1 -0
- package/decorators/GetPulumiServiceWithDownloadInfo.d.ts +11 -0
- package/decorators/GetPulumiServiceWithDownloadInfo.js +32 -0
- package/decorators/GetPulumiServiceWithDownloadInfo.js.map +1 -0
- package/decorators/ProjectInfoWithPulumi.d.ts +34 -0
- package/decorators/ProjectInfoWithPulumi.js +36 -0
- package/decorators/ProjectInfoWithPulumi.js.map +1 -0
- package/exports/infra/admin.d.ts +1 -3
- package/exports/infra/admin.js +0 -3
- package/exports/infra/api.d.ts +1 -3
- package/exports/infra/api.js +0 -3
- package/exports/infra/core.d.ts +1 -2
- package/exports/infra/core.js +0 -2
- package/extensions/ApiLambdaFunction.js +3 -2
- package/extensions/ApiLambdaFunction.js.map +1 -1
- package/extensions/ApiRoute.d.ts +8 -16
- package/extensions/ApiRoute.js +5 -75
- package/extensions/ApiRoute.js.map +1 -1
- package/extensions/AuroraPostgresCluster.d.ts +12 -0
- package/extensions/AuroraPostgresCluster.js +30 -0
- package/extensions/AuroraPostgresCluster.js.map +1 -0
- package/extensions/OpenSearch/EnsureOsServiceRoleBeforeCoreDeploy.d.ts +3 -2
- package/extensions/OpenSearch/EnsureOsServiceRoleBeforeCoreDeploy.js +2 -1
- package/extensions/OpenSearch/EnsureOsServiceRoleBeforeCoreDeploy.js.map +1 -1
- package/extensions/OpenSearch/EnsureOsWasDeployed.d.ts +3 -3
- package/extensions/OpenSearch/EnsureOsWasDeployed.js +1 -2
- package/extensions/OpenSearch/EnsureOsWasDeployed.js.map +1 -1
- package/extensions/OpenSearch/ReplaceApiLambdaFnHandlers.d.ts +3 -2
- package/extensions/OpenSearch/ReplaceApiLambdaFnHandlers.js +7 -3
- package/extensions/OpenSearch/ReplaceApiLambdaFnHandlers.js.map +1 -1
- package/extensions/OpenSearch.d.ts +9 -10
- package/extensions/OpenSearch.js +8 -16
- package/extensions/OpenSearch.js.map +1 -1
- package/extensions/Postgres/AddCorePostgres.d.ts +27 -0
- package/extensions/Postgres/AddCorePostgres.js +52 -0
- package/extensions/Postgres/AddCorePostgres.js.map +1 -0
- package/extensions/Postgres/CopyPgModulesAfterApiBuild.d.ts +16 -0
- package/extensions/Postgres/CopyPgModulesAfterApiBuild.js +42 -0
- package/extensions/Postgres/CopyPgModulesAfterApiBuild.js.map +1 -0
- package/extensions/Postgres/ReplaceApiLambdaFnHandlers.d.ts +18 -0
- package/extensions/Postgres/ReplaceApiLambdaFnHandlers.js +37 -0
- package/extensions/Postgres/ReplaceApiLambdaFnHandlers.js.map +1 -0
- package/extensions/Postgres/ValidatePostgresBeforeCoreDeploy.d.ts +23 -0
- package/extensions/Postgres/ValidatePostgresBeforeCoreDeploy.js +39 -0
- package/extensions/Postgres/ValidatePostgresBeforeCoreDeploy.js.map +1 -0
- package/extensions/Postgres/assertPostgresNetwork.d.ts +19 -0
- package/extensions/Postgres/assertPostgresNetwork.js +16 -0
- package/extensions/Postgres/assertPostgresNetwork.js.map +1 -0
- package/extensions/Postgres/copyPgRuntimeModules.d.ts +27 -0
- package/extensions/Postgres/copyPgRuntimeModules.js +124 -0
- package/extensions/Postgres/copyPgRuntimeModules.js.map +1 -0
- package/extensions/Postgres/rds-ca-bundle.pem +2888 -0
- package/extensions/Postgres/rdsCaBundle.d.ts +13 -0
- package/extensions/Postgres/rdsCaBundle.js +7 -0
- package/extensions/Postgres/rdsCaBundle.js.map +1 -0
- package/extensions/ProjectAws/AutoInstall/AutoInstallAfterApiDeploy.d.ts +20 -5
- package/extensions/ProjectAws/AutoInstall/AutoInstallAfterApiDeploy.js +29 -21
- package/extensions/ProjectAws/AutoInstall/AutoInstallAfterApiDeploy.js.map +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/EnsureVariantBeforeDeploy.d.ts +3 -2
- package/extensions/ProjectAws/BlueGreenDeployments/EnsureVariantBeforeDeploy.js +2 -1
- package/extensions/ProjectAws/BlueGreenDeployments/EnsureVariantBeforeDeploy.js.map +1 -1
- package/extensions/ProjectAws/BlueGreenDeployments/PrintDeploymentInfoAfterDeploy.d.ts +5 -2
- package/extensions/ProjectAws/BlueGreenDeployments/PrintDeploymentInfoAfterDeploy.js +3 -1
- package/extensions/ProjectAws/BlueGreenDeployments/PrintDeploymentInfoAfterDeploy.js.map +1 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeAdminBuild.d.ts +3 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeAdminBuild.js +2 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeAdminBuild.js.map +1 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeAdminWatch.d.ts +3 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeAdminWatch.js +2 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeAdminWatch.js.map +1 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeWatch.d.ts +3 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeWatch.js +2 -1
- package/extensions/ProjectAws/EnsureApiDeployedBeforeWatch.js.map +1 -1
- package/extensions/ProjectAws/EnsureAwsCredentialsBeforeDeploy.d.ts +3 -2
- package/extensions/ProjectAws/EnsureAwsCredentialsBeforeDeploy.js +2 -1
- package/extensions/ProjectAws/EnsureAwsCredentialsBeforeDeploy.js.map +1 -1
- package/extensions/ProjectAws/EnsureCoreDeployedBeforeApiDeploy.d.ts +4 -2
- package/extensions/ProjectAws/EnsureCoreDeployedBeforeApiDeploy.js +3 -1
- package/extensions/ProjectAws/EnsureCoreDeployedBeforeApiDeploy.js.map +1 -1
- package/extensions/ProjectAws/EnsurePostgresSetupUnchanged.d.ts +20 -0
- package/extensions/ProjectAws/EnsurePostgresSetupUnchanged.js +34 -0
- package/extensions/ProjectAws/EnsurePostgresSetupUnchanged.js.map +1 -0
- package/extensions/ProjectAws/EnsureTelemetryEnabledForOss.d.ts +6 -2
- package/extensions/ProjectAws/EnsureTelemetryEnabledForOss.js +2 -1
- package/extensions/ProjectAws/EnsureTelemetryEnabledForOss.js.map +1 -1
- package/extensions/ProjectAws/RefuseApiWatchWithPostgres.d.ts +20 -0
- package/extensions/ProjectAws/RefuseApiWatchWithPostgres.js +27 -0
- package/extensions/ProjectAws/RefuseApiWatchWithPostgres.js.map +1 -0
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVars.d.ts +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVars.js +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVars.js.map +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeBuild.d.ts +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeBuild.js +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeBuild.js.map +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeWatch.d.ts +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeWatch.js +1 -1
- package/extensions/ProjectAws/SetAdminEnvVars/SetAdminEnvVarsBeforeWatch.js.map +1 -1
- package/extensions/ProjectAws/SetDatabaseSetupOutput.d.ts +2 -2
- package/extensions/ProjectAws/SetDatabaseSetupOutput.js +1 -1
- package/extensions/ProjectAws/SetDatabaseSetupOutput.js.map +1 -1
- package/extensions/ProjectAws/TelemetryNoLongerNewUser.d.ts +2 -2
- package/extensions/ProjectAws/TelemetryNoLongerNewUser.js +1 -1
- package/extensions/ProjectAws/TelemetryNoLongerNewUser.js.map +1 -1
- package/extensions/ProjectAws/TenantStorages/AddTenantStorages.d.ts +34 -0
- package/extensions/ProjectAws/TenantStorages/AddTenantStorages.js +55 -0
- package/extensions/ProjectAws/TenantStorages/AddTenantStorages.js.map +1 -0
- package/extensions/ProjectAws/TenantStorages/ApplyTenantStoragesApiEntry.d.ts +26 -0
- package/extensions/ProjectAws/TenantStorages/ApplyTenantStoragesApiEntry.js +49 -0
- package/extensions/ProjectAws/TenantStorages/ApplyTenantStoragesApiEntry.js.map +1 -0
- package/extensions/ProjectAws/TenantStorages/CopyPgModulesForTenantStorages.d.ts +17 -0
- package/extensions/ProjectAws/TenantStorages/CopyPgModulesForTenantStorages.js +26 -0
- package/extensions/ProjectAws/TenantStorages/CopyPgModulesForTenantStorages.js.map +1 -0
- package/extensions/ProjectAws/TenantStorages/EnsureStoragesNotRemoved.d.ts +41 -0
- package/extensions/ProjectAws/TenantStorages/EnsureStoragesNotRemoved.js +55 -0
- package/extensions/ProjectAws/TenantStorages/EnsureStoragesNotRemoved.js.map +1 -0
- package/extensions/ProjectAws/TenantStorages/ValidateTenantStoragesBeforeCoreDeploy.d.ts +48 -0
- package/extensions/ProjectAws/TenantStorages/ValidateTenantStoragesBeforeCoreDeploy.js +78 -0
- package/extensions/ProjectAws/TenantStorages/ValidateTenantStoragesBeforeCoreDeploy.js.map +1 -0
- package/extensions/ProjectAws/UploadAdminAppToS3.d.ts +5 -3
- package/extensions/ProjectAws/UploadAdminAppToS3.js +2 -2
- package/extensions/ProjectAws/UploadAdminAppToS3.js.map +1 -1
- package/extensions/ProjectAws/ValidateEncryptionBeforeDeploy.d.ts +5 -2
- package/extensions/ProjectAws/ValidateEncryptionBeforeDeploy.js +2 -1
- package/extensions/ProjectAws/ValidateEncryptionBeforeDeploy.js.map +1 -1
- package/extensions/ProjectAws/ValidateProductionPulumiState.d.ts +5 -2
- package/extensions/ProjectAws/ValidateProductionPulumiState.js +3 -1
- package/extensions/ProjectAws/ValidateProductionPulumiState.js.map +1 -1
- package/extensions/ProjectAws/definitions.js +6 -2
- package/extensions/ProjectAws/definitions.js.map +1 -1
- package/extensions/ProjectAws.d.ts +1 -0
- package/extensions/ProjectAws.js +17 -1
- package/extensions/ProjectAws.js.map +1 -1
- package/extensions/RegisterRoutesPulumi.d.ts +2 -2
- package/extensions/RegisterRoutesPulumi.js +3 -3
- package/extensions/RegisterRoutesPulumi.js.map +1 -1
- package/extensions/definitions.js +2 -4
- package/extensions/definitions.js.map +1 -1
- package/extensions/index.d.ts +5 -3
- package/extensions/index.js +3 -3
- package/extensions/registerExtensionImplementations.js +13 -0
- package/extensions/registerExtensionImplementations.js.map +1 -0
- package/extensions/toApiGatewayPath.d.ts +2 -0
- package/extensions/toApiGatewayPath.js +6 -0
- package/extensions/toApiGatewayPath.js.map +1 -0
- package/extensions/toCloudFrontPathPattern.d.ts +5 -0
- package/extensions/toCloudFrontPathPattern.js +8 -0
- package/extensions/toCloudFrontPathPattern.js.map +1 -0
- package/features/ApiGqlClient.d.ts +4 -4
- package/features/ApiGqlClient.js +3 -3
- package/features/ApiGqlClient.js.map +1 -1
- package/features/DeployApp/DeployApp.d.ts +22 -0
- package/features/DeployApp/DeployApp.js +91 -0
- package/features/DeployApp/DeployApp.js.map +1 -0
- package/features/DeployApp/index.d.ts +1 -0
- package/features/DeployApp/index.js +1 -0
- package/features/DestroyApp/DestroyApp.d.ts +20 -0
- package/features/DestroyApp/DestroyApp.js +70 -0
- package/features/DestroyApp/DestroyApp.js.map +1 -0
- package/features/DestroyApp/index.d.ts +1 -0
- package/features/DestroyApp/index.js +1 -0
- package/features/ExportStack/ExportStack.d.ts +12 -0
- package/features/ExportStack/ExportStack.js +28 -0
- package/features/ExportStack/ExportStack.js.map +1 -0
- package/features/ExportStack/index.d.ts +1 -0
- package/features/ExportStack/index.js +1 -0
- package/features/GetAppOutput/GetAppOutput.d.ts +16 -0
- package/features/GetAppOutput/GetAppOutput.js +55 -0
- package/features/GetAppOutput/GetAppOutput.js.map +1 -0
- package/features/GetAppOutput/index.d.ts +1 -0
- package/features/GetAppOutput/index.js +1 -0
- package/features/GetAppStackOutput/GetAppStackOutput.d.ts +13 -0
- package/features/GetAppStackOutput/GetAppStackOutput.js +28 -0
- package/features/GetAppStackOutput/GetAppStackOutput.js.map +1 -0
- package/features/GetAppStackOutput/index.d.ts +1 -0
- package/features/GetAppStackOutput/index.js +1 -0
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.d.ts +8 -0
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.js +26 -0
- package/features/GetPulumiResourceNamePrefix/GetPulumiResourceNamePrefix.js.map +1 -0
- package/features/GetPulumiResourceNamePrefix/index.d.ts +1 -0
- package/features/GetPulumiResourceNamePrefix/index.js +1 -0
- package/features/InvokeLambdaFunction.d.ts +3 -3
- package/features/InvokeLambdaFunction.js +2 -2
- package/features/InvokeLambdaFunction.js.map +1 -1
- package/features/RefreshApp/RefreshApp.d.ts +18 -0
- package/features/RefreshApp/RefreshApp.js +68 -0
- package/features/RefreshApp/RefreshApp.js.map +1 -0
- package/features/RefreshApp/index.d.ts +1 -0
- package/features/RefreshApp/index.js +1 -0
- package/features/RunPulumiCommand/RunPulumiCommand.d.ts +18 -0
- package/features/RunPulumiCommand/RunPulumiCommand.js +65 -0
- package/features/RunPulumiCommand/RunPulumiCommand.js.map +1 -0
- package/features/RunPulumiCommand/index.d.ts +1 -0
- package/features/RunPulumiCommand/index.js +1 -0
- package/features/Watch/AwsWatch.d.ts +9 -1
- package/features/Watch/AwsWatch.js +7 -2
- package/features/Watch/AwsWatch.js.map +1 -1
- package/features/Watch/forwarder/createForwarderZip.d.ts +8 -0
- package/features/Watch/forwarder/createForwarderZip.js +19 -0
- package/features/Watch/forwarder/createForwarderZip.js.map +1 -0
- package/features/Watch/forwarder/lambdaHandler.cjs +124 -0
- package/features/Watch/forwarder/lambdaHandler.d.cts +1 -0
- package/features/Watch/forwarder/mqtt.cjs +4 -0
- package/features/Watch/forwarder/mqtt.d.cts +1 -0
- package/features/Watch/forwarder/webHandler.d.mts +1 -0
- package/features/Watch/forwarder/webHandler.mjs +298 -0
- package/features/Watch/getIotEndpoint.d.ts +2 -2
- package/features/Watch/getIotEndpoint.js.map +1 -1
- package/features/Watch/initInvocationForwarding.d.ts +9 -0
- package/features/Watch/initInvocationForwarding.js +91 -0
- package/features/Watch/initInvocationForwarding.js.map +1 -0
- package/features/Watch/localInvocationWorker.d.ts +1 -0
- package/features/Watch/localInvocationWorker.js +31 -0
- package/features/Watch/localInvocationWorker.js.map +1 -0
- package/features/Watch/replaceLambdaFunctions.d.ts +9 -3
- package/features/Watch/replaceLambdaFunctions.js +44 -3
- package/features/Watch/replaceLambdaFunctions.js.map +1 -1
- package/features/Watch/replaceWebFunction.d.ts +44 -0
- package/features/Watch/replaceWebFunction.js +119 -0
- package/features/Watch/replaceWebFunction.js.map +1 -0
- package/features/hooks/AdminAfterDeploy/AdminAfterDeploy.d.ts +7 -0
- package/features/hooks/AdminAfterDeploy/AdminAfterDeploy.js +25 -0
- package/features/hooks/AdminAfterDeploy/AdminAfterDeploy.js.map +1 -0
- package/features/hooks/AdminAfterDeploy/index.d.ts +1 -0
- package/features/hooks/AdminAfterDeploy/index.js +1 -0
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.d.ts +7 -0
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.js +25 -0
- package/features/hooks/AdminBeforeDeploy/AdminBeforeDeploy.js.map +1 -0
- package/features/hooks/AdminBeforeDeploy/index.d.ts +1 -0
- package/features/hooks/AdminBeforeDeploy/index.js +1 -0
- package/features/hooks/AfterDeploy/AfterDeploy.d.ts +7 -0
- package/features/hooks/AfterDeploy/AfterDeploy.js +25 -0
- package/features/hooks/AfterDeploy/AfterDeploy.js.map +1 -0
- package/features/hooks/AfterDeploy/index.d.ts +1 -0
- package/features/hooks/AfterDeploy/index.js +1 -0
- package/features/hooks/ApiAfterDeploy/ApiAfterDeploy.d.ts +7 -0
- package/features/hooks/ApiAfterDeploy/ApiAfterDeploy.js +25 -0
- package/features/hooks/ApiAfterDeploy/ApiAfterDeploy.js.map +1 -0
- package/features/hooks/ApiAfterDeploy/index.d.ts +1 -0
- package/features/hooks/ApiAfterDeploy/index.js +1 -0
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.d.ts +7 -0
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.js +25 -0
- package/features/hooks/ApiBeforeDeploy/ApiBeforeDeploy.js.map +1 -0
- package/features/hooks/ApiBeforeDeploy/index.d.ts +1 -0
- package/features/hooks/ApiBeforeDeploy/index.js +1 -0
- package/features/hooks/BeforeDeploy/BeforeDeploy.d.ts +7 -0
- package/features/hooks/BeforeDeploy/BeforeDeploy.js +25 -0
- package/features/hooks/BeforeDeploy/BeforeDeploy.js.map +1 -0
- package/features/hooks/BeforeDeploy/index.d.ts +1 -0
- package/features/hooks/BeforeDeploy/index.js +1 -0
- package/features/hooks/CoreAfterDeploy/CoreAfterDeploy.d.ts +7 -0
- package/features/hooks/CoreAfterDeploy/CoreAfterDeploy.js +25 -0
- package/features/hooks/CoreAfterDeploy/CoreAfterDeploy.js.map +1 -0
- package/features/hooks/CoreAfterDeploy/index.d.ts +1 -0
- package/features/hooks/CoreAfterDeploy/index.js +1 -0
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.d.ts +7 -0
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.js +25 -0
- package/features/hooks/CoreBeforeDeploy/CoreBeforeDeploy.js.map +1 -0
- package/features/hooks/CoreBeforeDeploy/index.d.ts +1 -0
- package/features/hooks/CoreBeforeDeploy/index.js +1 -0
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/infra.d.ts +73 -2
- package/infra.js +22 -5
- package/infra.js.map +1 -1
- package/package.json +29 -22
- package/project.d.ts +5 -2
- package/pulumi/apps/admin/createAdminPulumiApp.js +8 -6
- package/pulumi/apps/admin/createAdminPulumiApp.js.map +1 -1
- package/pulumi/apps/api/ApiCloudfront.d.ts +5 -0
- package/pulumi/apps/api/ApiCloudfront.js +71 -197
- package/pulumi/apps/api/ApiCloudfront.js.map +1 -1
- package/pulumi/apps/api/ApiFileManager.d.ts +8 -1
- package/pulumi/apps/api/ApiFileManager.js +11 -1
- package/pulumi/apps/api/ApiFileManager.js.map +1 -1
- package/pulumi/apps/api/ApiGraphql.d.ts +1 -1
- package/pulumi/apps/api/ApiGraphql.js +78 -69
- package/pulumi/apps/api/ApiGraphql.js.map +1 -1
- package/pulumi/apps/api/ApiGraphqlWeb.d.ts +45 -0
- package/pulumi/apps/api/ApiGraphqlWeb.js +280 -0
- package/pulumi/apps/api/ApiGraphqlWeb.js.map +1 -0
- package/pulumi/apps/api/ApiOutput.d.ts +7 -6
- package/pulumi/apps/api/ApiOutput.js +2 -1
- package/pulumi/apps/api/ApiOutput.js.map +1 -1
- package/pulumi/apps/api/ApiSchemaSetup.d.ts +108 -0
- package/pulumi/apps/api/ApiSchemaSetup.js +162 -0
- package/pulumi/apps/api/ApiSchemaSetup.js.map +1 -0
- package/pulumi/apps/api/apiDynamoDb.d.ts +6 -0
- package/pulumi/apps/api/apiDynamoDb.js +20 -0
- package/pulumi/apps/api/apiDynamoDb.js.map +1 -0
- package/pulumi/apps/api/apiServiceManifests.d.ts +24 -0
- package/pulumi/apps/api/apiServiceManifests.js +27 -0
- package/pulumi/apps/api/apiServiceManifests.js.map +1 -0
- package/pulumi/apps/api/backgroundTask/types.js.map +1 -1
- package/pulumi/apps/api/cloudfront/addWebRouteBehavior.d.ts +8 -0
- package/pulumi/apps/api/cloudfront/addWebRouteBehavior.js +26 -0
- package/pulumi/apps/api/cloudfront/addWebRouteBehavior.js.map +1 -0
- package/pulumi/apps/api/cloudfront/allowFunctionUrlInvoke.d.ts +17 -0
- package/pulumi/apps/api/cloudfront/allowFunctionUrlInvoke.js +27 -0
- package/pulumi/apps/api/cloudfront/allowFunctionUrlInvoke.js.map +1 -0
- package/pulumi/apps/api/cloudfront/allowWebFunctionInvoke.d.ts +8 -0
- package/pulumi/apps/api/cloudfront/allowWebFunctionInvoke.js +31 -0
- package/pulumi/apps/api/cloudfront/allowWebFunctionInvoke.js.map +1 -0
- package/pulumi/apps/api/cloudfront/constants.d.ts +24 -0
- package/pulumi/apps/api/cloudfront/constants.js +43 -0
- package/pulumi/apps/api/cloudfront/constants.js.map +1 -0
- package/pulumi/apps/api/cloudfront/createFilesRouting.d.ts +10 -0
- package/pulumi/apps/api/cloudfront/createFilesRouting.js +35 -0
- package/pulumi/apps/api/cloudfront/createFilesRouting.js.map +1 -0
- package/pulumi/apps/api/cloudfront/createGatewayRouting.d.ts +10 -0
- package/pulumi/apps/api/cloudfront/createGatewayRouting.js +48 -0
- package/pulumi/apps/api/cloudfront/createGatewayRouting.js.map +1 -0
- package/pulumi/apps/api/cloudfront/createStreamRouting.d.ts +10 -0
- package/pulumi/apps/api/cloudfront/createStreamRouting.js +87 -0
- package/pulumi/apps/api/cloudfront/createStreamRouting.js.map +1 -0
- package/pulumi/apps/api/cloudfront/createWebRouting.d.ts +13 -0
- package/pulumi/apps/api/cloudfront/createWebRouting.js +140 -0
- package/pulumi/apps/api/cloudfront/createWebRouting.js.map +1 -0
- package/pulumi/apps/api/createApiPulumiApp.d.ts +22 -4
- package/pulumi/apps/api/createApiPulumiApp.js +133 -83
- package/pulumi/apps/api/createApiPulumiApp.js.map +1 -1
- package/pulumi/apps/api/index.d.ts +2 -0
- package/pulumi/apps/api/index.js +2 -0
- package/pulumi/apps/api/isRouteNameAllowed.d.ts +7 -0
- package/pulumi/apps/api/isRouteNameAllowed.js +6 -0
- package/pulumi/apps/api/isRouteNameAllowed.js.map +1 -0
- package/pulumi/apps/awsUtils.js +1 -1
- package/pulumi/apps/awsUtils.js.map +1 -1
- package/pulumi/apps/blueGreen/domains/resolveDomains.js +1 -1
- package/pulumi/apps/blueGreen/domains/resolveDomains.js.map +1 -1
- package/pulumi/apps/blueGreen/types.d.ts +2 -5
- package/pulumi/apps/common/CoreOutput.d.ts +26 -1
- package/pulumi/apps/common/CoreOutput.js +18 -2
- package/pulumi/apps/common/CoreOutput.js.map +1 -1
- package/pulumi/apps/core/CoreAuditLogsDynamo.d.ts +1 -0
- package/pulumi/apps/core/CoreAuditLogsDynamo.js +3 -0
- package/pulumi/apps/core/CoreAuditLogsDynamo.js.map +1 -1
- package/pulumi/apps/core/CoreCognito.d.ts +14 -0
- package/pulumi/apps/core/CoreCognito.js +34 -1
- package/pulumi/apps/core/CoreCognito.js.map +1 -1
- package/pulumi/apps/core/CoreDynamo.d.ts +1 -0
- package/pulumi/apps/core/CoreDynamo.js +3 -0
- package/pulumi/apps/core/CoreDynamo.js.map +1 -1
- package/pulumi/apps/core/CoreFileManager.d.ts +2 -0
- package/pulumi/apps/core/CoreFileManager.js +11 -1
- package/pulumi/apps/core/CoreFileManager.js.map +1 -1
- package/pulumi/apps/core/CoreOpenSearch.d.ts +1 -0
- package/pulumi/apps/core/CoreOpenSearch.js +15 -6
- package/pulumi/apps/core/CoreOpenSearch.js.map +1 -1
- package/pulumi/apps/core/CorePostgres.d.ts +50 -0
- package/pulumi/apps/core/CorePostgres.js +267 -0
- package/pulumi/apps/core/CorePostgres.js.map +1 -0
- package/pulumi/apps/core/cognitoIdentityProviders/configure.js +11 -0
- package/pulumi/apps/core/cognitoIdentityProviders/configure.js.map +1 -1
- package/pulumi/apps/core/configureS3BucketMalwareProtection.js +12 -2
- package/pulumi/apps/core/configureS3BucketMalwareProtection.js.map +1 -1
- package/pulumi/apps/core/coreDynamoDb.d.ts +19 -0
- package/pulumi/apps/core/coreDynamoDb.js +34 -0
- package/pulumi/apps/core/coreDynamoDb.js.map +1 -0
- package/pulumi/apps/core/coreServiceManifests.d.ts +31 -0
- package/pulumi/apps/core/coreServiceManifests.js +31 -0
- package/pulumi/apps/core/coreServiceManifests.js.map +1 -0
- package/pulumi/apps/core/coreVpcEndpoints.d.ts +21 -0
- package/pulumi/apps/core/coreVpcEndpoints.js +59 -0
- package/pulumi/apps/core/coreVpcEndpoints.js.map +1 -0
- package/pulumi/apps/core/createCorePulumiApp.d.ts +1 -1
- package/pulumi/apps/core/createCorePulumiApp.js +38 -82
- package/pulumi/apps/core/createCorePulumiApp.js.map +1 -1
- package/pulumi/apps/core/index.d.ts +1 -0
- package/pulumi/apps/core/index.js +1 -0
- package/pulumi/apps/customDomain.d.ts +10 -0
- package/pulumi/apps/customDomain.js +5 -1
- package/pulumi/apps/customDomain.js.map +1 -1
- package/pulumi/apps/extensions/getAwsTagsFromExtension.js +1 -1
- package/pulumi/apps/extensions/getAwsTagsFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/getBgDeploymentsConfigFromExtension.d.ts +2 -2
- package/pulumi/apps/extensions/getBgDeploymentsConfigFromExtension.js +1 -1
- package/pulumi/apps/extensions/getBgDeploymentsConfigFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/getOsConfigFromExtension.js +2 -2
- package/pulumi/apps/extensions/getOsConfigFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/getPostgresConfigFromExtension.d.ts +15 -0
- package/pulumi/apps/extensions/getPostgresConfigFromExtension.js +16 -0
- package/pulumi/apps/extensions/getPostgresConfigFromExtension.js.map +1 -0
- package/pulumi/apps/extensions/getTenantStoragesFromExtension.d.ts +19 -0
- package/pulumi/apps/extensions/getTenantStoragesFromExtension.js +32 -0
- package/pulumi/apps/extensions/getTenantStoragesFromExtension.js.map +1 -0
- package/pulumi/apps/extensions/getVpcConfigFromExtension.d.ts +4 -0
- package/pulumi/apps/extensions/getVpcConfigFromExtension.js +1 -1
- package/pulumi/apps/extensions/getVpcConfigFromExtension.js.map +1 -1
- package/pulumi/apps/extensions/isProductionDefaultEnabled.d.ts +16 -0
- package/pulumi/apps/extensions/isProductionDefaultEnabled.js +9 -0
- package/pulumi/apps/extensions/isProductionDefaultEnabled.js.map +1 -0
- package/pulumi/apps/extensions/isVpcEnabled.d.ts +14 -0
- package/pulumi/apps/extensions/isVpcEnabled.js +8 -0
- package/pulumi/apps/extensions/isVpcEnabled.js.map +1 -0
- package/pulumi/apps/extensions/isWebFunctionEnabled.d.ts +5 -0
- package/pulumi/apps/extensions/isWebFunctionEnabled.js +9 -0
- package/pulumi/apps/extensions/isWebFunctionEnabled.js.map +1 -0
- package/pulumi/apps/extensions/projectUsesPostgres.d.ts +2 -0
- package/pulumi/apps/extensions/projectUsesPostgres.js +10 -0
- package/pulumi/apps/extensions/projectUsesPostgres.js.map +1 -0
- package/pulumi/apps/react/adminSettingsItem.d.ts +17 -0
- package/pulumi/apps/react/adminSettingsItem.js +28 -0
- package/pulumi/apps/react/adminSettingsItem.js.map +1 -0
- package/pulumi/apps/react/createReactPulumiApp.js +6 -19
- package/pulumi/apps/react/createReactPulumiApp.js.map +1 -1
- package/pulumi/apps/syncSystem/types.d.ts +2 -2
- package/pulumi/extensions/AdminPulumi.js +3 -2
- package/pulumi/extensions/AdminPulumi.js.map +1 -1
- package/pulumi/extensions/ApiPulumi.js +3 -2
- package/pulumi/extensions/ApiPulumi.js.map +1 -1
- package/pulumi/extensions/CorePulumi.js +3 -2
- package/pulumi/extensions/CorePulumi.js.map +1 -1
- package/pulumi/extensions/index.d.ts +53 -47
- package/pulumi/extensions/index.js +14 -9
- package/pulumi/extensions/index.js.map +1 -1
- package/pulumi/features/AdminPulumi/AdminPulumi.d.ts +1 -1
- package/pulumi/features/AdminPulumi/AdminPulumi.js +1 -1
- package/pulumi/features/AdminPulumi/AdminPulumi.js.map +1 -1
- package/pulumi/features/ApiPulumi/ApiPulumi.d.ts +1 -1
- package/pulumi/features/ApiPulumi/ApiPulumi.js +1 -1
- package/pulumi/features/ApiPulumi/ApiPulumi.js.map +1 -1
- package/pulumi/features/CorePulumi/CorePulumi.d.ts +1 -1
- package/pulumi/features/CorePulumi/CorePulumi.js +1 -1
- package/pulumi/features/CorePulumi/CorePulumi.js.map +1 -1
- package/pulumi/features/DefaultSetAdminCustomDomains.d.ts +1 -1
- package/pulumi/features/DefaultSetAdminCustomDomains.js.map +1 -1
- package/pulumi/features/DefaultSetApiCustomDomains.d.ts +1 -1
- package/pulumi/features/DefaultSetApiCustomDomains.js.map +1 -1
- package/pulumi/getAwsProjectSdk.d.ts +2 -12
- package/pulumi/getAwsProjectSdk.js +2 -3
- package/pulumi/getAwsProjectSdk.js.map +1 -1
- package/pulumi/getStackOutput.d.ts +4 -5
- package/pulumi/getStackOutput.js.map +1 -1
- package/pulumi/types.d.ts +9 -3
- package/pulumi/utils/getDistributionUrl.d.ts +9 -0
- package/pulumi/utils/getDistributionUrl.js +8 -0
- package/pulumi/utils/getDistributionUrl.js.map +1 -0
- package/pulumi/utils/index.d.ts +1 -0
- package/pulumi/utils/index.js +1 -0
- package/pulumi/utils/lambdaEnvVariables.js +2 -2
- package/pulumi/utils/lambdaEnvVariables.js.map +1 -1
- package/pulumi/utils/tagResources.js +2 -0
- package/pulumi/utils/tagResources.js.map +1 -1
- package/pulumi/utils/withServiceManifest.d.ts +35 -1
- package/pulumi/utils/withServiceManifest.js +53 -9
- package/pulumi/utils/withServiceManifest.js.map +1 -1
- package/registerAwsProjectFeatures.js +38 -9
- package/registerAwsProjectFeatures.js.map +1 -1
- package/services/AdminStackOutputService.d.ts +3 -3
- package/services/AdminStackOutputService.js +2 -2
- package/services/AdminStackOutputService.js.map +1 -1
- package/services/ApiStackOutputService.d.ts +3 -3
- package/services/ApiStackOutputService.js +2 -2
- package/services/ApiStackOutputService.js.map +1 -1
- package/services/AwsDeployInitHostingSdkService/AwsDeployInitHostingSdkService.d.ts +10 -0
- package/services/AwsDeployInitHostingSdkService/AwsDeployInitHostingSdkService.js +30 -0
- package/services/AwsDeployInitHostingSdkService/AwsDeployInitHostingSdkService.js.map +1 -0
- package/services/AwsPulumiInitHostingSdkService/AwsPulumiInitHostingSdkService.d.ts +9 -0
- package/services/AwsPulumiInitHostingSdkService/AwsPulumiInitHostingSdkService.js +24 -0
- package/services/AwsPulumiInitHostingSdkService/AwsPulumiInitHostingSdkService.js.map +1 -0
- package/services/CoreStackOutputService.d.ts +3 -3
- package/services/CoreStackOutputService.js +2 -2
- package/services/CoreStackOutputService.js.map +1 -1
- package/services/GetPulumiService/GetPulumiService.d.ts +3 -1
- package/services/GetPulumiService/GetPulumiService.js +2 -1
- package/services/GetPulumiService/GetPulumiService.js.map +1 -1
- package/services/GetPulumiVersionService/GetPulumiVersionService.d.ts +5 -0
- package/services/GetPulumiVersionService/GetPulumiVersionService.js +46 -0
- package/services/GetPulumiVersionService/GetPulumiVersionService.js.map +1 -0
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.d.ts +14 -0
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.js +15 -0
- package/services/IsRemotePulumiBackendService/IsRemotePulumiBackendService.js.map +1 -0
- package/services/IsRemotePulumiBackendService/index.d.ts +1 -0
- package/services/IsRemotePulumiBackendService/index.js +1 -0
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.d.ts +20 -0
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js +63 -0
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js.map +1 -0
- package/services/ListAppLambdaFunctionsService/index.d.ts +1 -0
- package/services/ListAppLambdaFunctionsService/index.js +1 -0
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.d.ts +8 -0
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.js +31 -0
- package/services/ListDeployedEnvironmentsService/ListDeployedEnvironmentsService.js.map +1 -0
- package/services/ListDeployedEnvironmentsService/index.d.ts +1 -0
- package/services/ListDeployedEnvironmentsService/index.js +1 -0
- package/services/PulumiExportService/PulumiExportService.d.ts +16 -0
- package/services/PulumiExportService/PulumiExportService.js +54 -0
- package/services/PulumiExportService/PulumiExportService.js.map +1 -0
- package/services/PulumiExportService/index.d.ts +1 -0
- package/services/PulumiExportService/index.js +1 -0
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.d.ts +5 -0
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.js +15 -0
- package/services/PulumiGetConfigPassphraseService/PulumiGetConfigPassphraseService.js.map +1 -0
- package/services/PulumiGetConfigPassphraseService/index.d.ts +1 -0
- package/services/PulumiGetConfigPassphraseService/index.js +1 -0
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.d.ts +5 -0
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.js +15 -0
- package/services/PulumiGetSecretsProviderService/PulumiGetSecretsProviderService.js.map +1 -0
- package/services/PulumiGetSecretsProviderService/index.d.ts +1 -0
- package/services/PulumiGetSecretsProviderService/index.js +1 -0
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.d.ts +16 -0
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.js +69 -0
- package/services/PulumiGetStackOutputService/PulumiGetStackOutputService.js.map +1 -0
- package/services/PulumiGetStackOutputService/index.d.ts +1 -0
- package/services/PulumiGetStackOutputService/index.js +1 -0
- package/services/PulumiGetStackOutputService/mapStackOutput.d.ts +1 -0
- package/services/PulumiGetStackOutputService/mapStackOutput.js +22 -0
- package/services/PulumiGetStackOutputService/mapStackOutput.js.map +1 -0
- package/services/PulumiImportService/PulumiImportService.d.ts +13 -0
- package/services/PulumiImportService/PulumiImportService.js +64 -0
- package/services/PulumiImportService/PulumiImportService.js.map +1 -0
- package/services/PulumiImportService/index.d.ts +1 -0
- package/services/PulumiImportService/index.js +1 -0
- package/services/PulumiLoginService/PulumiLoginService.d.ts +13 -0
- package/services/PulumiLoginService/PulumiLoginService.js +59 -0
- package/services/PulumiLoginService/PulumiLoginService.js.map +1 -0
- package/services/PulumiLoginService/index.d.ts +1 -0
- package/services/PulumiLoginService/index.js +1 -0
- package/services/PulumiSelectStackService/PulumiSelectStackService.d.ts +20 -0
- package/services/PulumiSelectStackService/PulumiSelectStackService.js +106 -0
- package/services/PulumiSelectStackService/PulumiSelectStackService.js.map +1 -0
- package/services/PulumiSelectStackService/index.d.ts +1 -0
- package/services/PulumiSelectStackService/index.js +1 -0
- package/services/StackOutputCacheService/StackOutputCacheService.d.ts +21 -0
- package/services/StackOutputCacheService/StackOutputCacheService.js +90 -0
- package/services/StackOutputCacheService/StackOutputCacheService.js.map +1 -0
- package/services/StackOutputCacheService/index.d.ts +1 -0
- package/services/StackOutputCacheService/index.js +1 -0
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.d.ts +14 -0
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js +55 -0
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js.map +1 -0
- package/services/WatchedLambdaFunctionsService/index.d.ts +1 -0
- package/services/WatchedLambdaFunctionsService/index.js +1 -0
- package/utils/withPulumiConfigPassphrase.d.ts +1 -0
- package/utils/withPulumiConfigPassphrase.js +7 -0
- package/utils/withPulumiConfigPassphrase.js.map +1 -0
- package/abstractions/ApiGqlClient.d.ts +0 -23
- package/abstractions/ApiGqlClient.js +0 -5
- package/abstractions/ApiGqlClient.js.map +0 -1
- package/abstractions/InvokeLambdaFunction.d.ts +0 -18
- package/abstractions/InvokeLambdaFunction.js +0 -5
- package/abstractions/InvokeLambdaFunction.js.map +0 -1
- package/abstractions/features/pulumi/AdminPulumi.d.ts +0 -9
- package/abstractions/features/pulumi/AdminPulumi.js +0 -5
- package/abstractions/features/pulumi/AdminPulumi.js.map +0 -1
- package/abstractions/features/pulumi/ApiPulumi.d.ts +0 -9
- package/abstractions/features/pulumi/ApiPulumi.js +0 -5
- package/abstractions/features/pulumi/ApiPulumi.js.map +0 -1
- package/abstractions/features/pulumi/CorePulumi.d.ts +0 -9
- package/abstractions/features/pulumi/CorePulumi.js +0 -5
- package/abstractions/features/pulumi/CorePulumi.js.map +0 -1
- package/abstractions/features/pulumi/SetAdminCustomDomains.d.ts +0 -9
- package/abstractions/features/pulumi/SetAdminCustomDomains.js +0 -5
- package/abstractions/features/pulumi/SetAdminCustomDomains.js.map +0 -1
- package/abstractions/features/pulumi/SetApiCustomDomains.d.ts +0 -9
- package/abstractions/features/pulumi/SetApiCustomDomains.js +0 -5
- package/abstractions/features/pulumi/SetApiCustomDomains.js.map +0 -1
- package/abstractions/features/pulumi/index.d.ts +0 -5
- package/abstractions/features/pulumi/index.js +0 -5
- package/abstractions/services/AdminStackOutputService.d.ts +0 -13
- package/abstractions/services/AdminStackOutputService.js +0 -5
- package/abstractions/services/AdminStackOutputService.js.map +0 -1
- package/abstractions/services/ApiStackOutputService.d.ts +0 -29
- package/abstractions/services/ApiStackOutputService.js +0 -5
- package/abstractions/services/ApiStackOutputService.js.map +0 -1
- package/abstractions/services/CoreStackOutputService.d.ts +0 -16
- package/abstractions/services/CoreStackOutputService.js +0 -5
- package/abstractions/services/CoreStackOutputService.js.map +0 -1
- package/exports/extensions.d.ts +0 -5
- package/exports/extensions.js +0 -5
- package/exports/infra.d.ts +0 -1
- package/exports/infra.js +0 -1
- package/extensions/AwsDefaultRegion.d.ts +0 -4
- package/extensions/AwsDefaultRegion.js +0 -23
- package/extensions/AwsDefaultRegion.js.map +0 -1
- package/extensions/BackgroundTasks.d.ts +0 -4
- package/extensions/BackgroundTasks.js +0 -24
- package/extensions/BackgroundTasks.js.map +0 -1
- package/extensions/Cms/ModelFieldCompression.d.ts +0 -4
- package/extensions/Cms/ModelFieldCompression.js +0 -24
- package/extensions/Cms/ModelFieldCompression.js.map +0 -1
- package/extensions/Mailer/Smtp.d.ts +0 -8
- package/extensions/Mailer/Smtp.js +0 -21
- package/extensions/Mailer/Smtp.js.map +0 -1
- package/extensions/Mailer/Smtp.test.js +0 -127
- package/extensions/Mailer/Smtp.test.js.map +0 -1
- package/extensions/Mailer/SmtpParamsSchema.d.ts +0 -9
- package/extensions/Mailer/SmtpParamsSchema.js +0 -17
- package/extensions/Mailer/SmtpParamsSchema.js.map +0 -1
- package/extensions/ProjectAws/AutoInstall.d.ts +0 -9
- package/extensions/ProjectAws/AutoInstall.js +0 -20
- package/extensions/ProjectAws/AutoInstall.js.map +0 -1
- package/extensions/routePath.d.ts +0 -20
- package/extensions/routePath.js +0 -13
- package/extensions/routePath.js.map +0 -1
- package/features/Watch/handler/handler.zip +0 -0
- package/pulumi/extensions/AdminCustomDomains.d.ts +0 -9
- package/pulumi/extensions/AdminCustomDomains.js +0 -20
- package/pulumi/extensions/AdminCustomDomains.js.map +0 -1
- package/pulumi/extensions/ApiCustomDomains.d.ts +0 -9
- package/pulumi/extensions/ApiCustomDomains.js +0 -20
- package/pulumi/extensions/ApiCustomDomains.js.map +0 -1
- package/pulumi/extensions/AwsTags.d.ts +0 -4
- package/pulumi/extensions/AwsTags.js +0 -16
- package/pulumi/extensions/AwsTags.js.map +0 -1
- package/pulumi/extensions/BlueGreenDeployments.d.ts +0 -34
- package/pulumi/extensions/BlueGreenDeployments.js +0 -38
- package/pulumi/extensions/BlueGreenDeployments.js.map +0 -1
- package/pulumi/extensions/OpenSearch.d.ts +0 -10
- package/pulumi/extensions/OpenSearch.js +0 -21
- package/pulumi/extensions/OpenSearch.js.map +0 -1
- package/pulumi/extensions/Vpc.d.ts +0 -15
- package/pulumi/extensions/Vpc.js +0 -26
- package/pulumi/extensions/Vpc.js.map +0 -1
- /package/extensions/{Mailer/Smtp.test.d.ts → registerExtensionImplementations.d.ts} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ProjectSdk } from "@webiny/project";
|
|
2
|
+
import { type ProjectSdkParamsService } from "@webiny/project/abstractions/index.js";
|
|
3
|
+
import { type AppName } from "@webiny/project";
|
|
4
|
+
import { DeployApp } from "@webiny/project-extensions-aws/abstractions/features/DeployApp.js";
|
|
5
|
+
import { DestroyApp } from "./abstractions/features/DestroyApp.js";
|
|
6
|
+
import { ExportStack } from "./abstractions/features/ExportStack.js";
|
|
7
|
+
import { GetAppOutput } from "./abstractions/features/GetAppOutput.js";
|
|
8
|
+
import { GetAppStackOutput } from "./abstractions/features/GetAppStackOutput.js";
|
|
9
|
+
import { RefreshApp } from "./abstractions/features/RefreshApp.js";
|
|
10
|
+
import { RunPulumiCommand } from "./abstractions/features/RunPulumiCommand.js";
|
|
11
|
+
/**
|
|
12
|
+
* `ProjectSdk` plus the deploy and Pulumi methods. Create it with `createForCli` or
|
|
13
|
+
* `createForPulumiProgram`, which register the AWS features these methods resolve, so an instance
|
|
14
|
+
* without them can't be built.
|
|
15
|
+
*/
|
|
16
|
+
export declare class AwsProjectSdk extends ProjectSdk {
|
|
17
|
+
private static readonly instances;
|
|
18
|
+
static createForCli(params: Partial<ProjectSdkParamsService.Params>): Promise<AwsProjectSdk>;
|
|
19
|
+
static createForPulumiProgram(): Promise<AwsProjectSdk>;
|
|
20
|
+
private static forContainer;
|
|
21
|
+
getAppOutput(params: GetAppOutput.Params): Promise<{
|
|
22
|
+
pulumiProcess: import("@webiny/pulumi-sdk/Pulumi").PulumiProcess;
|
|
23
|
+
}>;
|
|
24
|
+
getAppStackOutput<TOutput extends GetAppStackOutput.StackOutput = GetAppStackOutput.StackOutput>(appName: AppName): Promise<import("~/abstractions/features/GetAppStackOutput.js").IGetAppStackOutputResult<TOutput>>;
|
|
25
|
+
getAppStackExport<TExport extends ExportStack.StackExport = ExportStack.StackExport>(params: ExportStack.Params): Promise<import("~/abstractions/features/ExportStack.js").IExportStackResult<TExport>>;
|
|
26
|
+
deployApp(params: DeployApp.Params): Promise<void>;
|
|
27
|
+
destroyApp(params: DestroyApp.Params): Promise<{
|
|
28
|
+
pulumiProcess: import("@webiny/pulumi-sdk/Pulumi").PulumiProcess;
|
|
29
|
+
}>;
|
|
30
|
+
refreshApp(params: RefreshApp.Params): Promise<{
|
|
31
|
+
pulumiProcess: import("~/abstractions/features/RefreshApp.js").IPulumiProcess;
|
|
32
|
+
}>;
|
|
33
|
+
runPulumiCommand(params: RunPulumiCommand.Params): Promise<{
|
|
34
|
+
pulumiProcess: import("@webiny/pulumi-sdk/Pulumi").PulumiProcess;
|
|
35
|
+
}>;
|
|
36
|
+
getPulumiResourceNamePrefix(): Promise<string>;
|
|
37
|
+
listDeployedEnvironments(): Promise<import("~/abstractions/services/ListDeployedEnvironmentsService.js").IDeployedEnvironment[]>;
|
|
38
|
+
}
|
package/AwsProjectSdk.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ProjectSdk } from "@webiny/project";
|
|
2
|
+
import { DeployApp } from "@webiny/project-extensions-aws/abstractions/features/DeployApp.js";
|
|
3
|
+
import { DestroyApp } from "./abstractions/features/DestroyApp.js";
|
|
4
|
+
import { ExportStack } from "./abstractions/features/ExportStack.js";
|
|
5
|
+
import { GetAppOutput } from "./abstractions/features/GetAppOutput.js";
|
|
6
|
+
import { GetAppStackOutput } from "./abstractions/features/GetAppStackOutput.js";
|
|
7
|
+
import { GetPulumiResourceNamePrefix } from "./abstractions/features/GetPulumiResourceNamePrefix.js";
|
|
8
|
+
import { RefreshApp } from "./abstractions/features/RefreshApp.js";
|
|
9
|
+
import { RunPulumiCommand } from "./abstractions/features/RunPulumiCommand.js";
|
|
10
|
+
import { ListDeployedEnvironmentsService } from "./abstractions/services/ListDeployedEnvironmentsService.js";
|
|
11
|
+
import { registerAwsProjectFeatures, registerAwsPulumiServices } from "./registerAwsProjectFeatures.js";
|
|
12
|
+
class AwsProjectSdk extends ProjectSdk {
|
|
13
|
+
static{
|
|
14
|
+
this.instances = new WeakMap();
|
|
15
|
+
}
|
|
16
|
+
static async createForCli(params) {
|
|
17
|
+
const projectSdk = await ProjectSdk.init(params, registerAwsProjectFeatures);
|
|
18
|
+
return AwsProjectSdk.forContainer(projectSdk.getContainer());
|
|
19
|
+
}
|
|
20
|
+
static async createForPulumiProgram() {
|
|
21
|
+
const projectSdk = await ProjectSdk.init({}, registerAwsPulumiServices);
|
|
22
|
+
return AwsProjectSdk.forContainer(projectSdk.getContainer());
|
|
23
|
+
}
|
|
24
|
+
static forContainer(container) {
|
|
25
|
+
const existing = AwsProjectSdk.instances.get(container);
|
|
26
|
+
if (existing) return existing;
|
|
27
|
+
const instance = new AwsProjectSdk(container);
|
|
28
|
+
AwsProjectSdk.instances.set(container, instance);
|
|
29
|
+
return instance;
|
|
30
|
+
}
|
|
31
|
+
async getAppOutput(params) {
|
|
32
|
+
return this.container.resolve(GetAppOutput).execute(params);
|
|
33
|
+
}
|
|
34
|
+
async getAppStackOutput(appName) {
|
|
35
|
+
return this.container.resolve(GetAppStackOutput).execute(appName);
|
|
36
|
+
}
|
|
37
|
+
async getAppStackExport(params) {
|
|
38
|
+
return this.container.resolve(ExportStack).execute(params);
|
|
39
|
+
}
|
|
40
|
+
deployApp(params) {
|
|
41
|
+
return this.container.resolve(DeployApp).execute(params);
|
|
42
|
+
}
|
|
43
|
+
destroyApp(params) {
|
|
44
|
+
return this.container.resolve(DestroyApp).execute(params);
|
|
45
|
+
}
|
|
46
|
+
refreshApp(params) {
|
|
47
|
+
return this.container.resolve(RefreshApp).execute(params);
|
|
48
|
+
}
|
|
49
|
+
runPulumiCommand(params) {
|
|
50
|
+
return this.container.resolve(RunPulumiCommand).execute(params);
|
|
51
|
+
}
|
|
52
|
+
getPulumiResourceNamePrefix() {
|
|
53
|
+
return this.container.resolve(GetPulumiResourceNamePrefix).execute();
|
|
54
|
+
}
|
|
55
|
+
listDeployedEnvironments() {
|
|
56
|
+
return this.container.resolve(ListDeployedEnvironmentsService).execute();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export { AwsProjectSdk };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=AwsProjectSdk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AwsProjectSdk.js","sources":["../src/AwsProjectSdk.ts"],"sourcesContent":["import { type Container } from \"@webiny/di\";\nimport { ProjectSdk } from \"@webiny/project\";\nimport { type ProjectSdkParamsService } from \"@webiny/project/abstractions/index.js\";\nimport { type AppName } from \"@webiny/project\";\nimport { DeployApp } from \"@webiny/project-extensions-aws/abstractions/features/DeployApp.js\";\nimport { DestroyApp } from \"~/abstractions/features/DestroyApp.js\";\nimport { ExportStack } from \"~/abstractions/features/ExportStack.js\";\nimport { GetAppOutput } from \"~/abstractions/features/GetAppOutput.js\";\nimport { GetAppStackOutput } from \"~/abstractions/features/GetAppStackOutput.js\";\nimport { GetPulumiResourceNamePrefix } from \"~/abstractions/features/GetPulumiResourceNamePrefix.js\";\nimport { RefreshApp } from \"~/abstractions/features/RefreshApp.js\";\nimport { RunPulumiCommand } from \"~/abstractions/features/RunPulumiCommand.js\";\nimport { ListDeployedEnvironmentsService } from \"~/abstractions/services/ListDeployedEnvironmentsService.js\";\nimport { registerAwsProjectFeatures } from \"~/registerAwsProjectFeatures.js\";\nimport { registerAwsPulumiServices } from \"~/registerAwsProjectFeatures.js\";\n\n/**\n * `ProjectSdk` plus the deploy and Pulumi methods. Create it with `createForCli` or\n * `createForPulumiProgram`, which register the AWS features these methods resolve, so an instance\n * without them can't be built.\n */\nexport class AwsProjectSdk extends ProjectSdk {\n private static readonly instances = new WeakMap<Container, AwsProjectSdk>();\n\n // The AWS CLI's SDK: Pulumi services, deploy hooks and decorators, and the workspace builders.\n public static async createForCli(params: Partial<ProjectSdkParamsService.Params>) {\n const projectSdk = await ProjectSdk.init(params, registerAwsProjectFeatures);\n return AwsProjectSdk.forContainer(projectSdk.getContainer());\n }\n\n /*\n * The SDK of the Pulumi program, the separate process Pulumi starts during a deploy. It gets the\n * Pulumi services only, so the CLI's deploy decorators and workspace builders don't run again\n * mid-deploy. Empty params: env, variant and region come from the parent process.\n */\n public static async createForPulumiProgram() {\n const projectSdk = await ProjectSdk.init({}, registerAwsPulumiServices);\n return AwsProjectSdk.forContainer(projectSdk.getContainer());\n }\n\n // `ProjectSdk.init` caches the container, so the same container gets the same instance.\n private static forContainer(container: Container) {\n const existing = AwsProjectSdk.instances.get(container);\n if (existing) {\n return existing;\n }\n const instance = new AwsProjectSdk(container);\n AwsProjectSdk.instances.set(container, instance);\n return instance;\n }\n\n /*\n * Here we have two stack output methods. Both do the same thing, but one is returning\n * raw Pulumi output, while the other is returning a JSON, which is far more suitable\n * in multiple places throughout the codebase (like Pulumi code, deploy hooks, ...).\n * TODO: we could probably merge these two methods into one, and have an option to return\n * TODO: raw or JSON output. For now, just writing it here.\n */\n public async getAppOutput(params: GetAppOutput.Params) {\n return this.container.resolve(GetAppOutput).execute(params);\n }\n\n public async getAppStackOutput<\n TOutput extends GetAppStackOutput.StackOutput = GetAppStackOutput.StackOutput\n >(appName: AppName) {\n return this.container.resolve(GetAppStackOutput).execute<TOutput>(appName);\n }\n\n public async getAppStackExport<\n TExport extends ExportStack.StackExport = ExportStack.StackExport\n >(params: ExportStack.Params) {\n return this.container.resolve(ExportStack).execute<TExport>(params);\n }\n\n public deployApp(params: DeployApp.Params) {\n return this.container.resolve(DeployApp).execute(params);\n }\n\n public destroyApp(params: DestroyApp.Params) {\n return this.container.resolve(DestroyApp).execute(params);\n }\n\n public refreshApp(params: RefreshApp.Params) {\n return this.container.resolve(RefreshApp).execute(params);\n }\n\n public runPulumiCommand(params: RunPulumiCommand.Params) {\n return this.container.resolve(RunPulumiCommand).execute(params);\n }\n\n public getPulumiResourceNamePrefix() {\n return this.container.resolve(GetPulumiResourceNamePrefix).execute();\n }\n\n public listDeployedEnvironments() {\n return this.container.resolve(ListDeployedEnvironmentsService).execute();\n }\n}\n"],"names":["AwsProjectSdk","ProjectSdk","WeakMap","params","projectSdk","registerAwsProjectFeatures","registerAwsPulumiServices","container","existing","instance","GetAppOutput","appName","GetAppStackOutput","ExportStack","DeployApp","DestroyApp","RefreshApp","RunPulumiCommand","GetPulumiResourceNamePrefix","ListDeployedEnvironmentsService"],"mappings":";;;;;;;;;;;AAqBO,MAAMA,sBAAsBC;;aACP,SAAS,GAAG,IAAIC;;IAGxC,aAAoB,aAAaC,MAA+C,EAAE;QAC9E,MAAMC,aAAa,MAAMH,WAAW,IAAI,CAACE,QAAQE;QACjD,OAAOL,cAAc,YAAY,CAACI,WAAW,YAAY;IAC7D;IAOA,aAAoB,yBAAyB;QACzC,MAAMA,aAAa,MAAMH,WAAW,IAAI,CAAC,CAAC,GAAGK;QAC7C,OAAON,cAAc,YAAY,CAACI,WAAW,YAAY;IAC7D;IAGA,OAAe,aAAaG,SAAoB,EAAE;QAC9C,MAAMC,WAAWR,cAAc,SAAS,CAAC,GAAG,CAACO;QAC7C,IAAIC,UACA,OAAOA;QAEX,MAAMC,WAAW,IAAIT,cAAcO;QACnCP,cAAc,SAAS,CAAC,GAAG,CAACO,WAAWE;QACvC,OAAOA;IACX;IASA,MAAa,aAAaN,MAA2B,EAAE;QACnD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACO,cAAc,OAAO,CAACP;IACxD;IAEA,MAAa,kBAEXQ,OAAgB,EAAE;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACC,mBAAmB,OAAO,CAAUD;IACtE;IAEA,MAAa,kBAEXR,MAA0B,EAAE;QAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACU,aAAa,OAAO,CAAUV;IAChE;IAEO,UAAUA,MAAwB,EAAE;QACvC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACW,WAAW,OAAO,CAACX;IACrD;IAEO,WAAWA,MAAyB,EAAE;QACzC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACY,YAAY,OAAO,CAACZ;IACtD;IAEO,WAAWA,MAAyB,EAAE;QACzC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACa,YAAY,OAAO,CAACb;IACtD;IAEO,iBAAiBA,MAA+B,EAAE;QACrD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACc,kBAAkB,OAAO,CAACd;IAC5D;IAEO,8BAA8B;QACjC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACe,6BAA6B,OAAO;IACtE;IAEO,2BAA2B;QAC9B,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAACC,iCAAiC,OAAO;IAC1E;AACJ"}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@webiny/api-
|
|
8
|
-
"@webiny/api-
|
|
7
|
+
"@webiny/api-composition-aws-ddb": "latest",
|
|
8
|
+
"@webiny/api-composition-aws-ddb-os": "latest",
|
|
9
9
|
"@webiny/api-aco": "latest",
|
|
10
10
|
"@webiny/api-audit-logs": "latest",
|
|
11
11
|
"@webiny/api-core": "latest",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DI-native API GraphQL handler (DynamoDB storage).
|
|
3
3
|
*
|
|
4
|
-
* The composition root lives in @webiny/api-
|
|
4
|
+
* The composition root lives in @webiny/api-composition-aws-ddb (`createAwsDdbApiHandler`) so the wiring
|
|
5
5
|
* is a real, testable package rather than template code. This file only supplies project-specific
|
|
6
6
|
* extensions.
|
|
7
7
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import {
|
|
15
15
|
createAwsDdbApiHandler,
|
|
16
16
|
createAwsDdbStreamApiHandler
|
|
17
|
-
} from "@webiny/api-
|
|
17
|
+
} from "@webiny/api-composition-aws-ddb";
|
|
18
18
|
import { extensions } from "./extensions";
|
|
19
19
|
|
|
20
20
|
export const handler = createAwsDdbApiHandler({ extensions });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry of the Lambda web function, built unless the project sets
|
|
3
|
+
* `<Infra.Api.WebFunction enabled={false} />`.
|
|
4
|
+
*
|
|
5
|
+
* Unlike `index.ts`, importing this module starts an HTTP server, so it is a separate entry and a
|
|
6
|
+
* separate bundle (`build-web/`), never part of `handler.mjs`. The web function serves the HTTP routes;
|
|
7
|
+
* every other invocation still goes to the regular `graphql` Lambda built from `index.ts`.
|
|
8
|
+
*/
|
|
9
|
+
import { startAwsDdbWebApi } from "@webiny/api-composition-aws-ddb";
|
|
10
|
+
import { extensions } from "./extensions";
|
|
11
|
+
|
|
12
|
+
startAwsDdbWebApi({ extensions }).catch(err => {
|
|
13
|
+
console.error("Failed to start the web API server.", err);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
});
|
|
@@ -2,7 +2,12 @@ import { createBuildFunction, createWatchFunction } from "@webiny/build-tools";
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
commands: {
|
|
5
|
-
build: createBuildFunction({
|
|
5
|
+
build: createBuildFunction({
|
|
6
|
+
cwd: import.meta.dirname,
|
|
7
|
+
// Also build `src/web.ts` for the web function, unless the project sets
|
|
8
|
+
// `<Infra.Api.WebFunction enabled={false} />`.
|
|
9
|
+
web: process.env.WEBINY_API_WEB_FUNCTION !== "false"
|
|
10
|
+
}),
|
|
6
11
|
watch: createWatchFunction({ cwd: import.meta.dirname })
|
|
7
12
|
}
|
|
8
13
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DI-native API GraphQL handler — OpenSearch (DDB+ES) variant.
|
|
3
3
|
*
|
|
4
|
-
* The composition root lives in @webiny/api-
|
|
4
|
+
* The composition root lives in @webiny/api-composition-aws-ddb-os (`createAwsDdbOsApiHandler`) so the
|
|
5
5
|
* wiring is a real, testable package rather than template code. The OpenSearch extension's
|
|
6
6
|
* ReplaceApiLambdaFnHandlers copies this file over the api workspace when OpenSearch is enabled.
|
|
7
7
|
* This file only supplies project-specific extensions.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import {
|
|
13
13
|
createAwsDdbOsApiHandler,
|
|
14
14
|
createAwsDdbOsStreamApiHandler
|
|
15
|
-
} from "@webiny/api-
|
|
15
|
+
} from "@webiny/api-composition-aws-ddb-os";
|
|
16
16
|
import { extensions } from "./extensions";
|
|
17
17
|
|
|
18
18
|
export const handler = createAwsDdbOsApiHandler({ extensions });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry of the Lambda web function, built unless the project sets
|
|
3
|
+
* `<Infra.Api.WebFunction enabled={false} />`.
|
|
4
|
+
*
|
|
5
|
+
* Unlike `index.ts`, importing this module starts an HTTP server, so it is a separate entry and a
|
|
6
|
+
* separate bundle (`build-web/`), never part of `handler.mjs`. The web function serves the HTTP routes;
|
|
7
|
+
* every other invocation still goes to the regular `graphql` Lambda built from `index.ts`.
|
|
8
|
+
*/
|
|
9
|
+
import { startAwsDdbOsWebApi } from "@webiny/api-composition-aws-ddb-os";
|
|
10
|
+
import { extensions } from "./extensions";
|
|
11
|
+
|
|
12
|
+
startAwsDdbOsWebApi({ extensions }).catch(err => {
|
|
13
|
+
console.error("Failed to start the web API server.", err);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DI-native API GraphQL handler — Postgres variant.
|
|
3
|
+
*
|
|
4
|
+
* The composition root lives in @webiny/api-composition-aws-pg (`createAwsPgApiHandler`). The
|
|
5
|
+
* Postgres extension's ReplaceApiLambdaFnHandlers copies this file over the api workspace when
|
|
6
|
+
* `<Infra.AuroraPostgres />` is rendered. This file only supplies project-specific extensions.
|
|
7
|
+
*
|
|
8
|
+
* Exports both the buffered (API Gateway) and the response-streaming (Function URL) handler; see the
|
|
9
|
+
* DynamoDB variant of this file for why streaming needs its own Lambda function. The same bundle also
|
|
10
|
+
* answers the `WebinySqlSchemaSetup` event, which the api deploy sends to set the database schema up.
|
|
11
|
+
*/
|
|
12
|
+
import { createAwsPgApiHandler, createAwsPgStreamApiHandler } from "@webiny/api-composition-aws-pg";
|
|
13
|
+
import { extensions } from "./extensions";
|
|
14
|
+
|
|
15
|
+
export const handler = createAwsPgApiHandler({ extensions });
|
|
16
|
+
|
|
17
|
+
export const streamHandler = createAwsPgStreamApiHandler({ extensions });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry of the Lambda web function, built unless the project sets
|
|
3
|
+
* `<Infra.Api.WebFunction enabled={false} />`.
|
|
4
|
+
*
|
|
5
|
+
* Unlike `index.ts`, importing this module starts an HTTP server, so it is a separate entry and a
|
|
6
|
+
* separate bundle (`build-web/`), never part of `handler.mjs`. The web function serves the HTTP routes;
|
|
7
|
+
* every other invocation still goes to the regular `graphql` Lambda built from `index.ts`.
|
|
8
|
+
*/
|
|
9
|
+
import { startAwsPgWebApi } from "@webiny/api-composition-aws-pg";
|
|
10
|
+
import { extensions } from "./extensions";
|
|
11
|
+
|
|
12
|
+
startAwsPgWebApi({ extensions }).catch(err => {
|
|
13
|
+
console.error("Failed to start the web API server.", err);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DI-native API GraphQL handler — DynamoDB default storage, with the Postgres storages tenants can
|
|
3
|
+
* be placed on (`<Infra.TenantStorage.AuroraPostgres>`).
|
|
4
|
+
*
|
|
5
|
+
* `ApplyTenantStoragesApiEntry` copies this file over the api workspace when the project declares a
|
|
6
|
+
* storage. Root and every tenant without `settings.storage` run on the default storage; a tenant
|
|
7
|
+
* whose `settings.storage` names a declared storage runs on its cluster. The storages' connections
|
|
8
|
+
* come from `WEBINY_TENANT_STORAGES`, which the deploy sets on every API function. The same bundle
|
|
9
|
+
* answers the `WebinySqlSchemaSetup` event, which the api deploy sends to set every storage up.
|
|
10
|
+
*
|
|
11
|
+
* Exports both the buffered (API Gateway) and the response-streaming (Function URL) handler; see the
|
|
12
|
+
* DynamoDB variant of this file for why streaming needs its own Lambda function.
|
|
13
|
+
*/
|
|
14
|
+
import {
|
|
15
|
+
createAwsDdbApiHandler,
|
|
16
|
+
createAwsDdbStreamApiHandler
|
|
17
|
+
} from "@webiny/api-composition-aws-ddb";
|
|
18
|
+
import { createAwsPgTenantStorages } from "@webiny/api-composition-aws-pg";
|
|
19
|
+
import { extensions } from "./extensions";
|
|
20
|
+
|
|
21
|
+
const tenantStorages = createAwsPgTenantStorages();
|
|
22
|
+
|
|
23
|
+
export const handler = createAwsDdbApiHandler({ extensions, tenantStorages });
|
|
24
|
+
|
|
25
|
+
export const streamHandler = createAwsDdbStreamApiHandler({ extensions, tenantStorages });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry of the Lambda web function, built unless the project sets
|
|
3
|
+
* `<Infra.Api.WebFunction enabled={false} />`: the DynamoDB default storage, with the Postgres
|
|
4
|
+
* storages tenants can be placed on (`<Infra.TenantStorage.AuroraPostgres>`).
|
|
5
|
+
*
|
|
6
|
+
* Unlike `index.ts`, importing this module starts an HTTP server, so it is a separate entry and a
|
|
7
|
+
* separate bundle (`build-web/`), never part of `handler.mjs`. The web function serves the HTTP routes;
|
|
8
|
+
* every other invocation still goes to the regular `graphql` Lambda built from `index.ts`.
|
|
9
|
+
*/
|
|
10
|
+
import { startAwsDdbWebApi } from "@webiny/api-composition-aws-ddb";
|
|
11
|
+
import { createAwsPgTenantStorages } from "@webiny/api-composition-aws-pg";
|
|
12
|
+
import { extensions } from "./extensions";
|
|
13
|
+
|
|
14
|
+
startAwsDdbWebApi({ extensions, tenantStorages: createAwsPgTenantStorages() }).catch(err => {
|
|
15
|
+
console.error("Failed to start the web API server.", err);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DI-native API GraphQL handler — DynamoDB + OpenSearch default storage, with the Postgres storages tenants can
|
|
3
|
+
* be placed on (`<Infra.TenantStorage.AuroraPostgres>`).
|
|
4
|
+
*
|
|
5
|
+
* `ApplyTenantStoragesApiEntry` copies this file over the api workspace when the project declares a
|
|
6
|
+
* storage. Root and every tenant without `settings.storage` run on the default storage; a tenant
|
|
7
|
+
* whose `settings.storage` names a declared storage runs on its cluster. The storages' connections
|
|
8
|
+
* come from `WEBINY_TENANT_STORAGES`, which the deploy sets on every API function. The same bundle
|
|
9
|
+
* answers the `WebinySqlSchemaSetup` event, which the api deploy sends to set every storage up.
|
|
10
|
+
*
|
|
11
|
+
* Exports both the buffered (API Gateway) and the response-streaming (Function URL) handler; see the
|
|
12
|
+
* DynamoDB variant of this file for why streaming needs its own Lambda function.
|
|
13
|
+
*/
|
|
14
|
+
import {
|
|
15
|
+
createAwsDdbOsApiHandler,
|
|
16
|
+
createAwsDdbOsStreamApiHandler
|
|
17
|
+
} from "@webiny/api-composition-aws-ddb-os";
|
|
18
|
+
import { createAwsPgTenantStorages } from "@webiny/api-composition-aws-pg";
|
|
19
|
+
import { extensions } from "./extensions";
|
|
20
|
+
|
|
21
|
+
const tenantStorages = createAwsPgTenantStorages();
|
|
22
|
+
|
|
23
|
+
export const handler = createAwsDdbOsApiHandler({ extensions, tenantStorages });
|
|
24
|
+
|
|
25
|
+
export const streamHandler = createAwsDdbOsStreamApiHandler({ extensions, tenantStorages });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry of the Lambda web function, built unless the project sets
|
|
3
|
+
* `<Infra.Api.WebFunction enabled={false} />`: the DynamoDB + OpenSearch default storage, with the Postgres
|
|
4
|
+
* storages tenants can be placed on (`<Infra.TenantStorage.AuroraPostgres>`).
|
|
5
|
+
*
|
|
6
|
+
* Unlike `index.ts`, importing this module starts an HTTP server, so it is a separate entry and a
|
|
7
|
+
* separate bundle (`build-web/`), never part of `handler.mjs`. The web function serves the HTTP routes;
|
|
8
|
+
* every other invocation still goes to the regular `graphql` Lambda built from `index.ts`.
|
|
9
|
+
*/
|
|
10
|
+
import { startAwsDdbOsWebApi } from "@webiny/api-composition-aws-ddb-os";
|
|
11
|
+
import { createAwsPgTenantStorages } from "@webiny/api-composition-aws-pg";
|
|
12
|
+
import { extensions } from "./extensions";
|
|
13
|
+
|
|
14
|
+
startAwsDdbOsWebApi({ extensions, tenantStorages: createAwsPgTenantStorages() }).catch(err => {
|
|
15
|
+
console.error("Failed to start the web API server.", err);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DI-native API GraphQL handler — Postgres default storage, with the Postgres storages tenants can
|
|
3
|
+
* be placed on (`<Infra.TenantStorage.AuroraPostgres>`).
|
|
4
|
+
*
|
|
5
|
+
* `ApplyTenantStoragesApiEntry` copies this file over the api workspace when the project declares a
|
|
6
|
+
* storage. Root and every tenant without `settings.storage` run on the default storage; a tenant
|
|
7
|
+
* whose `settings.storage` names a declared storage runs on its cluster. The storages' connections
|
|
8
|
+
* come from `WEBINY_TENANT_STORAGES`, which the deploy sets on every API function. The same bundle
|
|
9
|
+
* answers the `WebinySqlSchemaSetup` event, which the api deploy sends to set every storage up.
|
|
10
|
+
*
|
|
11
|
+
* Exports both the buffered (API Gateway) and the response-streaming (Function URL) handler; see the
|
|
12
|
+
* DynamoDB variant of this file for why streaming needs its own Lambda function.
|
|
13
|
+
*/
|
|
14
|
+
import {
|
|
15
|
+
createAwsPgApiHandler,
|
|
16
|
+
createAwsPgStreamApiHandler,
|
|
17
|
+
createAwsPgTenantStorages
|
|
18
|
+
} from "@webiny/api-composition-aws-pg";
|
|
19
|
+
import { extensions } from "./extensions";
|
|
20
|
+
|
|
21
|
+
const tenantStorages = createAwsPgTenantStorages();
|
|
22
|
+
|
|
23
|
+
export const handler = createAwsPgApiHandler({ extensions, tenantStorages });
|
|
24
|
+
|
|
25
|
+
export const streamHandler = createAwsPgStreamApiHandler({ extensions, tenantStorages });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry of the Lambda web function, built unless the project sets
|
|
3
|
+
* `<Infra.Api.WebFunction enabled={false} />`: the Postgres default storage, with the Postgres
|
|
4
|
+
* storages tenants can be placed on (`<Infra.TenantStorage.AuroraPostgres>`).
|
|
5
|
+
*
|
|
6
|
+
* Unlike `index.ts`, importing this module starts an HTTP server, so it is a separate entry and a
|
|
7
|
+
* separate bundle (`build-web/`), never part of `handler.mjs`. The web function serves the HTTP routes;
|
|
8
|
+
* every other invocation still goes to the regular `graphql` Lambda built from `index.ts`.
|
|
9
|
+
*/
|
|
10
|
+
import { startAwsPgWebApi, createAwsPgTenantStorages } from "@webiny/api-composition-aws-pg";
|
|
11
|
+
import { extensions } from "./extensions";
|
|
12
|
+
|
|
13
|
+
startAwsPgWebApi({ extensions, tenantStorages: createAwsPgTenantStorages() }).catch(err => {
|
|
14
|
+
console.error("Failed to start the web API server.", err);
|
|
15
|
+
process.exit(1);
|
|
16
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AppName } from "@webiny/project/abstractions/types.js";
|
|
2
|
+
import { type PulumiProcess } from "@webiny/pulumi-sdk";
|
|
3
|
+
type IPulumiProcess = PulumiProcess;
|
|
4
|
+
export interface IDestroyAppParams {
|
|
5
|
+
app: AppName;
|
|
6
|
+
}
|
|
7
|
+
export interface IDestroyApp {
|
|
8
|
+
execute(params: IDestroyAppParams): Promise<{
|
|
9
|
+
pulumiProcess: IPulumiProcess;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare const DestroyApp: import("@webiny/di").Abstraction<IDestroyApp>;
|
|
13
|
+
export declare namespace DestroyApp {
|
|
14
|
+
type Interface = IDestroyApp;
|
|
15
|
+
type Params = IDestroyAppParams;
|
|
16
|
+
type PulumiProcess = IPulumiProcess;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/DestroyApp.js","sources":["../../../src/abstractions/features/DestroyApp.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\nimport { type AppName } from \"@webiny/project/abstractions/types.js\";\nimport { type PulumiProcess } from \"@webiny/pulumi-sdk\";\n\ntype IPulumiProcess = PulumiProcess;\n\nexport interface IDestroyAppParams {\n app: AppName;\n}\n\nexport interface IDestroyApp {\n execute(params: IDestroyAppParams): Promise<{ pulumiProcess: IPulumiProcess }>;\n}\n\nexport const DestroyApp = createAbstraction<IDestroyApp>(\"DestroyApp\");\n\nexport namespace DestroyApp {\n export type Interface = IDestroyApp;\n\n export type Params = IDestroyAppParams;\n\n export type PulumiProcess = IPulumiProcess;\n}\n"],"names":["DestroyApp","createAbstraction"],"mappings":";AAcO,MAAMA,aAAaC,kBAA+B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AppName } from "@webiny/project/abstractions/types.js";
|
|
2
|
+
export type IExportStackParams = {
|
|
3
|
+
app: AppName;
|
|
4
|
+
};
|
|
5
|
+
export interface IStackExport {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export type IExportStackResult<TExport extends IStackExport = IStackExport> = TExport | null;
|
|
9
|
+
export interface IExportStack {
|
|
10
|
+
execute<TExport extends IStackExport = IStackExport>(params: IExportStackParams): Promise<IExportStackResult<TExport>>;
|
|
11
|
+
}
|
|
12
|
+
export declare const ExportStack: import("@webiny/di").Abstraction<IExportStack>;
|
|
13
|
+
export declare namespace ExportStack {
|
|
14
|
+
type Interface = IExportStack;
|
|
15
|
+
type Params = IExportStackParams;
|
|
16
|
+
type Result = IExportStackResult;
|
|
17
|
+
type StackExport = IStackExport;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/ExportStack.js","sources":["../../../src/abstractions/features/ExportStack.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\nimport { type AppName } from \"@webiny/project/abstractions/types.js\";\n\nexport type IExportStackParams = { app: AppName };\n\nexport interface IStackExport {\n [key: string]: any;\n}\n\nexport type IExportStackResult<TExport extends IStackExport = IStackExport> = TExport | null;\n\nexport interface IExportStack {\n execute<TExport extends IStackExport = IStackExport>(\n params: IExportStackParams\n ): Promise<IExportStackResult<TExport>>;\n}\n\nexport const ExportStack = createAbstraction<IExportStack>(\"ExportStack\");\n\nexport namespace ExportStack {\n export type Interface = IExportStack;\n\n export type Params = IExportStackParams;\n export type Result = IExportStackResult;\n export type StackExport = IStackExport;\n}\n"],"names":["ExportStack","createAbstraction"],"mappings":";AAiBO,MAAMA,cAAcC,kBAAgC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AppName } from "@webiny/project/abstractions/types.js";
|
|
2
|
+
import { type PulumiProcess } from "@webiny/pulumi-sdk";
|
|
3
|
+
type IPulumiProcess = PulumiProcess;
|
|
4
|
+
export interface IGetAppOutputParams {
|
|
5
|
+
app: AppName;
|
|
6
|
+
json?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface IGetAppOutput {
|
|
9
|
+
execute(params: IGetAppOutputParams): Promise<{
|
|
10
|
+
pulumiProcess: IPulumiProcess;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
export declare const GetAppOutput: import("@webiny/di").Abstraction<IGetAppOutput>;
|
|
14
|
+
export declare namespace GetAppOutput {
|
|
15
|
+
type Interface = IGetAppOutput;
|
|
16
|
+
type Params = IGetAppOutputParams;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/GetAppOutput.js","sources":["../../../src/abstractions/features/GetAppOutput.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\nimport { type AppName } from \"@webiny/project/abstractions/types.js\";\nimport { type PulumiProcess } from \"@webiny/pulumi-sdk\";\n\ntype IPulumiProcess = PulumiProcess;\n\nexport interface IGetAppOutputParams {\n app: AppName;\n json?: boolean;\n}\n\nexport interface IGetAppOutput {\n execute(params: IGetAppOutputParams): Promise<{ pulumiProcess: IPulumiProcess }>;\n}\n\nexport const GetAppOutput = createAbstraction<IGetAppOutput>(\"GetAppOutput\");\n\nexport namespace GetAppOutput {\n export type Interface = IGetAppOutput;\n\n export type Params = IGetAppOutputParams;\n}\n"],"names":["GetAppOutput","createAbstraction"],"mappings":";AAeO,MAAMA,eAAeC,kBAAiC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AppName } from "@webiny/project/abstractions/types.js";
|
|
2
|
+
export interface IStackOutput {
|
|
3
|
+
/**
|
|
4
|
+
* There is a possibility for a user to add stuff to the stack output. Pulumi outputs can be
|
|
5
|
+
* objects too, for example the Cognito user pool's password policy.
|
|
6
|
+
*/
|
|
7
|
+
[key: string]: string | string[] | undefined | number | number[] | boolean | object;
|
|
8
|
+
}
|
|
9
|
+
export type IGetAppStackOutputResult<TOutput extends IStackOutput = IStackOutput> = TOutput | null;
|
|
10
|
+
export interface IGetAppStackOutput {
|
|
11
|
+
execute<TOutput extends IStackOutput = IStackOutput>(appName: AppName): Promise<IGetAppStackOutputResult<TOutput>>;
|
|
12
|
+
}
|
|
13
|
+
export declare const GetAppStackOutput: import("@webiny/di").Abstraction<IGetAppStackOutput>;
|
|
14
|
+
export declare namespace GetAppStackOutput {
|
|
15
|
+
type Interface = IGetAppStackOutput;
|
|
16
|
+
type Result = IGetAppStackOutputResult;
|
|
17
|
+
type StackOutput = IStackOutput;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/GetAppStackOutput.js","sources":["../../../src/abstractions/features/GetAppStackOutput.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\nimport { type AppName } from \"@webiny/project/abstractions/types.js\";\n\nexport interface IStackOutput {\n /**\n * There is a possibility for a user to add stuff to the stack output. Pulumi outputs can be\n * objects too, for example the Cognito user pool's password policy.\n */\n [key: string]: string | string[] | undefined | number | number[] | boolean | object;\n}\n\nexport type IGetAppStackOutputResult<TOutput extends IStackOutput = IStackOutput> = TOutput | null;\n\nexport interface IGetAppStackOutput {\n execute<TOutput extends IStackOutput = IStackOutput>(\n appName: AppName\n ): Promise<IGetAppStackOutputResult<TOutput>>;\n}\n\nexport const GetAppStackOutput = createAbstraction<IGetAppStackOutput>(\"GetAppStackOutput\");\n\nexport namespace GetAppStackOutput {\n export type Interface = IGetAppStackOutput;\n export type Result = IGetAppStackOutputResult;\n export type StackOutput = IStackOutput;\n}\n"],"names":["GetAppStackOutput","createAbstraction"],"mappings":";AAmBO,MAAMA,oBAAoBC,kBAAsC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface IGetPulumiResourceNamePrefix {
|
|
2
|
+
execute(): Promise<string>;
|
|
3
|
+
}
|
|
4
|
+
export declare const GetPulumiResourceNamePrefix: import("@webiny/di").Abstraction<IGetPulumiResourceNamePrefix>;
|
|
5
|
+
export declare namespace GetPulumiResourceNamePrefix {
|
|
6
|
+
type Interface = IGetPulumiResourceNamePrefix;
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { createAbstraction } from "@webiny/project/abstractions/createAbstraction.js";
|
|
2
|
+
const GetPulumiResourceNamePrefix = createAbstraction("GetPulumiResourceNamePrefix");
|
|
3
|
+
export { GetPulumiResourceNamePrefix };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=GetPulumiResourceNamePrefix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/GetPulumiResourceNamePrefix.js","sources":["../../../src/abstractions/features/GetPulumiResourceNamePrefix.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\n\nexport interface IGetPulumiResourceNamePrefix {\n execute(): Promise<string>;\n}\n\nexport const GetPulumiResourceNamePrefix = createAbstraction<IGetPulumiResourceNamePrefix>(\n \"GetPulumiResourceNamePrefix\"\n);\n\nexport namespace GetPulumiResourceNamePrefix {\n export type Interface = IGetPulumiResourceNamePrefix;\n}\n"],"names":["GetPulumiResourceNamePrefix","createAbstraction"],"mappings":";AAMO,MAAMA,8BAA8BC,kBACvC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AppName } from "@webiny/project/abstractions/types.js";
|
|
2
|
+
import { type PulumiProcess } from "@webiny/pulumi-sdk";
|
|
3
|
+
export type IPulumiProcess = PulumiProcess;
|
|
4
|
+
export type IRefreshAppParams = {
|
|
5
|
+
app: AppName;
|
|
6
|
+
};
|
|
7
|
+
interface IRefreshApp {
|
|
8
|
+
execute(params: IRefreshAppParams): Promise<{
|
|
9
|
+
pulumiProcess: IPulumiProcess;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare const RefreshApp: import("@webiny/di").Abstraction<IRefreshApp>;
|
|
13
|
+
export declare namespace RefreshApp {
|
|
14
|
+
type Interface = IRefreshApp;
|
|
15
|
+
type Params = IRefreshAppParams;
|
|
16
|
+
type PulumiProcess = IPulumiProcess;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/RefreshApp.js","sources":["../../../src/abstractions/features/RefreshApp.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\nimport { type AppName } from \"@webiny/project/abstractions/types.js\";\nimport { type PulumiProcess } from \"@webiny/pulumi-sdk\";\n\nexport type IPulumiProcess = PulumiProcess;\n\nexport type IRefreshAppParams = { app: AppName };\n\ninterface IRefreshApp {\n execute(params: IRefreshAppParams): Promise<{ pulumiProcess: IPulumiProcess }>;\n}\n\nexport const RefreshApp = createAbstraction<IRefreshApp>(\"RefreshApp\");\n\nexport namespace RefreshApp {\n export type Interface = IRefreshApp;\n\n export type Params = IRefreshAppParams;\n\n export type PulumiProcess = IPulumiProcess;\n}\n"],"names":["RefreshApp","createAbstraction"],"mappings":";AAYO,MAAMA,aAAaC,kBAA+B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type AppName } from "@webiny/project/abstractions/types.js";
|
|
2
|
+
import { type PulumiProcess } from "@webiny/pulumi-sdk";
|
|
3
|
+
type IPulumiProcess = PulumiProcess;
|
|
4
|
+
interface IRunPulumiCommandParams {
|
|
5
|
+
app: AppName;
|
|
6
|
+
command: string[];
|
|
7
|
+
}
|
|
8
|
+
interface IRunPulumiCommand {
|
|
9
|
+
execute(params: IRunPulumiCommandParams): Promise<{
|
|
10
|
+
pulumiProcess: IPulumiProcess;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
export declare const RunPulumiCommand: import("@webiny/di").Abstraction<IRunPulumiCommand>;
|
|
14
|
+
export declare namespace RunPulumiCommand {
|
|
15
|
+
type Interface = IRunPulumiCommand;
|
|
16
|
+
type Params = IRunPulumiCommandParams;
|
|
17
|
+
type PulumiProcess = IPulumiProcess;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abstractions/features/RunPulumiCommand.js","sources":["../../../src/abstractions/features/RunPulumiCommand.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/project/abstractions/createAbstraction.js\";\nimport { type AppName } from \"@webiny/project/abstractions/types.js\";\nimport { type PulumiProcess } from \"@webiny/pulumi-sdk\";\n\ntype IPulumiProcess = PulumiProcess;\n\ninterface IRunPulumiCommandParams {\n app: AppName;\n command: string[];\n}\n\ninterface IRunPulumiCommand {\n execute(params: IRunPulumiCommandParams): Promise<{ pulumiProcess: IPulumiProcess }>;\n}\n\nexport const RunPulumiCommand = createAbstraction<IRunPulumiCommand>(\"RunPulumiCommand\");\n\nexport namespace RunPulumiCommand {\n export type Interface = IRunPulumiCommand;\n\n export type Params = IRunPulumiCommandParams;\n\n export type PulumiProcess = IPulumiProcess;\n}\n"],"names":["RunPulumiCommand","createAbstraction"],"mappings":";AAeO,MAAMA,mBAAmBC,kBAAqC"}
|