@monorise/sst 1.0.0-dev.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 (710) hide show
  1. package/dist/.sst/platform/src/components/aws/analog.d.ts +423 -0
  2. package/dist/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
  3. package/dist/.sst/platform/src/components/aws/analog.js +118 -0
  4. package/dist/.sst/platform/src/components/aws/analog.js.map +1 -0
  5. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
  6. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
  7. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js +110 -0
  8. package/dist/.sst/platform/src/components/aws/apigateway-websocket-route.js.map +1 -0
  9. package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
  10. package/dist/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
  11. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js +409 -0
  12. package/dist/.sst/platform/src/components/aws/apigateway-websocket.js.map +1 -0
  13. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
  14. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
  15. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js +55 -0
  16. package/dist/.sst/platform/src/components/aws/apigatewayv1-api-key.js.map +1 -0
  17. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
  18. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
  19. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js +110 -0
  20. package/dist/.sst/platform/src/components/aws/apigatewayv1-authorizer.js.map +1 -0
  21. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
  22. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
  23. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js +34 -0
  24. package/dist/.sst/platform/src/components/aws/apigatewayv1-base-route.js.map +1 -0
  25. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
  26. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
  27. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js +49 -0
  28. package/dist/.sst/platform/src/components/aws/apigatewayv1-integration-route.js.map +1 -0
  29. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
  30. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
  31. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js +85 -0
  32. package/dist/.sst/platform/src/components/aws/apigatewayv1-lambda-route.js.map +1 -0
  33. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
  34. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
  35. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js +66 -0
  36. package/dist/.sst/platform/src/components/aws/apigatewayv1-usage-plan.js.map +1 -0
  37. package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
  38. package/dist/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
  39. package/dist/.sst/platform/src/components/aws/apigatewayv1.js +749 -0
  40. package/dist/.sst/platform/src/components/aws/apigatewayv1.js.map +1 -0
  41. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
  42. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
  43. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js +98 -0
  44. package/dist/.sst/platform/src/components/aws/apigatewayv2-authorizer.js.map +1 -0
  45. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
  46. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
  47. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js +28 -0
  48. package/dist/.sst/platform/src/components/aws/apigatewayv2-base-route.js.map +1 -0
  49. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
  50. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
  51. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js +84 -0
  52. package/dist/.sst/platform/src/components/aws/apigatewayv2-lambda-route.js.map +1 -0
  53. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
  54. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
  55. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js +55 -0
  56. package/dist/.sst/platform/src/components/aws/apigatewayv2-private-route.js.map +1 -0
  57. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
  58. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
  59. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js +53 -0
  60. package/dist/.sst/platform/src/components/aws/apigatewayv2-url-route.js.map +1 -0
  61. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts +933 -0
  62. package/dist/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
  63. package/dist/.sst/platform/src/components/aws/apigatewayv2.js +648 -0
  64. package/dist/.sst/platform/src/components/aws/apigatewayv2.js.map +1 -0
  65. package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
  66. package/dist/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
  67. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js +208 -0
  68. package/dist/.sst/platform/src/components/aws/app-sync-data-source.js.map +1 -0
  69. package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
  70. package/dist/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
  71. package/dist/.sst/platform/src/components/aws/app-sync-function.js +52 -0
  72. package/dist/.sst/platform/src/components/aws/app-sync-function.js.map +1 -0
  73. package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
  74. package/dist/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
  75. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js +70 -0
  76. package/dist/.sst/platform/src/components/aws/app-sync-resolver.js.map +1 -0
  77. package/dist/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
  78. package/dist/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
  79. package/dist/.sst/platform/src/components/aws/app-sync.js +330 -0
  80. package/dist/.sst/platform/src/components/aws/app-sync.js.map +1 -0
  81. package/dist/.sst/platform/src/components/aws/astro.d.ts +421 -0
  82. package/dist/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
  83. package/dist/.sst/platform/src/components/aws/astro.js +156 -0
  84. package/dist/.sst/platform/src/components/aws/astro.js.map +1 -0
  85. package/dist/.sst/platform/src/components/aws/aurora.d.ts +702 -0
  86. package/dist/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
  87. package/dist/.sst/platform/src/components/aws/aurora.js +678 -0
  88. package/dist/.sst/platform/src/components/aws/aurora.js.map +1 -0
  89. package/dist/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
  90. package/dist/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
  91. package/dist/.sst/platform/src/components/aws/auth-v1.js +36 -0
  92. package/dist/.sst/platform/src/components/aws/auth-v1.js.map +1 -0
  93. package/dist/.sst/platform/src/components/aws/auth.d.ts +260 -0
  94. package/dist/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
  95. package/dist/.sst/platform/src/components/aws/auth.js +209 -0
  96. package/dist/.sst/platform/src/components/aws/auth.js.map +1 -0
  97. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
  98. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
  99. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js +99 -0
  100. package/dist/.sst/platform/src/components/aws/bucket-lambda-subscriber.js.map +1 -0
  101. package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
  102. package/dist/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
  103. package/dist/.sst/platform/src/components/aws/bucket-notification.js +170 -0
  104. package/dist/.sst/platform/src/components/aws/bucket-notification.js.map +1 -0
  105. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
  106. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
  107. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js +77 -0
  108. package/dist/.sst/platform/src/components/aws/bucket-queue-subscriber.js.map +1 -0
  109. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
  110. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
  111. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js +99 -0
  112. package/dist/.sst/platform/src/components/aws/bucket-topic-subscriber.js.map +1 -0
  113. package/dist/.sst/platform/src/components/aws/bucket.d.ts +1115 -0
  114. package/dist/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
  115. package/dist/.sst/platform/src/components/aws/bucket.js +754 -0
  116. package/dist/.sst/platform/src/components/aws/bucket.js.map +1 -0
  117. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
  118. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
  119. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js +19 -0
  120. package/dist/.sst/platform/src/components/aws/bus-base-subscriber.js.map +1 -0
  121. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
  122. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
  123. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js +81 -0
  124. package/dist/.sst/platform/src/components/aws/bus-lambda-subscriber.js.map +1 -0
  125. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
  126. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
  127. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js +63 -0
  128. package/dist/.sst/platform/src/components/aws/bus-queue-subscriber.js.map +1 -0
  129. package/dist/.sst/platform/src/components/aws/bus.d.ts +403 -0
  130. package/dist/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
  131. package/dist/.sst/platform/src/components/aws/bus.js +350 -0
  132. package/dist/.sst/platform/src/components/aws/bus.js.map +1 -0
  133. package/dist/.sst/platform/src/components/aws/cdn.d.ts +299 -0
  134. package/dist/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
  135. package/dist/.sst/platform/src/components/aws/cdn.js +234 -0
  136. package/dist/.sst/platform/src/components/aws/cdn.js.map +1 -0
  137. package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
  138. package/dist/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
  139. package/dist/.sst/platform/src/components/aws/cluster-v1.js +245 -0
  140. package/dist/.sst/platform/src/components/aws/cluster-v1.js.map +1 -0
  141. package/dist/.sst/platform/src/components/aws/cluster.d.ts +308 -0
  142. package/dist/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
  143. package/dist/.sst/platform/src/components/aws/cluster.js +321 -0
  144. package/dist/.sst/platform/src/components/aws/cluster.js.map +1 -0
  145. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
  146. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
  147. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js +263 -0
  148. package/dist/.sst/platform/src/components/aws/cognito-identity-pool.js.map +1 -0
  149. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
  150. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
  151. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js +67 -0
  152. package/dist/.sst/platform/src/components/aws/cognito-identity-provider.js.map +1 -0
  153. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
  154. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
  155. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js +81 -0
  156. package/dist/.sst/platform/src/components/aws/cognito-user-pool-client.js.map +1 -0
  157. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts +599 -0
  158. package/dist/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
  159. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js +368 -0
  160. package/dist/.sst/platform/src/components/aws/cognito-user-pool.js.map +1 -0
  161. package/dist/.sst/platform/src/components/aws/cron.d.ts +250 -0
  162. package/dist/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
  163. package/dist/.sst/platform/src/components/aws/cron.js +200 -0
  164. package/dist/.sst/platform/src/components/aws/cron.js.map +1 -0
  165. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
  166. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
  167. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js +55 -0
  168. package/dist/.sst/platform/src/components/aws/dns-validated-certificate.js.map +1 -0
  169. package/dist/.sst/platform/src/components/aws/dns.d.ts +94 -0
  170. package/dist/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
  171. package/dist/.sst/platform/src/components/aws/dns.js +121 -0
  172. package/dist/.sst/platform/src/components/aws/dns.js.map +1 -0
  173. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
  174. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
  175. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js +79 -0
  176. package/dist/.sst/platform/src/components/aws/dynamo-lambda-subscriber.js.map +1 -0
  177. package/dist/.sst/platform/src/components/aws/dynamo.d.ts +569 -0
  178. package/dist/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
  179. package/dist/.sst/platform/src/components/aws/dynamo.js +291 -0
  180. package/dist/.sst/platform/src/components/aws/dynamo.js.map +1 -0
  181. package/dist/.sst/platform/src/components/aws/efs.d.ts +217 -0
  182. package/dist/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
  183. package/dist/.sst/platform/src/components/aws/efs.js +241 -0
  184. package/dist/.sst/platform/src/components/aws/efs.js.map +1 -0
  185. package/dist/.sst/platform/src/components/aws/email.d.ts +291 -0
  186. package/dist/.sst/platform/src/components/aws/email.d.ts.map +1 -0
  187. package/dist/.sst/platform/src/components/aws/email.js +276 -0
  188. package/dist/.sst/platform/src/components/aws/email.js.map +1 -0
  189. package/dist/.sst/platform/src/components/aws/fargate.d.ts +769 -0
  190. package/dist/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
  191. package/dist/.sst/platform/src/components/aws/fargate.js +434 -0
  192. package/dist/.sst/platform/src/components/aws/fargate.js.map +1 -0
  193. package/dist/.sst/platform/src/components/aws/function.d.ts +1631 -0
  194. package/dist/.sst/platform/src/components/aws/function.d.ts.map +1 -0
  195. package/dist/.sst/platform/src/components/aws/function.js +1041 -0
  196. package/dist/.sst/platform/src/components/aws/function.js.map +1 -0
  197. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
  198. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
  199. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js +31 -0
  200. package/dist/.sst/platform/src/components/aws/helpers/apigateway-account.js.map +1 -0
  201. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
  202. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
  203. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js +2 -0
  204. package/dist/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.js.map +1 -0
  205. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts +35 -0
  206. package/dist/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
  207. package/dist/.sst/platform/src/components/aws/helpers/arn.js +86 -0
  208. package/dist/.sst/platform/src/components/aws/helpers/arn.js.map +1 -0
  209. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
  210. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
  211. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js +7 -0
  212. package/dist/.sst/platform/src/components/aws/helpers/bootstrap.js.map +1 -0
  213. package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
  214. package/dist/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
  215. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js +27 -0
  216. package/dist/.sst/platform/src/components/aws/helpers/container-builder.js.map +1 -0
  217. package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
  218. package/dist/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
  219. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js +51 -0
  220. package/dist/.sst/platform/src/components/aws/helpers/function-builder.js.map +1 -0
  221. package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
  222. package/dist/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
  223. package/dist/.sst/platform/src/components/aws/helpers/provider.js +34 -0
  224. package/dist/.sst/platform/src/components/aws/helpers/provider.js.map +1 -0
  225. package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
  226. package/dist/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
  227. package/dist/.sst/platform/src/components/aws/helpers/quota.js +20 -0
  228. package/dist/.sst/platform/src/components/aws/helpers/quota.js.map +1 -0
  229. package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
  230. package/dist/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
  231. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js +36 -0
  232. package/dist/.sst/platform/src/components/aws/helpers/site-builder.js.map +1 -0
  233. package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
  234. package/dist/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
  235. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js +13 -0
  236. package/dist/.sst/platform/src/components/aws/helpers/subscriber.js.map +1 -0
  237. package/dist/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
  238. package/dist/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
  239. package/dist/.sst/platform/src/components/aws/https-redirect.js +124 -0
  240. package/dist/.sst/platform/src/components/aws/https-redirect.js.map +1 -0
  241. package/dist/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
  242. package/dist/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
  243. package/dist/.sst/platform/src/components/aws/iam-edit.js +40 -0
  244. package/dist/.sst/platform/src/components/aws/iam-edit.js.map +1 -0
  245. package/dist/.sst/platform/src/components/aws/index.d.ts +48 -0
  246. package/dist/.sst/platform/src/components/aws/index.d.ts.map +1 -0
  247. package/dist/.sst/platform/src/components/aws/index.js +49 -0
  248. package/dist/.sst/platform/src/components/aws/index.js.map +1 -0
  249. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
  250. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
  251. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js +82 -0
  252. package/dist/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.js.map +1 -0
  253. package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
  254. package/dist/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
  255. package/dist/.sst/platform/src/components/aws/kinesis-stream.js +134 -0
  256. package/dist/.sst/platform/src/components/aws/kinesis-stream.js.map +1 -0
  257. package/dist/.sst/platform/src/components/aws/linkable.d.ts +17 -0
  258. package/dist/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
  259. package/dist/.sst/platform/src/components/aws/linkable.js +25 -0
  260. package/dist/.sst/platform/src/components/aws/linkable.js.map +1 -0
  261. package/dist/.sst/platform/src/components/aws/logging.d.ts +26 -0
  262. package/dist/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
  263. package/dist/.sst/platform/src/components/aws/logging.js +26 -0
  264. package/dist/.sst/platform/src/components/aws/logging.js.map +1 -0
  265. package/dist/.sst/platform/src/components/aws/mysql.d.ts +496 -0
  266. package/dist/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
  267. package/dist/.sst/platform/src/components/aws/mysql.js +514 -0
  268. package/dist/.sst/platform/src/components/aws/mysql.js.map +1 -0
  269. package/dist/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
  270. package/dist/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
  271. package/dist/.sst/platform/src/components/aws/nextjs.js +444 -0
  272. package/dist/.sst/platform/src/components/aws/nextjs.js.map +1 -0
  273. package/dist/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
  274. package/dist/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
  275. package/dist/.sst/platform/src/components/aws/nuxt.js +113 -0
  276. package/dist/.sst/platform/src/components/aws/nuxt.js.map +1 -0
  277. package/dist/.sst/platform/src/components/aws/open-search.d.ts +295 -0
  278. package/dist/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
  279. package/dist/.sst/platform/src/components/aws/open-search.js +365 -0
  280. package/dist/.sst/platform/src/components/aws/open-search.js.map +1 -0
  281. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
  282. package/dist/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
  283. package/dist/.sst/platform/src/components/aws/opencontrol.js +164 -0
  284. package/dist/.sst/platform/src/components/aws/opencontrol.js.map +1 -0
  285. package/dist/.sst/platform/src/components/aws/permission.d.ts +27 -0
  286. package/dist/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
  287. package/dist/.sst/platform/src/components/aws/permission.js +19 -0
  288. package/dist/.sst/platform/src/components/aws/permission.js.map +1 -0
  289. package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
  290. package/dist/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
  291. package/dist/.sst/platform/src/components/aws/postgres-v1.js +304 -0
  292. package/dist/.sst/platform/src/components/aws/postgres-v1.js.map +1 -0
  293. package/dist/.sst/platform/src/components/aws/postgres.d.ts +500 -0
  294. package/dist/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
  295. package/dist/.sst/platform/src/components/aws/postgres.js +532 -0
  296. package/dist/.sst/platform/src/components/aws/postgres.js.map +1 -0
  297. package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
  298. package/dist/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
  299. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js +8 -0
  300. package/dist/.sst/platform/src/components/aws/providers/bucket-files.js.map +1 -0
  301. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
  302. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
  303. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js +8 -0
  304. package/dist/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.js.map +1 -0
  305. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
  306. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
  307. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js +8 -0
  308. package/dist/.sst/platform/src/components/aws/providers/distribution-invalidation.js.map +1 -0
  309. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
  310. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
  311. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js +18 -0
  312. package/dist/.sst/platform/src/components/aws/providers/function-environment-update.js.map +1 -0
  313. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
  314. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
  315. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js +8 -0
  316. package/dist/.sst/platform/src/components/aws/providers/hosted-zone-lookup.js.map +1 -0
  317. package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
  318. package/dist/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
  319. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js +8 -0
  320. package/dist/.sst/platform/src/components/aws/providers/kv-keys.js.map +1 -0
  321. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
  322. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
  323. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js +8 -0
  324. package/dist/.sst/platform/src/components/aws/providers/kv-routes-update.js.map +1 -0
  325. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
  326. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
  327. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js +8 -0
  328. package/dist/.sst/platform/src/components/aws/providers/origin-access-control.js.map +1 -0
  329. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
  330. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
  331. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js +8 -0
  332. package/dist/.sst/platform/src/components/aws/providers/rds-role-lookup.js.map +1 -0
  333. package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
  334. package/dist/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
  335. package/dist/.sst/platform/src/components/aws/providers/vector-table.js +8 -0
  336. package/dist/.sst/platform/src/components/aws/providers/vector-table.js.map +1 -0
  337. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
  338. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
  339. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js +81 -0
  340. package/dist/.sst/platform/src/components/aws/queue-lambda-subscriber.js.map +1 -0
  341. package/dist/.sst/platform/src/components/aws/queue.d.ts +485 -0
  342. package/dist/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
  343. package/dist/.sst/platform/src/components/aws/queue.js +322 -0
  344. package/dist/.sst/platform/src/components/aws/queue.js.map +1 -0
  345. package/dist/.sst/platform/src/components/aws/react.d.ts +416 -0
  346. package/dist/.sst/platform/src/components/aws/react.d.ts.map +1 -0
  347. package/dist/.sst/platform/src/components/aws/react.js +157 -0
  348. package/dist/.sst/platform/src/components/aws/react.js.map +1 -0
  349. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
  350. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
  351. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js +78 -0
  352. package/dist/.sst/platform/src/components/aws/realtime-lambda-subscriber.js.map +1 -0
  353. package/dist/.sst/platform/src/components/aws/realtime.d.ts +226 -0
  354. package/dist/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
  355. package/dist/.sst/platform/src/components/aws/realtime.js +221 -0
  356. package/dist/.sst/platform/src/components/aws/realtime.js.map +1 -0
  357. package/dist/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
  358. package/dist/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
  359. package/dist/.sst/platform/src/components/aws/redis-v1.js +335 -0
  360. package/dist/.sst/platform/src/components/aws/redis-v1.js.map +1 -0
  361. package/dist/.sst/platform/src/components/aws/redis.d.ts +364 -0
  362. package/dist/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
  363. package/dist/.sst/platform/src/components/aws/redis.js +382 -0
  364. package/dist/.sst/platform/src/components/aws/redis.js.map +1 -0
  365. package/dist/.sst/platform/src/components/aws/remix.d.ts +423 -0
  366. package/dist/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
  367. package/dist/.sst/platform/src/components/aws/remix.js +212 -0
  368. package/dist/.sst/platform/src/components/aws/remix.js.map +1 -0
  369. package/dist/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
  370. package/dist/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
  371. package/dist/.sst/platform/src/components/aws/router-base-route.js +40 -0
  372. package/dist/.sst/platform/src/components/aws/router-base-route.js.map +1 -0
  373. package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
  374. package/dist/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
  375. package/dist/.sst/platform/src/components/aws/router-bucket-route.js +40 -0
  376. package/dist/.sst/platform/src/components/aws/router-bucket-route.js.map +1 -0
  377. package/dist/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
  378. package/dist/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
  379. package/dist/.sst/platform/src/components/aws/router-url-route.js +51 -0
  380. package/dist/.sst/platform/src/components/aws/router-url-route.js.map +1 -0
  381. package/dist/.sst/platform/src/components/aws/router.d.ts +1266 -0
  382. package/dist/.sst/platform/src/components/aws/router.d.ts.map +1 -0
  383. package/dist/.sst/platform/src/components/aws/router.js +1156 -0
  384. package/dist/.sst/platform/src/components/aws/router.js.map +1 -0
  385. package/dist/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
  386. package/dist/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
  387. package/dist/.sst/platform/src/components/aws/service-v1.js +606 -0
  388. package/dist/.sst/platform/src/components/aws/service-v1.js.map +1 -0
  389. package/dist/.sst/platform/src/components/aws/service.d.ts +1599 -0
  390. package/dist/.sst/platform/src/components/aws/service.d.ts.map +1 -0
  391. package/dist/.sst/platform/src/components/aws/service.js +924 -0
  392. package/dist/.sst/platform/src/components/aws/service.js.map +1 -0
  393. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
  394. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
  395. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js +75 -0
  396. package/dist/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.js.map +1 -0
  397. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
  398. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
  399. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js +59 -0
  400. package/dist/.sst/platform/src/components/aws/sns-topic-queue-subscriber.js.map +1 -0
  401. package/dist/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
  402. package/dist/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
  403. package/dist/.sst/platform/src/components/aws/sns-topic.js +233 -0
  404. package/dist/.sst/platform/src/components/aws/sns-topic.js.map +1 -0
  405. package/dist/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
  406. package/dist/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
  407. package/dist/.sst/platform/src/components/aws/solid-start.js +120 -0
  408. package/dist/.sst/platform/src/components/aws/solid-start.js.map +1 -0
  409. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts +494 -0
  410. package/dist/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
  411. package/dist/.sst/platform/src/components/aws/ssr-site.js +792 -0
  412. package/dist/.sst/platform/src/components/aws/ssr-site.js.map +1 -0
  413. package/dist/.sst/platform/src/components/aws/static-site.d.ts +736 -0
  414. package/dist/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
  415. package/dist/.sst/platform/src/components/aws/static-site.js +583 -0
  416. package/dist/.sst/platform/src/components/aws/static-site.js.map +1 -0
  417. package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
  418. package/dist/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
  419. package/dist/.sst/platform/src/components/aws/step-functions/choice.js +98 -0
  420. package/dist/.sst/platform/src/components/aws/step-functions/choice.js.map +1 -0
  421. package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
  422. package/dist/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
  423. package/dist/.sst/platform/src/components/aws/step-functions/fail.js +25 -0
  424. package/dist/.sst/platform/src/components/aws/step-functions/fail.js.map +1 -0
  425. package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
  426. package/dist/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
  427. package/dist/.sst/platform/src/components/aws/step-functions/map.js +108 -0
  428. package/dist/.sst/platform/src/components/aws/step-functions/map.js.map +1 -0
  429. package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
  430. package/dist/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
  431. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js +129 -0
  432. package/dist/.sst/platform/src/components/aws/step-functions/parallel.js.map +1 -0
  433. package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
  434. package/dist/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
  435. package/dist/.sst/platform/src/components/aws/step-functions/pass.js +41 -0
  436. package/dist/.sst/platform/src/components/aws/step-functions/pass.js.map +1 -0
  437. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts +197 -0
  438. package/dist/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
  439. package/dist/.sst/platform/src/components/aws/step-functions/state.js +134 -0
  440. package/dist/.sst/platform/src/components/aws/step-functions/state.js.map +1 -0
  441. package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
  442. package/dist/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
  443. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js +25 -0
  444. package/dist/.sst/platform/src/components/aws/step-functions/succeed.js.map +1 -0
  445. package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
  446. package/dist/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
  447. package/dist/.sst/platform/src/components/aws/step-functions/task.js +116 -0
  448. package/dist/.sst/platform/src/components/aws/step-functions/task.js.map +1 -0
  449. package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
  450. package/dist/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
  451. package/dist/.sst/platform/src/components/aws/step-functions/wait.js +46 -0
  452. package/dist/.sst/platform/src/components/aws/step-functions/wait.js.map +1 -0
  453. package/dist/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
  454. package/dist/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
  455. package/dist/.sst/platform/src/components/aws/step-functions.js +576 -0
  456. package/dist/.sst/platform/src/components/aws/step-functions.js.map +1 -0
  457. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
  458. package/dist/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
  459. package/dist/.sst/platform/src/components/aws/svelte-kit.js +144 -0
  460. package/dist/.sst/platform/src/components/aws/svelte-kit.js.map +1 -0
  461. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
  462. package/dist/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
  463. package/dist/.sst/platform/src/components/aws/tan-stack-start.js +143 -0
  464. package/dist/.sst/platform/src/components/aws/tan-stack-start.js.map +1 -0
  465. package/dist/.sst/platform/src/components/aws/task.d.ts +322 -0
  466. package/dist/.sst/platform/src/components/aws/task.d.ts.map +1 -0
  467. package/dist/.sst/platform/src/components/aws/task.js +311 -0
  468. package/dist/.sst/platform/src/components/aws/task.js.map +1 -0
  469. package/dist/.sst/platform/src/components/aws/vector.d.ts +150 -0
  470. package/dist/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
  471. package/dist/.sst/platform/src/components/aws/vector.js +224 -0
  472. package/dist/.sst/platform/src/components/aws/vector.js.map +1 -0
  473. package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
  474. package/dist/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
  475. package/dist/.sst/platform/src/components/aws/vpc-v1.js +355 -0
  476. package/dist/.sst/platform/src/components/aws/vpc-v1.js.map +1 -0
  477. package/dist/.sst/platform/src/components/aws/vpc.d.ts +444 -0
  478. package/dist/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
  479. package/dist/.sst/platform/src/components/aws/vpc.js +834 -0
  480. package/dist/.sst/platform/src/components/aws/vpc.js.map +1 -0
  481. package/dist/.sst/platform/src/components/base/base-site.d.ts +53 -0
  482. package/dist/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
  483. package/dist/.sst/platform/src/components/base/base-site.js +47 -0
  484. package/dist/.sst/platform/src/components/base/base-site.js.map +1 -0
  485. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts +111 -0
  486. package/dist/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
  487. package/dist/.sst/platform/src/components/base/base-ssr-site.js +72 -0
  488. package/dist/.sst/platform/src/components/base/base-ssr-site.js.map +1 -0
  489. package/dist/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
  490. package/dist/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
  491. package/dist/.sst/platform/src/components/base/base-static-site.js +87 -0
  492. package/dist/.sst/platform/src/components/base/base-static-site.js.map +1 -0
  493. package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
  494. package/dist/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
  495. package/dist/.sst/platform/src/components/cloudflare/account-id.js +2 -0
  496. package/dist/.sst/platform/src/components/cloudflare/account-id.js.map +1 -0
  497. package/dist/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
  498. package/dist/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
  499. package/dist/.sst/platform/src/components/cloudflare/auth.js +37 -0
  500. package/dist/.sst/platform/src/components/cloudflare/auth.js.map +1 -0
  501. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
  502. package/dist/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
  503. package/dist/.sst/platform/src/components/cloudflare/binding.js +25 -0
  504. package/dist/.sst/platform/src/components/cloudflare/binding.js.map +1 -0
  505. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts +101 -0
  506. package/dist/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
  507. package/dist/.sst/platform/src/components/cloudflare/bucket.js +98 -0
  508. package/dist/.sst/platform/src/components/cloudflare/bucket.js.map +1 -0
  509. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
  510. package/dist/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
  511. package/dist/.sst/platform/src/components/cloudflare/cron.js +86 -0
  512. package/dist/.sst/platform/src/components/cloudflare/cron.js.map +1 -0
  513. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
  514. package/dist/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
  515. package/dist/.sst/platform/src/components/cloudflare/d1.js +104 -0
  516. package/dist/.sst/platform/src/components/cloudflare/d1.js.map +1 -0
  517. package/dist/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
  518. package/dist/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
  519. package/dist/.sst/platform/src/components/cloudflare/dns.js +138 -0
  520. package/dist/.sst/platform/src/components/cloudflare/dns.js.map +1 -0
  521. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
  522. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
  523. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js +39 -0
  524. package/dist/.sst/platform/src/components/cloudflare/helpers/fetch.js.map +1 -0
  525. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
  526. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
  527. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js +25 -0
  528. package/dist/.sst/platform/src/components/cloudflare/helpers/worker-builder.js.map +1 -0
  529. package/dist/.sst/platform/src/components/cloudflare/index.d.ts +13 -0
  530. package/dist/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
  531. package/dist/.sst/platform/src/components/cloudflare/index.js +13 -0
  532. package/dist/.sst/platform/src/components/cloudflare/index.js.map +1 -0
  533. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts +101 -0
  534. package/dist/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
  535. package/dist/.sst/platform/src/components/cloudflare/kv.js +98 -0
  536. package/dist/.sst/platform/src/components/cloudflare/kv.js.map +1 -0
  537. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
  538. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
  539. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js +11 -0
  540. package/dist/.sst/platform/src/components/cloudflare/providers/dns-record.js.map +1 -0
  541. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
  542. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
  543. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js +63 -0
  544. package/dist/.sst/platform/src/components/cloudflare/providers/kv-data.js.map +1 -0
  545. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
  546. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
  547. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js +83 -0
  548. package/dist/.sst/platform/src/components/cloudflare/providers/worker-url.js.map +1 -0
  549. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
  550. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
  551. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js +54 -0
  552. package/dist/.sst/platform/src/components/cloudflare/providers/zone-lookup.js.map +1 -0
  553. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
  554. package/dist/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
  555. package/dist/.sst/platform/src/components/cloudflare/queue.js +57 -0
  556. package/dist/.sst/platform/src/components/cloudflare/queue.js.map +1 -0
  557. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts +223 -0
  558. package/dist/.sst/platform/src/components/cloudflare/remix.d.ts.map +1 -0
  559. package/dist/.sst/platform/src/components/cloudflare/remix.js +291 -0
  560. package/dist/.sst/platform/src/components/cloudflare/remix.js.map +1 -0
  561. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts +59 -0
  562. package/dist/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
  563. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js +177 -0
  564. package/dist/.sst/platform/src/components/cloudflare/ssr-site.js.map +1 -0
  565. package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
  566. package/dist/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
  567. package/dist/.sst/platform/src/components/cloudflare/static-site.js +315 -0
  568. package/dist/.sst/platform/src/components/cloudflare/static-site.js.map +1 -0
  569. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts +273 -0
  570. package/dist/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
  571. package/dist/.sst/platform/src/components/cloudflare/worker.js +326 -0
  572. package/dist/.sst/platform/src/components/cloudflare/worker.js.map +1 -0
  573. package/dist/.sst/platform/src/components/component.d.ts +37 -0
  574. package/dist/.sst/platform/src/components/component.d.ts.map +1 -0
  575. package/dist/.sst/platform/src/components/component.js +395 -0
  576. package/dist/.sst/platform/src/components/component.js.map +1 -0
  577. package/dist/.sst/platform/src/components/cpu.d.ts +3 -0
  578. package/dist/.sst/platform/src/components/cpu.d.ts.map +1 -0
  579. package/dist/.sst/platform/src/components/cpu.js +9 -0
  580. package/dist/.sst/platform/src/components/cpu.js.map +1 -0
  581. package/dist/.sst/platform/src/components/dns.d.ts +59 -0
  582. package/dist/.sst/platform/src/components/dns.d.ts.map +1 -0
  583. package/dist/.sst/platform/src/components/dns.js +7 -0
  584. package/dist/.sst/platform/src/components/dns.js.map +1 -0
  585. package/dist/.sst/platform/src/components/duration.d.ts +6 -0
  586. package/dist/.sst/platform/src/components/duration.d.ts.map +1 -0
  587. package/dist/.sst/platform/src/components/duration.js +19 -0
  588. package/dist/.sst/platform/src/components/duration.js.map +1 -0
  589. package/dist/.sst/platform/src/components/error.d.ts +4 -0
  590. package/dist/.sst/platform/src/components/error.d.ts.map +1 -0
  591. package/dist/.sst/platform/src/components/error.js +6 -0
  592. package/dist/.sst/platform/src/components/error.js.map +1 -0
  593. package/dist/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
  594. package/dist/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
  595. package/dist/.sst/platform/src/components/experimental/dev-command.js +59 -0
  596. package/dist/.sst/platform/src/components/experimental/dev-command.js.map +1 -0
  597. package/dist/.sst/platform/src/components/experimental/index.d.ts +2 -0
  598. package/dist/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
  599. package/dist/.sst/platform/src/components/experimental/index.js +2 -0
  600. package/dist/.sst/platform/src/components/experimental/index.js.map +1 -0
  601. package/dist/.sst/platform/src/components/hint.d.ts +7 -0
  602. package/dist/.sst/platform/src/components/hint.d.ts.map +1 -0
  603. package/dist/.sst/platform/src/components/hint.js +20 -0
  604. package/dist/.sst/platform/src/components/hint.js.map +1 -0
  605. package/dist/.sst/platform/src/components/index.d.ts +16 -0
  606. package/dist/.sst/platform/src/components/index.d.ts.map +1 -0
  607. package/dist/.sst/platform/src/components/index.js +16 -0
  608. package/dist/.sst/platform/src/components/index.js.map +1 -0
  609. package/dist/.sst/platform/src/components/input.d.ts +3 -0
  610. package/dist/.sst/platform/src/components/input.d.ts.map +1 -0
  611. package/dist/.sst/platform/src/components/input.js +2 -0
  612. package/dist/.sst/platform/src/components/input.js.map +1 -0
  613. package/dist/.sst/platform/src/components/link.d.ts +41 -0
  614. package/dist/.sst/platform/src/components/link.d.ts.map +1 -0
  615. package/dist/.sst/platform/src/components/link.js +138 -0
  616. package/dist/.sst/platform/src/components/link.js.map +1 -0
  617. package/dist/.sst/platform/src/components/linkable.d.ts +271 -0
  618. package/dist/.sst/platform/src/components/linkable.d.ts.map +1 -0
  619. package/dist/.sst/platform/src/components/linkable.js +244 -0
  620. package/dist/.sst/platform/src/components/linkable.js.map +1 -0
  621. package/dist/.sst/platform/src/components/naming.d.ts +7 -0
  622. package/dist/.sst/platform/src/components/naming.d.ts.map +1 -0
  623. package/dist/.sst/platform/src/components/naming.js +58 -0
  624. package/dist/.sst/platform/src/components/naming.js.map +1 -0
  625. package/dist/.sst/platform/src/components/path.d.ts +2 -0
  626. package/dist/.sst/platform/src/components/path.d.ts.map +1 -0
  627. package/dist/.sst/platform/src/components/path.js +5 -0
  628. package/dist/.sst/platform/src/components/path.js.map +1 -0
  629. package/dist/.sst/platform/src/components/rpc/rpc.d.ts +18 -0
  630. package/dist/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
  631. package/dist/.sst/platform/src/components/rpc/rpc.js +120 -0
  632. package/dist/.sst/platform/src/components/rpc/rpc.js.map +1 -0
  633. package/dist/.sst/platform/src/components/secret.d.ts +125 -0
  634. package/dist/.sst/platform/src/components/secret.d.ts.map +1 -0
  635. package/dist/.sst/platform/src/components/secret.js +143 -0
  636. package/dist/.sst/platform/src/components/secret.js.map +1 -0
  637. package/dist/.sst/platform/src/components/size.d.ts +5 -0
  638. package/dist/.sst/platform/src/components/size.d.ts.map +1 -0
  639. package/dist/.sst/platform/src/components/size.js +29 -0
  640. package/dist/.sst/platform/src/components/size.js.map +1 -0
  641. package/dist/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
  642. package/dist/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
  643. package/dist/.sst/platform/src/components/vercel/account-id.js +2 -0
  644. package/dist/.sst/platform/src/components/vercel/account-id.js.map +1 -0
  645. package/dist/.sst/platform/src/components/vercel/dns.d.ts +73 -0
  646. package/dist/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
  647. package/dist/.sst/platform/src/components/vercel/dns.js +104 -0
  648. package/dist/.sst/platform/src/components/vercel/dns.js.map +1 -0
  649. package/dist/.sst/platform/src/components/vercel/index.d.ts +3 -0
  650. package/dist/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
  651. package/dist/.sst/platform/src/components/vercel/index.js +3 -0
  652. package/dist/.sst/platform/src/components/vercel/index.js.map +1 -0
  653. package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
  654. package/dist/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
  655. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js +8 -0
  656. package/dist/.sst/platform/src/components/vercel/providers/dns-record.js.map +1 -0
  657. package/dist/.sst/platform/src/config.d.ts +1243 -0
  658. package/dist/.sst/platform/src/config.d.ts.map +1 -0
  659. package/dist/.sst/platform/src/config.js +5 -0
  660. package/dist/.sst/platform/src/config.js.map +1 -0
  661. package/dist/.sst/platform/src/util/compare-semver.d.ts +4 -0
  662. package/dist/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
  663. package/dist/.sst/platform/src/util/compare-semver.js +24 -0
  664. package/dist/.sst/platform/src/util/compare-semver.js.map +1 -0
  665. package/dist/.sst/platform/src/util/lazy.d.ts +2 -0
  666. package/dist/.sst/platform/src/util/lazy.d.ts.map +1 -0
  667. package/dist/.sst/platform/src/util/lazy.js +12 -0
  668. package/dist/.sst/platform/src/util/lazy.js.map +1 -0
  669. package/dist/.sst/platform/src/util/path-to-regex.d.ts +128 -0
  670. package/dist/.sst/platform/src/util/path-to-regex.d.ts.map +1 -0
  671. package/dist/.sst/platform/src/util/path-to-regex.js +392 -0
  672. package/dist/.sst/platform/src/util/path-to-regex.js.map +1 -0
  673. package/dist/.sst/platform/src/util/semaphore.d.ts +9 -0
  674. package/dist/.sst/platform/src/util/semaphore.d.ts.map +1 -0
  675. package/dist/.sst/platform/src/util/semaphore.js +36 -0
  676. package/dist/.sst/platform/src/util/semaphore.js.map +1 -0
  677. package/dist/.sst/platform/src/util/warn.d.ts +2 -0
  678. package/dist/.sst/platform/src/util/warn.d.ts.map +1 -0
  679. package/dist/.sst/platform/src/util/warn.js +8 -0
  680. package/dist/.sst/platform/src/util/warn.js.map +1 -0
  681. package/dist/components/monorise-core.d.ts +17 -0
  682. package/dist/components/monorise-core.d.ts.map +1 -0
  683. package/dist/components/monorise-core.js +134 -0
  684. package/dist/components/monorise-core.js.map +1 -0
  685. package/dist/components/q-function.d.ts +17 -0
  686. package/dist/components/q-function.d.ts.map +1 -0
  687. package/dist/components/q-function.js +53 -0
  688. package/dist/components/q-function.js.map +1 -0
  689. package/dist/components/single-table.d.ts +12 -0
  690. package/dist/components/single-table.d.ts.map +1 -0
  691. package/dist/components/single-table.js +71 -0
  692. package/dist/components/single-table.js.map +1 -0
  693. package/dist/constants/event.d.ts +73 -0
  694. package/dist/constants/event.d.ts.map +1 -0
  695. package/dist/constants/event.js +74 -0
  696. package/dist/constants/event.js.map +1 -0
  697. package/dist/constants/table.d.ts +3 -0
  698. package/dist/constants/table.d.ts.map +1 -0
  699. package/dist/constants/table.js +3 -0
  700. package/dist/constants/table.js.map +1 -0
  701. package/dist/index.d.ts +11 -0
  702. package/dist/index.d.ts.map +1 -0
  703. package/dist/index.js +11 -0
  704. package/dist/index.js.map +1 -0
  705. package/dist/sst.config.d.ts +3 -0
  706. package/dist/sst.config.d.ts.map +1 -0
  707. package/dist/sst.config.js +24 -0
  708. package/dist/sst.config.js.map +1 -0
  709. package/dist/tsconfig.tsbuildinfo +1 -0
  710. package/package.json +25 -0
