@monorise/sst 1.0.0-dev.2 → 3.1.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.
Files changed (462) hide show
  1. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +1 -3
  2. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -1
  3. package/dist/.sst/platform/src/components/aws/aurora.d.ts +4 -4
  4. package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -1
  5. package/dist/.sst/platform/src/components/aws/auth.d.ts +38 -3
  6. package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -1
  7. package/dist/.sst/platform/src/components/aws/bucket.d.ts +102 -1
  8. package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -1
  9. package/dist/.sst/platform/src/components/aws/cluster.d.ts +1 -3
  10. package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -1
  11. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -1
  12. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +4 -0
  13. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -1
  14. package/dist/.sst/platform/src/components/aws/dynamo.d.ts +0 -1
  15. package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -1
  16. package/dist/.sst/platform/src/components/aws/email.d.ts +1 -1
  17. package/dist/.sst/platform/src/components/aws/fargate.d.ts +34 -0
  18. package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -1
  19. package/dist/.sst/platform/src/components/aws/function.d.ts +1 -3
  20. package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -1
  21. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +5 -0
  22. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -1
  23. package/dist/.sst/platform/src/components/aws/open-search.d.ts +4 -4
  24. package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -1
  25. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -1
  26. package/dist/.sst/platform/src/components/aws/permission.d.ts +13 -0
  27. package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -1
  28. package/dist/.sst/platform/src/components/aws/postgres.d.ts +3 -3
  29. package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -1
  30. package/dist/.sst/platform/src/components/aws/realtime.d.ts +6 -0
  31. package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -1
  32. package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -1
  33. package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -1
  34. package/dist/.sst/platform/src/components/aws/router.d.ts +20 -14
  35. package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -1
  36. package/dist/.sst/platform/src/components/aws/service.d.ts +26 -0
  37. package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -1
  38. package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -1
  39. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +197 -6
  40. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -1
  41. package/dist/.sst/platform/src/components/aws/static-site.d.ts +5 -5
  42. package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -1
  43. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +34 -0
  44. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -1
  45. package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -1
  46. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -1
  47. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +1 -1
  48. package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -1
  49. package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -1
  50. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +1 -99
  51. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -1
  52. package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -1
  53. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +1 -1
  54. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -1
  55. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +4 -2
  56. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -1
  57. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -1
  58. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +1 -1
  59. package/dist/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
  60. package/dist/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
  61. package/dist/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
  62. package/dist/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
  63. package/dist/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
  64. package/dist/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
  65. package/dist/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
  66. package/dist/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
  67. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -1
  68. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +1 -1
  69. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -1
  70. package/dist/.sst/platform/src/components/cloudflare/index.d.ts +4 -1
  71. package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -1
  72. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +8 -2
  73. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -1
  74. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -1
  75. package/dist/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
  76. package/dist/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
  77. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +1 -1
  78. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +34 -42
  79. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -1
  80. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +28 -6
  81. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -1
  82. package/dist/.sst/platform/src/components/component.d.ts.map +1 -1
  83. package/dist/.sst/platform/src/components/duration.d.ts +2 -1
  84. package/dist/.sst/platform/src/components/duration.d.ts.map +1 -1
  85. package/dist/.sst/platform/src/components/rpc/rpc.d.ts +1 -0
  86. package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -1
  87. package/dist/.sst/platform/src/components/secret.d.ts +1 -1
  88. package/dist/.sst/platform/src/config.d.ts +15 -0
  89. package/dist/.sst/platform/src/config.d.ts.map +1 -1
  90. package/dist/.sst/platform/src/util/fs.d.ts +5 -0
  91. package/dist/.sst/platform/src/util/fs.d.ts.map +1 -0
  92. package/dist/components/dashboard.d.ts +2 -0
  93. package/dist/components/dashboard.d.ts.map +1 -0
  94. package/dist/components/monorise-core.d.ts.map +1 -1
  95. package/dist/components/q-function.d.ts +1 -1
  96. package/dist/components/q-function.d.ts.map +1 -1
  97. package/dist/components/single-table.d.ts +2 -1
  98. package/dist/components/single-table.d.ts.map +1 -1
  99. package/dist/index.js +605 -7
  100. package/dist/index.js.map +1 -1
  101. package/dist/tsup.config.d.ts +3 -0
  102. package/dist/tsup.config.d.ts.map +1 -0
  103. package/package.json +3 -3
  104. package/dist/.sst/platform/src/components/aws/analog.js +0 -118
  105. package/dist/.sst/platform/src/components/aws/analog.js.map +0 -1
  106. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +0 -110
  107. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +0 -1
  108. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +0 -409
  109. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +0 -1
  110. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +0 -55
  111. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +0 -1
  112. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +0 -110
  113. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +0 -1
  114. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +0 -34
  115. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +0 -1
  116. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +0 -49
  117. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +0 -1
  118. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +0 -85
  119. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +0 -1
  120. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +0 -66
  121. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +0 -1
  122. package/dist/.sst/platform/src/components/aws/apigatewayv1.js +0 -749
  123. package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +0 -1
  124. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +0 -98
  125. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +0 -1
  126. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +0 -28
  127. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +0 -1
  128. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +0 -84
  129. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +0 -1
  130. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +0 -55
  131. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +0 -1
  132. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +0 -53
  133. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +0 -1
  134. package/dist/.sst/platform/src/components/aws/apigatewayv2.js +0 -648
  135. package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +0 -1
  136. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +0 -208
  137. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +0 -1
  138. package/dist/.sst/platform/src/components/aws/app-sync-function.js +0 -52
  139. package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +0 -1
  140. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +0 -70
  141. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +0 -1
  142. package/dist/.sst/platform/src/components/aws/app-sync.js +0 -330
  143. package/dist/.sst/platform/src/components/aws/app-sync.js.map +0 -1
  144. package/dist/.sst/platform/src/components/aws/astro.js +0 -156
  145. package/dist/.sst/platform/src/components/aws/astro.js.map +0 -1
  146. package/dist/.sst/platform/src/components/aws/aurora.js +0 -678
  147. package/dist/.sst/platform/src/components/aws/aurora.js.map +0 -1
  148. package/dist/.sst/platform/src/components/aws/auth-v1.js +0 -36
  149. package/dist/.sst/platform/src/components/aws/auth-v1.js.map +0 -1
  150. package/dist/.sst/platform/src/components/aws/auth.js +0 -209
  151. package/dist/.sst/platform/src/components/aws/auth.js.map +0 -1
  152. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +0 -99
  153. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +0 -1
  154. package/dist/.sst/platform/src/components/aws/bucket-notification.js +0 -170
  155. package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +0 -1
  156. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +0 -77
  157. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +0 -1
  158. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +0 -99
  159. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +0 -1
  160. package/dist/.sst/platform/src/components/aws/bucket.js +0 -754
  161. package/dist/.sst/platform/src/components/aws/bucket.js.map +0 -1
  162. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +0 -19
  163. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +0 -1
  164. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +0 -81
  165. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +0 -1
  166. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +0 -63
  167. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +0 -1
  168. package/dist/.sst/platform/src/components/aws/bus.js +0 -350
  169. package/dist/.sst/platform/src/components/aws/bus.js.map +0 -1
  170. package/dist/.sst/platform/src/components/aws/cdn.js +0 -234
  171. package/dist/.sst/platform/src/components/aws/cdn.js.map +0 -1
  172. package/dist/.sst/platform/src/components/aws/cluster-v1.js +0 -245
  173. package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +0 -1
  174. package/dist/.sst/platform/src/components/aws/cluster.js +0 -321
  175. package/dist/.sst/platform/src/components/aws/cluster.js.map +0 -1
  176. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +0 -263
  177. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +0 -1
  178. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +0 -67
  179. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +0 -1
  180. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +0 -81
  181. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +0 -1
  182. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +0 -368
  183. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +0 -1
  184. package/dist/.sst/platform/src/components/aws/cron.js +0 -200
  185. package/dist/.sst/platform/src/components/aws/cron.js.map +0 -1
  186. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +0 -55
  187. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +0 -1
  188. package/dist/.sst/platform/src/components/aws/dns.js +0 -121
  189. package/dist/.sst/platform/src/components/aws/dns.js.map +0 -1
  190. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +0 -79
  191. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +0 -1
  192. package/dist/.sst/platform/src/components/aws/dynamo.js +0 -291
  193. package/dist/.sst/platform/src/components/aws/dynamo.js.map +0 -1
  194. package/dist/.sst/platform/src/components/aws/efs.js +0 -241
  195. package/dist/.sst/platform/src/components/aws/efs.js.map +0 -1
  196. package/dist/.sst/platform/src/components/aws/email.js +0 -276
  197. package/dist/.sst/platform/src/components/aws/email.js.map +0 -1
  198. package/dist/.sst/platform/src/components/aws/fargate.js +0 -434
  199. package/dist/.sst/platform/src/components/aws/fargate.js.map +0 -1
  200. package/dist/.sst/platform/src/components/aws/function.js +0 -1041
  201. package/dist/.sst/platform/src/components/aws/function.js.map +0 -1
  202. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +0 -31
  203. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +0 -1
  204. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +0 -2
  205. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +0 -1
  206. package/dist/.sst/platform/src/components/aws/helpers/arn.js +0 -86
  207. package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +0 -1
  208. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +0 -7
  209. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +0 -1
  210. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +0 -27
  211. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +0 -1
  212. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +0 -51
  213. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +0 -1
  214. package/dist/.sst/platform/src/components/aws/helpers/provider.js +0 -34
  215. package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +0 -1
  216. package/dist/.sst/platform/src/components/aws/helpers/quota.js +0 -20
  217. package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +0 -1
  218. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +0 -36
  219. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +0 -1
  220. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +0 -13
  221. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +0 -1
  222. package/dist/.sst/platform/src/components/aws/https-redirect.js +0 -124
  223. package/dist/.sst/platform/src/components/aws/https-redirect.js.map +0 -1
  224. package/dist/.sst/platform/src/components/aws/iam-edit.js +0 -40
  225. package/dist/.sst/platform/src/components/aws/iam-edit.js.map +0 -1
  226. package/dist/.sst/platform/src/components/aws/index.js +0 -49
  227. package/dist/.sst/platform/src/components/aws/index.js.map +0 -1
  228. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +0 -82
  229. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +0 -1
  230. package/dist/.sst/platform/src/components/aws/kinesis-stream.js +0 -134
  231. package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +0 -1
  232. package/dist/.sst/platform/src/components/aws/linkable.js +0 -25
  233. package/dist/.sst/platform/src/components/aws/linkable.js.map +0 -1
  234. package/dist/.sst/platform/src/components/aws/logging.js +0 -26
  235. package/dist/.sst/platform/src/components/aws/logging.js.map +0 -1
  236. package/dist/.sst/platform/src/components/aws/mysql.js +0 -514
  237. package/dist/.sst/platform/src/components/aws/mysql.js.map +0 -1
  238. package/dist/.sst/platform/src/components/aws/nextjs.js +0 -444
  239. package/dist/.sst/platform/src/components/aws/nextjs.js.map +0 -1
  240. package/dist/.sst/platform/src/components/aws/nuxt.js +0 -113
  241. package/dist/.sst/platform/src/components/aws/nuxt.js.map +0 -1
  242. package/dist/.sst/platform/src/components/aws/open-search.js +0 -365
  243. package/dist/.sst/platform/src/components/aws/open-search.js.map +0 -1
  244. package/dist/.sst/platform/src/components/aws/opencontrol.js +0 -164
  245. package/dist/.sst/platform/src/components/aws/opencontrol.js.map +0 -1
  246. package/dist/.sst/platform/src/components/aws/permission.js +0 -19
  247. package/dist/.sst/platform/src/components/aws/permission.js.map +0 -1
  248. package/dist/.sst/platform/src/components/aws/postgres-v1.js +0 -304
  249. package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +0 -1
  250. package/dist/.sst/platform/src/components/aws/postgres.js +0 -532
  251. package/dist/.sst/platform/src/components/aws/postgres.js.map +0 -1
  252. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +0 -8
  253. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +0 -1
  254. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +0 -8
  255. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +0 -1
  256. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +0 -8
  257. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +0 -1
  258. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +0 -18
  259. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +0 -1
  260. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +0 -8
  261. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +0 -1
  262. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +0 -8
  263. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +0 -1
  264. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +0 -8
  265. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +0 -1
  266. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +0 -8
  267. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +0 -1
  268. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +0 -8
  269. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +0 -1
  270. package/dist/.sst/platform/src/components/aws/providers/vector-table.js +0 -8
  271. package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +0 -1
  272. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +0 -81
  273. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +0 -1
  274. package/dist/.sst/platform/src/components/aws/queue.js +0 -322
  275. package/dist/.sst/platform/src/components/aws/queue.js.map +0 -1
  276. package/dist/.sst/platform/src/components/aws/react.js +0 -157
  277. package/dist/.sst/platform/src/components/aws/react.js.map +0 -1
  278. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +0 -78
  279. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +0 -1
  280. package/dist/.sst/platform/src/components/aws/realtime.js +0 -221
  281. package/dist/.sst/platform/src/components/aws/realtime.js.map +0 -1
  282. package/dist/.sst/platform/src/components/aws/redis-v1.js +0 -335
  283. package/dist/.sst/platform/src/components/aws/redis-v1.js.map +0 -1
  284. package/dist/.sst/platform/src/components/aws/redis.js +0 -382
  285. package/dist/.sst/platform/src/components/aws/redis.js.map +0 -1
  286. package/dist/.sst/platform/src/components/aws/remix.js +0 -212
  287. package/dist/.sst/platform/src/components/aws/remix.js.map +0 -1
  288. package/dist/.sst/platform/src/components/aws/router-base-route.js +0 -40
  289. package/dist/.sst/platform/src/components/aws/router-base-route.js.map +0 -1
  290. package/dist/.sst/platform/src/components/aws/router-bucket-route.js +0 -40
  291. package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +0 -1
  292. package/dist/.sst/platform/src/components/aws/router-url-route.js +0 -51
  293. package/dist/.sst/platform/src/components/aws/router-url-route.js.map +0 -1
  294. package/dist/.sst/platform/src/components/aws/router.js +0 -1156
  295. package/dist/.sst/platform/src/components/aws/router.js.map +0 -1
  296. package/dist/.sst/platform/src/components/aws/service-v1.js +0 -606
  297. package/dist/.sst/platform/src/components/aws/service-v1.js.map +0 -1
  298. package/dist/.sst/platform/src/components/aws/service.js +0 -924
  299. package/dist/.sst/platform/src/components/aws/service.js.map +0 -1
  300. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +0 -75
  301. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +0 -1
  302. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +0 -59
  303. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +0 -1
  304. package/dist/.sst/platform/src/components/aws/sns-topic.js +0 -233
  305. package/dist/.sst/platform/src/components/aws/sns-topic.js.map +0 -1
  306. package/dist/.sst/platform/src/components/aws/solid-start.js +0 -120
  307. package/dist/.sst/platform/src/components/aws/solid-start.js.map +0 -1
  308. package/dist/.sst/platform/src/components/aws/ssr-site.js +0 -792
  309. package/dist/.sst/platform/src/components/aws/ssr-site.js.map +0 -1
  310. package/dist/.sst/platform/src/components/aws/static-site.js +0 -583
  311. package/dist/.sst/platform/src/components/aws/static-site.js.map +0 -1
  312. package/dist/.sst/platform/src/components/aws/step-functions/choice.js +0 -98
  313. package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +0 -1
  314. package/dist/.sst/platform/src/components/aws/step-functions/fail.js +0 -25
  315. package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +0 -1
  316. package/dist/.sst/platform/src/components/aws/step-functions/map.js +0 -108
  317. package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +0 -1
  318. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +0 -129
  319. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +0 -1
  320. package/dist/.sst/platform/src/components/aws/step-functions/pass.js +0 -41
  321. package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +0 -1
  322. package/dist/.sst/platform/src/components/aws/step-functions/state.js +0 -134
  323. package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +0 -1
  324. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +0 -25
  325. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +0 -1
  326. package/dist/.sst/platform/src/components/aws/step-functions/task.js +0 -116
  327. package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +0 -1
  328. package/dist/.sst/platform/src/components/aws/step-functions/wait.js +0 -46
  329. package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +0 -1
  330. package/dist/.sst/platform/src/components/aws/step-functions.js +0 -576
  331. package/dist/.sst/platform/src/components/aws/step-functions.js.map +0 -1
  332. package/dist/.sst/platform/src/components/aws/svelte-kit.js +0 -144
  333. package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +0 -1
  334. package/dist/.sst/platform/src/components/aws/tan-stack-start.js +0 -143
  335. package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +0 -1
  336. package/dist/.sst/platform/src/components/aws/task.js +0 -311
  337. package/dist/.sst/platform/src/components/aws/task.js.map +0 -1
  338. package/dist/.sst/platform/src/components/aws/vector.js +0 -224
  339. package/dist/.sst/platform/src/components/aws/vector.js.map +0 -1
  340. package/dist/.sst/platform/src/components/aws/vpc-v1.js +0 -355
  341. package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +0 -1
  342. package/dist/.sst/platform/src/components/aws/vpc.js +0 -834
  343. package/dist/.sst/platform/src/components/aws/vpc.js.map +0 -1
  344. package/dist/.sst/platform/src/components/base/base-site.js +0 -47
  345. package/dist/.sst/platform/src/components/base/base-site.js.map +0 -1
  346. package/dist/.sst/platform/src/components/base/base-ssr-site.js +0 -72
  347. package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +0 -1
  348. package/dist/.sst/platform/src/components/base/base-static-site.js +0 -87
  349. package/dist/.sst/platform/src/components/base/base-static-site.js.map +0 -1
  350. package/dist/.sst/platform/src/components/cloudflare/account-id.js +0 -2
  351. package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +0 -1
  352. package/dist/.sst/platform/src/components/cloudflare/auth.js +0 -37
  353. package/dist/.sst/platform/src/components/cloudflare/auth.js.map +0 -1
  354. package/dist/.sst/platform/src/components/cloudflare/binding.js +0 -25
  355. package/dist/.sst/platform/src/components/cloudflare/binding.js.map +0 -1
  356. package/dist/.sst/platform/src/components/cloudflare/bucket.js +0 -98
  357. package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +0 -1
  358. package/dist/.sst/platform/src/components/cloudflare/cron.js +0 -86
  359. package/dist/.sst/platform/src/components/cloudflare/cron.js.map +0 -1
  360. package/dist/.sst/platform/src/components/cloudflare/d1.js +0 -104
  361. package/dist/.sst/platform/src/components/cloudflare/d1.js.map +0 -1
  362. package/dist/.sst/platform/src/components/cloudflare/dns.js +0 -138
  363. package/dist/.sst/platform/src/components/cloudflare/dns.js.map +0 -1
  364. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +0 -39
  365. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +0 -1
  366. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +0 -25
  367. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +0 -1
  368. package/dist/.sst/platform/src/components/cloudflare/index.js +0 -13
  369. package/dist/.sst/platform/src/components/cloudflare/index.js.map +0 -1
  370. package/dist/.sst/platform/src/components/cloudflare/kv.js +0 -98
  371. package/dist/.sst/platform/src/components/cloudflare/kv.js.map +0 -1
  372. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +0 -11
  373. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +0 -1
  374. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +0 -63
  375. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +0 -1
  376. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +0 -83
  377. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +0 -1
  378. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +0 -54
  379. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +0 -1
  380. package/dist/.sst/platform/src/components/cloudflare/queue.js +0 -57
  381. package/dist/.sst/platform/src/components/cloudflare/queue.js.map +0 -1
  382. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +0 -223
  383. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +0 -1
  384. package/dist/.sst/platform/src/components/cloudflare/remix.js +0 -291
  385. package/dist/.sst/platform/src/components/cloudflare/remix.js.map +0 -1
  386. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +0 -177
  387. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +0 -1
  388. package/dist/.sst/platform/src/components/cloudflare/static-site.js +0 -315
  389. package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +0 -1
  390. package/dist/.sst/platform/src/components/cloudflare/worker.js +0 -326
  391. package/dist/.sst/platform/src/components/cloudflare/worker.js.map +0 -1
  392. package/dist/.sst/platform/src/components/component.js +0 -395
  393. package/dist/.sst/platform/src/components/component.js.map +0 -1
  394. package/dist/.sst/platform/src/components/cpu.js +0 -9
  395. package/dist/.sst/platform/src/components/cpu.js.map +0 -1
  396. package/dist/.sst/platform/src/components/dns.js +0 -7
  397. package/dist/.sst/platform/src/components/dns.js.map +0 -1
  398. package/dist/.sst/platform/src/components/duration.js +0 -19
  399. package/dist/.sst/platform/src/components/duration.js.map +0 -1
  400. package/dist/.sst/platform/src/components/error.js +0 -6
  401. package/dist/.sst/platform/src/components/error.js.map +0 -1
  402. package/dist/.sst/platform/src/components/experimental/dev-command.js +0 -59
  403. package/dist/.sst/platform/src/components/experimental/dev-command.js.map +0 -1
  404. package/dist/.sst/platform/src/components/experimental/index.js +0 -2
  405. package/dist/.sst/platform/src/components/experimental/index.js.map +0 -1
  406. package/dist/.sst/platform/src/components/hint.d.ts +0 -7
  407. package/dist/.sst/platform/src/components/hint.d.ts.map +0 -1
  408. package/dist/.sst/platform/src/components/hint.js +0 -20
  409. package/dist/.sst/platform/src/components/hint.js.map +0 -1
  410. package/dist/.sst/platform/src/components/index.js +0 -16
  411. package/dist/.sst/platform/src/components/index.js.map +0 -1
  412. package/dist/.sst/platform/src/components/input.js +0 -2
  413. package/dist/.sst/platform/src/components/input.js.map +0 -1
  414. package/dist/.sst/platform/src/components/link.js +0 -138
  415. package/dist/.sst/platform/src/components/link.js.map +0 -1
  416. package/dist/.sst/platform/src/components/linkable.js +0 -244
  417. package/dist/.sst/platform/src/components/linkable.js.map +0 -1
  418. package/dist/.sst/platform/src/components/naming.js +0 -58
  419. package/dist/.sst/platform/src/components/naming.js.map +0 -1
  420. package/dist/.sst/platform/src/components/path.js +0 -5
  421. package/dist/.sst/platform/src/components/path.js.map +0 -1
  422. package/dist/.sst/platform/src/components/rpc/rpc.js +0 -120
  423. package/dist/.sst/platform/src/components/rpc/rpc.js.map +0 -1
  424. package/dist/.sst/platform/src/components/secret.js +0 -143
  425. package/dist/.sst/platform/src/components/secret.js.map +0 -1
  426. package/dist/.sst/platform/src/components/size.js +0 -29
  427. package/dist/.sst/platform/src/components/size.js.map +0 -1
  428. package/dist/.sst/platform/src/components/vercel/account-id.js +0 -2
  429. package/dist/.sst/platform/src/components/vercel/account-id.js.map +0 -1
  430. package/dist/.sst/platform/src/components/vercel/dns.js +0 -104
  431. package/dist/.sst/platform/src/components/vercel/dns.js.map +0 -1
  432. package/dist/.sst/platform/src/components/vercel/index.js +0 -3
  433. package/dist/.sst/platform/src/components/vercel/index.js.map +0 -1
  434. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +0 -8
  435. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +0 -1
  436. package/dist/.sst/platform/src/config.js +0 -5
  437. package/dist/.sst/platform/src/config.js.map +0 -1
  438. package/dist/.sst/platform/src/util/compare-semver.js +0 -24
  439. package/dist/.sst/platform/src/util/compare-semver.js.map +0 -1
  440. package/dist/.sst/platform/src/util/lazy.js +0 -12
  441. package/dist/.sst/platform/src/util/lazy.js.map +0 -1
  442. package/dist/.sst/platform/src/util/path-to-regex.d.ts +0 -128
  443. package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +0 -1
  444. package/dist/.sst/platform/src/util/path-to-regex.js +0 -392
  445. package/dist/.sst/platform/src/util/path-to-regex.js.map +0 -1
  446. package/dist/.sst/platform/src/util/semaphore.js +0 -36
  447. package/dist/.sst/platform/src/util/semaphore.js.map +0 -1
  448. package/dist/.sst/platform/src/util/warn.js +0 -8
  449. package/dist/.sst/platform/src/util/warn.js.map +0 -1
  450. package/dist/components/monorise-core.js +0 -147
  451. package/dist/components/monorise-core.js.map +0 -1
  452. package/dist/components/q-function.js +0 -53
  453. package/dist/components/q-function.js.map +0 -1
  454. package/dist/components/single-table.js +0 -73
  455. package/dist/components/single-table.js.map +0 -1
  456. package/dist/constants/event.js +0 -74
  457. package/dist/constants/event.js.map +0 -1
  458. package/dist/constants/table.js +0 -3
  459. package/dist/constants/table.js.map +0 -1
  460. package/dist/sst.config.js +0 -24
  461. package/dist/sst.config.js.map +0 -1
  462. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,144 +0,0 @@
