monorise 0.0.1
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/dist/base/index.d.ts +254 -0
- package/dist/base/index.js +44 -0
- package/dist/base/index.js.map +1 -0
- package/dist/cli/cli.d.ts +1 -0
- package/dist/cli/cli.js +461 -0
- package/dist/cli/cli.js.map +1 -0
- package/dist/core/index.d.ts +4767 -0
- package/dist/core/index.js +7941 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/react/actions/app.action.d.ts +46 -0
- package/dist/react/actions/app.action.d.ts.map +1 -0
- package/dist/react/actions/auth.action.d.ts +24 -0
- package/dist/react/actions/auth.action.d.ts.map +1 -0
- package/dist/react/actions/config.action.d.ts +10 -0
- package/dist/react/actions/config.action.d.ts.map +1 -0
- package/dist/react/actions/core.action.d.ts +219 -0
- package/dist/react/actions/core.action.d.ts.map +1 -0
- package/dist/react/index.d.ts +1093 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +2344 -0
- package/dist/react/index.js.map +1 -0
- package/dist/react/lib/api.d.ts +38 -0
- package/dist/react/lib/api.d.ts.map +1 -0
- package/dist/react/lib/constant.d.ts +2 -0
- package/dist/react/lib/constant.d.ts.map +1 -0
- package/dist/react/lib/entity.d.ts +10 -0
- package/dist/react/lib/entity.d.ts.map +1 -0
- package/dist/react/lib/utils.d.ts +10 -0
- package/dist/react/lib/utils.d.ts.map +1 -0
- package/dist/react/services/auth.service.d.ts +21 -0
- package/dist/react/services/auth.service.d.ts.map +1 -0
- package/dist/react/services/core.service.d.ts +76 -0
- package/dist/react/services/core.service.d.ts.map +1 -0
- package/dist/react/services/filestore.service.d.ts +22 -0
- package/dist/react/services/filestore.service.d.ts.map +1 -0
- package/dist/react/store/monorise.store.d.ts +169 -0
- package/dist/react/store/monorise.store.d.ts.map +1 -0
- package/dist/react/tsup.config.d.ts +3 -0
- package/dist/react/tsup.config.d.ts.map +1 -0
- package/dist/react/types/api.type.d.ts +30 -0
- package/dist/react/types/api.type.d.ts.map +1 -0
- package/dist/react/types/axios.type.d.ts +13 -0
- package/dist/react/types/axios.type.d.ts.map +1 -0
- package/dist/react/types/monorise.type.d.ts +8 -0
- package/dist/react/types/monorise.type.d.ts.map +1 -0
- package/dist/react/types/mutual.type.d.ts +21 -0
- package/dist/react/types/mutual.type.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/analog.d.ts +423 -0
- package/dist/sst/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
- package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts +931 -0
- package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
- package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/astro.d.ts +421 -0
- package/dist/sst/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts +702 -0
- package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
- package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/auth.d.ts +295 -0
- package/dist/sst/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts +1216 -0
- package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
- package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/bus.d.ts +403 -0
- package/dist/sst/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts +299 -0
- package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts +306 -0
- package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts +603 -0
- package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/cron.d.ts +250 -0
- package/dist/sst/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
- package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dns.d.ts +94 -0
- package/dist/sst/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts +568 -0
- package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/efs.d.ts +217 -0
- package/dist/sst/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/email.d.ts +291 -0
- package/dist/sst/.sst/platform/src/components/aws/email.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts +803 -0
- package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/function.d.ts +1629 -0
- package/dist/sst/.sst/platform/src/components/aws/function.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts +40 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
- package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
- package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
- package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/index.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
- package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts +17 -0
- package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/logging.d.ts +26 -0
- package/dist/sst/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts +496 -0
- package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
- package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
- package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts +295 -0
- package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
- package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/permission.d.ts +40 -0
- package/dist/sst/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts +500 -0
- package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
- package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
- package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/queue.d.ts +485 -0
- package/dist/sst/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/react.d.ts +416 -0
- package/dist/sst/.sst/platform/src/components/aws/react.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts +232 -0
- package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
- package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/redis.d.ts +364 -0
- package/dist/sst/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/remix.d.ts +423 -0
- package/dist/sst/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
- package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
- package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
- package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/router.d.ts +1272 -0
- package/dist/sst/.sst/platform/src/components/aws/router.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
- package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/service.d.ts +1625 -0
- package/dist/sst/.sst/platform/src/components/aws/service.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
- package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
- package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts +685 -0
- package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts +736 -0
- package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts +231 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
- package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
- package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
- package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/task.d.ts +322 -0
- package/dist/sst/.sst/platform/src/components/aws/task.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/vector.d.ts +150 -0
- package/dist/sst/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts +444 -0
- package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/base/base-site.d.ts +53 -0
- package/dist/sst/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts +13 -0
- package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
- package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts +103 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts +16 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts +107 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts +51 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts +295 -0
- package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/component.d.ts +37 -0
- package/dist/sst/.sst/platform/src/components/component.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/cpu.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/cpu.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/dns.d.ts +59 -0
- package/dist/sst/.sst/platform/src/components/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/duration.d.ts +7 -0
- package/dist/sst/.sst/platform/src/components/duration.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/error.d.ts +4 -0
- package/dist/sst/.sst/platform/src/components/error.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
- package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/experimental/index.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/index.d.ts +16 -0
- package/dist/sst/.sst/platform/src/components/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/input.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/input.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/link.d.ts +41 -0
- package/dist/sst/.sst/platform/src/components/link.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/linkable.d.ts +271 -0
- package/dist/sst/.sst/platform/src/components/linkable.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/naming.d.ts +7 -0
- package/dist/sst/.sst/platform/src/components/naming.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/path.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/path.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts +19 -0
- package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/secret.d.ts +125 -0
- package/dist/sst/.sst/platform/src/components/secret.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/size.d.ts +5 -0
- package/dist/sst/.sst/platform/src/components/size.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
- package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts +73 -0
- package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/index.d.ts +3 -0
- package/dist/sst/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
- package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/config.d.ts +1258 -0
- package/dist/sst/.sst/platform/src/config.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/compare-semver.d.ts +4 -0
- package/dist/sst/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/fs.d.ts +5 -0
- package/dist/sst/.sst/platform/src/util/fs.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/lazy.d.ts +2 -0
- package/dist/sst/.sst/platform/src/util/lazy.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/semaphore.d.ts +9 -0
- package/dist/sst/.sst/platform/src/util/semaphore.d.ts.map +1 -0
- package/dist/sst/.sst/platform/src/util/warn.d.ts +2 -0
- package/dist/sst/.sst/platform/src/util/warn.d.ts.map +1 -0
- package/dist/sst/components/dashboard.d.ts +2 -0
- package/dist/sst/components/dashboard.d.ts.map +1 -0
- package/dist/sst/components/monorise-core.d.ts +18 -0
- package/dist/sst/components/monorise-core.d.ts.map +1 -0
- package/dist/sst/components/q-function.d.ts +17 -0
- package/dist/sst/components/q-function.d.ts.map +1 -0
- package/dist/sst/components/single-table.d.ts +14 -0
- package/dist/sst/components/single-table.d.ts.map +1 -0
- package/dist/sst/constants/event.d.ts +73 -0
- package/dist/sst/constants/event.d.ts.map +1 -0
- package/dist/sst/constants/table.d.ts +3 -0
- package/dist/sst/constants/table.d.ts.map +1 -0
- package/dist/sst/index.d.ts +11 -0
- package/dist/sst/index.d.ts.map +1 -0
- package/dist/sst/index.js +609 -0
- package/dist/sst/index.js.map +1 -0
- package/dist/sst/sst.config.d.ts +3 -0
- package/dist/sst/sst.config.d.ts.map +1 -0
- package/dist/sst/tsup.config.d.ts +3 -0
- package/dist/sst/tsup.config.d.ts.map +1 -0
- package/package.json +83 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-site.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/static-site.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { JSONata, State, StateArgs } from "./state";
|
|
2
|
+
export interface ChoiceArgs extends StateArgs {
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* The `Choice` state is internally used by the `StepFunctions` component to add a [Choice
|
|
6
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-choice.html)
|
|
7
|
+
* to a state machine.
|
|
8
|
+
*
|
|
9
|
+
* :::note
|
|
10
|
+
* This component is not intended to be created directly.
|
|
11
|
+
* :::
|
|
12
|
+
*
|
|
13
|
+
* You'll find this component returned by the `choice` method of the `StepFunctions` component.
|
|
14
|
+
*/
|
|
15
|
+
export declare class Choice extends State {
|
|
16
|
+
protected args: ChoiceArgs;
|
|
17
|
+
private choices;
|
|
18
|
+
private defaultNext?;
|
|
19
|
+
constructor(args: ChoiceArgs);
|
|
20
|
+
/**
|
|
21
|
+
* Add a matching condition to the `Choice` state. If the given condition matches,
|
|
22
|
+
* it'll continue execution to the given state.
|
|
23
|
+
*
|
|
24
|
+
* The condition needs to be a JSONata expression that evaluates to a boolean.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
*
|
|
28
|
+
* ```ts
|
|
29
|
+
* sst.aws.StepFunctions.choice({
|
|
30
|
+
* // ...
|
|
31
|
+
* })
|
|
32
|
+
* .when(
|
|
33
|
+
* "{% $states.input.status === 'unpaid' %}",
|
|
34
|
+
* state
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param condition The JSONata condition to evaluate.
|
|
39
|
+
* @param next The state to transition to.
|
|
40
|
+
*/
|
|
41
|
+
when(condition: JSONata, next: State): this;
|
|
42
|
+
/**
|
|
43
|
+
* Add a default next state to the `Choice` state. If no other condition matches,
|
|
44
|
+
* continue execution with the given state.
|
|
45
|
+
*/
|
|
46
|
+
otherwise(next: State): this;
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
assertStateNameUnique(states?: Map<string, State>): void;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
assertStateNotReused(states?: Map<State, string>, graphId?: string): void;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
getPermissions(): sst.aws.FunctionPermissionArgs[];
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
serialize(): {};
|
|
63
|
+
protected toJSON(): {
|
|
64
|
+
End: undefined;
|
|
65
|
+
Type: string;
|
|
66
|
+
Choices: {
|
|
67
|
+
Condition: `{% ${string} %}`;
|
|
68
|
+
Next: string;
|
|
69
|
+
}[];
|
|
70
|
+
Default: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=choice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/choice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/D,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAI;AAEjD;;;;;;;;;;GAUG;AACH,qBAAa,MAAO,SAAQ,KAAK;IAOnB,SAAS,CAAC,IAAI,EAAE,UAAU;IANtC,OAAO,CAAC,OAAO,CAGN;IACT,OAAO,CAAC,WAAW,CAAC,CAAQ;gBAEN,IAAI,EAAE,UAAU;IAItC;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK;IAQ3C;;;OAGG;IACI,SAAS,CAAC,IAAI,EAAE,KAAK;IAK5B;;OAEG;IACI,qBAAqB,CAAC,MAAM,GAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAa;IAMnE;;OAEG;IACI,oBAAoB,CACzB,MAAM,GAAE,GAAG,CAAC,KAAK,EAAE,MAAM,CAAa,EACtC,OAAO,GAAE,MAAe;IAO1B;;OAEG;IACI,cAAc;IAQrB;;OAEG;IACI,SAAS;IAWhB,SAAS,CAAC,MAAM;;;;;;;;;CAYjB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Input } from "../../input";
|
|
2
|
+
import { State, StateArgs } from "./state";
|
|
3
|
+
export interface FailArgs extends StateArgs {
|
|
4
|
+
/**
|
|
5
|
+
* A custom string that describes the cause of the error.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* {
|
|
9
|
+
* cause: "User not found"
|
|
10
|
+
* }
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Alternatively, you can specify a JSONata expression that evaluates to a string.
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* {
|
|
17
|
+
* cause: "{% $states.input.user %}"
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
cause?: Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* An error name that you can provide to perform error handling using `retry` or
|
|
24
|
+
* `catch`.
|
|
25
|
+
* ```ts
|
|
26
|
+
* {
|
|
27
|
+
* error: "UserNotFound"
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
* Alternatively, you can specify a JSONata expression that evaluates to a string.
|
|
31
|
+
* ```ts
|
|
32
|
+
* {
|
|
33
|
+
* error: "{% $states.input.error %}"
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
error?: Input<string>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The `Fail` state is internally used by the `StepFunctions` component to add a
|
|
41
|
+
* [Fail workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-fail.html)
|
|
42
|
+
* to a state machine.
|
|
43
|
+
*
|
|
44
|
+
* :::note
|
|
45
|
+
* This component is not intended to be created directly.
|
|
46
|
+
* :::
|
|
47
|
+
*
|
|
48
|
+
* You'll find this component returned by the `fail` method of the `StepFunctions` component.
|
|
49
|
+
*/
|
|
50
|
+
export declare class Fail extends State {
|
|
51
|
+
protected args: FailArgs;
|
|
52
|
+
constructor(args: FailArgs);
|
|
53
|
+
/**
|
|
54
|
+
* Serialize the state into JSON state definition.
|
|
55
|
+
*/
|
|
56
|
+
protected toJSON(): {
|
|
57
|
+
End: undefined;
|
|
58
|
+
Type: string;
|
|
59
|
+
Error: Input<string> | undefined;
|
|
60
|
+
Cause: Input<string> | undefined;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=fail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/fail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,QAAS,SAAQ,SAAS;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,IAAK,SAAQ,KAAK;IACjB,SAAS,CAAC,IAAI,EAAE,QAAQ;gBAAd,IAAI,EAAE,QAAQ;IAIpC;;OAEG;IACH,SAAS,CAAC,MAAM;;;;;;CASjB"}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Input } from "../../input";
|
|
3
|
+
import { CatchArgs, Failable, JSONata, Nextable, RetryArgs, State, StateArgs } from "./state";
|
|
4
|
+
export interface MapArgs extends StateArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The processing mode for the `Map` state.
|
|
7
|
+
*
|
|
8
|
+
* The `inline` mode is the default and has limited concurrency. In this mode, each item
|
|
9
|
+
* in the `Map` state runs as a part of the current workflow.
|
|
10
|
+
*
|
|
11
|
+
* The `standard` and `express` mode have high concurrency. In these mode, each item in
|
|
12
|
+
* the `Map` state runs as a child workflow. This enables high concurrency of up to 10,000
|
|
13
|
+
* parallel child workflows. Each child workflow has its own, separate execution history.
|
|
14
|
+
* - In `standard` mode, each child runs as a StepFunctions Standard workflow.
|
|
15
|
+
* - In `express` mode, each child runs as a StepFunctions Express workflow.
|
|
16
|
+
*
|
|
17
|
+
* :::note
|
|
18
|
+
* `Map` state with `standard` or `express` mode is not supported in `express` type StepFunctions.
|
|
19
|
+
* :::
|
|
20
|
+
*
|
|
21
|
+
* @default `"inline"`
|
|
22
|
+
* @example
|
|
23
|
+
* ```js
|
|
24
|
+
* {
|
|
25
|
+
* type: "express"
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
mode?: Input<"inline" | "standard" | "express">;
|
|
30
|
+
/**
|
|
31
|
+
* The list of items to process.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* For example, you can specify an array of items.
|
|
35
|
+
*
|
|
36
|
+
* ```ts
|
|
37
|
+
* {
|
|
38
|
+
* items: ["item1", "item2", "item3"]
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Or, specify a JSONata expression that evaluates to an array of items.
|
|
43
|
+
*
|
|
44
|
+
* ```ts
|
|
45
|
+
* {
|
|
46
|
+
* items: "{% $states.input.items %}"
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
items?: Input<JSONata | any[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Reformat the values of the input array items before they're passed on to each
|
|
53
|
+
* state iteration.
|
|
54
|
+
*
|
|
55
|
+
* For example, you can pass in what you want the fields to be.
|
|
56
|
+
*
|
|
57
|
+
* ```ts
|
|
58
|
+
* {
|
|
59
|
+
* "itemSelector": {
|
|
60
|
+
* "size": 10,
|
|
61
|
+
* "value.$": "$$.Map.Item.Value"
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* When applied to the following list of items.
|
|
67
|
+
*
|
|
68
|
+
* ```ts
|
|
69
|
+
* [
|
|
70
|
+
* {
|
|
71
|
+
* "resize": "true",
|
|
72
|
+
* "format": "jpg"
|
|
73
|
+
* },
|
|
74
|
+
* {
|
|
75
|
+
* "resize": "false",
|
|
76
|
+
* "format": "png"
|
|
77
|
+
* }
|
|
78
|
+
* ]
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* A transformed item will look like.
|
|
82
|
+
*
|
|
83
|
+
* ```ts
|
|
84
|
+
* {
|
|
85
|
+
* "size": 10,
|
|
86
|
+
* "value": {
|
|
87
|
+
* "resize": "true",
|
|
88
|
+
* "format": "jpg"
|
|
89
|
+
* }
|
|
90
|
+
* }
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* Learn more about [`ItemSelector`](https://docs.aws.amazon.com/step-functions/latest/dg/input-output-itemselector.html).
|
|
94
|
+
*/
|
|
95
|
+
itemSelector?: Input<Record<string, Input<any>>>;
|
|
96
|
+
/**
|
|
97
|
+
* An upper bound on the number of `Map` state iterations that can run in parallel.
|
|
98
|
+
* Takes an integer or a JSONata expression that evaluates to an integer.
|
|
99
|
+
*
|
|
100
|
+
* Default to 0, which means there's no limit on the concurrency.
|
|
101
|
+
*
|
|
102
|
+
* @default `0`
|
|
103
|
+
* @example
|
|
104
|
+
* For example, to limit it to 10 concurrent iterations.
|
|
105
|
+
* ```ts
|
|
106
|
+
* {
|
|
107
|
+
* maxConcurrency: 10
|
|
108
|
+
* }
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
maxConcurrency?: Input<JSONata | number>;
|
|
112
|
+
/**
|
|
113
|
+
* The state to execute for each item in the array.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
*
|
|
117
|
+
* For example, to iterate over an array of items and execute a Lambda function
|
|
118
|
+
* for each item.
|
|
119
|
+
*
|
|
120
|
+
* ```ts title="sst.config.ts"
|
|
121
|
+
* const processor = sst.aws.StepFunctions.lambdaInvoke({
|
|
122
|
+
* name: "Processor",
|
|
123
|
+
* function: "src/processor.handler"
|
|
124
|
+
* });
|
|
125
|
+
*
|
|
126
|
+
* sst.aws.StepFunctions.map({
|
|
127
|
+
* processor,
|
|
128
|
+
* name: "Map",
|
|
129
|
+
* items: "{% $states.input.items %}"
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
processor: State;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The `Map` state is internally used by the `StepFunctions` component to add a [Map
|
|
137
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-map.html)
|
|
138
|
+
* to a state machine.
|
|
139
|
+
*
|
|
140
|
+
* :::note
|
|
141
|
+
* This component is not intended to be created directly.
|
|
142
|
+
* :::
|
|
143
|
+
*
|
|
144
|
+
* You'll find this component returned by the `map` method of the `StepFunctions` component.
|
|
145
|
+
*/
|
|
146
|
+
export declare class Map extends State implements Nextable, Failable {
|
|
147
|
+
protected args: MapArgs;
|
|
148
|
+
private processor;
|
|
149
|
+
private mode;
|
|
150
|
+
constructor(args: MapArgs);
|
|
151
|
+
/**
|
|
152
|
+
* Add a next state to the `Map` state. If the state completes successfully,
|
|
153
|
+
* continue execution to the given `state`.
|
|
154
|
+
*
|
|
155
|
+
* @param state The state to transition to.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
*
|
|
159
|
+
* ```ts title="sst.config.ts"
|
|
160
|
+
* sst.aws.StepFunctions.map({
|
|
161
|
+
* // ...
|
|
162
|
+
* })
|
|
163
|
+
* .next(state);
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
next<T extends State>(state: T): T;
|
|
167
|
+
/**
|
|
168
|
+
* Add a retry behavior to the `Map` state. If the state fails with any of the
|
|
169
|
+
* specified errors, retry the execution.
|
|
170
|
+
*
|
|
171
|
+
* @param args Properties to define the retry behavior.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
*
|
|
175
|
+
* This defaults to.
|
|
176
|
+
*
|
|
177
|
+
* ```ts title="sst.config.ts" {5-8}
|
|
178
|
+
* sst.aws.StepFunctions.map({
|
|
179
|
+
* // ...
|
|
180
|
+
* })
|
|
181
|
+
* .retry({
|
|
182
|
+
* errors: ["States.ALL"],
|
|
183
|
+
* interval: "1 second",
|
|
184
|
+
* maxAttempts: 3,
|
|
185
|
+
* backoffRate: 2
|
|
186
|
+
* });
|
|
187
|
+
* ```
|
|
188
|
+
*/
|
|
189
|
+
retry(args?: RetryArgs): this;
|
|
190
|
+
/**
|
|
191
|
+
* Add a catch behavior to the `Map` state. So if the state fails with any of the
|
|
192
|
+
* specified errors, it'll continue execution to the given `state`.
|
|
193
|
+
*
|
|
194
|
+
* @param state The state to transition to on error.
|
|
195
|
+
* @param args Properties to customize error handling.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
*
|
|
199
|
+
* This defaults to.
|
|
200
|
+
*
|
|
201
|
+
* ```ts title="sst.config.ts" {5}
|
|
202
|
+
* sst.aws.StepFunctions.map({
|
|
203
|
+
* // ...
|
|
204
|
+
* })
|
|
205
|
+
* .catch({
|
|
206
|
+
* errors: ["States.ALL"]
|
|
207
|
+
* });
|
|
208
|
+
* ```
|
|
209
|
+
*/
|
|
210
|
+
catch(state: State, args?: CatchArgs): this;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
getPermissions(): sst.aws.FunctionPermissionArgs[];
|
|
215
|
+
/**
|
|
216
|
+
* Serialize the state into JSON state definition.
|
|
217
|
+
*/
|
|
218
|
+
protected toJSON(): {
|
|
219
|
+
Type: string;
|
|
220
|
+
Items: Input<any[] | `{% ${string} %}`> | undefined;
|
|
221
|
+
ItemSelector: Input<Record<string, any>> | undefined;
|
|
222
|
+
ItemProcessor: {
|
|
223
|
+
ProcessorConfig: Output<{
|
|
224
|
+
Mode: string;
|
|
225
|
+
ExecutionType?: undefined;
|
|
226
|
+
} | {
|
|
227
|
+
Mode: string;
|
|
228
|
+
ExecutionType: string;
|
|
229
|
+
}>;
|
|
230
|
+
StartAt: string;
|
|
231
|
+
States: Record<string, any>;
|
|
232
|
+
};
|
|
233
|
+
MaxConcurrency: Input<number | `{% ${string} %}`> | undefined;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
//# sourceMappingURL=map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,SAAS,EACT,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACV,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,OAAQ,SAAQ,SAAS;IACxC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC;IAChD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,GAAG,EAAE,CAAC,CAAC;IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACjD;;;;;;;;;;;;;;OAcG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,SAAS,EAAE,KAAK,CAAC;CAClB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,GAAI,SAAQ,KAAM,YAAW,QAAQ,EAAE,QAAQ;IAI9C,SAAS,CAAC,IAAI,EAAE,OAAO;IAHnC,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,IAAI,CAA4C;gBAElC,IAAI,EAAE,OAAO;IAOnC;;;;;;;;;;;;;;OAcG;IACI,IAAI,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;IAIzC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACI,KAAK,CAAC,IAAI,CAAC,EAAE,SAAS;IAI7B;;;;;;;;;;;;;;;;;;;OAmBG;IACI,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,GAAE,SAAc;IAI/C;;OAEG;IACI,cAAc;IAIrB;;OAEG;IACH,SAAS,CAAC,MAAM;;;;;;;;;;;;;;;;;CAkBjB"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Input } from "../../input";
|
|
2
|
+
import { CatchArgs, Failable, Nextable, RetryArgs, State, StateArgs } from "./state";
|
|
3
|
+
export interface ParallelArgs extends StateArgs {
|
|
4
|
+
/**
|
|
5
|
+
* The arguments to be passed to the APIs of the connected resources. Values can
|
|
6
|
+
* include outputs from other resources and JSONata expressions.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* {
|
|
12
|
+
* arguments: {
|
|
13
|
+
* product: "{% $states.input.order.product %}",
|
|
14
|
+
* url: api.url,
|
|
15
|
+
* count: 32
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
arguments?: Input<Record<string, Input<any>>>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The `Parallel` state is internally used by the `StepFunctions` component to add a [Parallel
|
|
24
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-parallel.html)
|
|
25
|
+
* to a state machine.
|
|
26
|
+
*
|
|
27
|
+
* :::note
|
|
28
|
+
* This component is not intended to be created directly.
|
|
29
|
+
* :::
|
|
30
|
+
*
|
|
31
|
+
* You'll find this component returned by the `parallel` method of the `StepFunctions` component.
|
|
32
|
+
*/
|
|
33
|
+
export declare class Parallel extends State implements Nextable, Failable {
|
|
34
|
+
protected args: ParallelArgs;
|
|
35
|
+
private branches;
|
|
36
|
+
constructor(args: ParallelArgs);
|
|
37
|
+
/**
|
|
38
|
+
* Add a branch state to the `Parallel` state. Each branch runs concurrently.
|
|
39
|
+
*
|
|
40
|
+
* @param branch The state to add as a branch.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
*
|
|
44
|
+
* ```ts title="sst.config.ts"
|
|
45
|
+
* const parallel = sst.aws.StepFunctions.parallel({ name: "Parallel" });
|
|
46
|
+
*
|
|
47
|
+
* parallel.branch(processorA);
|
|
48
|
+
* parallel.branch(processorB);
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
branch(branch: State): this;
|
|
52
|
+
/**
|
|
53
|
+
* Add a next state to the `Parallel` state. If all branches complete successfully,
|
|
54
|
+
* this'll continue execution to the given `state`.
|
|
55
|
+
*
|
|
56
|
+
* @param state The state to transition to.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
*
|
|
60
|
+
* ```ts title="sst.config.ts"
|
|
61
|
+
* sst.aws.StepFunctions.parallel({
|
|
62
|
+
* // ...
|
|
63
|
+
* })
|
|
64
|
+
* .next(state);
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
next<T extends State>(state: T): T;
|
|
68
|
+
/**
|
|
69
|
+
* Add a retry behavior to the `Parallel` state. If the state fails with any of the
|
|
70
|
+
* specified errors, retry execution using the specified parameters.
|
|
71
|
+
*
|
|
72
|
+
* @param args Properties to define the retry behavior.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
*
|
|
76
|
+
* This defaults to.
|
|
77
|
+
*
|
|
78
|
+
* ```ts title="sst.config.ts" {5-8}
|
|
79
|
+
* sst.aws.StepFunctions.parallel({
|
|
80
|
+
* // ...
|
|
81
|
+
* })
|
|
82
|
+
* .retry({
|
|
83
|
+
* errors: ["States.ALL"],
|
|
84
|
+
* interval: "1 second",
|
|
85
|
+
* maxAttempts: 3,
|
|
86
|
+
* backoffRate: 2
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
retry(args?: RetryArgs): this;
|
|
91
|
+
/**
|
|
92
|
+
* Add a catch behavior to the `Parallel` state. So if the state fails with any
|
|
93
|
+
* of the specified errors, it'll continue execution to the given `state`.
|
|
94
|
+
*
|
|
95
|
+
* @param state The state to transition to on error.
|
|
96
|
+
* @param args Properties to customize error handling.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
*
|
|
100
|
+
* This defaults to.
|
|
101
|
+
*
|
|
102
|
+
* ```ts title="sst.config.ts" {5}
|
|
103
|
+
* sst.aws.StepFunctions.parallel({
|
|
104
|
+
* // ...
|
|
105
|
+
* })
|
|
106
|
+
* .catch({
|
|
107
|
+
* errors: ["States.ALL"]
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
catch(state: State, args?: CatchArgs): this;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
getPermissions(): sst.aws.FunctionPermissionArgs[];
|
|
116
|
+
/**
|
|
117
|
+
* Serialize the state into JSON state definition.
|
|
118
|
+
*/
|
|
119
|
+
protected toJSON(): {
|
|
120
|
+
Type: string;
|
|
121
|
+
Branches: {
|
|
122
|
+
StartAt: string;
|
|
123
|
+
States: Record<string, any>;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=parallel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parallel.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/parallel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACV,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;;;;;;;;;;;;;;OAeG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC/C;AAED;;;;;;;;;;GAUG;AACH,qBAAa,QAAS,SAAQ,KAAM,YAAW,QAAQ,EAAE,QAAQ;IAGnD,SAAS,CAAC,IAAI,EAAE,YAAY;IAFxC,OAAO,CAAC,QAAQ,CAAe;gBAET,IAAI,EAAE,YAAY;IAIxC;;;;;;;;;;;;;OAaG;IACI,MAAM,CAAC,MAAM,EAAE,KAAK;IAO3B;;;;;;;;;;;;;;OAcG;IACI,IAAI,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;IAIzC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACI,KAAK,CAAC,IAAI,CAAC,EAAE,SAAS;IAI7B;;;;;;;;;;;;;;;;;;;OAmBG;IACI,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,GAAE,SAAc;IAI/C;;OAEG;IACI,cAAc;IAOrB;;OAEG;IACH,SAAS,CAAC,MAAM;;;;;;;CAkBjB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Nextable, State, StateArgs } from "./state";
|
|
2
|
+
export interface PassArgs extends StateArgs {
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* The `Pass` state is internally used by the `StepFunctions` component to add a [Pass
|
|
6
|
+
* workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-pass.html)
|
|
7
|
+
* to a state machine.
|
|
8
|
+
*
|
|
9
|
+
* :::note
|
|
10
|
+
* This component is not intended to be created directly.
|
|
11
|
+
* :::
|
|
12
|
+
*
|
|
13
|
+
* You'll find this component returned by the `pass` method of the `StepFunctions` component.
|
|
14
|
+
*/
|
|
15
|
+
export declare class Pass extends State implements Nextable {
|
|
16
|
+
protected args: PassArgs;
|
|
17
|
+
constructor(args: PassArgs);
|
|
18
|
+
/**
|
|
19
|
+
* Add a next state to the `Pass` state. After this state completes, it'll
|
|
20
|
+
* transition to the given `state`.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
*
|
|
24
|
+
* ```ts title="sst.config.ts"
|
|
25
|
+
* sst.aws.StepFunctions.pass({
|
|
26
|
+
* // ...
|
|
27
|
+
* })
|
|
28
|
+
* .next(state);
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
next<T extends State>(state: T): T;
|
|
32
|
+
/**
|
|
33
|
+
* Serialize the state into JSON state definition.
|
|
34
|
+
*/
|
|
35
|
+
protected toJSON(): {
|
|
36
|
+
Type: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=pass.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pass.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/pass.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAErD,MAAM,WAAW,QAAS,SAAQ,SAAS;CAAI;AAE/C;;;;;;;;;;GAUG;AACH,qBAAa,IAAK,SAAQ,KAAM,YAAW,QAAQ;IACrC,SAAS,CAAC,IAAI,EAAE,QAAQ;gBAAd,IAAI,EAAE,QAAQ;IAIpC;;;;;;;;;;;;OAYG;IACI,IAAI,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;IAIzC;;OAEG;IACH,SAAS,CAAC,MAAM;;;CAMjB"}
|