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":"service.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,MAAM,EAIP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAa,MAAM,iBAAiB,CAAC;AAI5E,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EACL,cAAc,EACd,GAAG,EACH,GAAG,EAGH,EAAE,EAEH,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,eAAe,EAAa,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,eAAe,EACf,oBAAoB,EASrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,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C,QAAQ;IAC7D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAsB;IAChD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAA6B;IAChE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAE/B;IACF,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAW;IAC1C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAW;IACpC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,CAA6B;IAC7D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAkB;IAChD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAwB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAA6B;IACrD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAiB;IACzC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAU;gBAG5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EACjB,IAAI,GAAE,wBAA6B;IAqxBrC;;;;;OAKG;IACH,IAAW,GAAG,mBAUb;IAED;;OAEG;IACH,IAAW,OAAO,mBAajB;IAED;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAMH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAQH;;WAEG;;QAYH;;WAEG;;QAQH;;WAEG;;MAiBN;IAED,gBAAgB;IACT,UAAU;;;;;;CAUlB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input, Output } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { Function, FunctionArgs } from "./function";
|
|
4
|
+
import { SnsTopicSubscriberArgs } from "./sns-topic";
|
|
5
|
+
export interface Args extends SnsTopicSubscriberArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The Topic to use.
|
|
8
|
+
*/
|
|
9
|
+
topic: Input<{
|
|
10
|
+
/**
|
|
11
|
+
* The ARN of the Topic.
|
|
12
|
+
*/
|
|
13
|
+
arn: Input<string>;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* The subscriber function.
|
|
17
|
+
*/
|
|
18
|
+
subscriber: Input<string | FunctionArgs>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The `SnsTopicLambdaSubscriber` component is internally used by the `SnsTopic` component
|
|
22
|
+
* to add subscriptions to your [Amazon SNS Topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html).
|
|
23
|
+
*
|
|
24
|
+
* :::note
|
|
25
|
+
* This component is not intended to be created directly.
|
|
26
|
+
* :::
|
|
27
|
+
*
|
|
28
|
+
* You'll find this component returned by the `subscribe` method of the `SnsTopic` component.
|
|
29
|
+
*/
|
|
30
|
+
export declare class SnsTopicLambdaSubscriber extends Component {
|
|
31
|
+
private readonly fn;
|
|
32
|
+
private readonly permission;
|
|
33
|
+
private readonly subscription;
|
|
34
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
35
|
+
/**
|
|
36
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
37
|
+
*/
|
|
38
|
+
get nodes(): {
|
|
39
|
+
/**
|
|
40
|
+
* The Lambda function that'll be notified.
|
|
41
|
+
*/
|
|
42
|
+
readonly function: Output<Function>;
|
|
43
|
+
/**
|
|
44
|
+
* The Lambda permission.
|
|
45
|
+
*/
|
|
46
|
+
permission: import("@pulumi/aws/lambda/permission").Permission;
|
|
47
|
+
/**
|
|
48
|
+
* The SNS Topic subscription.
|
|
49
|
+
*/
|
|
50
|
+
subscription: import("@pulumi/aws/sns/topicSubscription").TopicSubscription;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=sns-topic-lambda-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sns-topic-lambda-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/sns-topic-lambda-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EAEL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAIrD,MAAM,WAAW,IAAK,SAAQ,sBAAsB;IAClD;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;QACX;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,qBAAa,wBAAyB,SAAQ,SAAS;IACrD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAkB;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAoB;IAC/C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;gBAEzC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAuDrE;;OAEG;IACH,IAAW,KAAK;QAGZ;;WAEG;;QAIH;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentResourceOptions, Input } from "@pulumi/pulumi";
|
|
2
|
+
import { Component } from "../component";
|
|
3
|
+
import { SnsTopicSubscriberArgs } from "./sns-topic";
|
|
4
|
+
import { Queue } from "./queue";
|
|
5
|
+
export interface Args extends SnsTopicSubscriberArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The SNS Topic to use.
|
|
8
|
+
*/
|
|
9
|
+
topic: Input<{
|
|
10
|
+
/**
|
|
11
|
+
* The ARN of the SNS Topic.
|
|
12
|
+
*/
|
|
13
|
+
arn: Input<string>;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* The ARN of the SQS Queue.
|
|
17
|
+
*/
|
|
18
|
+
queue: Input<string | Queue>;
|
|
19
|
+
/**
|
|
20
|
+
* In early versions of SST, parent were forgotten to be set for resources in components.
|
|
21
|
+
* This flag is used to disable the automatic setting of the parent to prevent breaking
|
|
22
|
+
* changes.
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
disableParent?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The `SnsTopicQueueSubscriber` component is internally used by the `SnsTopic` component
|
|
29
|
+
* to add subscriptions to your [Amazon SNS Topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html).
|
|
30
|
+
*
|
|
31
|
+
* :::note
|
|
32
|
+
* This component is not intended to be created directly.
|
|
33
|
+
* :::
|
|
34
|
+
*
|
|
35
|
+
* You'll find this component returned by the `subscribeQueue` method of the `SnsTopic` component.
|
|
36
|
+
*/
|
|
37
|
+
export declare class SnsTopicQueueSubscriber extends Component {
|
|
38
|
+
private readonly policy;
|
|
39
|
+
private readonly subscription;
|
|
40
|
+
constructor(name: string, args: Args, opts?: ComponentResourceOptions);
|
|
41
|
+
/**
|
|
42
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
43
|
+
*/
|
|
44
|
+
get nodes(): {
|
|
45
|
+
/**
|
|
46
|
+
* The SQS Queue policy.
|
|
47
|
+
*/
|
|
48
|
+
policy: import("@pulumi/aws/sqs/queuePolicy").QueuePolicy;
|
|
49
|
+
/**
|
|
50
|
+
* The SNS Topic subscription.
|
|
51
|
+
*/
|
|
52
|
+
subscription: import("@pulumi/aws/sns/topicSubscription").TopicSubscription;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=sns-topic-queue-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sns-topic-queue-subscriber.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/sns-topic-queue-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EAGN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,IAAK,SAAQ,sBAAsB;IAClD;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;QACX;;WAEG;QACH,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACpB,CAAC,CAAC;IACH;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAC7B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,qBAAa,uBAAwB,SAAQ,SAAS;IACpD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwB;gBAEzC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,wBAAwB;IAqCrE;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;QAEH;;WAEG;;MAGN;CACF"}
|
|
@@ -0,0 +1,389 @@
|
|
|
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 { SnsTopicLambdaSubscriber } from "./sns-topic-lambda-subscriber";
|
|
7
|
+
import { SnsTopicQueueSubscriber } from "./sns-topic-queue-subscriber";
|
|
8
|
+
import { sns } from "@pulumi/aws";
|
|
9
|
+
import { Queue } from "./queue";
|
|
10
|
+
export interface SnsTopicArgs {
|
|
11
|
+
/**
|
|
12
|
+
* FIFO (First-In-First-Out) topics are designed to provide strict message ordering.
|
|
13
|
+
*
|
|
14
|
+
* :::caution
|
|
15
|
+
* Changing a standard topic to a FIFO topic or the other way around will result in the destruction and recreation of the topic.
|
|
16
|
+
* :::
|
|
17
|
+
*
|
|
18
|
+
* @default `false`
|
|
19
|
+
* @example
|
|
20
|
+
* ```js
|
|
21
|
+
* {
|
|
22
|
+
* fifo: true
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
fifo?: Input<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* [Transform](/docs/components#transform) how this component creates its underlying
|
|
29
|
+
* resources.
|
|
30
|
+
*/
|
|
31
|
+
transform?: {
|
|
32
|
+
/**
|
|
33
|
+
* Transform the SNS Topic resource.
|
|
34
|
+
*/
|
|
35
|
+
topic?: Transform<sns.TopicArgs>;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface SnsTopicSubscriberArgs {
|
|
39
|
+
/**
|
|
40
|
+
* Filter the messages that'll be processed by the subscriber.
|
|
41
|
+
*
|
|
42
|
+
* If any single property in the filter doesn't match
|
|
43
|
+
* an attribute assigned to the message, then the policy rejects the message.
|
|
44
|
+
*
|
|
45
|
+
* :::tip
|
|
46
|
+
* Learn more about [subscription filter policies](https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html).
|
|
47
|
+
* :::
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* For example, if your SNS Topic message contains this in a JSON format.
|
|
51
|
+
* ```js
|
|
52
|
+
* {
|
|
53
|
+
* store: "example_corp",
|
|
54
|
+
* event: "order-placed",
|
|
55
|
+
* customer_interests: [
|
|
56
|
+
* "soccer",
|
|
57
|
+
* "rugby",
|
|
58
|
+
* "hockey"
|
|
59
|
+
* ],
|
|
60
|
+
* price_usd: 210.75
|
|
61
|
+
* }
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* Then this filter policy accepts the message.
|
|
65
|
+
*
|
|
66
|
+
* ```js
|
|
67
|
+
* {
|
|
68
|
+
* filter: {
|
|
69
|
+
* store: ["example_corp"],
|
|
70
|
+
* event: [{"anything-but": "order_cancelled"}],
|
|
71
|
+
* customer_interests: [
|
|
72
|
+
* "rugby",
|
|
73
|
+
* "football",
|
|
74
|
+
* "baseball"
|
|
75
|
+
* ],
|
|
76
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
77
|
+
* }
|
|
78
|
+
* }
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
filter?: Input<Record<string, any>>;
|
|
82
|
+
/**
|
|
83
|
+
* [Transform](/docs/components#transform) how this subscription creates its underlying
|
|
84
|
+
* resources.
|
|
85
|
+
*/
|
|
86
|
+
transform?: {
|
|
87
|
+
/**
|
|
88
|
+
* Transform the SNS Topic Subscription resource.
|
|
89
|
+
*/
|
|
90
|
+
subscription?: Transform<sns.TopicSubscriptionArgs>;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The `SnsTopic` component lets you add an [Amazon SNS Topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html) to your app.
|
|
95
|
+
*
|
|
96
|
+
* :::note
|
|
97
|
+
* The difference between an `SnsTopic` and a `Queue` is that with a topic you can deliver messages to multiple subscribers.
|
|
98
|
+
* :::
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
*
|
|
102
|
+
* #### Create a topic
|
|
103
|
+
*
|
|
104
|
+
* ```ts title="sst.config.ts"
|
|
105
|
+
* const topic = new sst.aws.SnsTopic("MyTopic");
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* #### Make it a FIFO topic
|
|
109
|
+
*
|
|
110
|
+
* You can optionally make it a FIFO topic.
|
|
111
|
+
*
|
|
112
|
+
* ```ts {2} title="sst.config.ts"
|
|
113
|
+
* new sst.aws.SnsTopic("MyTopic", {
|
|
114
|
+
* fifo: true
|
|
115
|
+
* });
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* #### Add a subscriber
|
|
119
|
+
*
|
|
120
|
+
* ```ts title="sst.config.ts"
|
|
121
|
+
* topic.subscribe("MySubscriber", "src/subscriber.handler");
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* #### Link the topic to a resource
|
|
125
|
+
*
|
|
126
|
+
* You can link the topic to other resources, like a function or your Next.js app.
|
|
127
|
+
*
|
|
128
|
+
* ```ts title="sst.config.ts"
|
|
129
|
+
* new sst.aws.Nextjs("MyWeb", {
|
|
130
|
+
* link: [topic]
|
|
131
|
+
* });
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* Once linked, you can publish messages to the topic from your function code.
|
|
135
|
+
*
|
|
136
|
+
* ```ts title="app/page.tsx" {1,7}
|
|
137
|
+
* import { Resource } from "sst";
|
|
138
|
+
* import { SNSClient, PublishCommand } from "@aws-sdk/client-sns";
|
|
139
|
+
*
|
|
140
|
+
* const sns = new SNSClient({});
|
|
141
|
+
*
|
|
142
|
+
* await sns.send(new PublishCommand({
|
|
143
|
+
* TopicArn: Resource.MyTopic.arn,
|
|
144
|
+
* Message: "Hello from Next.js!"
|
|
145
|
+
* }));
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
export declare class SnsTopic extends Component implements Link.Linkable {
|
|
149
|
+
private constructorName;
|
|
150
|
+
private constructorOpts;
|
|
151
|
+
private topic;
|
|
152
|
+
constructor(name: string, args?: SnsTopicArgs, opts?: ComponentResourceOptions);
|
|
153
|
+
/**
|
|
154
|
+
* The ARN of the SNS Topic.
|
|
155
|
+
*/
|
|
156
|
+
get arn(): Output<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the SNS Topic.
|
|
159
|
+
*/
|
|
160
|
+
get name(): Output<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
163
|
+
*/
|
|
164
|
+
get nodes(): {
|
|
165
|
+
/**
|
|
166
|
+
* The Amazon SNS Topic.
|
|
167
|
+
*/
|
|
168
|
+
topic: import("@pulumi/aws/sns/topic").Topic;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Subscribe to this SNS Topic.
|
|
172
|
+
*
|
|
173
|
+
* @param name The name of the subscriber.
|
|
174
|
+
* @param subscriber The function that'll be notified.
|
|
175
|
+
* @param args Configure the subscription.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
*
|
|
179
|
+
* ```js title="sst.config.ts"
|
|
180
|
+
* topic.subscribe("MySubscriber", "src/subscriber.handler");
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* Add a filter to the subscription.
|
|
184
|
+
*
|
|
185
|
+
* ```js title="sst.config.ts"
|
|
186
|
+
* topic.subscribe("MySubscriber", "src/subscriber.handler", {
|
|
187
|
+
* filter: {
|
|
188
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
189
|
+
* }
|
|
190
|
+
* });
|
|
191
|
+
* ```
|
|
192
|
+
*
|
|
193
|
+
* Customize the subscriber function.
|
|
194
|
+
*
|
|
195
|
+
* ```js title="sst.config.ts"
|
|
196
|
+
* topic.subscribe("MySubscriber", {
|
|
197
|
+
* handler: "src/subscriber.handler",
|
|
198
|
+
* timeout: "60 seconds"
|
|
199
|
+
* });
|
|
200
|
+
* ```
|
|
201
|
+
*
|
|
202
|
+
* Or pass in the ARN of an existing Lambda function.
|
|
203
|
+
*
|
|
204
|
+
* ```js title="sst.config.ts"
|
|
205
|
+
* topic.subscribe("MySubscriber", "arn:aws:lambda:us-east-1:123456789012:function:my-function");
|
|
206
|
+
* ```
|
|
207
|
+
*/
|
|
208
|
+
subscribe(name: string, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: SnsTopicSubscriberArgs): Output<SnsTopicLambdaSubscriber>;
|
|
209
|
+
/**
|
|
210
|
+
* @deprecated The subscribe function now requires a `name` parameter as the first argument.
|
|
211
|
+
* To migrate, remove the current subscriber, deploy the changes, and then add the subscriber
|
|
212
|
+
* back with the new `name` argument.
|
|
213
|
+
*/
|
|
214
|
+
subscribe(subscriber: Input<string | FunctionArgs | FunctionArn>, args?: SnsTopicSubscriberArgs): Output<SnsTopicLambdaSubscriber>;
|
|
215
|
+
/**
|
|
216
|
+
* Subscribe to an SNS Topic that was not created in your app.
|
|
217
|
+
*
|
|
218
|
+
* @param name The name of the subscriber.
|
|
219
|
+
* @param topicArn The ARN of the SNS Topic to subscribe to.
|
|
220
|
+
* @param subscriber The function that'll be notified.
|
|
221
|
+
* @param args Configure the subscription.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
*
|
|
225
|
+
* For example, let's say you have an existing SNS Topic with the following ARN.
|
|
226
|
+
*
|
|
227
|
+
* ```js title="sst.config.ts"
|
|
228
|
+
* const topicArn = "arn:aws:sns:us-east-1:123456789012:MyTopic";
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* You can subscribe to it by passing in the ARN.
|
|
232
|
+
*
|
|
233
|
+
* ```js title="sst.config.ts"
|
|
234
|
+
* sst.aws.SnsTopic.subscribe("MySubscriber", topicArn, "src/subscriber.handler");
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* Add a filter to the subscription.
|
|
238
|
+
*
|
|
239
|
+
* ```js title="sst.config.ts"
|
|
240
|
+
* sst.aws.SnsTopic.subscribe("MySubscriber", topicArn, "src/subscriber.handler", {
|
|
241
|
+
* filter: {
|
|
242
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
243
|
+
* }
|
|
244
|
+
* });
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
247
|
+
* Customize the subscriber function.
|
|
248
|
+
*
|
|
249
|
+
* ```js title="sst.config.ts"
|
|
250
|
+
* sst.aws.SnsTopic.subscribe("MySubscriber", topicArn, {
|
|
251
|
+
* handler: "src/subscriber.handler",
|
|
252
|
+
* timeout: "60 seconds"
|
|
253
|
+
* });
|
|
254
|
+
* ```
|
|
255
|
+
*/
|
|
256
|
+
static subscribe(name: string, topicArn: Input<string>, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: SnsTopicSubscriberArgs): Output<SnsTopicLambdaSubscriber>;
|
|
257
|
+
/**
|
|
258
|
+
* @deprecated The subscribe function now requires a `name` parameter as the first argument.
|
|
259
|
+
* To migrate, remove the current subscriber, deploy the changes, and then add the subscriber
|
|
260
|
+
* back with the new `name` argument.
|
|
261
|
+
*/
|
|
262
|
+
static subscribe(topicArn: Input<string>, subscriber: Input<string | FunctionArgs | FunctionArn>, args?: SnsTopicSubscriberArgs): Output<SnsTopicLambdaSubscriber>;
|
|
263
|
+
private static _subscribeFunction;
|
|
264
|
+
private static _subscribeFunctionV1;
|
|
265
|
+
/**
|
|
266
|
+
* Subscribe to this SNS Topic with an SQS Queue.
|
|
267
|
+
*
|
|
268
|
+
* @param name The name of the subscriber.
|
|
269
|
+
* @param queue The ARN of the queue or `Queue` component that'll be notified.
|
|
270
|
+
* @param args Configure the subscription.
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
*
|
|
274
|
+
* For example, let's say you have a queue.
|
|
275
|
+
*
|
|
276
|
+
* ```js title="sst.config.ts"
|
|
277
|
+
* const queue = sst.aws.Queue("MyQueue");
|
|
278
|
+
* ```
|
|
279
|
+
*
|
|
280
|
+
* You can subscribe to this topic with it.
|
|
281
|
+
*
|
|
282
|
+
* ```js title="sst.config.ts"
|
|
283
|
+
* topic.subscribeQueue("MySubscriber", queue.arn);
|
|
284
|
+
* ```
|
|
285
|
+
*
|
|
286
|
+
* Add a filter to the subscription.
|
|
287
|
+
*
|
|
288
|
+
* ```js title="sst.config.ts"
|
|
289
|
+
* topic.subscribeQueue("MySubscriber", queue.arn, {
|
|
290
|
+
* filter: {
|
|
291
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
292
|
+
* }
|
|
293
|
+
* });
|
|
294
|
+
* ```
|
|
295
|
+
*/
|
|
296
|
+
subscribeQueue(name: string, queue: Input<string | Queue>, args?: SnsTopicSubscriberArgs): Output<SnsTopicQueueSubscriber>;
|
|
297
|
+
/**
|
|
298
|
+
* @deprecated The subscribe function now requires a `name` parameter as the first argument.
|
|
299
|
+
* To migrate, remove the current subscriber, deploy the changes, and then add the subscriber
|
|
300
|
+
* back with the new `name` argument.
|
|
301
|
+
*/
|
|
302
|
+
subscribeQueue(queue: Input<string>, args?: SnsTopicSubscriberArgs): Output<SnsTopicQueueSubscriber>;
|
|
303
|
+
/**
|
|
304
|
+
* Subscribe to an existing SNS Topic with a previously created SQS Queue.
|
|
305
|
+
*
|
|
306
|
+
* @param name The name of the subscriber.
|
|
307
|
+
* @param topicArn The ARN of the SNS Topic to subscribe to.
|
|
308
|
+
* @param queue The ARN of the queue or `Queue` component that'll be notified.
|
|
309
|
+
* @param args Configure the subscription.
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
*
|
|
313
|
+
* For example, let's say you have an existing SNS Topic and SQS Queue with the following ARNs.
|
|
314
|
+
*
|
|
315
|
+
* ```js title="sst.config.ts"
|
|
316
|
+
* const topicArn = "arn:aws:sns:us-east-1:123456789012:MyTopic";
|
|
317
|
+
* const queueArn = "arn:aws:sqs:us-east-1:123456789012:MyQueue";
|
|
318
|
+
* ```
|
|
319
|
+
*
|
|
320
|
+
* You can subscribe to the topic with the queue.
|
|
321
|
+
*
|
|
322
|
+
* ```js title="sst.config.ts"
|
|
323
|
+
* sst.aws.SnsTopic.subscribeQueue("MySubscriber", topicArn, queueArn);
|
|
324
|
+
* ```
|
|
325
|
+
*
|
|
326
|
+
* Add a filter to the subscription.
|
|
327
|
+
*
|
|
328
|
+
* ```js title="sst.config.ts"
|
|
329
|
+
* sst.aws.SnsTopic.subscribeQueue("MySubscriber", topicArn, queueArn, {
|
|
330
|
+
* filter: {
|
|
331
|
+
* price_usd: [{numeric: [">=", 100]}]
|
|
332
|
+
* }
|
|
333
|
+
* });
|
|
334
|
+
* ```
|
|
335
|
+
*/
|
|
336
|
+
static subscribeQueue(name: string, topicArn: Input<string>, queue: Input<string | Queue>, args?: SnsTopicSubscriberArgs): Output<SnsTopicQueueSubscriber>;
|
|
337
|
+
/**
|
|
338
|
+
* @deprecated The subscribe function now requires a `name` parameter as the first argument.
|
|
339
|
+
* To migrate, remove the current subscriber, deploy the changes, and then add the subscriber
|
|
340
|
+
* back with the new `name` argument.
|
|
341
|
+
*/
|
|
342
|
+
static subscribeQueue(topicArn: Input<string>, queue: Input<string>, args?: SnsTopicSubscriberArgs): Output<SnsTopicQueueSubscriber>;
|
|
343
|
+
private static _subscribeQueue;
|
|
344
|
+
private static _subscribeQueueV1;
|
|
345
|
+
/**
|
|
346
|
+
* Reference an existing SNS topic with its topic ARN. This is useful when you create a
|
|
347
|
+
* topic in one stage and want to share it in another stage. It avoids having to create
|
|
348
|
+
* a new topic in the other stage.
|
|
349
|
+
*
|
|
350
|
+
* :::tip
|
|
351
|
+
* You can use the `static get` method to share SNS topics across stages.
|
|
352
|
+
* :::
|
|
353
|
+
*
|
|
354
|
+
* @param name The name of the component.
|
|
355
|
+
* @param topicArn The ARN of the existing SNS Topic.
|
|
356
|
+
* @param opts? Resource options.
|
|
357
|
+
*
|
|
358
|
+
* @example
|
|
359
|
+
* Imagine you create a topic in the `dev` stage. And in your personal stage `frank`,
|
|
360
|
+
* instead of creating a new topic, you want to share the topic from `dev`.
|
|
361
|
+
*
|
|
362
|
+
* ```ts title="sst.config.ts"
|
|
363
|
+
* const topic = $app.stage === "frank"
|
|
364
|
+
* ? sst.aws.SnsTopic.get("MyTopic", "arn:aws:sns:us-east-1:123456789012:MyTopic")
|
|
365
|
+
* : new sst.aws.SnsTopic("MyTopic");
|
|
366
|
+
* ```
|
|
367
|
+
*
|
|
368
|
+
* Here `arn:aws:sns:us-east-1:123456789012:MyTopic` is the ARN of the topic created in
|
|
369
|
+
* the `dev` stage. You can find this by outputting the topic ARN in the `dev` stage.
|
|
370
|
+
*
|
|
371
|
+
* ```ts title="sst.config.ts"
|
|
372
|
+
* return topic.arn;
|
|
373
|
+
* ```
|
|
374
|
+
*/
|
|
375
|
+
static get(name: string, topicArn: Input<string>, opts?: ComponentResourceOptions): SnsTopic;
|
|
376
|
+
/** @internal */
|
|
377
|
+
getSSTLink(): {
|
|
378
|
+
properties: {
|
|
379
|
+
arn: Output<string>;
|
|
380
|
+
};
|
|
381
|
+
include: {
|
|
382
|
+
effect?: "allow" | "deny" | undefined;
|
|
383
|
+
actions: string[];
|
|
384
|
+
resources: Input<Input<string>[]>;
|
|
385
|
+
type: "aws.permission";
|
|
386
|
+
}[];
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
//# sourceMappingURL=sns-topic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sns-topic.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/sns-topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAe,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAY,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;AAGvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAGlC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;;;OAcG;IACH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