@@ -0,0 +1,315 @@
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 fs from "fs";
11
+ import path from "path";
12
+ import crypto from "crypto";
13
+ import { all, output } from "@pulumi/pulumi";
14
+ import { Kv } from "./kv.js";
15
+ import { Component, transform } from "../component.js";
16
+ import { globSync } from "glob";
17
+ import { KvData } from "./providers/kv-data.js";
18
+ import { Worker } from "./worker.js";
19
+ import { getContentType } from "../base/base-site.js";
20
+ import { buildApp, prepare, } from "../base/base-static-site.js";
21
+ import { DEFAULT_ACCOUNT_ID } from "./account-id.js";
22
+ /**
23
+ * 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.
24
+ *
25
+ * 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.
26
+ *
27
+ * @example
28
+ *
29
+ * #### Minimal example
30
+ *
31
+ * Simply uploads the current directory as a static site.
32
+ *
33
+ * ```js
34
+ * new sst.aws.StaticSite("MyWeb");
35
+ * ```
36
+ *
37
+ * #### Change the path
38
+ *
39
+ * Change the `path` that should be uploaded.
40
+ *
41
+ * ```js
42
+ * new sst.aws.StaticSite("MyWeb", {
43
+ * path: "path/to/site"
44
+ * });
45
+ * ```
46
+ *
47
+ * #### Deploy a Vite SPA
48
+ *
49
+ * Use [Vite](https://vitejs.dev) to deploy a React/Vue/Svelte/etc. SPA by specifying the `build` config.
50
+ *
51
+ * ```js
52
+ * new sst.aws.StaticSite("MyWeb", {
53
+ * build: {
54
+ * command: "npm run build",
55
+ * output: "dist"
56
+ * }
57
+ * });
58
+ * ```
59
+ *
60
+ * #### Deploy a Jekyll site
61
+ *
62
+ * Use [Jekyll](https://jekyllrb.com) to deploy a static site.
63
+ *
64
+ * ```js
65
+ * new sst.aws.StaticSite("MyWeb", {
66
+ * errorPage: "404.html",
67
+ * build: {
68
+ * command: "bundle exec jekyll build",
69
+ * output: "_site"
70
+ * }
71
+ * });
72
+ * ```
73
+ *
74
+ * #### Deploy a Gatsby site
75
+ *
76
+ * Use [Gatsby](https://www.gatsbyjs.com) to deploy a static site.
77
+ *
78
+ * ```js
79
+ * new sst.aws.StaticSite("MyWeb", {
80
+ * errorPage: "404.html",
81
+ * build: {
82
+ * command: "npm run build",
83
+ * output: "public"
84
+ * }
85
+ * });
86
+ * ```
87
+ *
88
+ * #### Deploy an Angular SPA
89
+ *
90
+ * Use [Angular](https://angular.dev) to deploy a SPA.
91
+ *
92
+ * ```js
93
+ * new sst.aws.StaticSite("MyWeb", {
94
+ * build: {
95
+ * command: "ng build --output-path dist",
96
+ * output: "dist"
97
+ * }
98
+ * });
99
+ * ```
100
+ *
101
+ * #### Add a custom domain
102
+ *
103
+ * Set a custom domain for your site.
104
+ *
105
+ * ```js {2}
106
+ * new sst.aws.StaticSite("MyWeb", {
107
+ * domain: "my-app.com"
108
+ * });
109
+ * ```
110
+ *
111
+ * #### Redirect www to apex domain
112
+ *
113
+ * Redirect `www.my-app.com` to `my-app.com`.
114
+ *
115
+ * ```js {4}
116
+ * new sst.aws.StaticSite("MyWeb", {
117
+ * domain: {
118
+ * name: "my-app.com",
119
+ * redirects: ["www.my-app.com"]
120
+ * }
121
+ * });
122
+ * ```
123
+ *
124
+ * #### Set environment variables
125
+ *
126
+ * Set `environment` variables for the build process of your static site. These will be used locally and on deploy.
127
+ *
128
+ * :::tip
129
+ * For Vite, the types for the environment variables are also generated. This can be configured through the `vite` prop.
130
+ * :::
131
+ *
132
+ * 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.
133
+ *
134
+ * ```ts {5-7}
135
+ * const bucket = new sst.aws.Bucket("MyBucket");
136
+ *
137
+ * new sst.aws.StaticSite("MyWeb", {
138
+ * environment: {
139
+ * BUCKET_NAME: bucket.name,
140
+ * // Accessible in the browser
141
+ * VITE_STRIPE_PUBLISHABLE_KEY: "pk_test_123"
142
+ * },
143
+ * build: {
144
+ * command: "npm run build",
145
+ * output: "dist"
146
+ * }
147
+ * });
148
+ * ```
149
+ */
150
+ export class StaticSite extends Component {
151
+ constructor(name, args = {}, opts = {}) {
152
+ super(__pulumiType, name, args, opts);
153
+ const parent = this;
154
+ const { sitePath, environment, indexPage } = prepare(args);
155
+ const outputPath = $dev
156
+ ? path.join($cli.paths.platform, "functions", "empty-site")
157
+ : buildApp(parent, name, args.build, sitePath, environment);
158
+ const storage = createKvStorage();
159
+ const assetManifest = generateAssetManifest();
160
+ const kvData = uploadAssets();
161
+ const worker = createRouter();
162
+ this.assets = storage;
163
+ this.router = worker;
164
+ this.registerOutputs({
165
+ _hint: this.url,
166
+ _dev: {
167
+ environment,
168
+ command: "npm run dev",
169
+ directory: sitePath,
170
+ autostart: true,
171
+ },
172
+ _metadata: {
173
+ path: sitePath,
174
+ environment,
175
+ url: this.url,
176
+ },
177
+ });
178
+ function createKvStorage() {
179
+ var _a;
180
+ return new Kv(...transform((_a = args.transform) === null || _a === void 0 ? void 0 : _a.assets, `${name}Assets`, {}, {
181
+ parent,
182
+ retainOnDelete: false,
183
+ }));
184
+ }
185
+ function generateAssetManifest() {
186
+ return all([outputPath, args.assets]).apply((_a) => __awaiter(this, [_a], void 0, function* ([outputPath, assets]) {
187
+ var _b, _c;
188
+ // Build fileOptions
189
+ const fileOptions = (_b = assets === null || assets === void 0 ? void 0 : assets.fileOptions) !== null && _b !== void 0 ? _b : [
190
+ {
191
+ files: "**",
192
+ cacheControl: "max-age=0,no-cache,no-store,must-revalidate",
193
+ },
194
+ {
195
+ files: ["**/*.js", "**/*.css"],
196
+ cacheControl: "max-age=31536000,public,immutable",
197
+ },
198
+ ];
199
+ // Upload files based on fileOptions
200
+ const manifest = [];
201
+ const filesProcessed = [];
202
+ for (const fileOption of fileOptions.reverse()) {
203
+ const files = globSync(fileOption.files, {
204
+ cwd: path.resolve(outputPath),
205
+ nodir: true,
206
+ dot: true,
207
+ ignore: [
208
+ ".sst/**",
209
+ ...(typeof fileOption.ignore === "string"
210
+ ? [fileOption.ignore]
211
+ : (_c = fileOption.ignore) !== null && _c !== void 0 ? _c : []),
212
+ ],
213
+ }).filter((file) => !filesProcessed.includes(file));
214
+ filesProcessed.push(...files);
215
+ manifest.push(...(yield Promise.all(files.map((file) => __awaiter(this, void 0, void 0, function* () {
216
+ var _a;
217
+ const source = path.resolve(outputPath, file);
218
+ const content = yield fs.promises.readFile(source, "utf-8");
219
+ const hash = crypto
220
+ .createHash("sha256")
221
+ .update(content)
222
+ .digest("hex");
223
+ return {
224
+ source,
225
+ key: file,
226
+ hash,
227
+ cacheControl: fileOption.cacheControl,
228
+ contentType: (_a = fileOption.contentType) !== null && _a !== void 0 ? _a : getContentType(file, "UTF-8"),
229
+ };
230
+ })))));
231
+ }
232
+ return manifest;
233
+ }));
234
+ }
235
+ function uploadAssets() {
236
+ return new KvData(`${name}AssetFiles`, {
237
+ accountId: DEFAULT_ACCOUNT_ID,
238
+ namespaceId: storage.id,
239
+ entries: assetManifest.apply((manifest) => manifest.map((m) => ({
240
+ source: m.source,
241
+ key: m.key,
242
+ hash: m.hash,
243
+ cacheControl: m.cacheControl,
244
+ contentType: m.contentType,
245
+ }))),
246
+ }, { parent, ignoreChanges: $dev ? ["*"] : undefined });
247
+ }
248
+ function createRouter() {
249
+ return new Worker(`${name}Router`, {
250
+ handler: path.join($cli.paths.platform, "functions", "cf-static-site-router-worker"),
251
+ url: true,
252
+ domain: args.domain,
253
+ environment: Object.assign({ INDEX_PAGE: indexPage }, (args.errorPage ? { ERROR_PAGE: args.errorPage } : {})),
254
+ build: {
255
+ esbuild: assetManifest.apply((assetManifest) => ({
256
+ define: {
257
+ SST_ASSET_MANIFEST: JSON.stringify(Object.fromEntries(assetManifest.map((e) => [e.key, e.hash]))),
258
+ },
259
+ })),
260
+ },
261
+ transform: {
262
+ worker: (workerArgs) => {
263
+ var _a;
264
+ workerArgs.bindings = output((_a = workerArgs.bindings) !== null && _a !== void 0 ? _a : []).apply((bindings) => [
265
+ ...bindings,
266
+ {
267
+ type: "kv_namespace",
268
+ name: "ASSETS",
269
+ namespaceId: storage.id,
270
+ },
271
+ ]);
272
+ },
273
+ },
274
+ },
275
+ // create worker after KV upload finishes
276
+ { dependsOn: kvData, parent });
277
+ }
278
+ }
279
+ /**
280
+ * The URL of the website.
281
+ *
282
+ * If the `domain` is set, this is the URL with the custom domain.
283
+ * Otherwise, it's the auto-generated worker URL.
284
+ */
285
+ get url() {
286
+ return this.router.url;
287
+ }
288
+ /**
289
+ * The underlying [resources](/docs/components/#nodes) this component creates.
290
+ */
291
+ get nodes() {
292
+ return {
293
+ /**
294
+ * The KV namespace that stores the assets.
295
+ */
296
+ assets: this.assets,
297
+ /**
298
+ * The worker that serves the requests.
299
+ */
300
+ router: this.router,
301
+ };
302
+ }
303
+ /** @internal */
304
+ getSSTLink() {
305
+ return {
306
+ properties: {
307
+ url: this.url,
308
+ },
309
+ };
310
+ }
311
+ }
312
+ const __pulumiType = "sst:cloudflare:StaticSite";
313
+ // @ts-expect-error
314
+ StaticSite.__pulumiType = __pulumiType;
315
+ //# sourceMappingURL=static-site.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"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YACL,UAAU,EAAE;gBACV,GAAG,EAAE,IAAI,CAAC,GAAG;aACd;SACF,CAAC;IACJ,CAAC;CACF;AAED,MAAM,YAAY,GAAG,2BAA2B,CAAC;AACjD,mBAAmB;AACnB,UAAU,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -0,0 +1,273 @@
1
+ import { ComponentResourceOptions, Output } from "@pulumi/pulumi";
2
+ import * as cf from "@pulumi/cloudflare";
3
+ import type { Loader, BuildOptions } from "esbuild";
4
+ import { Component, Transform } from "../component";
5
+ import { Link } from "../link.js";
6
+ import type { Input } from "../input.js";
7
+ export interface WorkerArgs {
8
+ /**
9
+ * Path to the handler file for the worker.
10
+ *
11
+ * The handler path is relative to the root your repo or the `sst.config.ts`.
12
+ *
13
+ * @example
14
+ *
15
+ * ```js
16
+ * {
17
+ * handler: "packages/functions/src/worker.ts"
18
+ * }
19
+ * ```
20
+ */
21
+ handler: Input<string>;
22
+ /**
23
+ * Enable a dedicated endpoint for your Worker.
24
+ * @default `false`
25
+ */
26
+ url?: Input<boolean>;
27
+ /**
28
+ * Set a custom domain for your Worker. Supports domains hosted on Cloudflare.
29
+ *
30
+ * :::tip
31
+ * You can migrate an externally hosted domain to Cloudflare by
32
+ * [following this guide](https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/).
33
+ * :::
34
+ *
35
+ * @example
36
+ *
37
+ * ```js
38
+ * {
39
+ * domain: "domain.com"
40
+ * }
41
+ * ```
42
+ */
43
+ domain?: Input<string>;
44
+ /**
45
+ * Configure how your function is bundled.
46
+ *
47
+ * SST bundles your worker code using [esbuild](https://esbuild.github.io/). This tree shakes your code to only include what's used.
48
+ */
49
+ build?: Input<{
50
+ /**
51
+ * Configure additional esbuild loaders for other file extensions. This is useful
52
+ * when your code is importing non-JS files like `.png`, `.css`, etc.
53
+ *
54
+ * @example
55
+ * ```js
56
+ * {
57
+ * build: {
58
+ * loader: {
59
+ * ".png": "file"
60
+ * }
61
+ * }
62
+ * }
63
+ * ```
64
+ */
65
+ loader?: Input<Record<string, Loader>>;
66
+ /**
67
+ * Use this to insert a string at the beginning of the generated JS file.
68
+ *
69
+ * @example
70
+ * ```js
71
+ * {
72
+ * build: {
73
+ * banner: "console.log('Function starting')"
74
+ * }
75
+ * }
76
+ * ```
77
+ */
78
+ banner?: Input<string>;
79
+ /**
80
+ * This allows you to customize esbuild config that is used.
81
+ *
82
+ * :::tip
83
+ * Check out the _JS tab_ in the code snippets in the esbuild docs for the
84
+ * [`BuildOptions`](https://esbuild.github.io/api/#build).
85
+ * :::
86
+ *
87
+ */
88
+ esbuild?: Input<BuildOptions>;
89
+ /**
90
+ * Disable if the worker code should be minified when bundled.
91
+ *
92
+ * @default `true`
93
+ *
94
+ * @example
95
+ * ```js
96
+ * {
97
+ * build: {
98
+ * minify: false
99
+ * }
100
+ * }
101
+ * ```
102
+ */
103
+ minify?: Input<boolean>;
104
+ }>;
105
+ /**
106
+ * [Link resources](/docs/linking/) to your worker. This will:
107
+ *
108
+ * 1. Handle the credentials needed to access the resources.
109
+ * 2. Allow you to access it in your site using the [SDK](/docs/reference/sdk/).
110
+ *
111
+ * @example
112
+ *
113
+ * Takes a list of components to link to the function.
114
+ *
115
+ * ```js
116
+ * {
117
+ * link: [bucket, stripeKey]
118
+ * }
119
+ * ```
120
+ */
121
+ link?: Input<any[]>;
122
+ /**
123
+ * Key-value pairs that are set as [Worker environment variables](https://developers.cloudflare.com/workers/configuration/environment-variables/).
124
+ *
125
+ * They can be accessed in your worker through `env.<key>`.
126
+ *
127
+ * @example
128
+ *
129
+ * ```js
130
+ * {
131
+ * environment: {
132
+ * DEBUG: "true"
133
+ * }
134
+ * }
135
+ * ```
136
+ */
137
+ environment?: Input<Record<string, Input<string>>>;
138
+ /**
139
+ * [Transform](/docs/components/#transform) how this component creates its underlying
140
+ * resources.
141
+ */
142
+ transform?: {
143
+ /**
144
+ * Transform the Worker resource.
145
+ */
146
+ worker?: Transform<cf.WorkerScriptArgs>;
147
+ };
148
+ /**
149
+ * @internal
150
+ * Placehodler for future feature.
151
+ */
152
+ dev?: boolean;
153
+ }
154
+ /**
155
+ * The `Worker` component lets you create a Cloudflare Worker.
156
+ *
157
+ * @example
158
+ *
159
+ * #### Minimal example
160
+ *
161
+ * ```ts title="sst.config.ts"
162
+ * new sst.cloudflare.Worker("MyWorker", {
163
+ * handler: "src/worker.handler"
164
+ * });
165
+ * ```
166
+ *
167
+ * #### Link resources
168
+ *
169
+ * [Link resources](/docs/linking/) to the Worker. This will handle the credentials
170
+ * and allow you to access it in your handler.
171
+ *
172
+ * ```ts {5} title="sst.config.ts"
173
+ * const bucket = new sst.aws.Bucket("MyBucket");
174
+ *
175
+ * new sst.cloudflare.Worker("MyWorker", {
176
+ * handler: "src/worker.handler",
177
+ * link: [bucket]
178
+ * });
179
+ * ```
180
+ *
181
+ * You can use the [SDK](/docs/reference/sdk/) to access the linked resources
182
+ * in your handler.
183
+ *
184
+ * ```ts title="src/worker.ts" {3}
185
+ * import { Resource } from "sst";
186
+ *
187
+ * console.log(Resource.MyBucket.name);
188
+ * ```
189
+ *
190
+ * #### Enable URLs
191
+ *
192
+ * Enable worker URLs to invoke the worker over HTTP.
193
+ *
194
+ * ```ts {3} title="sst.config.ts"
195
+ * new sst.cloudflare.Worker("MyWorker", {
196
+ * handler: "src/worker.handler",
197
+ * url: true
198
+ * });
199
+ * ```
200
+ *
201
+ * #### Bundling
202
+ *
203
+ * Customize how SST uses [esbuild](https://esbuild.github.io/) to bundle your worker code with the `build` property.
204
+ *
205
+ * ```ts title="sst.config.ts" {3-5}
206
+ * new sst.cloudflare.Worker("MyWorker", {
207
+ * handler: "src/worker.handler",
208
+ * build: {
209
+ * install: ["pg"]
210
+ * }
211
+ * });
212
+ * ```
213
+ */
214
+ export declare class Worker extends Component implements Link.Linkable {
215
+ private script;
216
+ private workerUrl;
217
+ private workerDomain?;
218
+ constructor(name: string, args: WorkerArgs, opts?: ComponentResourceOptions);
219
+ /**
220
+ * The Worker URL if `url` is enabled.
221
+ */
222
+ get url(): Output<string | undefined>;
223
+ /**
224
+ * The underlying [resources](/docs/components/#nodes) this component creates.
225
+ */
226
+ get nodes(): {
227
+ /**
228
+ * The Cloudflare Worker script.
229
+ */
230
+ worker: Output<import("@pulumi/cloudflare/workerScript").WorkerScript>;
231
+ };
232
+ /**
233
+ * When you link a worker, say WorkerA, to another worker, WorkerB; it automatically creates
234
+ * a service binding between the workers. It allows WorkerA to call WorkerB without going
235
+ * through a publicly-accessible URL.
236
+ *
237
+ * @example
238
+ * ```ts title="index.ts" {3}
239
+ * import { Resource } from "sst";
240
+ *
241
+ * await Resource.WorkerB.fetch(request);
242
+ * ```
243
+ *
244
+ * Read more about [binding Workers](https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/).
245
+ *
246
+ * @internal
247
+ */
248
+ getSSTLink(): {
249
+ properties: {
250
+ url: Output<string | undefined>;
251
+ };
252
+ include: {
253
+ type: "cloudflare.binding";
254
+ binding: "kvNamespaceBindings" | "secretTextBindings" | "serviceBindings" | "plainTextBindings" | "queueBindings" | "r2BucketBindings" | "d1DatabaseBindings";
255
+ properties: {
256
+ namespaceId: Input<string>;
257
+ } | {
258
+ text: Input<string>;
259
+ } | {
260
+ service: Input<string>;
261
+ } | {
262
+ text: Input<string>;
263
+ } | {
264
+ queue: Input<string>;
265
+ } | {
266
+ bucketName: Input<string>;
267
+ } | {
268
+ id: Input<string>;
269
+ };
270
+ }[];
271
+ };
272
+ }
273
+ //# sourceMappingURL=worker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../../../../.sst/platform/src/components/cloudflare/worker.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EAExB,MAAM,EAIP,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,SAAS,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