@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,54 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { dynamic } from "@pulumi/pulumi";
|
|
11
|
-
import { cfFetch } from "../helpers/fetch.js";
|
|
12
|
-
class Provider {
|
|
13
|
-
create(inputs) {
|
|
14
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
const { zoneId, zoneName } = yield this.lookup(inputs);
|
|
16
|
-
return { id: zoneId, outs: { zoneId, zoneName } };
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
update(id, olds, news) {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const { zoneId, zoneName } = yield this.lookup(news);
|
|
22
|
-
return { outs: { zoneId, zoneName } };
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
lookup(inputs_1) {
|
|
26
|
-
return __awaiter(this, arguments, void 0, function* (inputs, page = 1) {
|
|
27
|
-
try {
|
|
28
|
-
const qs = new URLSearchParams({
|
|
29
|
-
per_page: "50",
|
|
30
|
-
"account.id": inputs.accountId,
|
|
31
|
-
}).toString();
|
|
32
|
-
const ret = yield cfFetch(`/zones?${qs}`, { headers: { "Content-Type": "application/json" } });
|
|
33
|
-
const zone = ret.result.find(
|
|
34
|
-
// ensure `example.com` does not match `myexample.com`
|
|
35
|
-
(z) => inputs.domain === z.name || inputs.domain.endsWith(`.${z.name}`));
|
|
36
|
-
if (zone)
|
|
37
|
-
return { zoneId: zone.id, zoneName: zone.name };
|
|
38
|
-
if (ret.result.length < ret.result_info.per_page)
|
|
39
|
-
throw new Error(`Could not find hosted zone for domain ${inputs.domain}`);
|
|
40
|
-
return this.lookup(inputs, page + 1);
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
console.log(error);
|
|
44
|
-
throw error;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export class ZoneLookup extends dynamic.Resource {
|
|
50
|
-
constructor(name, args, opts) {
|
|
51
|
-
super(new Provider(), `${name}.sst.cloudflare.ZoneLookup`, Object.assign(Object.assign({}, args), { zoneId: undefined, zoneName: undefined }), opts);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=zone-lookup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zone-lookup.js","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/providers/zone-lookup.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAwC,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAsB9C,MAAM,QAAQ;IACN,MAAM,CAAC,MAAc;;YACzB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACvD,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;QACpD,CAAC;KAAA;IAEK,MAAM,CACV,EAAU,EACV,IAAY,EACZ,IAAY;;YAEZ,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACrD,OAAO,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;QACxC,CAAC;KAAA;IAEK,MAAM;6DACV,MAAc,EACd,IAAI,GAAG,CAAC;YAER,IAAI,CAAC;gBACH,MAAM,EAAE,GAAG,IAAI,eAAe,CAAC;oBAC7B,QAAQ,EAAE,IAAI;oBACd,YAAY,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|
|
1
|
-
import * as cloudflare from "@pulumi/cloudflare";
|
|
2
|
-
import { Component, transform } from "../component";
|
|
3
|
-
import { binding } from "./binding";
|
|
4
|
-
import { DEFAULT_ACCOUNT_ID } from "./account-id";
|
|
5
|
-
/**
|
|
6
|
-
* The `Queue` component lets you add a [Cloudflare Queue](https://developers.cloudflare.com/queues/) to
|
|
7
|
-
* your app.
|
|
8
|
-
*/
|
|
9
|
-
export class Queue extends Component {
|
|
10
|
-
constructor(name, args, opts) {
|
|
11
|
-
super(__pulumiType, name, args, opts);
|
|
12
|
-
const parent = this;
|
|
13
|
-
const queue = create();
|
|
14
|
-
this.queue = queue;
|
|
15
|
-
function create() {
|
|
16
|
-
var _a;
|
|
17
|
-
return new cloudflare.Queue(...transform((_a = args === null || args === void 0 ? void 0 : args.transform) === null || _a === void 0 ? void 0 : _a.queue, `${name}Queue`, {
|
|
18
|
-
queueName: "",
|
|
19
|
-
accountId: DEFAULT_ACCOUNT_ID,
|
|
20
|
-
}, { parent }));
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
getSSTLink() {
|
|
24
|
-
return {
|
|
25
|
-
properties: {},
|
|
26
|
-
include: [
|
|
27
|
-
binding({
|
|
28
|
-
type: "queueBindings",
|
|
29
|
-
properties: {
|
|
30
|
-
queue: this.queue.queueName,
|
|
31
|
-
},
|
|
32
|
-
}),
|
|
33
|
-
],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* The generated id of the queue
|
|
38
|
-
*/
|
|
39
|
-
get id() {
|
|
40
|
-
return this.queue.id;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
44
|
-
*/
|
|
45
|
-
get nodes() {
|
|
46
|
-
return {
|
|
47
|
-
/**
|
|
48
|
-
* The Cloudflare queue.
|
|
49
|
-
*/
|
|
50
|
-
queue: this.queue,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
const __pulumiType = "sst:cloudflare:Queue";
|
|
55
|
-
// @ts-expect-error
|
|
56
|
-
Queue.__pulumiType = __pulumiType;
|
|
57
|
-
//# sourceMappingURL=queue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/queue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAa,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAelD;;;GAGG;AACH,MAAM,OAAO,KAAM,SAAQ,SAAS;IAGlC,YAAY,IAAY,EAAE,IAAgB,EAAE,IAA+B;QACzE,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,MAAM,GAAG,IAAI,CAAC;QAEpB,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC;QAEvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,SAAS,MAAM;;YACb,OAAO,IAAI,UAAU,CAAC,KAAK,CACzB,GAAG,SAAS,CACV,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,0CAAE,KAAK,EACtB,GAAG,IAAI,OAAO,EACd;gBACE,SAAS,EAAE,EAAE;gBACb,SAAS,EAAE,kBAAkB;aAC9B,EACD,EAAE,MAAM,EAAE,CACX,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IAED,UAAU;QACR,OAAO;YACL,UAAU,EAAE,EAAE;YACd,OAAO,EAAE;gBACP,OAAO,CAAC;oBACN,IAAI,EAAE,eAAe;oBACrB,UAAU,EAAE;wBACV,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;qBAC5B;iBACF,CAAC;aACH;SACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAW,EAAE;QACX,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,IAAW,KAAK;QACd,OAAO;YACL;;eAEG;YACH,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAC5C,mBAAmB;AACnB,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
|
|
2
|
-
import { SsrSiteArgs } from "./ssr-site.js";
|
|
3
|
-
import { Component } from "../component.js";
|
|
4
|
-
import { Link } from "../link.js";
|
|
5
|
-
import { Kv } from "./kv.js";
|
|
6
|
-
import { Worker } from "./worker.js";
|
|
7
|
-
export interface RemixArgs extends SsrSiteArgs {
|
|
8
|
-
/**
|
|
9
|
-
* Configure how the Remix app assets are uploaded to S3.
|
|
10
|
-
*
|
|
11
|
-
* By default, this is set to the following. Read more about these options below.
|
|
12
|
-
* ```js
|
|
13
|
-
* {
|
|
14
|
-
* assets: {
|
|
15
|
-
* textEncoding: "utf-8",
|
|
16
|
-
* versionedFilesCacheHeader: "public,max-age=31536000,immutable",
|
|
17
|
-
* nonVersionedFilesCacheHeader: "public,max-age=0,s-maxage=86400,stale-while-revalidate=8640"
|
|
18
|
-
* }
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
assets?: SsrSiteArgs["assets"];
|
|
23
|
-
/**
|
|
24
|
-
* The command used internally to build your Remix app.
|
|
25
|
-
*
|
|
26
|
-
* @default Dynamically determined based on the presence of package manager lock files. If "yarn.lock" is found, defaults to "yarn run build". If "pnpm-lock.yaml" is found, defaults to "pnpm run build". If "bun.lockb" is found, defaults to "bun run build". If "package-lock.json" is found, defaults to "npm run build".
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
*
|
|
30
|
-
* If you want to use a different build command.
|
|
31
|
-
* ```js
|
|
32
|
-
* {
|
|
33
|
-
* buildCommand: "npm run custom-build"
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
buildCommand?: SsrSiteArgs["buildCommand"];
|
|
38
|
-
/**
|
|
39
|
-
* Set a custom domain for your Remix app. Supports domains hosted either on
|
|
40
|
-
* [Route 53](https://aws.amazon.com/route53/) or outside AWS.
|
|
41
|
-
*
|
|
42
|
-
* :::tip
|
|
43
|
-
* You can also migrate an externally hosted domain to Amazon Route 53 by
|
|
44
|
-
* [following this guide](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html).
|
|
45
|
-
* :::
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
*
|
|
49
|
-
* ```js
|
|
50
|
-
* {
|
|
51
|
-
* domain: "domain.com"
|
|
52
|
-
* }
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* Specify a `www.` version of the custom domain.
|
|
56
|
-
*
|
|
57
|
-
* ```js
|
|
58
|
-
* {
|
|
59
|
-
* domain: {
|
|
60
|
-
* name: "domain.com",
|
|
61
|
-
* redirects: ["www.domain.com"]
|
|
62
|
-
* }
|
|
63
|
-
* }
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
domain?: SsrSiteArgs["domain"];
|
|
67
|
-
/**
|
|
68
|
-
* Set [environment variables](https://remix.run/docs/en/main/guides/envvars) in your Remix app. These are made available:
|
|
69
|
-
*
|
|
70
|
-
* 1. In `remix build`, they are loaded into `process.env`.
|
|
71
|
-
* 2. Locally while running `sst dev remix dev`.
|
|
72
|
-
*
|
|
73
|
-
* :::tip
|
|
74
|
-
* You can also `link` resources to your Remix app and access them in a type-safe way with the [SDK](/docs/reference/sdk/). We recommend linking since it's more secure.
|
|
75
|
-
* :::
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* ```js
|
|
79
|
-
* {
|
|
80
|
-
* environment: {
|
|
81
|
-
* API_URL: api.url,
|
|
82
|
-
* STRIPE_PUBLISHABLE_KEY: "pk_test_123"
|
|
83
|
-
* }
|
|
84
|
-
* }
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
environment?: SsrSiteArgs["environment"];
|
|
88
|
-
/**
|
|
89
|
-
* [Link resources](/docs/linking/) to your Remix app. This will:
|
|
90
|
-
*
|
|
91
|
-
* 1. Grant the permissions needed to access the resources.
|
|
92
|
-
* 2. Allow you to access it in your site using the [SDK](/docs/reference/sdk/).
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
*
|
|
96
|
-
* Takes a list of resources to link to the function.
|
|
97
|
-
*
|
|
98
|
-
* ```js
|
|
99
|
-
* {
|
|
100
|
-
* link: [bucket, stripeKey]
|
|
101
|
-
* }
|
|
102
|
-
* ```
|
|
103
|
-
*/
|
|
104
|
-
link?: SsrSiteArgs["link"];
|
|
105
|
-
/**
|
|
106
|
-
* Path to the directory where your Remix app is located. This path is relative to your `sst.config.ts`.
|
|
107
|
-
*
|
|
108
|
-
* By default it assumes your Remix app is in the root of your SST app.
|
|
109
|
-
* @default `"."`
|
|
110
|
-
*
|
|
111
|
-
* @example
|
|
112
|
-
*
|
|
113
|
-
* If your Remix app is in a package in your monorepo.
|
|
114
|
-
*
|
|
115
|
-
* ```js
|
|
116
|
-
* {
|
|
117
|
-
* path: "packages/web"
|
|
118
|
-
* }
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
path?: SsrSiteArgs["path"];
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* The `Remix` component lets you deploy a [Remix](https://remix.run) app to AWS.
|
|
125
|
-
*
|
|
126
|
-
* @example
|
|
127
|
-
*
|
|
128
|
-
* #### Minimal example
|
|
129
|
-
*
|
|
130
|
-
* Deploy a Remix app that's in the project root.
|
|
131
|
-
*
|
|
132
|
-
* ```js
|
|
133
|
-
* new sst.aws.Remix("MyWeb");
|
|
134
|
-
* ```
|
|
135
|
-
*
|
|
136
|
-
* #### Change the path
|
|
137
|
-
*
|
|
138
|
-
* Deploys the Remix app in the `my-remix-app/` directory.
|
|
139
|
-
*
|
|
140
|
-
* ```js {2}
|
|
141
|
-
* new sst.aws.Remix("MyWeb", {
|
|
142
|
-
* path: "my-remix-app/"
|
|
143
|
-
* });
|
|
144
|
-
* ```
|
|
145
|
-
*
|
|
146
|
-
* #### Add a custom domain
|
|
147
|
-
*
|
|
148
|
-
* Set a custom domain for your Remix app.
|
|
149
|
-
*
|
|
150
|
-
* ```js {2}
|
|
151
|
-
* new sst.aws.Remix("MyWeb", {
|
|
152
|
-
* domain: "my-app.com"
|
|
153
|
-
* });
|
|
154
|
-
* ```
|
|
155
|
-
*
|
|
156
|
-
* #### Redirect www to apex domain
|
|
157
|
-
*
|
|
158
|
-
* Redirect `www.my-app.com` to `my-app.com`.
|
|
159
|
-
*
|
|
160
|
-
* ```js {4}
|
|
161
|
-
* new sst.aws.Remix("MyWeb", {
|
|
162
|
-
* domain: {
|
|
163
|
-
* name: "my-app.com",
|
|
164
|
-
* redirects: ["www.my-app.com"]
|
|
165
|
-
* }
|
|
166
|
-
* });
|
|
167
|
-
* ```
|
|
168
|
-
*
|
|
169
|
-
* #### Link resources
|
|
170
|
-
*
|
|
171
|
-
* [Link resources](/docs/linking/) to your Remix app. This will grant permissions
|
|
172
|
-
* to the resources and allow you to access it in your app.
|
|
173
|
-
*
|
|
174
|
-
* ```ts {4}
|
|
175
|
-
* const bucket = new sst.aws.Bucket("MyBucket");
|
|
176
|
-
*
|
|
177
|
-
* new sst.aws.Remix("MyWeb", {
|
|
178
|
-
* link: [bucket]
|
|
179
|
-
* });
|
|
180
|
-
* ```
|
|
181
|
-
*
|
|
182
|
-
* You can use the [SDK](/docs/reference/sdk/) to access the linked resources
|
|
183
|
-
* in your Remix app.
|
|
184
|
-
*
|
|
185
|
-
* ```ts title="app/root.tsx"
|
|
186
|
-
* import { Resource } from "sst";
|
|
187
|
-
*
|
|
188
|
-
* console.log(Resource.MyBucket.name);
|
|
189
|
-
* ```
|
|
190
|
-
*/
|
|
191
|
-
export declare class Remix extends Component implements Link.Linkable {
|
|
192
|
-
private assets;
|
|
193
|
-
private router;
|
|
194
|
-
private server;
|
|
195
|
-
constructor(name: string, args?: RemixArgs, opts?: ComponentResourceOptions);
|
|
196
|
-
/**
|
|
197
|
-
* The URL of the Remix app.
|
|
198
|
-
*
|
|
199
|
-
* If the `domain` is set, this is the URL with the custom domain.
|
|
200
|
-
* Otherwise, it's the auto-generated CloudFront URL.
|
|
201
|
-
*/
|
|
202
|
-
get url(): Output<string | undefined>;
|
|
203
|
-
/**
|
|
204
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
205
|
-
*/
|
|
206
|
-
get nodes(): {
|
|
207
|
-
/**
|
|
208
|
-
* The AWS Lambda server function that renders the site.
|
|
209
|
-
*/
|
|
210
|
-
server: Output<Worker>;
|
|
211
|
-
/**
|
|
212
|
-
* The Amazon S3 Bucket that stores the assets.
|
|
213
|
-
*/
|
|
214
|
-
assets: Kv;
|
|
215
|
-
};
|
|
216
|
-
/** @internal */
|
|
217
|
-
getSSTLink(): {
|
|
218
|
-
properties: {
|
|
219
|
-
url: Output<string | undefined>;
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
//# sourceMappingURL=remix.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remix.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/remix.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAO,MAAM,gBAAgB,CAAC;AACvE,OAAO,EACL,WAAW,EAKZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC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
|
4
|
-
import { createKvStorage, createRouter, prepare, validatePlan, } from "./ssr-site.js";
|
|
5
|
-
import { Component } from "../component.js";
|
|
6
|
-
import { Hint } from "../hint.js";
|
|
7
|
-
import { buildApp } from "../base/base-ssr-site.js";
|
|
8
|
-
import { pathToRegexp } from "../../util/path-to-regex.js";
|
|
9
|
-
/**
|
|
10
|
-
* The `Remix` component lets you deploy a [Remix](https://remix.run) app to AWS.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
*
|
|
14
|
-
* #### Minimal example
|
|
15
|
-
*
|
|
16
|
-
* Deploy a Remix app that's in the project root.
|
|
17
|
-
*
|
|
18
|
-
* ```js
|
|
19
|
-
* new sst.aws.Remix("MyWeb");
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* #### Change the path
|
|
23
|
-
*
|
|
24
|
-
* Deploys the Remix app in the `my-remix-app/` directory.
|
|
25
|
-
*
|
|
26
|
-
* ```js {2}
|
|
27
|
-
* new sst.aws.Remix("MyWeb", {
|
|
28
|
-
* path: "my-remix-app/"
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* #### Add a custom domain
|
|
33
|
-
*
|
|
34
|
-
* Set a custom domain for your Remix app.
|
|
35
|
-
*
|
|
36
|
-
* ```js {2}
|
|
37
|
-
* new sst.aws.Remix("MyWeb", {
|
|
38
|
-
* domain: "my-app.com"
|
|
39
|
-
* });
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* #### Redirect www to apex domain
|
|
43
|
-
*
|
|
44
|
-
* Redirect `www.my-app.com` to `my-app.com`.
|
|
45
|
-
*
|
|
46
|
-
* ```js {4}
|
|
47
|
-
* new sst.aws.Remix("MyWeb", {
|
|
48
|
-
* domain: {
|
|
49
|
-
* name: "my-app.com",
|
|
50
|
-
* redirects: ["www.my-app.com"]
|
|
51
|
-
* }
|
|
52
|
-
* });
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* #### Link resources
|
|
56
|
-
*
|
|
57
|
-
* [Link resources](/docs/linking/) to your Remix app. This will grant permissions
|
|
58
|
-
* to the resources and allow you to access it in your app.
|
|
59
|
-
*
|
|
60
|
-
* ```ts {4}
|
|
61
|
-
* const bucket = new sst.aws.Bucket("MyBucket");
|
|
62
|
-
*
|
|
63
|
-
* new sst.aws.Remix("MyWeb", {
|
|
64
|
-
* link: [bucket]
|
|
65
|
-
* });
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* You can use the [SDK](/docs/reference/sdk/) to access the linked resources
|
|
69
|
-
* in your Remix app.
|
|
70
|
-
*
|
|
71
|
-
* ```ts title="app/root.tsx"
|
|
72
|
-
* import { Resource } from "sst";
|
|
73
|
-
*
|
|
74
|
-
* console.log(Resource.MyBucket.name);
|
|
75
|
-
* ```
|
|
76
|
-
*/
|
|
77
|
-
export class Remix extends Component {
|
|
78
|
-
constructor(name, args = {}, opts = {}) {
|
|
79
|
-
super(__pulumiType, name, args, opts);
|
|
80
|
-
const parent = this;
|
|
81
|
-
const { sitePath } = prepare(args);
|
|
82
|
-
const isUsingVite = checkIsUsingVite();
|
|
83
|
-
const storage = createKvStorage(parent, name, args);
|
|
84
|
-
const outputPath = $dev ? sitePath : buildApp(parent, name, args, sitePath);
|
|
85
|
-
const { buildMeta } = loadBuildOutput();
|
|
86
|
-
const plan = buildPlan();
|
|
87
|
-
const { router, server } = createRouter(parent, name, args, outputPath, storage, plan);
|
|
88
|
-
this.assets = storage;
|
|
89
|
-
this.router = router;
|
|
90
|
-
this.server = server;
|
|
91
|
-
if (!$dev) {
|
|
92
|
-
Hint.register(this.urn, this.url);
|
|
93
|
-
}
|
|
94
|
-
this.registerOutputs({
|
|
95
|
-
_metadata: {
|
|
96
|
-
mode: $dev ? "placeholder" : "deployed",
|
|
97
|
-
path: sitePath,
|
|
98
|
-
url: this.url,
|
|
99
|
-
},
|
|
100
|
-
});
|
|
101
|
-
function checkIsUsingVite() {
|
|
102
|
-
return sitePath.apply((sitePath) => fs.existsSync(path.join(sitePath, "vite.config.ts")) ||
|
|
103
|
-
fs.existsSync(path.join(sitePath, "vite.config.js")));
|
|
104
|
-
}
|
|
105
|
-
function loadBuildOutput() {
|
|
106
|
-
return {
|
|
107
|
-
buildMeta: $dev ? loadBuildMetadataPlaceholder() : loadBuildMetadata(),
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
function loadBuildMetadata() {
|
|
111
|
-
return all([outputPath, isUsingVite]).apply(([outputPath, isUsingVite]) => {
|
|
112
|
-
// The path for all files that need to be in the "/" directory (static assets)
|
|
113
|
-
// is different when using Vite. These will be located in the "build/client"
|
|
114
|
-
// path of the output. It will be the "public" folder when using remix config.
|
|
115
|
-
const assetsPath = isUsingVite
|
|
116
|
-
? path.join("build", "client")
|
|
117
|
-
: "public";
|
|
118
|
-
const assetsVersionedSubDir = isUsingVite ? undefined : "build";
|
|
119
|
-
return {
|
|
120
|
-
assetsPath,
|
|
121
|
-
assetsVersionedSubDir,
|
|
122
|
-
// create 1 behaviour for each top level asset file/folder
|
|
123
|
-
staticRoutes: fs
|
|
124
|
-
.readdirSync(path.join(outputPath, assetsPath), {
|
|
125
|
-
withFileTypes: true,
|
|
126
|
-
})
|
|
127
|
-
.map((item) => item.isDirectory() ? `${item.name}/(.*)` : item.name),
|
|
128
|
-
};
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
function loadBuildMetadataPlaceholder() {
|
|
132
|
-
return {
|
|
133
|
-
assetsPath: "placeholder",
|
|
134
|
-
assetsVersionedSubDir: undefined,
|
|
135
|
-
staticRoutes: [],
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
function buildPlan() {
|
|
139
|
-
return all([isUsingVite, outputPath, buildMeta]).apply(([isUsingVite, outputPath, buildMeta]) => {
|
|
140
|
-
return validatePlan({
|
|
141
|
-
server: createServerLambdaBundle(isUsingVite, outputPath),
|
|
142
|
-
assets: {
|
|
143
|
-
copy: [
|
|
144
|
-
{
|
|
145
|
-
from: buildMeta.assetsPath,
|
|
146
|
-
to: "",
|
|
147
|
-
cached: true,
|
|
148
|
-
versionedSubDir: buildMeta.assetsVersionedSubDir,
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
},
|
|
152
|
-
routes: [
|
|
153
|
-
{
|
|
154
|
-
regex: pathToRegexp(buildMeta.staticRoutes).source,
|
|
155
|
-
origin: "assets",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
regex: pathToRegexp("(.*)").source,
|
|
159
|
-
origin: "server",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
});
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
function createServerLambdaBundle(isUsingVite, outputPath) {
|
|
166
|
-
// Create a Lambda@Edge handler for the Remix server bundle.
|
|
167
|
-
//
|
|
168
|
-
// Note: Remix does perform their own internal ESBuild process, but it
|
|
169
|
-
// doesn't bundle 3rd party dependencies by default. In the interest of
|
|
170
|
-
// keeping deployments seamless for users we will create a server bundle
|
|
171
|
-
// with all dependencies included. We will still need to consider how to
|
|
172
|
-
// address any need for external dependencies, although I think we should
|
|
173
|
-
// possibly consider this at a later date.
|
|
174
|
-
// In this path we are assuming that the Remix build only outputs the
|
|
175
|
-
// "core server build". We can safely assume this as we have guarded the
|
|
176
|
-
// remix.config.js to ensure it matches our expectations for the build
|
|
177
|
-
// configuration.
|
|
178
|
-
// We need to ensure that the "core server build" is wrapped with an
|
|
179
|
-
// appropriate Lambda@Edge handler. We will utilise an internal asset
|
|
180
|
-
// template to create this wrapper within the "core server build" output
|
|
181
|
-
// directory.
|
|
182
|
-
// Ensure build directory exists
|
|
183
|
-
const buildPath = path.join(outputPath, "build");
|
|
184
|
-
fs.mkdirSync(buildPath, { recursive: true });
|
|
185
|
-
// Copy the server lambda handler and pre-append the build injection based
|
|
186
|
-
// on the config file used.
|
|
187
|
-
const content = [
|
|
188
|
-
// When using Vite config, the output build will be "server/index.js"
|
|
189
|
-
// and when using Remix config it will be `server.js`.
|
|
190
|
-
//isUsingVite
|
|
191
|
-
// ? `import * as remixServerBuild from "./server/index.js";`
|
|
192
|
-
// : `import * as remixServerBuild from "./index.js";`,
|
|
193
|
-
//`import { createRequestHandler } from "@remix-run/cloudflare";`,
|
|
194
|
-
//`import * as remixServerBuild from "./server";`,
|
|
195
|
-
//`import { createRequestHandler } from "@remix-run/cloudflare";`,
|
|
196
|
-
//`export default {`,
|
|
197
|
-
//` async fetch(request) {`,
|
|
198
|
-
//` const requestHandler = createRequestHandler(remixServerBuild);`,
|
|
199
|
-
//` return await requestHandler(request);`,
|
|
200
|
-
//` },`,
|
|
201
|
-
//`};`,
|
|
202
|
-
`import { createRequestHandler } from "@remix-run/cloudflare";`,
|
|
203
|
-
`import * as build from "./server/index.js";`,
|
|
204
|
-
`export default {`,
|
|
205
|
-
` async fetch(request) {`,
|
|
206
|
-
` console.log("fetch");`,
|
|
207
|
-
` console.log("build", build);`,
|
|
208
|
-
` console.log("build mode", build.mode);`,
|
|
209
|
-
` const handleRequest = createRequestHandler(build);`,
|
|
210
|
-
` console.log("handleRequest", handleRequest);`,
|
|
211
|
-
` return await handleRequest(request);`,
|
|
212
|
-
` },`,
|
|
213
|
-
`};`,
|
|
214
|
-
].join("\n");
|
|
215
|
-
fs.writeFileSync(path.join(buildPath, "server.ts"), content);
|
|
216
|
-
const nodeBuiltInModulesPlugin = {
|
|
217
|
-
name: "node:built-in:modules",
|
|
218
|
-
setup(build) {
|
|
219
|
-
build.onResolve({ filter: /^(util|stream)$/ }, ({ kind, path }) => {
|
|
220
|
-
// this plugin converts `require("node:*")` calls, those are the only ones that
|
|
221
|
-
// need updating (esm imports to "node:*" are totally valid), so here we tag with the
|
|
222
|
-
// node-buffer namespace only imports that are require calls
|
|
223
|
-
return kind === "require-call"
|
|
224
|
-
? { path, namespace: "node-built-in-modules" }
|
|
225
|
-
: undefined;
|
|
226
|
-
});
|
|
227
|
-
// we convert the imports we tagged with the node-built-in-modules namespace so that instead of `require("node:*")`
|
|
228
|
-
// they import from `export * from "node:*";`
|
|
229
|
-
build.onLoad({ filter: /.*/, namespace: "node-built-in-modules" }, ({ path }) => {
|
|
230
|
-
return {
|
|
231
|
-
contents: `export * from 'node:${path}'`,
|
|
232
|
-
loader: "js",
|
|
233
|
-
};
|
|
234
|
-
});
|
|
235
|
-
},
|
|
236
|
-
};
|
|
237
|
-
return {
|
|
238
|
-
handler: path.join(buildPath, "server.ts"),
|
|
239
|
-
build: {
|
|
240
|
-
esbuild: {
|
|
241
|
-
define: {
|
|
242
|
-
process: JSON.stringify({
|
|
243
|
-
env: {
|
|
244
|
-
//NODE_ENV: "production",
|
|
245
|
-
NODE_ENV: "development",
|
|
246
|
-
},
|
|
247
|
-
}),
|
|
248
|
-
},
|
|
249
|
-
plugins: [nodeBuiltInModulesPlugin],
|
|
250
|
-
},
|
|
251
|
-
},
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* The URL of the Remix app.
|
|
257
|
-
*
|
|
258
|
-
* If the `domain` is set, this is the URL with the custom domain.
|
|
259
|
-
* Otherwise, it's the auto-generated CloudFront URL.
|
|
260
|
-
*/
|
|
261
|
-
get url() {
|
|
262
|
-
return this.router.url;
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* The underlying [resources](/docs/components/#nodes) this component creates.
|
|
266
|
-
*/
|
|
267
|
-
get nodes() {
|
|
268
|
-
return {
|
|
269
|
-
/**
|
|
270
|
-
* The AWS Lambda server function that renders the site.
|
|
271
|
-
*/
|
|
272
|
-
server: this.server,
|
|
273
|
-
/**
|
|
274
|
-
* The Amazon S3 Bucket that stores the assets.
|
|
275
|
-
*/
|
|
276
|
-
assets: this.assets,
|
|
277
|
-
};
|
|
278
|
-
}
|
|
279
|
-
/** @internal */
|
|
280
|
-
getSSTLink() {
|
|
281
|
-
return {
|
|
282
|
-
properties: {
|
|
283
|
-
url: this.url,
|
|
284
|
-
},
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
const __pulumiType = "sst:cloudflare:Remix";
|
|
289
|
-
// @ts-expect-error
|
|
290
|
-
Remix.__pulumiType = __pulumiType;
|
|
291
|
-
//# sourceMappingURL=remix.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remix.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/remix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAoC,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAEL,eAAe,EACf,YAAY,EACZ,OAAO,EACP,YAAY,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAuH3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAM,OAAO,KAAM,SAAQ,SAAS;IAKlC,YACE,IAAY,EACZ,OAAkB,EAAE,EACpB,OAAiC,EAAE;QAEnC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAEtC,MAAM,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QACnC,MAAM,WAAW,GAAG,gBAAgB,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACpD,MAAM,UAAU,GAAG,IAAI,CAAC,CAAC,CAAC,QAAQ,CA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