1
- import fs from "fs";
2
- import path from "path";
3
- import { SsrSite } from "./ssr-site.js";
4
- /**
5
- * The `SvelteKit` component lets you deploy a [SvelteKit](https://kit.svelte.dev/) app to AWS.
6
- *
7
- * @example
8
- *
9
- * #### Minimal example
10
- *
11
- * Deploy a SvelteKit app that's in the project root.
12
- *
13
- * ```js title="sst.config.ts"
14
- * new sst.aws.SvelteKit("MyWeb");
15
- * ```
16
- *
17
- * #### Change the path
18
- *
19
- * Deploys the SvelteKit app in the `my-svelte-app/` directory.
20
- *
21
- * ```js {2} title="sst.config.ts"
22
- * new sst.aws.SvelteKit("MyWeb", {
23
- * path: "my-svelte-app/"
24
- * });
25
- * ```
26
- *
27
- * #### Add a custom domain
28
- *
29
- * Set a custom domain for your SvelteKit app.
30
- *
31
- * ```js {2} title="sst.config.ts"
32
- * new sst.aws.SvelteKit("MyWeb", {
33
- * domain: "my-app.com"
34
- * });
35
- * ```
36
- *
37
- * #### Redirect www to apex domain
38
- *
39
- * Redirect `www.my-app.com` to `my-app.com`.
40
- *
41
- * ```js {4} title="sst.config.ts"
42
- * new sst.aws.SvelteKit("MyWeb", {
43
- * domain: {
44
- * name: "my-app.com",
45
- * redirects: ["www.my-app.com"]
46
- * }
47
- * });
48
- * ```
49
- *
50
- * #### Link resources
51
- *
52
- * [Link resources](/docs/linking/) to your SvelteKit app. This will grant permissions
53
- * to the resources and allow you to access it in your app.
54
- *
55
- * ```ts {4} title="sst.config.ts"
56
- * const bucket = new sst.aws.Bucket("MyBucket");
57
- *
58
- * new sst.aws.SvelteKit("MyWeb", {
59
- * link: [bucket]
60
- * });
61
- * ```
62
- *
63
- * You can use the [SDK](/docs/reference/sdk/) to access the linked resources
64
- * in your SvelteKit app.
65
- *
66
- * ```ts title="src/routes/+page.server.ts"
67
- * import { Resource } from "sst";
68
- *
69
- * console.log(Resource.MyBucket.name);
70
- * ```
71
- */
72
- export class SvelteKit extends SsrSite {
73
- constructor(name, args = {}, opts = {}) {
74
- super(__pulumiType, name, args, opts);
75
- }
76
- normalizeBuildCommand() { }
77
- buildPlan(outputPath) {
78
- return outputPath.apply((outputPath) => {
79
- var _a, _b;
80
- const serverOutputPath = path.join(outputPath, ".svelte-kit", "svelte-kit-sst", "server");
81
- let basepath;
82
- try {
83
- const manifest = fs
84
- .readFileSync(path.join(serverOutputPath, "manifest.js"))
85
- .toString();
86
- const appDir = (_a = manifest.match(/appDir: "(.+?)"/)) === null || _a === void 0 ? void 0 : _a[1];
87
- const appPath = (_b = manifest.match(/appPath: "(.+?)"/)) === null || _b === void 0 ? void 0 : _b[1];
88
- if (appDir && appPath && appPath.endsWith(appDir)) {
89
- basepath = appPath.substring(0, appPath.length - appDir.length);
90
- }
91
- }
92
- catch (e) { }
93
- return {
94
- base: basepath,
95
- server: {
96
- handler: path.join(serverOutputPath, "lambda-handler", "index.handler"),
97
- nodejs: {
98
- esbuild: {
99
- minify: process.env.SST_DEBUG ? false : true,
100
- sourcemap: process.env.SST_DEBUG ? "inline" : false,
101
- define: {
102
- "process.env.SST_DEBUG": process.env.SST_DEBUG
103
- ? "true"
104
- : "false",
105
- },
106
- },
107
- },
108
- copyFiles: [
109
- {
110
- from: path.join(outputPath, ".svelte-kit", "svelte-kit-sst", "prerendered"),
111
- to: "prerendered",
112
- },
113
- ],
114
- },
115
- assets: [
116
- {
117
- from: path.join(".svelte-kit", "svelte-kit-sst", "client"),
118
- to: "",
119
- cached: true,
120
- versionedSubDir: "_app",
121
- },
122
- {
123
- from: path.join(".svelte-kit", "svelte-kit-sst", "prerendered"),
124
- to: "",
125
- cached: false,
126
- },
127
- ],
128
- };
129
- });
130
- }
131
- /**
132
- * The URL of the SvelteKit app.
133
- *
134
- * If the `domain` is set, this is the URL with the custom domain.
135
- * Otherwise, it's the auto-generated CloudFront URL.
136
- */
137
- get url() {
138
- return super.url;
139
- }
140
- }
141
- const __pulumiType = "sst:aws:SvelteKit";
142
- // @ts-expect-error
143
- SvelteKit.__pulumiType = __pulumiType;
144
- //# sourceMappingURL=svelte-kit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte-kit.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/svelte-kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAQ,OAAO,EAAe,MAAM,eAAe,CAAC;AAiV3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAM,OAAO,SAAU,SAAQ,OAAO;IACpC,YACE,IAAY,EACZ,OAAsB,EAAE,EACxB,OAAiC,EAAE;QAEnC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACxC,CAAC;IAES,qBAAqB,KAAK,CAAC;IAE3B,SAAS,CAAC,UAA0B;QAC5C,OAAO,UAAU,CAAC,KAAK,CAA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CACR,CAAC,CAAC,OAAO;6BACZ;yBACF;qBACF;oBACD,SAAS,EAAE;wBACT;4BACE,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,aAAa,CACd;4BACD,EAAE,EAAE,aAAa;yBAClB;qBACF;iBACF;gBACD,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,gBAAgB,EAAE,QAAQ,CAAC;wBAC1D,EAAE,EAAE,EAAE;wBACN,MAAM,EAAE,IAAI;wBACZ,eAAe,EAAE,MAAM;qBACxB;oBACD;wBACE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,gBAAgB,EAAE,aAAa,CAAC;wBAC/D,EAAE,EAAE,EAAE;wBACN,MAAM,EAAE,KAAK;qBACd;iBACF;aACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,IAAW,GAAG;QACZ,OAAO,KAAK,CAAC,GAAG,CAAC;IACnB,CAAC;CACF;AAED,MAAM,YAAY,GAAG,mBAAmB,CAAC;AACzC,mBAAmB;AACnB,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -1,143 +0,0 @@
1
- import fs from "fs";
2
- import path from "path";
3
- import { VisibleError } from "../error.js";
4
- import { SsrSite } from "./ssr-site.js";
5
- /**
6
- * The `TanStackStart` component lets you deploy a [TanStack Start](https://tanstack.com/start/latest) app to AWS.
7
- *
8
- * :::note
9
- * You need to make sure the `server.preset` value in the `app.config.ts` is set to `aws-lambda`.
10
- * :::
11
- *
12
- * @example
13
- *
14
- * #### Minimal example
15
- *
16
- * Deploy a TanStack Start app that's in the project root.
17
- *
18
- * ```js title="sst.config.ts"
19
- * new sst.aws.TanStackStart("MyWeb");
20
- * ```
21
- *
22
- * #### Change the path
23
- *
24
- * Deploys the TanStack Start app in the `my-app/` directory.
25
- *
26
- * ```js {2} title="sst.config.ts"
27
- * new sst.aws.TanStackStart("MyWeb", {
28
- * path: "my-app/"
29
- * });
30
- * ```
31
- *
32
- * #### Add a custom domain
33
- *
34
- * Set a custom domain for your TanStack Start app.
35
- *
36
- * ```js {2} title="sst.config.ts"
37
- * new sst.aws.TanStackStart("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} title="sst.config.ts"
47
- * new sst.aws.TanStackStart("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 TanStack Start app. This will grant permissions
58
- * to the resources and allow you to access it in your app.
59
- *
60
- * ```ts {4} title="sst.config.ts"
61
- * const bucket = new sst.aws.Bucket("MyBucket");
62
- *
63
- * new sst.aws.TanStackStart("MyWeb", {
64
- * link: [bucket]
65
- * });
66
- * ```
67
- *
68
- * You can use the [SDK](/docs/reference/sdk/) to access the linked resources
69
- * in your TanStack Start app.
70
- *
71
- * ```ts title="src/app.tsx"
72
- * import { Resource } from "sst";
73
- *
74
- * console.log(Resource.MyBucket.name);
75
- * ```
76
- */
77
- export class TanStackStart extends SsrSite {
78
- constructor(name, args = {}, opts = {}) {
79
- super(__pulumiType, name, args, opts);
80
- }
81
- normalizeBuildCommand() { }
82
- buildPlan(outputPath) {
83
- return outputPath.apply((outputPath) => {
84
- var _a, _b;
85
- const nitro = JSON.parse(fs.readFileSync(path.join(outputPath, ".output", "nitro.json"), "utf-8"));
86
- if (!["aws-lambda"].includes(nitro.preset)) {
87
- throw new VisibleError(`TanStackStart's app.config.ts must be configured to use the "aws-lambda" preset. It is currently set to "${nitro.preset}".`);
88
- }
89
- const serverOutputPath = path.join(outputPath, ".output", "server");
90
- // If basepath is configured, nitro.mjs will have a line that looks like this:
91
- // return createRouter$2({ routeTree: Nr, defaultPreload: "intent", defaultErrorComponent: ce, defaultNotFoundComponent: () => jsx(de, {}), scrollRestoration: true, basepath: "/tan" });
92
- let basepath;
93
- // TanStack Start currently doesn't support basepaths.
94
- //try {
95
- // const serverNitroChunk = fs.readFileSync(
96
- // path.join(serverOutputPath, "chunks", "nitro", "nitro.mjs"),
97
- // "utf-8",
98
- // );
99
- // basepath = serverNitroChunk.match(/basepath: "(.*)"/)?.[1];
100
- //} catch (e) {}
101
- // Remove the .output/public/_server directory from the assets
102
- // b/c all `_server` requests should go to the server function. If this folder is
103
- // not removed, it will create an s3 route that conflicts with the `_server` route.
104
- fs.rmSync(path.join(outputPath, ".output", "public", "_server"), {
105
- recursive: true,
106
- force: true,
107
- });
108
- fs.rmSync(path.join(outputPath, ".output", "public", "api"), {
109
- recursive: true,
110
- force: true,
111
- });
112
- return {
113
- base: basepath,
114
- server: {
115
- description: "Server handler for TanStack",
116
- handler: "index.handler",
117
- bundle: serverOutputPath,
118
- streaming: ((_b = (_a = nitro === null || nitro === void 0 ? void 0 : nitro.config) === null || _a === void 0 ? void 0 : _a.awsLambda) === null || _b === void 0 ? void 0 : _b.streaming) === true,
119
- },
120
- assets: [
121
- {
122
- from: path.join(".output", "public"),
123
- to: "",
124
- cached: true,
125
- },
126
- ],
127
- };
128
- });
129
- }
130
- /**
131
- * The URL of the TanStack Start app.
132
- *
133
- * If the `domain` is set, this is the URL with the custom domain.
134
- * Otherwise, it's the auto-generated CloudFront URL.
135
- */
136
- get url() {
137
- return super.url;
138
- }
139
- }
140
- const __pulumiType = "sst:aws:TanstackStart";
141
- // @ts-expect-error
142
- TanStackStart.__pulumiType = __pulumiType;
143
- //# sourceMappingURL=tan-stack-start.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tan-stack-start.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/tan-stack-start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAA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S,CAAC,EAAE;gBAC/D,SAAS,EAAE,IAAI;gBACf,KAAK,EAAE,IAAI;aACZ,CAAC,CAAC;YACH,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE;gBAC3D,SAAS,EAAE,IAAI;gBACf,KAAK,EAAE,IAAI;aACZ,CAAC,CAAC;YAEH,OAAO;gBACL,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,WAAW,EAAE,6BAA6B;oBAC1C,OAAO,EAAE,eAAe;oBACxB,MAAM,EAAE,gBAAgB;oBACxB,SAAS,EAAE,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,SAAS,0CAAE,SAAS,MAAK,IAAI;iBACxD;gBACD,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC;wBACpC,EAAE,EAAE,EAAE;wBACN,MAAM,EAAE,IAAI;qBACb;iBACF;aACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,IAAW,GAAG;QACZ,OAAO,KAAK,CAAC,GAAG,CAAC;IACnB,CAAC;CACF;AAED,MAAM,YAAY,GAAG,uBAAuB,CAAC;AAC7C,mBAAmB;AACnB,aAAa,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -1,311 +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 { all, output } from "@pulumi/pulumi";
11
- import { Component } from "../component.js";
12
- import { permission } from "./permission.js";
13
- import { Vpc } from "./vpc.js";
14
- import { Function } from "./function.js";
15
- import { createExecutionRole, createTaskDefinition, createTaskRole, normalizeArchitecture, normalizeContainers, normalizeCpu, normalizeMemory, normalizeStorage, } from "./fargate.js";
16
- /**
17
- * The `Task` component lets you create containers that are used for long running asynchronous
18
- * work, like data processing. It uses [Amazon ECS](https://aws.amazon.com/ecs/) on
19
- * [AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html).
20
- *
21
- * @example
22
- *
23
- * #### Create a Task
24
- *
25
- * Tasks are run inside an ECS Cluster. If you haven't already, create one.
26
- *
27
- * ```ts title="sst.config.ts"
28
- * const vpc = new sst.aws.Vpc("MyVpc");
29
- * const cluster = new sst.aws.Cluster("MyCluster", { vpc });
30
- * ```
31
- *
32
- * Add the task to it.
33
- *
34
- * ```ts title="sst.config.ts"
35
- * const task = new sst.aws.Task("MyTask", { cluster });
36
- * ```
37
- *
38
- * #### Configure the container image
39
- *
40
- * By default, the task will look for a Dockerfile in the root directory. Optionally,
41
- * configure the image context and dockerfile.
42
- *
43
- * ```ts title="sst.config.ts"
44
- * new sst.aws.Task("MyTask", {
45
- * cluster,
46
- * image: {
47
- * context: "./app",
48
- * dockerfile: "Dockerfile"
49
- * }
50
- * });
51
- * ```
52
- *
53
- * To add multiple containers in the task, pass in an array of containers args.
54
- *
55
- * ```ts title="sst.config.ts"
56
- * new sst.aws.Task("MyTask", {
57
- * cluster,
58
- * containers: [
59
- * {
60
- * name: "app",
61
- * image: "nginxdemos/hello:plain-text"
62
- * },
63
- * {
64
- * name: "admin",
65
- * image: {
66
- * context: "./admin",
67
- * dockerfile: "Dockerfile"
68
- * }
69
- * }
70
- * ]
71
- * });
72
- * ```
73
- *
74
- * This is useful for running sidecar containers.
75
- *
76
- * #### Link resources
77
- *
78
- * [Link resources](/docs/linking/) to your task. This will grant permissions
79
- * to the resources and allow you to access it in your app.
80
- *
81
- * ```ts {5} title="sst.config.ts"
82
- * const bucket = new sst.aws.Bucket("MyBucket");
83
- *
84
- * new sst.aws.Task("MyTask", {
85
- * cluster,
86
- * link: [bucket]
87
- * });
88
- * ```
89
- *
90
- * You can use the [SDK](/docs/reference/sdk/) to access the linked resources in your task.
91
- *
92
- * ```ts title="app.ts"
93
- * import { Resource } from "sst";
94
- *
95
- * console.log(Resource.MyBucket.name);
96
- * ```
97
- *
98
- * #### Task SDK
99
- *
100
- * With the [Task JS SDK](/docs/component/aws/task#sdk), you can run your tasks, stop your
101
- * tasks, and get the status of your tasks.
102
- *
103
- * For example, you can link the task to a function in your app.
104
- *
105
- * ```ts title="sst.config.ts" {3}
106
- * new sst.aws.Function("MyFunction", {
107
- * handler: "src/lambda.handler",
108
- * link: [task]
109
- * });
110
- * ```
111
- *
112
- * Then from your function run the task.
113
- *
114
- * ```ts title="src/lambda.ts"
115
- * import { Resource } from "sst";
116
- * import { task } from "sst/aws/task";
117
- *
118
- * const runRet = await task.run(Resource.MyTask);
119
- * const taskArn = runRet.arn;
120
- * ```
121
- *
122
- * If you are not using Node.js, you can use the AWS SDK instead. Here's
123
- * [how to run a task](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html).
124
- *
125
- * ---
126
- *
127
- * ### Cost
128
- *
129
- * By default, this uses a _Linux/X86_ _Fargate_ container with 0.25 vCPUs at $0.04048 per
130
- * vCPU per hour and 0.5 GB of memory at $0.004445 per GB per hour. It includes 20GB of
131
- * _Ephemeral Storage_ for free with additional storage at $0.000111 per GB per hour. Each
132
- * container also gets a public IPv4 address at $0.005 per hour.
133
- *
134
- * It works out to $0.04048 x 0.25 + $0.004445 x 0.5 + $0.005. Or **$0.02 per hour**
135
- * your task runs for.
136
- *
137
- * Adjust this for the `cpu`, `memory` and `storage` you are using. And
138
- * check the prices for _Linux/ARM_ if you are using `arm64` as your `architecture`.
139
- *
140
- * The above are rough estimates for _us-east-1_, check out the
141
- * [Fargate pricing](https://aws.amazon.com/fargate/pricing/) and the
142
- * [Public IPv4 Address pricing](https://aws.amazon.com/vpc/pricing/) for more details.
143
- */
144
- export class Task extends Component {
145
- constructor(name, args, opts = {}) {
146
- super(__pulumiType, name, args, opts);
147
- const self = this;
148
- const dev = normalizeDev();
149
- const architecture = normalizeArchitecture(args);
150
- const cpu = normalizeCpu(args);
151
- const memory = normalizeMemory(cpu, args);
152
- const storage = normalizeStorage(args);
153
- const containers = normalizeContainers("task", args, name, architecture);
154
- const vpc = normalizeVpc();
155
- const publicIp = normalizePublicIp();
156
- const taskRole = createTaskRole(name, args, opts, self, dev, dev
157
- ? [
158
- {
159
- actions: ["appsync:*"],
160
- resources: ["*"],
161
- },
162
- ]
163
- : []);
164
- this.dev = dev;
165
- this.taskRole = taskRole;
166
- const executionRole = createExecutionRole(name, args, opts, self);
167
- const taskDefinition = createTaskDefinition(name, args, opts, self, dev
168
- ? containers.apply((v) => __awaiter(this, void 0, void 0, function* () {
169
- const appsync = yield Function.appsync();
170
- return [
171
- Object.assign(Object.assign({}, v[0]), { image: output("ghcr.io/sst/sst/bridge-task:20241224005724"), environment: Object.assign(Object.assign({}, v[0].environment), { SST_TASK_ID: name, SST_REGION: process.env.SST_AWS_REGION, SST_APPSYNC_HTTP: appsync.http, SST_APPSYNC_REALTIME: appsync.realtime, SST_APP: $app.name, SST_STAGE: $app.stage }) }),
172
- ];
173
- }))
174
- : containers, architecture, cpu, memory, storage, taskRole, executionRole);
175
- this._cluster = args.cluster;
176
- this.vpc = vpc;
177
- this.executionRole = executionRole;
178
- this._taskDefinition = taskDefinition;
179
- this._publicIp = publicIp;
180
- this.containerNames = containers.apply((v) => v.map((v) => output(v.name)));
181
- this.registerOutputs({
182
- _task: all([args.dev, containers]).apply(([v, containers]) => (Object.assign({ directory: (() => {
183
- if (!containers[0].image)
184
- return "";
185
- if (typeof containers[0].image === "string")
186
- return "";
187
- if (containers[0].image.context)
188
- return containers[0].image.context;
189
- return "";
190
- })() }, v))),
191
- });
192
- function normalizeDev() {
193
- if (!$dev)
194
- return false;
195
- if (args.dev === false)
196
- return false;
197
- return true;
198
- }
199
- function normalizeVpc() {
200
- // "vpc" is a Vpc component
201
- if (args.cluster.vpc instanceof Vpc) {
202
- const vpc = args.cluster.vpc;
203
- return {
204
- isSstVpc: true,
205
- containerSubnets: vpc.publicSubnets,
206
- securityGroups: vpc.securityGroups,
207
- };
208
- }
209
- // "vpc" is object
210
- return {
211
- isSstVpc: false,
212
- containerSubnets: output(args.cluster.vpc).apply((v) => v.containerSubnets.map((v) => output(v))),
213
- securityGroups: output(args.cluster.vpc).apply((v) => v.securityGroups.map((v) => output(v))),
214
- };
215
- }
216
- function normalizePublicIp() {
217
- return all([args.publicIp, vpc.isSstVpc]).apply(([publicIp, isSstVpc]) => publicIp !== null && publicIp !== void 0 ? publicIp : isSstVpc);
218
- }
219
- }
220
- /**
221
- * The ARN of the ECS Task Definition.
222
- */
223
- get taskDefinition() {
224
- return this._taskDefinition.arn;
225
- }
226
- /**
227
- * The names of the containers in the task.
228
- * @internal
229
- */
230
- get containers() {
231
- return this.containerNames;
232
- }
233
- /**
234
- * The ARN of the cluster this task is deployed to.
235
- * @internal
236
- */
237
- get cluster() {
238
- return this._cluster.nodes.cluster.arn;
239
- }
240
- /**
241
- * The security groups for the task.
242
- * @internal
243
- */
244
- get securityGroups() {
245
- return this.vpc.securityGroups;
246
- }
247
- /**
248
- * The subnets for the task.
249
- * @internal
250
- */
251
- get subnets() {
252
- return this.vpc.containerSubnets;
253
- }
254
- /**
255
- * Whether to assign a public IP address to the task.
256
- * @internal
257
- */
258
- get assignPublicIp() {
259
- return this._publicIp;
260
- }
261
- /**
262
- * The underlying [resources](/docs/components/#nodes) this component creates.
263
- */
264
- get nodes() {
265
- return {
266
- /**
267
- * The Amazon ECS Execution Role.
268
- */
269
- executionRole: this.executionRole,
270
- /**
271
- * The Amazon ECS Task Role.
272
- */
273
- taskRole: this.taskRole,
274
- /**
275
- * The Amazon ECS Task Definition.
276
- */
277
- taskDefinition: this._taskDefinition,
278
- };
279
- }
280
- /** @internal */
281
- getSSTLink() {
282
- return {
283
- properties: {
284
- cluster: this.cluster,
285
- containers: this.containers,
286
- taskDefinition: this.taskDefinition,
287
- subnets: this.subnets,
288
- securityGroups: this.securityGroups,
289
- assignPublicIp: this.assignPublicIp,
290
- },
291
- include: [
292
- permission({
293
- actions: ["ecs:*"],
294
- resources: [
295
- this._taskDefinition.arn,
296
- // permissions to describe and stop the task
297
- this.cluster.apply((v) => v.split(":cluster/").join(":task/") + "/*"),
298
- ],
299
- }),
300
- permission({
301
- actions: ["iam:PassRole"],
302
- resources: [this.executionRole.arn, this.taskRole.arn],
303
- }),
304
- ],
305
- };
306
- }
307
- }
308
- const __pulumiType = "sst:aws:Task";
309
- // @ts-expect-error
310
- Task.__pulumiType = __pulumiType;
311
- //# sourceMappingURL=task.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task.js","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/aws/task.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAoC,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAY,MAAM,iBAAiB,CAAC;AAItD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAGL,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,gBAAgB,GACjB,MAAM,cAAc,CAAC;AAwHtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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