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":"bucket.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bucket.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAIxB,MAAM,EACP,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAa,MAAM,aAAa,CAAC;AAGhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAO,EAAE,EAAE,MAAM,aAAa,CAAC;AAE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;;;;;;;;;;;;;OA2CG;WACW,cAAc,CAC1B,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EACxB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EACvB,IAAI,CAAC,EAAE,oBAAoB;IAc7B,OAAO,CAAC,MAAM,CAAC,eAAe;IA0B9B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IA8BhC,OAAO,CAAC,mBAAmB;IAQ3B,gBAAgB;IACT,UAAU;;;;;;;;;;;CAalB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Input } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { BusSubscriberArgs } from "./bus";
|
|
4
|
+
export interface BusBaseSubscriberArgs extends BusSubscriberArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The bus to use.
|
|
7
|
+
*/
|
|
8
|
+
bus: Input<{
|
|
9
|
+
/**
|
|
10
|
+
* The ARN of the bus.
|
|
11
|
+
*/
|
|
12
|
+
arn: Input<string>;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the bus.
|
|
15
|
+
*/
|
|
16
|
+
name: Input<string>;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
export declare function createRule(name: string, eventBusName: Input<string>, args: BusBaseSubscriberArgs, parent: Component): import("@pulumi/aws/cloudwatch/eventRule").EventRule;
|
|
20
|
+
//# sourceMappingURL=bus-base-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bus-base-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus-base-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAU,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D;;OAEG;IACH,GAAG,EAAE,KAAK,CAAC;QACT;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACnB;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACrB,CAAC,CAAC;CACJ;AAED,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAC3B,IAAI,EAAE,qBAAqB,EAC3B,MAAM,EAAE,SAAS,wDAuBlB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { Function, FunctionArgs } from "./function";
|
|
4
|
+
import { BusBaseSubscriberArgs } from "./bus-base-subscriber";
|
|
5
|
+
export interface Args extends BusBaseSubscriberArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The subscriber function.
|
|
8
|
+
*/
|
|
9
|
+
subscriber: Input<string | FunctionArgs>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The `BusLambdaSubscriber` component is internally used by the `Bus` component
|
|
13
|
+
* to add subscriptions to [Amazon EventBridge Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html).
|
|
14
|
+
*
|
|
15
|
+
* :::note
|
|
16
|
+
* This component is not intended to be created directly.
|
|
17
|
+
* :::
|
|
18
|
+
*
|
|
19
|
+
* You'll find this component returned by the `subscribe` method of the `Bus` component.
|
|
20
|
+
*/
|
|
21
|
+
export declare class BusLambdaSubscriber extends Component {
|
|
22
|
+
private readonly fn;
|
|
23
|
+
private readonly permission;
|
|
24
|
+
private readonly rule;
|
|
25
|
+
private readonly target;
|
|
26
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
27
|
+
/**
|
|
28
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
29
|
+
*/
|
|
30
|
+
get nodes(): {
|
|
31
|
+
/**
|
|
32
|
+
* The Lambda function that'll be notified.
|
|
33
|
+
*/
|
|
34
|
+
readonly function: Output<Function>;
|
|
35
|
+
/**
|
|
36
|
+
* The Lambda permission.
|
|
37
|
+
*/
|
|
38
|
+
permission: import("@pulumi/aws/lambda/permission").Permission;
|
|
39
|
+
/**
|
|
40
|
+
* The EventBus rule.
|
|
41
|
+
*/
|
|
42
|
+
rule: import("@pulumi/aws/cloudwatch/eventRule").EventRule;
|
|
43
|
+
/**
|
|
44
|
+
* The EventBus target.
|
|
45
|
+
*/
|
|
46
|
+
target: import("@pulumi/aws/cloudwatch/eventTarget").EventTarget;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=bus-lambda-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bus-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAGP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAc,MAAM,uBAAuB,CAAC;AAI1E,MAAM,WAAW,IAAK,SAAQ,qBAAqB;IACjD;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAoB;IAC/C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAuB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;gBAEpC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAwDrE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { BusBaseSubscriberArgs } from "./bus-base-subscriber";
|
|
4
|
+
import { Queue } from "./queue";
|
|
5
|
+
export interface Args extends BusBaseSubscriberArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The ARN of the SQS Queue.
|
|
8
|
+
*/
|
|
9
|
+
queue: Input<string | Queue>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The `BusQueueSubscriber` component is internally used by the `Bus` component
|
|
13
|
+
* to add subscriptions to [Amazon EventBridge Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html).
|
|
14
|
+
*
|
|
15
|
+
* :::note
|
|
16
|
+
* This component is not intended to be created directly.
|
|
17
|
+
* :::
|
|
18
|
+
*
|
|
19
|
+
* You'll find this component returned by the `subscribeQueue` method of the `Bus` component.
|
|
20
|
+
*/
|
|
21
|
+
export declare class BusQueueSubscriber extends Component {
|
|
22
|
+
private readonly policy;
|
|
23
|
+
private readonly rule;
|
|
24
|
+
private readonly target;
|
|
25
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
26
|
+
/**
|
|
27
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
28
|
+
*/
|
|
29
|
+
get nodes(): {
|
|
30
|
+
/**
|
|
31
|
+
* The SQS Queue policy.
|
|
32
|
+
*/
|
|
33
|
+
policy: import("@pulumi/aws/sqs/queuePolicy").QueuePolicy;
|
|
34
|
+
/**
|
|
35
|
+
* The EventBus rule.
|
|
36
|
+
*/
|
|
37
|
+
rule: import("@pulumi/aws/cloudwatch/eventRule").EventRule;
|
|
38
|
+
/**
|
|
39
|
+
* The EventBus target.
|
|
40
|
+
*/
|
|
41
|
+
target: import("@pulumi/aws/cloudwatch/eventTarget").EventTarget;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=bus-queue-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bus-queue-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus-queue-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAU,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAc,MAAM,uBAAuB,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,IAAK,SAAQ,qBAAqB;IACjD;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAuB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;gBAEpC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAoCrE;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component, Transform } from "../component";
|
|
3
|
+
import { Link } from "../link";
|
|
4
|
+
import type { Input } from "../input";
|
|
5
|
+
import { FunctionArgs, FunctionArn } from "./function";
|
|
6
|
+
import { BusLambdaSubscriber } from "./bus-lambda-subscriber";
|
|
7
|
+
import { cloudwatch } from "@pulumi/aws";
|
|
8
|
+
import { Queue } from "./queue";
|
|
9
|
+
import { BusQueueSubscriber } from "./bus-queue-subscriber";
|
|
10
|
+
export interface BusArgs {
|
|
11
|
+
/**
|
|
12
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
13
|
+
* resources.
|
|
14
|
+
*/
|
|
15
|
+
transform?: {
|
|
16
|
+
/**
|
|
17
|
+
* Transform the EventBus resource.
|
|
18
|
+
*/
|
|
19
|
+
bus?: Transform<cloudwatch.EventBusArgs>;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export interface BusSubscriberArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Filter the messages that'll be processed by the subscriber.
|
|
25
|
+
*
|
|
26
|
+
* If any single property in the pattern doesn't match
|
|
27
|
+
* an attribute assigned to the message, then the pattern rejects the message.
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* :::tip
|
|
31
|
+
* Learn more about [event patterns](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html).
|
|
32
|
+
* :::
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* For example, if your EventBus message contains this in a JSON format.
|
|
36
|
+
* ```js
|
|
37
|
+
* {
|
|
38
|
+
* source: "my.source",
|
|
39
|
+
* detail: {
|
|
40
|
+
* price_usd: 210.75
|
|
41
|
+
* },
|
|
42
|
+
* "detail-type": "orderPlaced"
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* Then this pattern accepts the message.
|
|
47
|
+
*
|
|
48
|
+
* ```js
|
|
49
|
+
* {
|
|
50
|
+
* pattern: {
|
|
51
|
+
* source: ["my.source", "my.source2"]
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
pattern?: Input<{
|
|
57
|
+
/**
|
|
58
|
+
* A list of `source` values to match against. The `source` indicates where the
|
|
59
|
+
* event originated.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
*
|
|
63
|
+
* ```js
|
|
64
|
+
* {
|
|
65
|
+
* pattern: {
|
|
66
|
+
* source: ["my.source", "my.source2"]
|
|
67
|
+
* }
|
|
68
|
+
* }
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
source?: (string | any)[];
|
|
72
|
+
/**
|
|
73
|
+
* An object of `detail` values to match against, where the key is the name and
|
|
74
|
+
* the value is the pattern to match. The `detail` contains the actual
|
|
75
|
+
* data associated with the event.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```js
|
|
79
|
+
* {
|
|
80
|
+
* pattern: {
|
|
81
|
+
* detail: {
|
|
82
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
83
|
+
* }
|
|
84
|
+
* }
|
|
85
|
+
* }
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
detail?: Record<string, any>;
|
|
89
|
+
/**
|
|
90
|
+
* A list of `detail-type` values to match against. The `detail-type` typically
|
|
91
|
+
* defines the kind of event that is emitted.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* ```js
|
|
95
|
+
* {
|
|
96
|
+
* pattern: {
|
|
97
|
+
* detailType: ["orderPlaced"]
|
|
98
|
+
* }
|
|
99
|
+
* }
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
detailType?: (string | any)[];
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* [Transform](/docs/components#transform) how this subscription creates its underlying
|
|
106
|
+
* resources.
|
|
107
|
+
*/
|
|
108
|
+
transform?: {
|
|
109
|
+
/**
|
|
110
|
+
* Transform the EventBus rule resource.
|
|
111
|
+
*/
|
|
112
|
+
rule?: Transform<cloudwatch.EventRuleArgs>;
|
|
113
|
+
/**
|
|
114
|
+
* Transform the EventBus target resource.
|
|
115
|
+
*/
|
|
116
|
+
target?: Transform<cloudwatch.EventTargetArgs>;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The `Bus` component lets you add an [Amazon EventBridge Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html) to your app.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
*
|
|
124
|
+
* #### Create a bus
|
|
125
|
+
*
|
|
126
|
+
* ```ts
|
|
127
|
+
* const bus = new sst.aws.Bus("MyBus");
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* #### Add a subscriber
|
|
131
|
+
*
|
|
132
|
+
* ```ts
|
|
133
|
+
* bus.subscribe("MySubscriber", "src/subscriber.handler");
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* #### Customize the subscriber
|
|
137
|
+
*
|
|
138
|
+
* ```ts
|
|
139
|
+
* bus.subscribe("MySubscriber", {
|
|
140
|
+
* handler: "src/subscriber.handler",
|
|
141
|
+
* timeout: "60 seconds"
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
145
|
+
* #### Link the bus to a resource
|
|
146
|
+
*
|
|
147
|
+
* You can link the bus to other resources, like a function or your Next.js app.
|
|
148
|
+
*
|
|
149
|
+
* ```ts
|
|
150
|
+
* new sst.aws.Nextjs("MyWeb", {
|
|
151
|
+
* link: [bus]
|
|
152
|
+
* });
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
* Once linked, you can publish messages to the bus from your app.
|
|
156
|
+
*
|
|
157
|
+
* ```ts title="app/page.tsx" {1,9}
|
|
158
|
+
* import { Resource } from "sst";
|
|
159
|
+
* import { EventBridgeClient, PutEventsCommand } from "@aws-sdk/client-eventbridge";
|
|
160
|
+
*
|
|
161
|
+
* const eb = new EventBridgeClient({});
|
|
162
|
+
*
|
|
163
|
+
* await eb.send(new PutEventsCommand({
|
|
164
|
+
* Entries: [
|
|
165
|
+
* {
|
|
166
|
+
* EventBusName: Resource.MyBus.name,
|
|
167
|
+
* Source: "my.source",
|
|
168
|
+
* Detail: JSON.stringify({ foo: "bar" })
|
|
169
|
+
* }
|
|
170
|
+
* ]
|
|
171
|
+
* }));
|
|
172
|
+
* ```
|
|
173
|
+
*/
|
|
174
|
+
export declare class Bus extends Component implements Link.Linkable {
|
|
175
|
+
private constructorName;
|
|
176
|
+
private constructorOpts;
|
|
177
|
+
private bus;
|
|
178
|
+
constructor(name: string, args?: BusArgs, opts?: ComponentResourceOptions);
|
|
179
|
+
/**
|
|
180
|
+
* The ARN of the EventBus.
|
|
181
|
+
*/
|
|
182
|
+
get arn(): Output<string>;
|
|
183
|
+
/**
|
|
184
|
+
* The name of the EventBus.
|
|
185
|
+
*/
|
|
186
|
+
get name(): Output<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
189
|
+
*/
|
|
190
|
+
get nodes(): {
|
|
191
|
+
/**
|
|
192
|
+
* The Amazon EventBus resource.
|
|
193
|
+
*/
|
|
194
|
+
bus: import("@pulumi/aws/cloudwatch/eventBus").EventBus;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Subscribe to this EventBus with a function.
|
|
198
|
+
*
|
|
199
|
+
* @param name The name of the subscription.
|
|
200
|
+
* @param subscriber The function that'll be notified.
|
|
201
|
+
* @param args Configure the subscription.
|
|
202
|
+
*
|
|
203
|
+
* @example
|
|
204
|
+
*
|
|
205
|
+
* ```js title="sst.config.ts"
|
|
206
|
+
* bus.subscribe("MySubscription", "src/subscriber.handler");
|
|
207
|
+
* ```
|
|
208
|
+
*
|
|
209
|
+
* You can add a pattern to the subscription.
|
|
210
|
+
*
|
|
211
|
+
* ```js
|
|
212
|
+
* bus.subscribe("MySubscription", "src/subscriber.handler", {
|
|
213
|
+
* pattern: {
|
|
214
|
+
* source: ["my.source", "my.source2"],
|
|
215
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
216
|
+
* }
|
|
217
|
+
* });
|
|
218
|
+
* ```
|
|
219
|
+
*
|
|
220
|
+
* To customize the subscriber function:
|
|
221
|
+
*
|
|
222
|
+
* ```js
|
|
223
|
+
* bus.subscribe("MySubscription", {
|
|
224
|
+
* handler: "src/subscriber.handler",
|
|
225
|
+
* timeout: "60 seconds"
|
|
226
|
+
* });
|
|
227
|
+
* ```
|
|
228
|
+
*
|
|
229
|
+
* Or pass in the ARN of an existing Lambda function.
|
|
230
|
+
*
|
|
231
|
+
* ```js title="sst.config.ts"
|
|
232
|
+
* bus.subscribe("MySubscription", "arn:aws:lambda:us-east-1:123456789012:function:my-function");
|
|
233
|
+
* ```
|
|
234
|
+
*/
|
|
235
|
+
subscribe(name: string, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: BusSubscriberArgs): Output<BusLambdaSubscriber>;
|
|
236
|
+
/**
|
|
237
|
+
* Subscribe to an EventBus that was not created in your app with a function.
|
|
238
|
+
*
|
|
239
|
+
* @param name The name of the subscription.
|
|
240
|
+
* @param busArn The ARN of the EventBus to subscribe to.
|
|
241
|
+
* @param subscriber The function that'll be notified.
|
|
242
|
+
* @param args Configure the subscription.
|
|
243
|
+
*
|
|
244
|
+
* @example
|
|
245
|
+
*
|
|
246
|
+
* For example, let's say you have an existing EventBus with the following ARN.
|
|
247
|
+
*
|
|
248
|
+
* ```js title="sst.config.ts"
|
|
249
|
+
* const busArn = "arn:aws:events:us-east-1:123456789012:event-bus/my-bus";
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
252
|
+
* You can subscribe to it by passing in the ARN.
|
|
253
|
+
*
|
|
254
|
+
* ```js title="sst.config.ts"
|
|
255
|
+
* sst.aws.Bus.subscribe("MySubscription", busArn, "src/subscriber.handler");
|
|
256
|
+
* ```
|
|
257
|
+
*
|
|
258
|
+
* To add a pattern to the subscription.
|
|
259
|
+
*
|
|
260
|
+
* ```js
|
|
261
|
+
* sst.aws.Bus.subscribe("MySubscription", busArn, "src/subscriber.handler", {
|
|
262
|
+
* pattern: {
|
|
263
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
264
|
+
* }
|
|
265
|
+
* });
|
|
266
|
+
* ```
|
|
267
|
+
*
|
|
268
|
+
* Or customize the subscriber function.
|
|
269
|
+
*
|
|
270
|
+
* ```js
|
|
271
|
+
* sst.aws.Bus.subscribe("MySubscription", busArn, {
|
|
272
|
+
* handler: "src/subscriber.handler",
|
|
273
|
+
* timeout: "60 seconds"
|
|
274
|
+
* });
|
|
275
|
+
* ```
|
|
276
|
+
*/
|
|
277
|
+
static subscribe(name: string, busArn: Input<string>, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: BusSubscriberArgs): Output<BusLambdaSubscriber>;
|
|
278
|
+
private static _subscribeFunction;
|
|
279
|
+
/**
|
|
280
|
+
* Subscribe to this EventBus with an SQS Queue.
|
|
281
|
+
*
|
|
282
|
+
* @param name The name of the subscription.
|
|
283
|
+
* @param queue The queue that'll be notified.
|
|
284
|
+
* @param args Configure the subscription.
|
|
285
|
+
*
|
|
286
|
+
* @example
|
|
287
|
+
*
|
|
288
|
+
* For example, let's say you have a queue.
|
|
289
|
+
*
|
|
290
|
+
* ```js title="sst.config.ts"
|
|
291
|
+
* const queue = new sst.aws.Queue("MyQueue");
|
|
292
|
+
* ```
|
|
293
|
+
*
|
|
294
|
+
* You can subscribe to this bus with it.
|
|
295
|
+
*
|
|
296
|
+
* ```js title="sst.config.ts"
|
|
297
|
+
* bus.subscribeQueue("MySubscription", queue);
|
|
298
|
+
* ```
|
|
299
|
+
*
|
|
300
|
+
* You can also add a filter to the subscription.
|
|
301
|
+
*
|
|
302
|
+
* ```js
|
|
303
|
+
* bus.subscribeQueue("MySubscription", queue, {
|
|
304
|
+
* filter: {
|
|
305
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
306
|
+
* }
|
|
307
|
+
* });
|
|
308
|
+
* ```
|
|
309
|
+
*
|
|
310
|
+
* Or pass in the ARN of an existing SQS queue.
|
|
311
|
+
*
|
|
312
|
+
* ```js
|
|
313
|
+
* bus.subscribeQueue("MySubscription", "arn:aws:sqs:us-east-1:123456789012:my-queue");
|
|
314
|
+
* ```
|
|
315
|
+
*/
|
|
316
|
+
subscribeQueue(name: string, queue: Input<string | Queue>, args?: BusSubscriberArgs): Output<BusQueueSubscriber>;
|
|
317
|
+
/**
|
|
318
|
+
* Subscribe to an existing EventBus with an SQS Queue.
|
|
319
|
+
*
|
|
320
|
+
* @param name The name of the subscription.
|
|
321
|
+
* @param busArn The ARN of the EventBus to subscribe to.
|
|
322
|
+
* @param queue The queue that'll be notified.
|
|
323
|
+
* @param args Configure the subscription.
|
|
324
|
+
*
|
|
325
|
+
* @example
|
|
326
|
+
*
|
|
327
|
+
* For example, let's say you have an existing EventBus and an SQS Queue.
|
|
328
|
+
*
|
|
329
|
+
* ```js title="sst.config.ts"
|
|
330
|
+
* const busArn = "arn:aws:events:us-east-1:123456789012:event-bus/MyBus";
|
|
331
|
+
* const queue = new sst.aws.Queue("MyQueue");
|
|
332
|
+
* ```
|
|
333
|
+
*
|
|
334
|
+
* You can subscribe to the bus with the queue.
|
|
335
|
+
*
|
|
336
|
+
* ```js title="sst.config.ts"
|
|
337
|
+
* sst.aws.Bus.subscribeQueue("MySubscription", busArn, queue);
|
|
338
|
+
* ```
|
|
339
|
+
*
|
|
340
|
+
* Add a filter to the subscription.
|
|
341
|
+
*
|
|
342
|
+
* ```js title="sst.config.ts"
|
|
343
|
+
* sst.aws.Bus.subscribeQueue(MySubscription, busArn, queue, {
|
|
344
|
+
* filter: {
|
|
345
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
346
|
+
* }
|
|
347
|
+
* });
|
|
348
|
+
* ```
|
|
349
|
+
*
|
|
350
|
+
* Or pass in the ARN of an existing SQS queue.
|
|
351
|
+
*
|
|
352
|
+
* ```js
|
|
353
|
+
* sst.aws.Bus.subscribeQueue("MySubscription", busArn, "arn:aws:sqs:us-east-1:123456789012:my-queue");
|
|
354
|
+
* ```
|
|
355
|
+
*/
|
|
356
|
+
static subscribeQueue(name: string, busArn: Input<string>, queue: Input<string | Queue>, args?: BusSubscriberArgs): Output<BusQueueSubscriber>;
|
|
357
|
+
private static _subscribeQueue;
|
|
358
|
+
/** @internal */
|
|
359
|
+
getSSTLink(): {
|
|
360
|
+
properties: {
|
|
361
|
+
name: Output<string>;
|
|
362
|
+
arn: Output<string>;
|
|
363
|
+
};
|
|
364
|
+
include: {
|
|
365
|
+
effect?: "allow" | "deny" | undefined;
|
|
366
|
+
actions: string[];
|
|
367
|
+
resources: Input<Input<string>[]>;
|
|
368
|
+
type: "aws.permission";
|
|
369
|
+
}[];
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* Reference an existing EventBus with its ARN. This is useful when you create a
|
|
373
|
+
* bus in one stage and want to share it in another stage. It avoids having to create
|
|
374
|
+
* a new bus in the other stage.
|
|
375
|
+
*
|
|
376
|
+
* :::tip
|
|
377
|
+
* You can use the `static get` method to share EventBus across stages.
|
|
378
|
+
* :::
|
|
379
|
+
*
|
|
380
|
+
* @param name The name of the component.
|
|
381
|
+
* @param busName The name of the existing EventBus.
|
|
382
|
+
* @param opts? Resource options.
|
|
383
|
+
*
|
|
384
|
+
* @example
|
|
385
|
+
* Imagine you create a bus in the `dev` stage. And in your personal stage `frank`,
|
|
386
|
+
* instead of creating a new bus, you want to share the bus from `dev`.
|
|
387
|
+
*
|
|
388
|
+
* ```ts title="sst.config.ts"
|
|
389
|
+
* const bus = $app.stage === "frank"
|
|
390
|
+
* ? sst.aws.Bus.get("MyBus", "app-dev-MyBus")
|
|
391
|
+
* : new sst.aws.Bus("MyBus");
|
|
392
|
+
* ```
|
|
393
|
+
*
|
|
394
|
+
* Here `app-dev-MyBus` is the name of the bus created in the `dev` stage. You can find
|
|
395
|
+
* this by outputting the bus name in the `dev` stage.
|
|
396
|
+
*
|
|
397
|
+
* ```ts title="sst.config.ts"
|
|
398
|
+
* return bus.name;
|
|
399
|
+
* ```
|
|
400
|
+
*/
|
|
401
|
+
static get(name: string, busName: Input<string>, opts?: ComponentResourceOptions): Bus;
|
|
402
|
+
}
|
|
403
|
+
//# sourceMappingURL=bus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bus.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/bus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAU,MAAM,gBAAgB,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE;QACV;;WAEG;QACH,GAAG,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;KAC1C,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;QACd;;;;;;;;;;;;;WAaG;QACH,MAAM,CAAC,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE,CAAC;QAC1B;;;;;;;;;;;;;;;WAeG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC7B;;;;;;;;;;;;WAYG;QACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,GAAG,C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