@monorise/sst 3.0.0 → 4.0.0
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/.sst/platform/src/components/aws/alb.d.ts +280 -0
- package/dist/.sst/platform/src/components/aws/alb.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts +13 -2
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts +93 -83
- package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +9 -5
- package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/app-sync.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/aurora.d.ts +22 -4
- package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/auth-v1.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/auth.d.ts +38 -3
- package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/bucket.d.ts +114 -8
- package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +3 -2
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/bus.d.ts +34 -3
- package/dist/.sst/platform/src/components/aws/bus.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/cdn.d.ts +11 -0
- package/dist/.sst/platform/src/components/aws/cdn.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/cluster.d.ts +60 -4
- package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +5 -0
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +104 -0
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/cron-v2.d.ts +325 -0
- package/dist/.sst/platform/src/components/aws/cron-v2.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/cron.d.ts +15 -6
- package/dist/.sst/platform/src/components/aws/cron.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/dsql.d.ts +369 -0
- package/dist/.sst/platform/src/components/aws/dsql.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/dynamo.d.ts +63 -4
- package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/email.d.ts +6 -1
- package/dist/.sst/platform/src/components/aws/email.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/fargate.d.ts +129 -4
- package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/function.d.ts +122 -24
- package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +16 -0
- package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts +7 -3
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/load-balancer.d.ts +9 -0
- package/dist/.sst/platform/src/components/aws/helpers/load-balancer.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts +2 -2
- package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/index.d.ts +4 -0
- package/dist/.sst/platform/src/components/aws/index.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts +8 -3
- package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/linkable.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/linkable.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/mysql.d.ts +34 -5
- package/dist/.sst/platform/src/components/aws/mysql.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/nextjs.d.ts +39 -5
- package/dist/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/open-search.d.ts +16 -5
- package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/opencontrol.d.ts +7 -3
- package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/permission.d.ts +18 -0
- package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts +13 -2
- package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/postgres.d.ts +37 -8
- package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +6 -1
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/queue.d.ts +10 -1
- package/dist/.sst/platform/src/components/aws/queue.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/realtime.d.ts +12 -1
- package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/redis-v1.d.ts +10 -0
- package/dist/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/redis.d.ts +14 -0
- package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/router.d.ts +501 -15
- package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/service.d.ts +151 -0
- package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +1 -1
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/sns-topic.d.ts +6 -1
- package/dist/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +204 -13
- package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/static-site.d.ts +5 -5
- package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +35 -1
- package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts +10 -2
- package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/step-functions.d.ts +5 -0
- package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +20 -6
- package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/task.d.ts +35 -15
- package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/vector.d.ts +5 -0
- package/dist/.sst/platform/src/components/aws/vector.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/vpc.d.ts +51 -4
- package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/aws/workflow.d.ts +331 -0
- package/dist/.sst/platform/src/components/aws/workflow.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +1 -99
- package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/ai.d.ts +82 -0
- package/dist/.sst/platform/src/components/cloudflare/ai.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +16 -2
- package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +8 -4
- package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/cron.d.ts +29 -5
- package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +38 -3
- package/dist/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
- package/dist/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +1 -1
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/index.d.ts +5 -1
- package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +44 -4
- package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-placement.d.ts +27 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-placement.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/queue-worker-subscriber.d.ts +116 -0
- package/dist/.sst/platform/src/components/cloudflare/queue-worker-subscriber.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +187 -4
- package/dist/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +34 -42
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts +2 -2
- package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +66 -10
- package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/component.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/duration.d.ts +4 -1
- package/dist/.sst/platform/src/components/duration.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/esbuild.d.ts +3 -0
- package/dist/.sst/platform/src/components/esbuild.d.ts.map +1 -0
- package/dist/.sst/platform/src/components/link.d.ts +2 -2
- package/dist/.sst/platform/src/components/link.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/linkable.d.ts +32 -2
- package/dist/.sst/platform/src/components/linkable.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/rpc/rpc.d.ts +1 -0
- package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -1
- package/dist/.sst/platform/src/components/secret.d.ts +1 -1
- package/dist/.sst/platform/src/components/vercel/dns.d.ts +2 -2
- package/dist/.sst/platform/src/config.d.ts +15 -0
- package/dist/.sst/platform/src/config.d.ts.map +1 -1
- package/dist/.sst/platform/src/util/fs.d.ts +5 -0
- package/dist/.sst/platform/src/util/fs.d.ts.map +1 -0
- package/dist/.sst/platform/src/util/minify.d.ts +2 -0
- package/dist/.sst/platform/src/util/minify.d.ts.map +1 -0
- package/dist/components/dashboard.d.ts +2 -0
- package/dist/components/dashboard.d.ts.map +1 -0
- package/dist/components/monorise-core.d.ts.map +1 -1
- package/dist/components/q-function.d.ts +3 -4
- package/dist/components/q-function.d.ts.map +1 -1
- package/dist/components/single-table.d.ts +2 -1
- package/dist/components/single-table.d.ts.map +1 -1
- package/dist/index.js +605 -7
- package/dist/index.js.map +1 -1
- package/dist/tsup.config.d.ts +3 -0
- package/dist/tsup.config.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/.sst/platform/src/components/aws/analog.js +0 -118
- package/dist/.sst/platform/src/components/aws/analog.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +0 -110
- package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +0 -409
- package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +0 -55
- package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +0 -110
- package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +0 -34
- package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +0 -49
- package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +0 -85
- package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +0 -66
- package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv1.js +0 -749
- package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +0 -98
- package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +0 -28
- package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +0 -84
- package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +0 -55
- package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +0 -53
- package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/apigatewayv2.js +0 -648
- package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +0 -208
- package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/app-sync-function.js +0 -52
- package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +0 -70
- package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/app-sync.js +0 -330
- package/dist/.sst/platform/src/components/aws/app-sync.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/astro.js +0 -156
- package/dist/.sst/platform/src/components/aws/astro.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/aurora.js +0 -678
- package/dist/.sst/platform/src/components/aws/aurora.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/auth-v1.js +0 -36
- package/dist/.sst/platform/src/components/aws/auth-v1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/auth.js +0 -209
- package/dist/.sst/platform/src/components/aws/auth.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +0 -99
- package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bucket-notification.js +0 -170
- package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +0 -77
- package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +0 -99
- package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bucket.js +0 -754
- package/dist/.sst/platform/src/components/aws/bucket.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +0 -19
- package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +0 -81
- package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +0 -63
- package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/bus.js +0 -350
- package/dist/.sst/platform/src/components/aws/bus.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cdn.js +0 -234
- package/dist/.sst/platform/src/components/aws/cdn.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cluster-v1.js +0 -245
- package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cluster.js +0 -321
- package/dist/.sst/platform/src/components/aws/cluster.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +0 -263
- package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +0 -67
- package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +0 -81
- package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +0 -368
- package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/cron.js +0 -200
- package/dist/.sst/platform/src/components/aws/cron.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +0 -55
- package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/dns.js +0 -121
- package/dist/.sst/platform/src/components/aws/dns.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +0 -79
- package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/dynamo.js +0 -291
- package/dist/.sst/platform/src/components/aws/dynamo.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/efs.js +0 -241
- package/dist/.sst/platform/src/components/aws/efs.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/email.js +0 -276
- package/dist/.sst/platform/src/components/aws/email.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/fargate.js +0 -434
- package/dist/.sst/platform/src/components/aws/fargate.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/function.js +0 -1041
- package/dist/.sst/platform/src/components/aws/function.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +0 -31
- package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +0 -2
- package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/arn.js +0 -86
- package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +0 -7
- package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +0 -27
- package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +0 -51
- package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/provider.js +0 -34
- package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts +0 -7
- package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/quota.js +0 -20
- package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +0 -36
- package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +0 -13
- package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/https-redirect.js +0 -124
- package/dist/.sst/platform/src/components/aws/https-redirect.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/iam-edit.js +0 -40
- package/dist/.sst/platform/src/components/aws/iam-edit.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/index.js +0 -49
- package/dist/.sst/platform/src/components/aws/index.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +0 -82
- package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/kinesis-stream.js +0 -134
- package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/linkable.js +0 -25
- package/dist/.sst/platform/src/components/aws/linkable.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/logging.js +0 -26
- package/dist/.sst/platform/src/components/aws/logging.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/mysql.js +0 -514
- package/dist/.sst/platform/src/components/aws/mysql.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/nextjs.js +0 -444
- package/dist/.sst/platform/src/components/aws/nextjs.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/nuxt.js +0 -113
- package/dist/.sst/platform/src/components/aws/nuxt.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/open-search.js +0 -365
- package/dist/.sst/platform/src/components/aws/open-search.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/opencontrol.js +0 -164
- package/dist/.sst/platform/src/components/aws/opencontrol.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/permission.js +0 -19
- package/dist/.sst/platform/src/components/aws/permission.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/postgres-v1.js +0 -304
- package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/postgres.js +0 -532
- package/dist/.sst/platform/src/components/aws/postgres.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +0 -18
- package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/providers/vector-table.js +0 -8
- package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +0 -81
- package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/queue.js +0 -322
- package/dist/.sst/platform/src/components/aws/queue.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/react.js +0 -157
- package/dist/.sst/platform/src/components/aws/react.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +0 -78
- package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/realtime.js +0 -221
- package/dist/.sst/platform/src/components/aws/realtime.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/redis-v1.js +0 -335
- package/dist/.sst/platform/src/components/aws/redis-v1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/redis.js +0 -382
- package/dist/.sst/platform/src/components/aws/redis.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/remix.js +0 -212
- package/dist/.sst/platform/src/components/aws/remix.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/router-base-route.js +0 -40
- package/dist/.sst/platform/src/components/aws/router-base-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/router-bucket-route.js +0 -40
- package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/router-url-route.js +0 -51
- package/dist/.sst/platform/src/components/aws/router-url-route.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/router.js +0 -1156
- package/dist/.sst/platform/src/components/aws/router.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/service-v1.js +0 -606
- package/dist/.sst/platform/src/components/aws/service-v1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/service.js +0 -924
- package/dist/.sst/platform/src/components/aws/service.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +0 -75
- package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +0 -59
- package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/sns-topic.js +0 -233
- package/dist/.sst/platform/src/components/aws/sns-topic.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/solid-start.js +0 -120
- package/dist/.sst/platform/src/components/aws/solid-start.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/ssr-site.js +0 -792
- package/dist/.sst/platform/src/components/aws/ssr-site.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/static-site.js +0 -583
- package/dist/.sst/platform/src/components/aws/static-site.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/choice.js +0 -98
- package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/fail.js +0 -25
- package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/map.js +0 -108
- package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +0 -129
- package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/pass.js +0 -41
- package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/state.js +0 -134
- package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +0 -25
- package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/task.js +0 -116
- package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions/wait.js +0 -46
- package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/step-functions.js +0 -576
- package/dist/.sst/platform/src/components/aws/step-functions.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/svelte-kit.js +0 -144
- package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/tan-stack-start.js +0 -143
- package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/task.js +0 -311
- package/dist/.sst/platform/src/components/aws/task.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/vector.js +0 -224
- package/dist/.sst/platform/src/components/aws/vector.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/vpc-v1.js +0 -355
- package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +0 -1
- package/dist/.sst/platform/src/components/aws/vpc.js +0 -834
- package/dist/.sst/platform/src/components/aws/vpc.js.map +0 -1
- package/dist/.sst/platform/src/components/base/base-site.js +0 -47
- package/dist/.sst/platform/src/components/base/base-site.js.map +0 -1
- package/dist/.sst/platform/src/components/base/base-ssr-site.js +0 -72
- package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +0 -1
- package/dist/.sst/platform/src/components/base/base-static-site.js +0 -87
- package/dist/.sst/platform/src/components/base/base-static-site.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/account-id.js +0 -2
- package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/auth.js +0 -37
- package/dist/.sst/platform/src/components/cloudflare/auth.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/binding.js +0 -25
- package/dist/.sst/platform/src/components/cloudflare/binding.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/bucket.js +0 -98
- package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/cron.js +0 -86
- package/dist/.sst/platform/src/components/cloudflare/cron.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/d1.js +0 -104
- package/dist/.sst/platform/src/components/cloudflare/d1.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/dns.js +0 -138
- package/dist/.sst/platform/src/components/cloudflare/dns.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +0 -39
- package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +0 -25
- package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/index.js +0 -13
- package/dist/.sst/platform/src/components/cloudflare/index.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/kv.js +0 -98
- package/dist/.sst/platform/src/components/cloudflare/kv.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +0 -11
- package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +0 -63
- package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +0 -83
- package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +0 -54
- package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/queue.js +0 -57
- package/dist/.sst/platform/src/components/cloudflare/queue.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +0 -223
- package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/remix.js +0 -291
- package/dist/.sst/platform/src/components/cloudflare/remix.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +0 -177
- package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/static-site.js +0 -315
- package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +0 -1
- package/dist/.sst/platform/src/components/cloudflare/worker.js +0 -326
- package/dist/.sst/platform/src/components/cloudflare/worker.js.map +0 -1
- package/dist/.sst/platform/src/components/component.js +0 -395
- package/dist/.sst/platform/src/components/component.js.map +0 -1
- package/dist/.sst/platform/src/components/cpu.js +0 -9
- package/dist/.sst/platform/src/components/cpu.js.map +0 -1
- package/dist/.sst/platform/src/components/dns.js +0 -7
- package/dist/.sst/platform/src/components/dns.js.map +0 -1
- package/dist/.sst/platform/src/components/duration.js +0 -19
- package/dist/.sst/platform/src/components/duration.js.map +0 -1
- package/dist/.sst/platform/src/components/error.js +0 -6
- package/dist/.sst/platform/src/components/error.js.map +0 -1
- package/dist/.sst/platform/src/components/experimental/dev-command.js +0 -59
- package/dist/.sst/platform/src/components/experimental/dev-command.js.map +0 -1
- package/dist/.sst/platform/src/components/experimental/index.js +0 -2
- package/dist/.sst/platform/src/components/experimental/index.js.map +0 -1
- package/dist/.sst/platform/src/components/hint.d.ts +0 -7
- package/dist/.sst/platform/src/components/hint.d.ts.map +0 -1
- package/dist/.sst/platform/src/components/hint.js +0 -20
- package/dist/.sst/platform/src/components/hint.js.map +0 -1
- package/dist/.sst/platform/src/components/index.js +0 -16
- package/dist/.sst/platform/src/components/index.js.map +0 -1
- package/dist/.sst/platform/src/components/input.js +0 -2
- package/dist/.sst/platform/src/components/input.js.map +0 -1
- package/dist/.sst/platform/src/components/link.js +0 -138
- package/dist/.sst/platform/src/components/link.js.map +0 -1
- package/dist/.sst/platform/src/components/linkable.js +0 -244
- package/dist/.sst/platform/src/components/linkable.js.map +0 -1
- package/dist/.sst/platform/src/components/naming.js +0 -58
- package/dist/.sst/platform/src/components/naming.js.map +0 -1
- package/dist/.sst/platform/src/components/path.js +0 -5
- package/dist/.sst/platform/src/components/path.js.map +0 -1
- package/dist/.sst/platform/src/components/rpc/rpc.js +0 -120
- package/dist/.sst/platform/src/components/rpc/rpc.js.map +0 -1
- package/dist/.sst/platform/src/components/secret.js +0 -143
- package/dist/.sst/platform/src/components/secret.js.map +0 -1
- package/dist/.sst/platform/src/components/size.js +0 -29
- package/dist/.sst/platform/src/components/size.js.map +0 -1
- package/dist/.sst/platform/src/components/vercel/account-id.js +0 -2
- package/dist/.sst/platform/src/components/vercel/account-id.js.map +0 -1
- package/dist/.sst/platform/src/components/vercel/dns.js +0 -104
- package/dist/.sst/platform/src/components/vercel/dns.js.map +0 -1
- package/dist/.sst/platform/src/components/vercel/index.js +0 -3
- package/dist/.sst/platform/src/components/vercel/index.js.map +0 -1
- package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +0 -8
- package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +0 -1
- package/dist/.sst/platform/src/config.js +0 -5
- package/dist/.sst/platform/src/config.js.map +0 -1
- package/dist/.sst/platform/src/util/compare-semver.js +0 -24
- package/dist/.sst/platform/src/util/compare-semver.js.map +0 -1
- package/dist/.sst/platform/src/util/lazy.js +0 -12
- package/dist/.sst/platform/src/util/lazy.js.map +0 -1
- package/dist/.sst/platform/src/util/path-to-regex.d.ts +0 -128
- package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +0 -1
- package/dist/.sst/platform/src/util/path-to-regex.js +0 -392
- package/dist/.sst/platform/src/util/path-to-regex.js.map +0 -1
- package/dist/.sst/platform/src/util/semaphore.js +0 -36
- package/dist/.sst/platform/src/util/semaphore.js.map +0 -1
- package/dist/.sst/platform/src/util/warn.js +0 -8
- package/dist/.sst/platform/src/util/warn.js.map +0 -1
- package/dist/components/monorise-core.js +0 -147
- package/dist/components/monorise-core.js.map +0 -1
- package/dist/components/q-function.js +0 -53
- package/dist/components/q-function.js.map +0 -1
- package/dist/components/single-table.js +0 -73
- package/dist/components/single-table.js.map +0 -1
- package/dist/constants/event.js +0 -74
- package/dist/constants/event.js.map +0 -1
- package/dist/constants/table.js +0 -3
- package/dist/constants/table.js.map +0 -1
- package/dist/sst.config.js +0 -24
- package/dist/sst.config.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigateway-websocket.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigateway-websocket.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,GAAG,EACH,WAAW,EACX,MAAM,GACP,MAAM,gBAAgB,CAAC;AACxB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AE,CAAC,WAAW,CAAA,GAAG,IAAI,CAAC,GAAG,CAAC,YAAY,qBAAqB,CAAC;iBACtE,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,6BAA6B,CAAC;AACnD,mBAAmB;AACnB,mBAAmB,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { apigateway } from "@pulumi/aws";
|
|
2
|
-
import { Component } from "../component";
|
|
3
|
-
/**
|
|
4
|
-
* The `ApiGatewayV1ApiKey` component is internally used by the `ApiGatewayV1UsagePlan` component
|
|
5
|
-
* to add API keys to [Amazon API Gateway REST API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html).
|
|
6
|
-
*
|
|
7
|
-
* :::note
|
|
8
|
-
* This component is not intended to be created directly.
|
|
9
|
-
* :::
|
|
10
|
-
*
|
|
11
|
-
* You'll find this component returned by the `addApiKey` method of the `ApiGatewayV1UsagePlan` component.
|
|
12
|
-
*/
|
|
13
|
-
export class ApiGatewayV1ApiKey extends Component {
|
|
14
|
-
constructor(name, args, opts = {}) {
|
|
15
|
-
super(__pulumiType, name, args, opts);
|
|
16
|
-
const self = this;
|
|
17
|
-
this.key = new apigateway.ApiKey(`${name}ApiKey`, {
|
|
18
|
-
value: args.value,
|
|
19
|
-
}, { parent: self });
|
|
20
|
-
new apigateway.UsagePlanKey(`${name}UsagePlanKey`, {
|
|
21
|
-
keyId: this.key.id,
|
|
22
|
-
keyType: "API_KEY",
|
|
23
|
-
usagePlanId: args.usagePlanId,
|
|
24
|
-
}, { parent: self });
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* The API key value.
|
|
28
|
-
*/
|
|
29
|
-
get value() {
|
|
30
|
-
return this.key.value;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
34
|
-
*/
|
|
35
|
-
get nodes() {
|
|
36
|
-
return {
|
|
37
|
-
/**
|
|
38
|
-
* The API Gateway API Key.
|
|
39
|
-
*/
|
|
40
|
-
apiKey: this.key,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
/** @internal */
|
|
44
|
-
getSSTLink() {
|
|
45
|
-
return {
|
|
46
|
-
properties: {
|
|
47
|
-
value: this.value,
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
const __pulumiType = "sst:aws:ApiGatewayV1ApiKey";
|
|
53
|
-
// @ts-expect-error
|
|
54
|
-
ApiGatewayV1ApiKey.__pulumiType = __pulumiType;
|
|
55
|
-
//# sourceMappingURL=apigatewayv1-api-key.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigatewayv1-api-key.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigatewayv1-api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAezC;;;;;;;;;GASG;AACH,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAG/C,YACE,IAAY,EACZ,IAAgB,EAChB,OAAiC,EAAE;QAEnC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC;QAElB,IAAI,CAAC,GAAG,GAAG,IAAI,UAAU,CAAC,MAAM,CAC9B,GAAG,IAAI,QAAQ,EACf;YACE,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAC;QAEF,IAAI,UAAU,CAAC,YAAY,CACzB,GAAG,IAAI,cAAc,EACrB;YACE,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE;YAClB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,OAAO;YACL;;eAEG;YACH,MAAM,EAAE,IAAI,CAAC,GAAG;SACjB,CAAC;IACJ,CAAC;IAED,gBAAgB;IACT,UAAU;QACf,OAAO;YACL,UAAU,EAAE;gBACV,KAAK,EAAE,IAAI,CAAC,KAAK;aAClB;SACF,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAClD,mBAAmB;AACnB,kBAAkB,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { interpolate, output, } from "@pulumi/pulumi";
|
|
2
|
-
import { Component, transform } from "../component";
|
|
3
|
-
import { VisibleError } from "../error";
|
|
4
|
-
import { apigateway, lambda } from "@pulumi/aws";
|
|
5
|
-
import { functionBuilder } from "./helpers/function-builder";
|
|
6
|
-
/**
|
|
7
|
-
* The `ApiGatewayV1Authorizer` component is internally used by the `ApiGatewayV1` component
|
|
8
|
-
* to add authorizers to [Amazon API Gateway REST API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html).
|
|
9
|
-
*
|
|
10
|
-
* :::note
|
|
11
|
-
* This component is not intended to be created directly.
|
|
12
|
-
* :::
|
|
13
|
-
*
|
|
14
|
-
* You'll find this component returned by the `addAuthorizer` method of the `ApiGatewayV1` component.
|
|
15
|
-
*/
|
|
16
|
-
export class ApiGatewayV1Authorizer extends Component {
|
|
17
|
-
constructor(name, args, opts = {}) {
|
|
18
|
-
super(__pulumiType, name, args, opts);
|
|
19
|
-
const self = this;
|
|
20
|
-
const api = output(args.api);
|
|
21
|
-
validateSingleAuthorizer();
|
|
22
|
-
const type = getType();
|
|
23
|
-
const fn = createFunction();
|
|
24
|
-
const authorizer = createAuthorizer();
|
|
25
|
-
createPermission();
|
|
26
|
-
this.fn = fn;
|
|
27
|
-
this.authorizer = authorizer;
|
|
28
|
-
function validateSingleAuthorizer() {
|
|
29
|
-
const authorizers = [
|
|
30
|
-
args.requestFunction,
|
|
31
|
-
args.tokenFunction,
|
|
32
|
-
args.userPools,
|
|
33
|
-
].filter((e) => e);
|
|
34
|
-
if (authorizers.length === 0)
|
|
35
|
-
throw new VisibleError(`Please provide one of "requestFunction", "tokenFunction", or "userPools" for the ${args.name} authorizer.`);
|
|
36
|
-
if (authorizers.length > 1) {
|
|
37
|
-
throw new VisibleError(`Please provide only one of "requestFunction", "tokenFunction", or "userPools" for the ${args.name} authorizer.`);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
function getType() {
|
|
41
|
-
if (args.tokenFunction)
|
|
42
|
-
return "TOKEN";
|
|
43
|
-
if (args.requestFunction)
|
|
44
|
-
return "REQUEST";
|
|
45
|
-
if (args.userPools)
|
|
46
|
-
return "COGNITO_USER_POOLS";
|
|
47
|
-
}
|
|
48
|
-
function createFunction() {
|
|
49
|
-
var _a;
|
|
50
|
-
const fn = (_a = args.tokenFunction) !== null && _a !== void 0 ? _a : args.requestFunction;
|
|
51
|
-
if (!fn)
|
|
52
|
-
return;
|
|
53
|
-
return functionBuilder(`${name}Handler`, fn, {
|
|
54
|
-
description: interpolate `${api.name} authorizer`,
|
|
55
|
-
}, undefined, { parent: self });
|
|
56
|
-
}
|
|
57
|
-
function createPermission() {
|
|
58
|
-
if (!fn)
|
|
59
|
-
return;
|
|
60
|
-
return new lambda.Permission(`${name}Permission`, {
|
|
61
|
-
action: "lambda:InvokeFunction",
|
|
62
|
-
function: fn.arn,
|
|
63
|
-
principal: "apigateway.amazonaws.com",
|
|
64
|
-
sourceArn: interpolate `${api.executionArn}/authorizers/${authorizer.id}`,
|
|
65
|
-
}, { parent: self });
|
|
66
|
-
}
|
|
67
|
-
function createAuthorizer() {
|
|
68
|
-
var _a;
|
|
69
|
-
return new apigateway.Authorizer(...transform((_a = args.transform) === null || _a === void 0 ? void 0 : _a.authorizer, `${name}Authorizer`, {
|
|
70
|
-
restApi: api.id,
|
|
71
|
-
type,
|
|
72
|
-
name: args.name,
|
|
73
|
-
providerArns: args.userPools,
|
|
74
|
-
authorizerUri: fn === null || fn === void 0 ? void 0 : fn.invokeArn,
|
|
75
|
-
authorizerResultTtlInSeconds: args.ttl,
|
|
76
|
-
identitySource: args.identitySource,
|
|
77
|
-
}, { parent: self }));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* The ID of the authorizer.
|
|
82
|
-
*/
|
|
83
|
-
get id() {
|
|
84
|
-
return this.authorizer.id;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
88
|
-
*/
|
|
89
|
-
get nodes() {
|
|
90
|
-
const self = this;
|
|
91
|
-
return {
|
|
92
|
-
/**
|
|
93
|
-
* The API Gateway Authorizer.
|
|
94
|
-
*/
|
|
95
|
-
authorizer: this.authorizer,
|
|
96
|
-
/**
|
|
97
|
-
* The Lambda function used by the authorizer.
|
|
98
|
-
*/
|
|
99
|
-
get function() {
|
|
100
|
-
if (!self.fn)
|
|
101
|
-
throw new VisibleError("Cannot access `nodes.function` because the data source does not use a Lambda function.");
|
|
102
|
-
return self.fn.apply((fn) => fn.getFunction());
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
const __pulumiType = "sst:aws:ApiGatewayV1Authorizer";
|
|
108
|
-
// @ts-expect-error
|
|
109
|
-
ApiGatewayV1Authorizer.__pulumiType = __pulumiType;
|
|
110
|
-
//# sourceMappingURL=apigatewayv1-authorizer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigatewayv1-authorizer.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigatewayv1-author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;gBACf,YAAY,EAAE,IAAI,CAAC,SAAS;gBAC5B,aAAa,EAAE,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,SAAS;gBAC5B,4BAA4B,EAAE,IAAI,CAAC,GAAG;gBACtC,cAAc,EAAE,IAAI,CAAC,cAAc;aACpC,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACH,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,OAAO;YACL;;eAEG;YACH,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B;;eAEG;YACH,IAAI,QAAQ;gBACV,IAAI,CAAC,IAAI,CAAC,EAAE;oBACV,MAAM,IAAI,YAAY,CACpB,wFAAwF,CACzF,CAAC;gBACJ,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;YACjD,CAAC;SACF,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,gCAAgC,CAAC;AACtD,mBAAmB;AACnB,sBAAsB,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { output } from "@pulumi/pulumi";
|
|
2
|
-
import { transform } from "../component";
|
|
3
|
-
import { apigateway } from "@pulumi/aws";
|
|
4
|
-
export function createMethod(name, args, parent) {
|
|
5
|
-
const { api, method, resourceId, auth, apiKey } = args;
|
|
6
|
-
const authArgs = output(auth).apply((auth) => {
|
|
7
|
-
if (!auth)
|
|
8
|
-
return { authorization: "NONE" };
|
|
9
|
-
if (auth.iam)
|
|
10
|
-
return { authorization: "AWS_IAM" };
|
|
11
|
-
if (auth.custom)
|
|
12
|
-
return { authorization: "CUSTOM", authorizerId: auth.custom };
|
|
13
|
-
if (auth.cognito)
|
|
14
|
-
return {
|
|
15
|
-
authorization: "COGNITO_USER_POOLS",
|
|
16
|
-
authorizerId: auth.cognito.authorizer,
|
|
17
|
-
authorizationScopes: auth.cognito.scopes,
|
|
18
|
-
};
|
|
19
|
-
return { authorization: "NONE" };
|
|
20
|
-
});
|
|
21
|
-
return authArgs.apply((authArgs) => {
|
|
22
|
-
var _a;
|
|
23
|
-
return new apigateway.Method(...transform((_a = args.transform) === null || _a === void 0 ? void 0 : _a.method, `${name}Method`, {
|
|
24
|
-
restApi: output(api).id,
|
|
25
|
-
resourceId: resourceId,
|
|
26
|
-
httpMethod: method,
|
|
27
|
-
authorization: authArgs.authorization,
|
|
28
|
-
authorizerId: authArgs.authorizerId,
|
|
29
|
-
authorizationScopes: authArgs.authorizationScopes,
|
|
30
|
-
apiKeyRequired: apiKey,
|
|
31
|
-
}, { parent }));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=apigatewayv1-base-route.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigatewayv1-base-route.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigatewayv1-base-route.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAmCzC,MAAM,UAAU,YAAY,CAC1B,IAAY,EACZ,IAA+B,EAC/B,MAAiB;IAEjB,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAEvD,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE;QAC3C,IAAI,CAAC,IAAI;YAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC;QAC5C,IAAI,IAAI,CAAC,GAAG;YAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;QAClD,IAAI,IAAI,CAAC,MAAM;YACb,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;QAChE,IAAI,IAAI,CAAC,OAAO;YACd,OAAO;gBACL,aAAa,EAAE,oBAAoB;gBACnC,YAAY,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU;gBACrC,mBAAmB,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM;aACzC,CAAC;QACJ,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC;IACnC,CAAC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC,KAAK,CACnB,CAAC,QAAQ,EAAE,EAAE;;QACX,OAAA,IAAI,UAAU,CAAC,MAAM,CACnB,GAAG,SAAS,CACV,MAAA,IAAI,CAAC,SAAS,0CAAE,MAAM,EACtB,GAAG,IAAI,QAAQ,EACf;YACE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE;YACvB,UAAU,EAAE,UAAU;YACtB,UAAU,EAAE,MAAM;YAClB,aAAa,EAAE,QAAQ,CAAC,aAAa;YACrC,YAAY,EAAE,QAAQ,CAAC,YAAY;YACnC,mBAAmB,EAAE,QAAQ,CAAC,mBAAmB;YACjD,cAAc,EAAE,MAAM;SACvB,EACD,EAAE,MAAM,EAAE,CACX,CACF,CAAA;KAAA,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { output, } from "@pulumi/pulumi";
|
|
2
|
-
import { Component, transform } from "../component";
|
|
3
|
-
import { apigateway } from "@pulumi/aws";
|
|
4
|
-
import { createMethod, } from "./apigatewayv1-base-route";
|
|
5
|
-
/**
|
|
6
|
-
* The `ApiGatewayV1IntegrationRoute` component is internally used by the `ApiGatewayV1` component
|
|
7
|
-
* to add routes to your [API Gateway REST API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html).
|
|
8
|
-
*
|
|
9
|
-
* :::note
|
|
10
|
-
* This component is not intended to be created directly.
|
|
11
|
-
* :::
|
|
12
|
-
*
|
|
13
|
-
* You'll find this component returned by the `routeIntegration` method of the `ApiGatewayV1` component.
|
|
14
|
-
*/
|
|
15
|
-
export class ApiGatewayV1IntegrationRoute extends Component {
|
|
16
|
-
constructor(name, args, opts) {
|
|
17
|
-
super(__pulumiType, name, args, opts);
|
|
18
|
-
const self = this;
|
|
19
|
-
const api = output(args.api);
|
|
20
|
-
const method = createMethod(name, args, self);
|
|
21
|
-
const integration = createIntegration();
|
|
22
|
-
this.method = method;
|
|
23
|
-
this.integration = integration;
|
|
24
|
-
function createIntegration() {
|
|
25
|
-
var _a;
|
|
26
|
-
return new apigateway.Integration(...transform((_a = args.transform) === null || _a === void 0 ? void 0 : _a.integration, `${name}Integration`, Object.assign(Object.assign({ restApi: api.id, resourceId: args.resourceId, httpMethod: method.httpMethod }, args.integration), { type: output(args.integration.type).apply((v) => v.toUpperCase().replaceAll("-", "_")), passthroughBehavior: args.integration.passthroughBehavior &&
|
|
27
|
-
output(args.integration.passthroughBehavior).apply((v) => v.toUpperCase().replaceAll("-", "_")) }), { parent: self }));
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
32
|
-
*/
|
|
33
|
-
get nodes() {
|
|
34
|
-
return {
|
|
35
|
-
/**
|
|
36
|
-
* The API Gateway REST API integration.
|
|
37
|
-
*/
|
|
38
|
-
integration: this.integration,
|
|
39
|
-
/**
|
|
40
|
-
* The API Gateway REST API method.
|
|
41
|
-
*/
|
|
42
|
-
method: this.method,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
const __pulumiType = "sst:aws:ApiGatewayV1IntegrationRoute";
|
|
47
|
-
// @ts-expect-error
|
|
48
|
-
ApiGatewayV1IntegrationRoute.__pulumiType = __pulumiType;
|
|
49
|
-
//# sourceMappingURL=apigatewayv1-integration-route.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigatewayv1-integration-route.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigatewayv1-integration-route.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,GACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAEL,YAAY,GACb,MAAM,2BAA2B,CAAC;AASnC;;;;;;;;;GASG;AACH,MAAM,OAAO,4BAA6B,SAAQ,SAAS;IAIzD,YAAY,IAAY,EAAE,IAAU,EAAE,IAA+B;QACnE,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAE7B,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC9C,MAAM,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAExC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,SAAS,iBAAiB;;YACxB,OAAO,IAAI,UAAU,CAAC,WAAW,CAC/B,GAAG,SAAS,CACV,MAAA,IAAI,CAAC,SAAS,0CAAE,WAAW,EAC3B,GAAG,IAAI,aAAa,gCAElB,OAAO,EAAE,GAAG,CAAC,EAAE,EACf,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,UAAU,EAAE,MAAM,CAAC,UAAU,IAC1B,IAAI,CAAC,WAAW,KACnB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAC9C,CAAC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CACrC,EACD,mBAAmB,EACjB,IAAI,CAAC,WAAW,CAAC,mBAAmB;oBACpC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CACvD,CAAC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CACrC,KAEL,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,OAAO;YACL;;eAEG;YACH,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B;;eAEG;YACH,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,sCAAsC,CAAC;AAC5D,mBAAmB;AACnB,4BAA4B,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { interpolate, output, } from "@pulumi/pulumi";
|
|
2
|
-
import { Component, transform } from "../component";
|
|
3
|
-
import { apigateway, lambda } from "@pulumi/aws";
|
|
4
|
-
import { createMethod, } from "./apigatewayv1-base-route";
|
|
5
|
-
import { functionBuilder } from "./helpers/function-builder";
|
|
6
|
-
/**
|
|
7
|
-
* The `ApiGatewayV1LambdaRoute` component is internally used by the `ApiGatewayV1` component
|
|
8
|
-
* to add routes to your [API Gateway REST API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html).
|
|
9
|
-
*
|
|
10
|
-
* :::note
|
|
11
|
-
* This component is not intended to be created directly.
|
|
12
|
-
* :::
|
|
13
|
-
*
|
|
14
|
-
* You'll find this component returned by the `route` method of the `ApiGatewayV1` component.
|
|
15
|
-
*/
|
|
16
|
-
export class ApiGatewayV1LambdaRoute extends Component {
|
|
17
|
-
constructor(name, args, opts) {
|
|
18
|
-
super(__pulumiType, name, args, opts);
|
|
19
|
-
const self = this;
|
|
20
|
-
const api = output(args.api);
|
|
21
|
-
const method = createMethod(name, args, self);
|
|
22
|
-
const fn = createFunction();
|
|
23
|
-
const permission = createPermission();
|
|
24
|
-
const integration = createIntegration();
|
|
25
|
-
this.fn = fn;
|
|
26
|
-
this.permission = permission;
|
|
27
|
-
this.method = method;
|
|
28
|
-
this.integration = integration;
|
|
29
|
-
function createFunction() {
|
|
30
|
-
const { method, path } = args;
|
|
31
|
-
return functionBuilder(`${name}Handler`, args.handler, {
|
|
32
|
-
description: interpolate `${api.name} route ${method} ${path}`,
|
|
33
|
-
}, args.handlerTransform, { parent: self });
|
|
34
|
-
}
|
|
35
|
-
function createPermission() {
|
|
36
|
-
return new lambda.Permission(`${name}Permissions`, {
|
|
37
|
-
action: "lambda:InvokeFunction",
|
|
38
|
-
function: fn.arn,
|
|
39
|
-
principal: "apigateway.amazonaws.com",
|
|
40
|
-
sourceArn: interpolate `${api.executionArn}/*`,
|
|
41
|
-
}, { parent: self });
|
|
42
|
-
}
|
|
43
|
-
function createIntegration() {
|
|
44
|
-
var _a;
|
|
45
|
-
return new apigateway.Integration(...transform((_a = args.transform) === null || _a === void 0 ? void 0 : _a.integration, `${name}Integration`, {
|
|
46
|
-
restApi: api.id,
|
|
47
|
-
resourceId: args.resourceId,
|
|
48
|
-
httpMethod: method.httpMethod,
|
|
49
|
-
integrationHttpMethod: "POST",
|
|
50
|
-
type: "AWS_PROXY",
|
|
51
|
-
uri: fn.invokeArn,
|
|
52
|
-
}, { parent: self, dependsOn: [permission] }));
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
57
|
-
*/
|
|
58
|
-
get nodes() {
|
|
59
|
-
const self = this;
|
|
60
|
-
return {
|
|
61
|
-
/**
|
|
62
|
-
* The Lambda function.
|
|
63
|
-
*/
|
|
64
|
-
get function() {
|
|
65
|
-
return self.fn.apply((fn) => fn.getFunction());
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* The Lambda permission.
|
|
69
|
-
*/
|
|
70
|
-
permission: this.permission,
|
|
71
|
-
/**
|
|
72
|
-
* The API Gateway REST API integration.
|
|
73
|
-
*/
|
|
74
|
-
integration: this.integration,
|
|
75
|
-
/**
|
|
76
|
-
* The API Gateway REST API method.
|
|
77
|
-
*/
|
|
78
|
-
method: this.method,
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
const __pulumiType = "sst:aws:ApiGatewayV1LambdaRoute";
|
|
83
|
-
// @ts-expect-error
|
|
84
|
-
ApiGatewayV1LambdaRoute.__pulumiType = __pulumiType;
|
|
85
|
-
//# sourceMappingURL=apigatewayv1-lambda-route.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigatewayv1-lambda-route.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigatewayv1-lambda-route.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,WAAW,EACX,MAAM,GACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAEL,YAAY,GACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAmB,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAa9E;;;;;;;;;GASG;AACH,MAAM,OAAO,uBAAwB,SAAQ,SAAS;IAMpD,YAAY,IAAY,EAAE,IAAU,EAAE,IAA+B;QACnE,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,IA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GAAG,IAAI,aAAa,EACpB;gBACE,OAAO,EAAE,GAAG,CAAC,EAAE;gBACf,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,qBAAqB,EAAE,MAAM;gBAC7B,IAAI,EAAE,WAAW;gBACjB,GAAG,EAAE,EAAE,CAAC,SAAS;aAClB,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,CAC1C,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,OAAO;YACL;;eAEG;YACH,IAAI,QAAQ;gBACV,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;YACjD,CAAC;YACD;;eAEG;YACH,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B;;eAEG;YACH,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B;;eAEG;YACH,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,iCAAiC,CAAC;AACvD,mBAAmB;AACnB,uBAAuB,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { apigateway } from "@pulumi/aws";
|
|
2
|
-
import { output } from "@pulumi/pulumi";
|
|
3
|
-
import { Component } from "../component";
|
|
4
|
-
import { ApiGatewayV1ApiKey } from "./apigatewayv1-api-key";
|
|
5
|
-
/**
|
|
6
|
-
* The `ApiGatewayV1UsagePlan` component is internally used by the `ApiGatewayV1` component
|
|
7
|
-
* to add usage plans to [Amazon API Gateway REST API](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html).
|
|
8
|
-
*
|
|
9
|
-
* :::note
|
|
10
|
-
* This component is not intended to be created directly.
|
|
11
|
-
* :::
|
|
12
|
-
*
|
|
13
|
-
* You'll find this component returned by the `addUsagePlan` method of the `ApiGatewayV1` component.
|
|
14
|
-
*/
|
|
15
|
-
export class ApiGatewayV1UsagePlan extends Component {
|
|
16
|
-
constructor(name, args, opts = {}) {
|
|
17
|
-
super(__pulumiType, name, args, opts);
|
|
18
|
-
const self = this;
|
|
19
|
-
this.plan = new apigateway.UsagePlan(`${name}UsagePlan`, {
|
|
20
|
-
apiStages: [{ apiId: args.apiId, stage: args.apiStage }],
|
|
21
|
-
quotaSettings: args.quota &&
|
|
22
|
-
output(args.quota).apply((quota) => ({
|
|
23
|
-
limit: quota.limit,
|
|
24
|
-
period: quota.period.toUpperCase(),
|
|
25
|
-
offset: quota.offset,
|
|
26
|
-
})),
|
|
27
|
-
throttleSettings: args.throttle &&
|
|
28
|
-
output(args.throttle).apply((throttle) => ({
|
|
29
|
-
burstLimit: throttle.burst,
|
|
30
|
-
rateLimit: throttle.rate,
|
|
31
|
-
})),
|
|
32
|
-
}, { parent: self });
|
|
33
|
-
this.constructorArgs = args;
|
|
34
|
-
this.constructorOpts = opts;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
38
|
-
*/
|
|
39
|
-
get nodes() {
|
|
40
|
-
return {
|
|
41
|
-
/**
|
|
42
|
-
* The API Gateway Usage Plan.
|
|
43
|
-
*/
|
|
44
|
-
usagePlan: this.plan,
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Add an API key to the API Gateway usage plan.
|
|
49
|
-
*
|
|
50
|
-
* @param name The name of the API key.
|
|
51
|
-
* @param args Configure the API key.
|
|
52
|
-
* @example
|
|
53
|
-
* ```js title="sst.config.ts"
|
|
54
|
-
* plan.addApiKey("MyKey", {
|
|
55
|
-
* value: "d41d8cd98f00b204e9800998ecf8427e",
|
|
56
|
-
* });
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
addApiKey(name, args) {
|
|
60
|
-
return new ApiGatewayV1ApiKey(name, Object.assign({ apiId: this.constructorArgs.apiId, usagePlanId: this.plan.id }, args), { provider: this.constructorOpts.provider });
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
const __pulumiType = "sst:aws:ApiGatewayV1UsagePlan";
|
|
64
|
-
// @ts-expect-error
|
|
65
|
-
ApiGatewayV1UsagePlan.__pulumiType = __pulumiType;
|
|
66
|
-
//# sourceMappingURL=apigatewayv1-usage-plan.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apigatewayv1-usage-plan.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/apigatewayv1-usage-plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAmC,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAa5D;;;;;;;;;GASG;AACH,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAKlD,YACE,IAAY,EACZ,IAAmB,EACnB,OAAiC,EAAE;QAEnC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC;QAElB,IAAI,CAAC,IAAI,GAAG,IAAI,UAAU,CAAC,SAAS,CAClC,GAAG,IAAI,WAAW,EAClB;YACE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACxD,aAAa,EACX,IAAI,CAAC,KAAK;gBACV,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;oB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