@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
@@ -82,7 +82,7 @@ export declare class D1 extends Component implements Link.Linkable {
82
82
  } | {
83
83
  text: import("../input").Input<string>;
84
84
  } | {
85
- queue: import("../input").Input<string>;
85
+ queueName: import("../input").Input<string>;
86
86
  } | {
87
87
  bucketName: import("../input").Input<string>;
88
88
  } | {
@@ -0,0 +1,186 @@
1
+ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
+ import { Plan, SsrSite, SsrSiteArgs } from "../ssr-site.js";
3
+ export interface AstroArgs extends SsrSiteArgs {
4
+ /**
5
+ * Configure how this component works in `sst dev`.
6
+ *
7
+ * :::note
8
+ * In `sst dev` your Astro site is run in dev mode; it's not deployed.
9
+ * :::
10
+ *
11
+ * Instead of deploying your Astro site, this starts it in dev mode. It's run
12
+ * as a separate process in the `sst dev` multiplexer. Read more about
13
+ * [`sst dev`](/docs/reference/cli/#dev).
14
+ *
15
+ * To disable dev mode, pass in `false`.
16
+ */
17
+ dev?: SsrSiteArgs["dev"];
18
+ /**
19
+ * Path to the directory where your Astro site is located. This path is relative to your `sst.config.ts`.
20
+ *
21
+ * By default it assumes your Astro site is in the root of your SST app.
22
+ * @default `"."`
23
+ *
24
+ * @example
25
+ *
26
+ * If your Astro site is in a package in your monorepo.
27
+ *
28
+ * ```js
29
+ * {
30
+ * path: "packages/web"
31
+ * }
32
+ * ```
33
+ */
34
+ path?: SsrSiteArgs["path"];
35
+ /**
36
+ * [Link resources](/docs/linking/) to your Astro site. This will:
37
+ *
38
+ * 1. Grant the permissions needed to access the resources.
39
+ * 2. Allow you to access it in your site using [`Astro.locals.runtime`](https://docs.astro.build/en/guides/integrations-guide/cloudflare/#environment-variables-and-secrets).
40
+ *
41
+ * @example
42
+ *
43
+ * Takes a list of resources to link to the function.
44
+ *
45
+ * ```js
46
+ * {
47
+ * link: [bucket, stripeKey]
48
+ * }
49
+ * ```
50
+ *
51
+ * You can access the linked resources as bindings in your Astro site.
52
+ *
53
+ * ```js
54
+ * const { env } = Astro.locals.runtime;
55
+ * const files = await env.MyBucket.list();
56
+ * ```
57
+ */
58
+ link?: SsrSiteArgs["link"];
59
+ /**
60
+ * Set [environment variables](https://docs.astro.build/en/guides/environment-variables/) in your Astro site. These are made available:
61
+ *
62
+ * 1. In `astro build`, they are loaded into [`Astro.locals.runtime`](https://docs.astro.build/en/guides/integrations-guide/cloudflare/#environment-variables-and-secrets).
63
+ * 2. Locally while running `astro dev` through `sst dev`.
64
+ *
65
+ * :::tip
66
+ * You can also `link` resources to your Astro site and access them in a type-safe way with the [SDK](/docs/reference/sdk/). We recommend linking since it's more secure.
67
+ * :::
68
+ *
69
+ * Recall that in Astro, you need to prefix your environment variables with `PUBLIC_` to access them on the client-side. [Read more here](https://docs.astro.build/en/guides/environment-variables/).
70
+ *
71
+ * @example
72
+ * ```js
73
+ * {
74
+ * environment: {
75
+ * API_URL: api.url,
76
+ * // Accessible on the client-side
77
+ * PUBLIC_STRIPE_PUBLISHABLE_KEY: "pk_test_123"
78
+ * }
79
+ * }
80
+ * ```
81
+ *
82
+ * You can access the environment variables in your Astro site as follows:
83
+ *
84
+ * ```js
85
+ * const { env } = Astro.locals.runtime;
86
+ * const apiUrl = env.API_URL;
87
+ * const stripeKey = env.PUBLIC_STRIPE_PUBLISHABLE_KEY;
88
+ * ```
89
+ */
90
+ environment?: SsrSiteArgs["environment"];
91
+ /**
92
+ * Set a custom domain for your Astro site.
93
+ *
94
+ * @example
95
+ *
96
+ * ```js
97
+ * {
98
+ * domain: "my-app.com"
99
+ * }
100
+ * ```
101
+ */
102
+ domain?: SsrSiteArgs["domain"];
103
+ /**
104
+ * The command used internally to build your Astro site.
105
+ *
106
+ * @default `"npm run build"`
107
+ *
108
+ * @example
109
+ *
110
+ * If you want to use a different build command.
111
+ * ```js
112
+ * {
113
+ * buildCommand: "yarn build"
114
+ * }
115
+ * ```
116
+ */
117
+ buildCommand?: SsrSiteArgs["buildCommand"];
118
+ }
119
+ /**
120
+ * The `Astro` component lets you deploy an [Astro](https://astro.build) site to Cloudflare.
121
+ *
122
+ * @example
123
+ *
124
+ * #### Minimal example
125
+ *
126
+ * Deploy the Astro site that's in the project root.
127
+ *
128
+ * ```js title="sst.config.ts"
129
+ * new sst.cloudflare.Astro("MyWeb");
130
+ * ```
131
+ *
132
+ * #### Change the path
133
+ *
134
+ * Deploys the Astro site in the `my-astro-app/` directory.
135
+ *
136
+ * ```js {2} title="sst.config.ts"
137
+ * new sst.cloudflare.Astro("MyWeb", {
138
+ * path: "my-astro-app/"
139
+ * });
140
+ * ```
141
+ *
142
+ * #### Add a custom domain
143
+ *
144
+ * Set a custom domain for your Astro site.
145
+ *
146
+ * ```js {2} title="sst.config.ts"
147
+ * new sst.cloudflare.Astro("MyWeb", {
148
+ * domain: "my-app.com"
149
+ * });
150
+ * ```
151
+ *
152
+ * #### Link resources
153
+ *
154
+ * [Link resources](/docs/linking/) to your Astro site. This will grant permissions
155
+ * to the resources and allow you to access it in your site.
156
+ *
157
+ * ```ts {4} title="sst.config.ts"
158
+ * const bucket = new sst.cloudflare.Bucket("MyBucket");
159
+ *
160
+ * new sst.cloudflare.Astro("MyWeb", {
161
+ * link: [bucket]
162
+ * });
163
+ * ```
164
+ *
165
+ * You can access the linked resources as bindings in your Astro site.
166
+ *
167
+ * ```astro title="src/pages/index.astro"
168
+ * ---
169
+ * const { env } = Astro.locals.runtime;
170
+ *
171
+ * const files = await env.MyBucket.list();
172
+ * ---
173
+ * ```
174
+ */
175
+ export declare class Astro extends SsrSite {
176
+ constructor(name: string, args?: AstroArgs, opts?: ComponentResourceOptions);
177
+ protected buildPlan(outputPath: Output<string>): Output<Plan>;
178
+ /**
179
+ * The URL of the Astro site.
180
+ *
181
+ * If the `domain` is set, this is the URL with the custom domain.
182
+ * Otherwise, it's the auto-generated Worker URL.
183
+ */
184
+ get url(): Output<string | undefined>;
185
+ }
186
+ //# sourceMappingURL=astro.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/experimental/astro.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG5D,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IACzB;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,qBAAa,KAAM,SAAQ,OAAO;gBAE9B,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,SAAc,EACpB,IAAI,GAAE,wBAA6B;IAKrC,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;IAkC7D;;;;;OAKG;IACH,IAAW,GAAG,+BAEb;CACF"}
@@ -0,0 +1,4 @@
1
+ export * from "./astro";
2
+ export * from "./solid-start";
3
+ export * from "./static-site";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/experimental/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,171 @@
1
+ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
+ import { Plan, SsrSite, SsrSiteArgs } from "../ssr-site.js";
3
+ export interface SolidStartArgs extends SsrSiteArgs {
4
+ /**
5
+ * Configure how this component works in `sst dev`.
6
+ *
7
+ * :::note
8
+ * In `sst dev` your SolidStart app is run in dev mode; it's not deployed.
9
+ * :::
10
+ *
11
+ * Instead of deploying your SolidStart app, this starts it in dev mode. It's run
12
+ * as a separate process in the `sst dev` multiplexer. Read more about
13
+ * [`sst dev`](/docs/reference/cli/#dev).
14
+ *
15
+ * To disable dev mode, pass in `false`.
16
+ */
17
+ dev?: SsrSiteArgs["dev"];
18
+ /**
19
+ * Path to the directory where your SolidStart app is located. This path is relative to your `sst.config.ts`.
20
+ *
21
+ * By default it assumes your SolidStart app is in the root of your SST app.
22
+ * @default `"."`
23
+ *
24
+ * @example
25
+ *
26
+ * If your SolidStart app is in a package in your monorepo.
27
+ *
28
+ * ```js
29
+ * {
30
+ * path: "packages/web"
31
+ * }
32
+ * ```
33
+ */
34
+ path?: SsrSiteArgs["path"];
35
+ /**
36
+ * [Link resources](/docs/linking/) to your SolidStart app. This will:
37
+ *
38
+ * 1. Grant the permissions needed to access the resources.
39
+ * 2. Allow you to access it in your site using the [SDK](/docs/reference/sdk/).
40
+ *
41
+ * @example
42
+ *
43
+ * Takes a list of resources to link to the function.
44
+ *
45
+ * ```js
46
+ * {
47
+ * link: [bucket, stripeKey]
48
+ * }
49
+ * ```
50
+ *
51
+ * You can access the linked resources as bindings in your SolidStart app.
52
+ */
53
+ link?: SsrSiteArgs["link"];
54
+ /**
55
+ * Set environment variables in your SolidStart app. These are made available:
56
+ *
57
+ * 1. In `vinxi build`, they are loaded into `process.env`.
58
+ * 2. Locally while running `vinxi dev` through `sst dev`.
59
+ *
60
+ * :::tip
61
+ * You can also `link` resources to your SolidStart app and access them in a type-safe way with the [SDK](/docs/reference/sdk/). We recommend linking since it's more secure.
62
+ * :::
63
+ *
64
+ * @example
65
+ * ```js
66
+ * {
67
+ * environment: {
68
+ * API_URL: api.url,
69
+ * STRIPE_PUBLISHABLE_KEY: "pk_test_123"
70
+ * }
71
+ * }
72
+ * ```
73
+ *
74
+ * You can access the environment variables in your SolidStart app as follows:
75
+ */
76
+ environment?: SsrSiteArgs["environment"];
77
+ /**
78
+ * Set a custom domain for your SolidStart app.
79
+ *
80
+ * @example
81
+ *
82
+ * ```js
83
+ * {
84
+ * domain: "my-app.com"
85
+ * }
86
+ * ```
87
+ */
88
+ domain?: SsrSiteArgs["domain"];
89
+ /**
90
+ * The command used internally to build your SolidStart app.
91
+ *
92
+ * @default `"npm run build"`
93
+ *
94
+ * @example
95
+ *
96
+ * If you want to use a different build command.
97
+ * ```js
98
+ * {
99
+ * buildCommand: "yarn build"
100
+ * }
101
+ * ```
102
+ */
103
+ buildCommand?: SsrSiteArgs["buildCommand"];
104
+ }
105
+ /**
106
+ * The `SolidStart` component lets you deploy a [SolidStart](https://start.solidjs.com) app to Cloudflare.
107
+ *
108
+ * @example
109
+ *
110
+ * #### Minimal example
111
+ *
112
+ * Deploy the SolidStart app that's in the project root.
113
+ *
114
+ * ```js title="sst.config.ts"
115
+ * new sst.cloudflare.SolidStart("MyWeb");
116
+ * ```
117
+ *
118
+ * #### Change the path
119
+ *
120
+ * Deploys the SolidStart app in the `my-solid-start-app/` directory.
121
+ *
122
+ * ```js {2} title="sst.config.ts"
123
+ * new sst.cloudflare.SolidStart("MyWeb", {
124
+ * path: "my-solid-start-app/"
125
+ * });
126
+ * ```
127
+ *
128
+ * #### Add a custom domain
129
+ *
130
+ * Set a custom domain for your SolidStart app.
131
+ *
132
+ * ```js {2} title="sst.config.ts"
133
+ * new sst.cloudflare.SolidStart("MyWeb", {
134
+ * domain: "my-app.com"
135
+ * });
136
+ * ```
137
+ *
138
+ * #### Link resources
139
+ *
140
+ * [Link resources](/docs/linking/) to your SolidStart app. This will grant permissions
141
+ * to the resources and allow you to access it in your site.
142
+ *
143
+ * ```ts {4} title="sst.config.ts"
144
+ * const bucket = new sst.cloudflare.Bucket("MyBucket");
145
+ *
146
+ * new sst.cloudflare.SolidStart("MyWeb", {
147
+ * link: [bucket]
148
+ * });
149
+ * ```
150
+ *
151
+ * You can use the [SDK](/docs/reference/sdk/) to access the linked resources
152
+ * in your SolidStart app.
153
+ *
154
+ * ```ts title="src/app.tsx"
155
+ * import { Resource } from "sst";
156
+ *
157
+ * console.log(Resource.MyBucket.name);
158
+ * ```
159
+ */
160
+ export declare class SolidStart extends SsrSite {
161
+ constructor(name: string, args?: SolidStartArgs, opts?: ComponentResourceOptions);
162
+ protected buildPlan(outputPath: Output<string>): Output<Plan>;
163
+ /**
164
+ * The URL of the SolidStart app.
165
+ *
166
+ * If the `domain` is set, this is the URL with the custom domain.
167
+ * Otherwise, it's the auto-generated Worker URL.
168
+ */
169
+ get url(): Output<string | undefined>;
170
+ }
171
+ //# sourceMappingURL=solid-start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solid-start.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/experimental/solid-start.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG5D,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IACzB;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,qBAAa,UAAW,SAAQ,OAAO;gBAEnC,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,cAAmB,EACzB,IAAI,GAAE,wBAA6B;IAKrC,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC;IAoD7D;;;;;OAKG;IACH,IAAW,GAAG,+BAEb;CACF"}
@@ -0,0 +1,222 @@
1
+ import { ComponentResourceOptions } from "@pulumi/pulumi";
2
+ import { Component } from "../../component.js";
3
+ import { Link } from "../../link.js";
4
+ import { Input } from "../../input.js";
5
+ import { Worker } from "../worker.js";
6
+ import { BaseStaticSiteArgs } from "../../base/base-static-site.js";
7
+ export interface StaticSiteArgs extends BaseStaticSiteArgs {
8
+ /**
9
+ * Path to the directory where your static site is located. By default this assumes your static site is in the root of your SST app.
10
+ *
11
+ * This directory will be uploaded to KV. The path is relative to your `sst.config.ts`.
12
+ *
13
+ * :::note
14
+ * If the `build` options are specified, `build.output` will be uploaded to KV instead.
15
+ * :::
16
+ *
17
+ * If you are using a static site generator, like Vite, you'll need to configure the `build` options. When these are set, the `build.output` directory will be uploaded to KV instead.
18
+ *
19
+ * @default `"."`
20
+ *
21
+ * @example
22
+ *
23
+ * Change where your static site is located.
24
+ *
25
+ * ```js
26
+ * {
27
+ * path: "packages/web"
28
+ * }
29
+ * ```
30
+ */
31
+ path?: BaseStaticSiteArgs["path"];
32
+ /**
33
+ * Configure if your static site needs to be built. This is useful if you are using a static site generator.
34
+ *
35
+ * The `build.output` directory will be uploaded to KV instead.
36
+ *
37
+ * @example
38
+ * For a Vite project using npm this might look like this.
39
+ *
40
+ * ```js
41
+ * {
42
+ * build: {
43
+ * command: "npm run build",
44
+ * output: "dist"
45
+ * }
46
+ * }
47
+ * ```
48
+ */
49
+ build?: BaseStaticSiteArgs["build"];
50
+ /**
51
+ * Set a custom domain for your static site. Supports domains hosted on Cloudflare.
52
+ *
53
+ * :::tip
54
+ * You can migrate an externally hosted domain to Cloudflare by
55
+ * [following this guide](https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/).
56
+ * :::
57
+ *
58
+ * @example
59
+ *
60
+ * ```js
61
+ * {
62
+ * domain: "domain.com"
63
+ * }
64
+ * ```
65
+ */
66
+ domain?: Input<string>;
67
+ }
68
+ /**
69
+ * The `StaticSite` component lets you deploy a static website to Cloudflare. It uses [Cloudflare KV storage](https://developers.cloudflare.com/kv/) to store your files and [Cloudflare Workers](https://developers.cloudflare.com/workers/) to serve them.
70
+ *
71
+ * It can also `build` your site by running your static site generator, like [Vite](https://vitejs.dev) and uploading the build output to Cloudflare KV.
72
+ *
73
+ * @example
74
+ *
75
+ * #### Minimal example
76
+ *
77
+ * Simply uploads the current directory as a static site.
78
+ *
79
+ * ```js
80
+ * new sst.aws.StaticSite("MyWeb");
81
+ * ```
82
+ *
83
+ * #### Change the path
84
+ *
85
+ * Change the `path` that should be uploaded.
86
+ *
87
+ * ```js
88
+ * new sst.aws.StaticSite("MyWeb", {
89
+ * path: "path/to/site"
90
+ * });
91
+ * ```
92
+ *
93
+ * #### Deploy a Vite SPA
94
+ *
95
+ * Use [Vite](https://vitejs.dev) to deploy a React/Vue/Svelte/etc. SPA by specifying the `build` config.
96
+ *
97
+ * ```js
98
+ * new sst.aws.StaticSite("MyWeb", {
99
+ * build: {
100
+ * command: "npm run build",
101
+ * output: "dist"
102
+ * }
103
+ * });
104
+ * ```
105
+ *
106
+ * #### Deploy a Jekyll site
107
+ *
108
+ * Use [Jekyll](https://jekyllrb.com) to deploy a static site.
109
+ *
110
+ * ```js
111
+ * new sst.aws.StaticSite("MyWeb", {
112
+ * errorPage: "404.html",
113
+ * build: {
114
+ * command: "bundle exec jekyll build",
115
+ * output: "_site"
116
+ * }
117
+ * });
118
+ * ```
119
+ *
120
+ * #### Deploy a Gatsby site
121
+ *
122
+ * Use [Gatsby](https://www.gatsbyjs.com) to deploy a static site.
123
+ *
124
+ * ```js
125
+ * new sst.aws.StaticSite("MyWeb", {
126
+ * errorPage: "404.html",
127
+ * build: {
128
+ * command: "npm run build",
129
+ * output: "public"
130
+ * }
131
+ * });
132
+ * ```
133
+ *
134
+ * #### Deploy an Angular SPA
135
+ *
136
+ * Use [Angular](https://angular.dev) to deploy a SPA.
137
+ *
138
+ * ```js
139
+ * new sst.aws.StaticSite("MyWeb", {
140
+ * build: {
141
+ * command: "ng build --output-path dist",
142
+ * output: "dist"
143
+ * }
144
+ * });
145
+ * ```
146
+ *
147
+ * #### Add a custom domain
148
+ *
149
+ * Set a custom domain for your site.
150
+ *
151
+ * ```js {2}
152
+ * new sst.aws.StaticSite("MyWeb", {
153
+ * domain: "my-app.com"
154
+ * });
155
+ * ```
156
+ *
157
+ * #### Redirect www to apex domain
158
+ *
159
+ * Redirect `www.my-app.com` to `my-app.com`.
160
+ *
161
+ * ```js {4}
162
+ * new sst.aws.StaticSite("MyWeb", {
163
+ * domain: {
164
+ * name: "my-app.com",
165
+ * redirects: ["www.my-app.com"]
166
+ * }
167
+ * });
168
+ * ```
169
+ *
170
+ * #### Set environment variables
171
+ *
172
+ * Set `environment` variables for the build process of your static site. These will be used locally and on deploy.
173
+ *
174
+ * :::tip
175
+ * For Vite, the types for the environment variables are also generated. This can be configured through the `vite` prop.
176
+ * :::
177
+ *
178
+ * For some static site generators like Vite, [environment variables](https://vitejs.dev/guide/env-and-mode) prefixed with `VITE_` can be accessed in the browser.
179
+ *
180
+ * ```ts {5-7}
181
+ * const bucket = new sst.aws.Bucket("MyBucket");
182
+ *
183
+ * new sst.aws.StaticSite("MyWeb", {
184
+ * environment: {
185
+ * BUCKET_NAME: bucket.name,
186
+ * // Accessible in the browser
187
+ * VITE_STRIPE_PUBLISHABLE_KEY: "pk_test_123"
188
+ * },
189
+ * build: {
190
+ * command: "npm run build",
191
+ * output: "dist"
192
+ * }
193
+ * });
194
+ * ```
195
+ */
196
+ export declare class StaticSite extends Component implements Link.Linkable {
197
+ private server;
198
+ constructor(name: string, args?: StaticSiteArgs, opts?: ComponentResourceOptions);
199
+ /**
200
+ * The URL of the website.
201
+ *
202
+ * If the `domain` is set, this is the URL with the custom domain.
203
+ * Otherwise, it's the auto-generated worker URL.
204
+ */
205
+ get url(): $util.Output<string | undefined>;
206
+ /**
207
+ * The underlying [resources](/docs/components/#nodes) this component creates.
208
+ */
209
+ get nodes(): {
210
+ /**
211
+ * The worker that serves the requests.
212
+ */
213
+ server: Worker;
214
+ };
215
+ /** @internal */
216
+ getSSTLink(): {
217
+ properties: {
218
+ url: $util.Output<string | undefined>;
219
+ };
220
+ };
221
+ }
222
+ //# sourceMappingURL=static-site.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-site.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/experimental/static-site.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,kBAAkB,EAGnB,MAAM,gCAAgC,CAAC;AAExC,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+HG;AACH,qBAAa,UAAW,SAAQ,SAAU,YAAW,IAAI,CAAC,QAAQ;IAChE,OAAO,CAAC,MAAM,CAAS;gBAGrB,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,cAAmB,EACzB,IAAI,GAAE,wBAA6B;IAuDrC;;;;;OAKG;IACH,IAAW,GAAG,qCAEb;IAED;;OAEG;IACH,IAAW,KAAK;QAEZ;;WAEG;;MAGN;IAED,gBAAgB;IACT,UAAU;;;;;CAOlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/helpers/fetch.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW,CAAC,UAAU;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,wBAAsB,OAAO,CAAC,UAAU,EACtC,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,WAAgB,oCA+BvB"}
1
+ {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/helpers/fetch.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW,CAAC,UAAU;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,wBAAsB,OAAO,CAAC,UAAU,EACtC,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,WAAgB,oCAiDvB"}
@@ -4,7 +4,7 @@ import { Worker, WorkerArgs } from "../worker";
4
4
  import * as cloudflare from "@pulumi/cloudflare";
5
5
  export type WorkerBuilder = Output<{
6
6
  getWorker: () => Worker;
7
- script: Output<cloudflare.WorkerScript>;
7
+ script: cloudflare.WorkerScript;
8
8
  }>;
9
9
  export declare function workerBuilder(name: string, definition: Input<string | WorkerArgs>, argsTransform?: Transform<WorkerArgs>, opts?: ComponentResourceOptions): WorkerBuilder;
10
10
  //# sourceMappingURL=worker-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worker-builder.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/helpers/worker-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAa,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;IACjC,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;CACzC,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC,EACtC,aAAa,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,EACrC,IAAI,CAAC,EAAE,wBAAwB,GAC9B,aAAa,CAuCf"}
1
+ {"version":3,"file":"worker-builder.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/cloudflare/helpers/worker-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,EACL,MAAM,EAEP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAa,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;IACjC,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;CACjC,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC,EACtC,aAAa,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,EACrC,IAAI,CAAC,EAAE,wBAAwB,GAC9B,aAAa,CAkCf"}
@@ -3,11 +3,14 @@ export * from "./kv";
3
3
  export * from "./d1";
4
4
  export * from "./dns";
5
5
  export * from "./static-site";
6
- export * from "./remix";
7
6
  export * from "./worker";
8
7
  export * from "./account-id";
9
8
  export * from "./auth";
10
9
  export * from "./queue";
11
10
  export * from "./cron";
12
11
  export { binding } from "./binding.js";
12
+ /**
13
+ * experimental packages, you may be fired for using
14
+ */
15
+ export * as x from "./experimental/index";
13
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC"}
@@ -63,7 +63,9 @@ export declare class Kv extends Component implements Link.Linkable {
63
63
  * @internal
64
64
  */
65
65
  getSSTLink(): {
66
- properties: {};
66
+ properties: {
67
+ namespaceId: $util.Output<string>;
68
+ };
67
69
  include: {
68
70
  type: "cloudflare.binding";
69
71
  binding: "kvNamespaceBindings" | "secretTextBindings" | "serviceBindings" | "plainTextBindings" | "queueBindings" | "r2BucketBindings" | "d1DatabaseBindings";
@@ -76,7 +78,7 @@ export declare class Kv extends Component implements Link.Linkable {
76
78
  } | {
77
79
  text: import("../input").Input<string>;
78
80
  } | {
79
- queue: import("../input").Input<string>;
81
+ queueName: import("../input").Input<string>;
80
82
  } | {
81
83
  bucketName: import("../input").Input<string>;
82
84
  } | {
@@ -88,6 +90,10 @@ export declare class Kv extends Component implements Link.Linkable {
88
90
  * The generated ID of the KV namespace.
89
91
  */
90
92
  get id(): $util.Output<string>;
93
+ /**
94
+ * The generated ID of the KV namespace.
95
+ */
96
+ get namespaceId(): $util.Output<string>;
91
97
  /**
92
98
  * The underlying [resources](/docs/components/#nodes) this component creates.
93
99
  */