monorise 0.0.1

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 (416) hide show
  1. package/dist/base/index.d.ts +254 -0
  2. package/dist/base/index.js +44 -0
  3. package/dist/base/index.js.map +1 -0
  4. package/dist/cli/cli.d.ts +1 -0
  5. package/dist/cli/cli.js +461 -0
  6. package/dist/cli/cli.js.map +1 -0
  7. package/dist/core/index.d.ts +4767 -0
  8. package/dist/core/index.js +7941 -0
  9. package/dist/core/index.js.map +1 -0
  10. package/dist/index.d.ts +11 -0
  11. package/dist/index.js +11 -0
  12. package/dist/react/actions/app.action.d.ts +46 -0
  13. package/dist/react/actions/app.action.d.ts.map +1 -0
  14. package/dist/react/actions/auth.action.d.ts +24 -0
  15. package/dist/react/actions/auth.action.d.ts.map +1 -0
  16. package/dist/react/actions/config.action.d.ts +10 -0
  17. package/dist/react/actions/config.action.d.ts.map +1 -0
  18. package/dist/react/actions/core.action.d.ts +219 -0
  19. package/dist/react/actions/core.action.d.ts.map +1 -0
  20. package/dist/react/index.d.ts +1093 -0
  21. package/dist/react/index.d.ts.map +1 -0
  22. package/dist/react/index.js +2344 -0
  23. package/dist/react/index.js.map +1 -0
  24. package/dist/react/lib/api.d.ts +38 -0
  25. package/dist/react/lib/api.d.ts.map +1 -0
  26. package/dist/react/lib/constant.d.ts +2 -0
  27. package/dist/react/lib/constant.d.ts.map +1 -0
  28. package/dist/react/lib/entity.d.ts +10 -0
  29. package/dist/react/lib/entity.d.ts.map +1 -0
  30. package/dist/react/lib/utils.d.ts +10 -0
  31. package/dist/react/lib/utils.d.ts.map +1 -0
  32. package/dist/react/services/auth.service.d.ts +21 -0
  33. package/dist/react/services/auth.service.d.ts.map +1 -0
  34. package/dist/react/services/core.service.d.ts +76 -0
  35. package/dist/react/services/core.service.d.ts.map +1 -0
  36. package/dist/react/services/filestore.service.d.ts +22 -0
  37. package/dist/react/services/filestore.service.d.ts.map +1 -0
  38. package/dist/react/store/monorise.store.d.ts +169 -0
  39. package/dist/react/store/monorise.store.d.ts.map +1 -0
  40. package/dist/react/tsup.config.d.ts +3 -0
  41. package/dist/react/tsup.config.d.ts.map +1 -0
  42. package/dist/react/types/api.type.d.ts +30 -0
  43. package/dist/react/types/api.type.d.ts.map +1 -0
  44. package/dist/react/types/axios.type.d.ts +13 -0
  45. package/dist/react/types/axios.type.d.ts.map +1 -0
  46. package/dist/react/types/monorise.type.d.ts +8 -0
  47. package/dist/react/types/monorise.type.d.ts.map +1 -0
  48. package/dist/react/types/mutual.type.d.ts +21 -0
  49. package/dist/react/types/mutual.type.d.ts.map +1 -0
  50. package/dist/sst/.sst/platform/src/components/aws/analog.d.ts +423 -0
  51. package/dist/sst/.sst/platform/src/components/aws/analog.d.ts.map +1 -0
  52. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts +74 -0
  53. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket-route.d.ts.map +1 -0
  54. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts +542 -0
  55. package/dist/sst/.sst/platform/src/components/aws/apigateway-websocket.d.ts.map +1 -0
  56. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts +48 -0
  57. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-api-key.d.ts.map +1 -0
  58. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts +55 -0
  59. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-authorizer.d.ts.map +1 -0
  60. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts +36 -0
  61. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-base-route.d.ts.map +1 -0
  62. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts +39 -0
  63. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-integration-route.d.ts.map +1 -0
  64. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts +53 -0
  65. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-lambda-route.d.ts.map +1 -0
  66. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts +53 -0
  67. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1-usage-plan.d.ts.map +1 -0
  68. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts +1002 -0
  69. package/dist/sst/.sst/platform/src/components/aws/apigatewayv1.d.ts.map +1 -0
  70. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts +54 -0
  71. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-authorizer.d.ts.map +1 -0
  72. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts +28 -0
  73. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-base-route.d.ts.map +1 -0
  74. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts +59 -0
  75. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-lambda-route.d.ts.map +1 -0
  76. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts +54 -0
  77. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-private-route.d.ts.map +1 -0
  78. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts +44 -0
  79. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2-url-route.d.ts.map +1 -0
  80. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts +931 -0
  81. package/dist/sst/.sst/platform/src/components/aws/apigatewayv2.d.ts.map +1 -0
  82. package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts +52 -0
  83. package/dist/sst/.sst/platform/src/components/aws/app-sync-data-source.d.ts.map +1 -0
  84. package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts +33 -0
  85. package/dist/sst/.sst/platform/src/components/aws/app-sync-function.d.ts.map +1 -0
  86. package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts +41 -0
  87. package/dist/sst/.sst/platform/src/components/aws/app-sync-resolver.d.ts.map +1 -0
  88. package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts +638 -0
  89. package/dist/sst/.sst/platform/src/components/aws/app-sync.d.ts.map +1 -0
  90. package/dist/sst/.sst/platform/src/components/aws/astro.d.ts +421 -0
  91. package/dist/sst/.sst/platform/src/components/aws/astro.d.ts.map +1 -0
  92. package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts +702 -0
  93. package/dist/sst/.sst/platform/src/components/aws/aurora.d.ts.map +1 -0
  94. package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts +26 -0
  95. package/dist/sst/.sst/platform/src/components/aws/auth-v1.d.ts.map +1 -0
  96. package/dist/sst/.sst/platform/src/components/aws/auth.d.ts +295 -0
  97. package/dist/sst/.sst/platform/src/components/aws/auth.d.ts.map +1 -0
  98. package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts +61 -0
  99. package/dist/sst/.sst/platform/src/components/aws/bucket-lambda-subscriber.d.ts.map +1 -0
  100. package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts +47 -0
  101. package/dist/sst/.sst/platform/src/components/aws/bucket-notification.d.ts.map +1 -0
  102. package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts +55 -0
  103. package/dist/sst/.sst/platform/src/components/aws/bucket-queue-subscriber.d.ts.map +1 -0
  104. package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts +55 -0
  105. package/dist/sst/.sst/platform/src/components/aws/bucket-topic-subscriber.d.ts.map +1 -0
  106. package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts +1216 -0
  107. package/dist/sst/.sst/platform/src/components/aws/bucket.d.ts.map +1 -0
  108. package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts +20 -0
  109. package/dist/sst/.sst/platform/src/components/aws/bus-base-subscriber.d.ts.map +1 -0
  110. package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts +49 -0
  111. package/dist/sst/.sst/platform/src/components/aws/bus-lambda-subscriber.d.ts.map +1 -0
  112. package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts +44 -0
  113. package/dist/sst/.sst/platform/src/components/aws/bus-queue-subscriber.d.ts.map +1 -0
  114. package/dist/sst/.sst/platform/src/components/aws/bus.d.ts +403 -0
  115. package/dist/sst/.sst/platform/src/components/aws/bus.d.ts.map +1 -0
  116. package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts +299 -0
  117. package/dist/sst/.sst/platform/src/components/aws/cdn.d.ts.map +1 -0
  118. package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts +882 -0
  119. package/dist/sst/.sst/platform/src/components/aws/cluster-v1.d.ts.map +1 -0
  120. package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts +306 -0
  121. package/dist/sst/.sst/platform/src/components/aws/cluster.d.ts.map +1 -0
  122. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts +194 -0
  123. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-pool.d.ts.map +1 -0
  124. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts +38 -0
  125. package/dist/sst/.sst/platform/src/components/aws/cognito-identity-provider.d.ts.map +1 -0
  126. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts +50 -0
  127. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool-client.d.ts.map +1 -0
  128. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts +603 -0
  129. package/dist/sst/.sst/platform/src/components/aws/cognito-user-pool.d.ts.map +1 -0
  130. package/dist/sst/.sst/platform/src/components/aws/cron.d.ts +250 -0
  131. package/dist/sst/.sst/platform/src/components/aws/cron.d.ts.map +1 -0
  132. package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts +27 -0
  133. package/dist/sst/.sst/platform/src/components/aws/dns-validated-certificate.d.ts.map +1 -0
  134. package/dist/sst/.sst/platform/src/components/aws/dns.d.ts +94 -0
  135. package/dist/sst/.sst/platform/src/components/aws/dns.d.ts.map +1 -0
  136. package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts +55 -0
  137. package/dist/sst/.sst/platform/src/components/aws/dynamo-lambda-subscriber.d.ts.map +1 -0
  138. package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts +568 -0
  139. package/dist/sst/.sst/platform/src/components/aws/dynamo.d.ts.map +1 -0
  140. package/dist/sst/.sst/platform/src/components/aws/efs.d.ts +217 -0
  141. package/dist/sst/.sst/platform/src/components/aws/efs.d.ts.map +1 -0
  142. package/dist/sst/.sst/platform/src/components/aws/email.d.ts +291 -0
  143. package/dist/sst/.sst/platform/src/components/aws/email.d.ts.map +1 -0
  144. package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts +803 -0
  145. package/dist/sst/.sst/platform/src/components/aws/fargate.d.ts.map +1 -0
  146. package/dist/sst/.sst/platform/src/components/aws/function.d.ts +1629 -0
  147. package/dist/sst/.sst/platform/src/components/aws/function.d.ts.map +1 -0
  148. package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts +3 -0
  149. package/dist/sst/.sst/platform/src/components/aws/helpers/apigateway-account.d.ts.map +1 -0
  150. package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts +144 -0
  151. package/dist/sst/.sst/platform/src/components/aws/helpers/apigatewayv2-domain.d.ts.map +1 -0
  152. package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts +40 -0
  153. package/dist/sst/.sst/platform/src/components/aws/helpers/arn.d.ts.map +1 -0
  154. package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts +13 -0
  155. package/dist/sst/.sst/platform/src/components/aws/helpers/bootstrap.d.ts.map +1 -0
  156. package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts +4 -0
  157. package/dist/sst/.sst/platform/src/components/aws/helpers/container-builder.d.ts.map +1 -0
  158. package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts +10 -0
  159. package/dist/sst/.sst/platform/src/components/aws/helpers/function-builder.d.ts.map +1 -0
  160. package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts +3 -0
  161. package/dist/sst/.sst/platform/src/components/aws/helpers/provider.d.ts.map +1 -0
  162. package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts +7 -0
  163. package/dist/sst/.sst/platform/src/components/aws/helpers/quota.d.ts.map +1 -0
  164. package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts +4 -0
  165. package/dist/sst/.sst/platform/src/components/aws/helpers/site-builder.d.ts.map +1 -0
  166. package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts +6 -0
  167. package/dist/sst/.sst/platform/src/components/aws/helpers/subscriber.d.ts.map +1 -0
  168. package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts +38 -0
  169. package/dist/sst/.sst/platform/src/components/aws/https-redirect.d.ts.map +1 -0
  170. package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts +39 -0
  171. package/dist/sst/.sst/platform/src/components/aws/iam-edit.d.ts.map +1 -0
  172. package/dist/sst/.sst/platform/src/components/aws/index.d.ts +48 -0
  173. package/dist/sst/.sst/platform/src/components/aws/index.d.ts.map +1 -0
  174. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts +48 -0
  175. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream-lambda-subscriber.d.ts.map +1 -0
  176. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts +249 -0
  177. package/dist/sst/.sst/platform/src/components/aws/kinesis-stream.d.ts.map +1 -0
  178. package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts +17 -0
  179. package/dist/sst/.sst/platform/src/components/aws/linkable.d.ts.map +1 -0
  180. package/dist/sst/.sst/platform/src/components/aws/logging.d.ts +26 -0
  181. package/dist/sst/.sst/platform/src/components/aws/logging.d.ts.map +1 -0
  182. package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts +496 -0
  183. package/dist/sst/.sst/platform/src/components/aws/mysql.d.ts.map +1 -0
  184. package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts +517 -0
  185. package/dist/sst/.sst/platform/src/components/aws/nextjs.d.ts.map +1 -0
  186. package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts +495 -0
  187. package/dist/sst/.sst/platform/src/components/aws/nuxt.d.ts.map +1 -0
  188. package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts +295 -0
  189. package/dist/sst/.sst/platform/src/components/aws/open-search.d.ts.map +1 -0
  190. package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts +165 -0
  191. package/dist/sst/.sst/platform/src/components/aws/opencontrol.d.ts.map +1 -0
  192. package/dist/sst/.sst/platform/src/components/aws/permission.d.ts +40 -0
  193. package/dist/sst/.sst/platform/src/components/aws/permission.d.ts.map +1 -0
  194. package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts +317 -0
  195. package/dist/sst/.sst/platform/src/components/aws/postgres-v1.d.ts.map +1 -0
  196. package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts +500 -0
  197. package/dist/sst/.sst/platform/src/components/aws/postgres.d.ts.map +1 -0
  198. package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts +18 -0
  199. package/dist/sst/.sst/platform/src/components/aws/providers/bucket-files.d.ts.map +1 -0
  200. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts +13 -0
  201. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-deployment-waiter.d.ts.map +1 -0
  202. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts +11 -0
  203. package/dist/sst/.sst/platform/src/components/aws/providers/distribution-invalidation.d.ts.map +1 -0
  204. package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts +29 -0
  205. package/dist/sst/.sst/platform/src/components/aws/providers/function-environment-update.d.ts.map +1 -0
  206. package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts +11 -0
  207. package/dist/sst/.sst/platform/src/components/aws/providers/hosted-zone-lookup.d.ts.map +1 -0
  208. package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts +11 -0
  209. package/dist/sst/.sst/platform/src/components/aws/providers/kv-keys.d.ts.map +1 -0
  210. package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts +11 -0
  211. package/dist/sst/.sst/platform/src/components/aws/providers/kv-routes-update.d.ts.map +1 -0
  212. package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts +8 -0
  213. package/dist/sst/.sst/platform/src/components/aws/providers/origin-access-control.d.ts.map +1 -0
  214. package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts +8 -0
  215. package/dist/sst/.sst/platform/src/components/aws/providers/rds-role-lookup.d.ts.map +1 -0
  216. package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts +12 -0
  217. package/dist/sst/.sst/platform/src/components/aws/providers/vector-table.d.ts.map +1 -0
  218. package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts +48 -0
  219. package/dist/sst/.sst/platform/src/components/aws/queue-lambda-subscriber.d.ts.map +1 -0
  220. package/dist/sst/.sst/platform/src/components/aws/queue.d.ts +485 -0
  221. package/dist/sst/.sst/platform/src/components/aws/queue.d.ts.map +1 -0
  222. package/dist/sst/.sst/platform/src/components/aws/react.d.ts +416 -0
  223. package/dist/sst/.sst/platform/src/components/aws/react.d.ts.map +1 -0
  224. package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts +53 -0
  225. package/dist/sst/.sst/platform/src/components/aws/realtime-lambda-subscriber.d.ts.map +1 -0
  226. package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts +232 -0
  227. package/dist/sst/.sst/platform/src/components/aws/realtime.d.ts.map +1 -0
  228. package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts +338 -0
  229. package/dist/sst/.sst/platform/src/components/aws/redis-v1.d.ts.map +1 -0
  230. package/dist/sst/.sst/platform/src/components/aws/redis.d.ts +364 -0
  231. package/dist/sst/.sst/platform/src/components/aws/redis.d.ts.map +1 -0
  232. package/dist/sst/.sst/platform/src/components/aws/remix.d.ts +423 -0
  233. package/dist/sst/.sst/platform/src/components/aws/remix.d.ts.map +1 -0
  234. package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts +28 -0
  235. package/dist/sst/.sst/platform/src/components/aws/router-base-route.d.ts.map +1 -0
  236. package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts +29 -0
  237. package/dist/sst/.sst/platform/src/components/aws/router-bucket-route.d.ts.map +1 -0
  238. package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts +28 -0
  239. package/dist/sst/.sst/platform/src/components/aws/router-url-route.d.ts.map +1 -0
  240. package/dist/sst/.sst/platform/src/components/aws/router.d.ts +1272 -0
  241. package/dist/sst/.sst/platform/src/components/aws/router.d.ts.map +1 -0
  242. package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts +78 -0
  243. package/dist/sst/.sst/platform/src/components/aws/service-v1.d.ts.map +1 -0
  244. package/dist/sst/.sst/platform/src/components/aws/service.d.ts +1625 -0
  245. package/dist/sst/.sst/platform/src/components/aws/service.d.ts.map +1 -0
  246. package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts +53 -0
  247. package/dist/sst/.sst/platform/src/components/aws/sns-topic-lambda-subscriber.d.ts.map +1 -0
  248. package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts +55 -0
  249. package/dist/sst/.sst/platform/src/components/aws/sns-topic-queue-subscriber.d.ts.map +1 -0
  250. package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts +389 -0
  251. package/dist/sst/.sst/platform/src/components/aws/sns-topic.d.ts.map +1 -0
  252. package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts +414 -0
  253. package/dist/sst/.sst/platform/src/components/aws/solid-start.d.ts.map +1 -0
  254. package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts +685 -0
  255. package/dist/sst/.sst/platform/src/components/aws/ssr-site.d.ts.map +1 -0
  256. package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts +736 -0
  257. package/dist/sst/.sst/platform/src/components/aws/static-site.d.ts.map +1 -0
  258. package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts +73 -0
  259. package/dist/sst/.sst/platform/src/components/aws/step-functions/choice.d.ts.map +1 -0
  260. package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts +63 -0
  261. package/dist/sst/.sst/platform/src/components/aws/step-functions/fail.d.ts.map +1 -0
  262. package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts +236 -0
  263. package/dist/sst/.sst/platform/src/components/aws/step-functions/map.d.ts.map +1 -0
  264. package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts +127 -0
  265. package/dist/sst/.sst/platform/src/components/aws/step-functions/parallel.d.ts.map +1 -0
  266. package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts +39 -0
  267. package/dist/sst/.sst/platform/src/components/aws/step-functions/pass.d.ts.map +1 -0
  268. package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts +231 -0
  269. package/dist/sst/.sst/platform/src/components/aws/step-functions/state.d.ts.map +1 -0
  270. package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts +26 -0
  271. package/dist/sst/.sst/platform/src/components/aws/step-functions/succeed.d.ts.map +1 -0
  272. package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts +477 -0
  273. package/dist/sst/.sst/platform/src/components/aws/step-functions/task.d.ts.map +1 -0
  274. package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts +91 -0
  275. package/dist/sst/.sst/platform/src/components/aws/step-functions/wait.d.ts.map +1 -0
  276. package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts +473 -0
  277. package/dist/sst/.sst/platform/src/components/aws/step-functions.d.ts.map +1 -0
  278. package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts +417 -0
  279. package/dist/sst/.sst/platform/src/components/aws/svelte-kit.d.ts.map +1 -0
  280. package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts +354 -0
  281. package/dist/sst/.sst/platform/src/components/aws/tan-stack-start.d.ts.map +1 -0
  282. package/dist/sst/.sst/platform/src/components/aws/task.d.ts +322 -0
  283. package/dist/sst/.sst/platform/src/components/aws/task.d.ts.map +1 -0
  284. package/dist/sst/.sst/platform/src/components/aws/vector.d.ts +150 -0
  285. package/dist/sst/.sst/platform/src/components/aws/vector.d.ts.map +1 -0
  286. package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts +208 -0
  287. package/dist/sst/.sst/platform/src/components/aws/vpc-v1.d.ts.map +1 -0
  288. package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts +444 -0
  289. package/dist/sst/.sst/platform/src/components/aws/vpc.d.ts.map +1 -0
  290. package/dist/sst/.sst/platform/src/components/base/base-site.d.ts +53 -0
  291. package/dist/sst/.sst/platform/src/components/base/base-site.d.ts.map +1 -0
  292. package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts +13 -0
  293. package/dist/sst/.sst/platform/src/components/base/base-ssr-site.d.ts.map +1 -0
  294. package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts +199 -0
  295. package/dist/sst/.sst/platform/src/components/base/base-static-site.d.ts.map +1 -0
  296. package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts +2 -0
  297. package/dist/sst/.sst/platform/src/components/cloudflare/account-id.d.ts.map +1 -0
  298. package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts +22 -0
  299. package/dist/sst/.sst/platform/src/components/cloudflare/auth.d.ts.map +1 -0
  300. package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts +69 -0
  301. package/dist/sst/.sst/platform/src/components/cloudflare/binding.d.ts.map +1 -0
  302. package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts +103 -0
  303. package/dist/sst/.sst/platform/src/components/cloudflare/bucket.d.ts.map +1 -0
  304. package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts +121 -0
  305. package/dist/sst/.sst/platform/src/components/cloudflare/cron.d.ts.map +1 -0
  306. package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts +107 -0
  307. package/dist/sst/.sst/platform/src/components/cloudflare/d1.d.ts.map +1 -0
  308. package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts +94 -0
  309. package/dist/sst/.sst/platform/src/components/cloudflare/dns.d.ts.map +1 -0
  310. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts +186 -0
  311. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/astro.d.ts.map +1 -0
  312. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts +4 -0
  313. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/index.d.ts.map +1 -0
  314. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts +171 -0
  315. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/solid-start.d.ts.map +1 -0
  316. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts +222 -0
  317. package/dist/sst/.sst/platform/src/components/cloudflare/experimental/static-site.d.ts.map +1 -0
  318. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts +19 -0
  319. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/fetch.d.ts.map +1 -0
  320. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts +10 -0
  321. package/dist/sst/.sst/platform/src/components/cloudflare/helpers/worker-builder.d.ts.map +1 -0
  322. package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts +16 -0
  323. package/dist/sst/.sst/platform/src/components/cloudflare/index.d.ts.map +1 -0
  324. package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts +107 -0
  325. package/dist/sst/.sst/platform/src/components/cloudflare/kv.d.ts.map +1 -0
  326. package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts +20 -0
  327. package/dist/sst/.sst/platform/src/components/cloudflare/providers/dns-record.d.ts.map +1 -0
  328. package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts +23 -0
  329. package/dist/sst/.sst/platform/src/components/cloudflare/providers/kv-data.d.ts.map +1 -0
  330. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts +18 -0
  331. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-assets.d.ts.map +1 -0
  332. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts +22 -0
  333. package/dist/sst/.sst/platform/src/components/cloudflare/providers/worker-url.d.ts.map +1 -0
  334. package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts +22 -0
  335. package/dist/sst/.sst/platform/src/components/cloudflare/providers/zone-lookup.d.ts.map +1 -0
  336. package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts +60 -0
  337. package/dist/sst/.sst/platform/src/components/cloudflare/queue.d.ts.map +1 -0
  338. package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts +51 -0
  339. package/dist/sst/.sst/platform/src/components/cloudflare/ssr-site.d.ts.map +1 -0
  340. package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts +262 -0
  341. package/dist/sst/.sst/platform/src/components/cloudflare/static-site.d.ts.map +1 -0
  342. package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts +295 -0
  343. package/dist/sst/.sst/platform/src/components/cloudflare/worker.d.ts.map +1 -0
  344. package/dist/sst/.sst/platform/src/components/component.d.ts +37 -0
  345. package/dist/sst/.sst/platform/src/components/component.d.ts.map +1 -0
  346. package/dist/sst/.sst/platform/src/components/cpu.d.ts +3 -0
  347. package/dist/sst/.sst/platform/src/components/cpu.d.ts.map +1 -0
  348. package/dist/sst/.sst/platform/src/components/dns.d.ts +59 -0
  349. package/dist/sst/.sst/platform/src/components/dns.d.ts.map +1 -0
  350. package/dist/sst/.sst/platform/src/components/duration.d.ts +7 -0
  351. package/dist/sst/.sst/platform/src/components/duration.d.ts.map +1 -0
  352. package/dist/sst/.sst/platform/src/components/error.d.ts +4 -0
  353. package/dist/sst/.sst/platform/src/components/error.d.ts.map +1 -0
  354. package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts +99 -0
  355. package/dist/sst/.sst/platform/src/components/experimental/dev-command.d.ts.map +1 -0
  356. package/dist/sst/.sst/platform/src/components/experimental/index.d.ts +2 -0
  357. package/dist/sst/.sst/platform/src/components/experimental/index.d.ts.map +1 -0
  358. package/dist/sst/.sst/platform/src/components/index.d.ts +16 -0
  359. package/dist/sst/.sst/platform/src/components/index.d.ts.map +1 -0
  360. package/dist/sst/.sst/platform/src/components/input.d.ts +3 -0
  361. package/dist/sst/.sst/platform/src/components/input.d.ts.map +1 -0
  362. package/dist/sst/.sst/platform/src/components/link.d.ts +41 -0
  363. package/dist/sst/.sst/platform/src/components/link.d.ts.map +1 -0
  364. package/dist/sst/.sst/platform/src/components/linkable.d.ts +271 -0
  365. package/dist/sst/.sst/platform/src/components/linkable.d.ts.map +1 -0
  366. package/dist/sst/.sst/platform/src/components/naming.d.ts +7 -0
  367. package/dist/sst/.sst/platform/src/components/naming.d.ts.map +1 -0
  368. package/dist/sst/.sst/platform/src/components/path.d.ts +2 -0
  369. package/dist/sst/.sst/platform/src/components/path.d.ts.map +1 -0
  370. package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts +19 -0
  371. package/dist/sst/.sst/platform/src/components/rpc/rpc.d.ts.map +1 -0
  372. package/dist/sst/.sst/platform/src/components/secret.d.ts +125 -0
  373. package/dist/sst/.sst/platform/src/components/secret.d.ts.map +1 -0
  374. package/dist/sst/.sst/platform/src/components/size.d.ts +5 -0
  375. package/dist/sst/.sst/platform/src/components/size.d.ts.map +1 -0
  376. package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts +2 -0
  377. package/dist/sst/.sst/platform/src/components/vercel/account-id.d.ts.map +1 -0
  378. package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts +73 -0
  379. package/dist/sst/.sst/platform/src/components/vercel/dns.d.ts.map +1 -0
  380. package/dist/sst/.sst/platform/src/components/vercel/index.d.ts +3 -0
  381. package/dist/sst/.sst/platform/src/components/vercel/index.d.ts.map +1 -0
  382. package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts +14 -0
  383. package/dist/sst/.sst/platform/src/components/vercel/providers/dns-record.d.ts.map +1 -0
  384. package/dist/sst/.sst/platform/src/config.d.ts +1258 -0
  385. package/dist/sst/.sst/platform/src/config.d.ts.map +1 -0
  386. package/dist/sst/.sst/platform/src/util/compare-semver.d.ts +4 -0
  387. package/dist/sst/.sst/platform/src/util/compare-semver.d.ts.map +1 -0
  388. package/dist/sst/.sst/platform/src/util/fs.d.ts +5 -0
  389. package/dist/sst/.sst/platform/src/util/fs.d.ts.map +1 -0
  390. package/dist/sst/.sst/platform/src/util/lazy.d.ts +2 -0
  391. package/dist/sst/.sst/platform/src/util/lazy.d.ts.map +1 -0
  392. package/dist/sst/.sst/platform/src/util/semaphore.d.ts +9 -0
  393. package/dist/sst/.sst/platform/src/util/semaphore.d.ts.map +1 -0
  394. package/dist/sst/.sst/platform/src/util/warn.d.ts +2 -0
  395. package/dist/sst/.sst/platform/src/util/warn.d.ts.map +1 -0
  396. package/dist/sst/components/dashboard.d.ts +2 -0
  397. package/dist/sst/components/dashboard.d.ts.map +1 -0
  398. package/dist/sst/components/monorise-core.d.ts +18 -0
  399. package/dist/sst/components/monorise-core.d.ts.map +1 -0
  400. package/dist/sst/components/q-function.d.ts +17 -0
  401. package/dist/sst/components/q-function.d.ts.map +1 -0
  402. package/dist/sst/components/single-table.d.ts +14 -0
  403. package/dist/sst/components/single-table.d.ts.map +1 -0
  404. package/dist/sst/constants/event.d.ts +73 -0
  405. package/dist/sst/constants/event.d.ts.map +1 -0
  406. package/dist/sst/constants/table.d.ts +3 -0
  407. package/dist/sst/constants/table.d.ts.map +1 -0
  408. package/dist/sst/index.d.ts +11 -0
  409. package/dist/sst/index.d.ts.map +1 -0
  410. package/dist/sst/index.js +609 -0
  411. package/dist/sst/index.js.map +1 -0
  412. package/dist/sst/sst.config.d.ts +3 -0
  413. package/dist/sst/sst.config.d.ts.map +1 -0
  414. package/dist/sst/tsup.config.d.ts +3 -0
  415. package/dist/sst/tsup.config.d.ts.map +1 -0
  416. package/package.json +83 -0
@@ -0,0 +1,477 @@
1
+ import { Output } from "@pulumi/pulumi";
2
+ import { Duration } from "../../duration";
3
+ import { Input } from "../../input";
4
+ import { Prettify } from "../../component";
5
+ import { Function, FunctionArgs, FunctionArn, FunctionPermissionArgs } from "../function";
6
+ import { CatchArgs, Failable, JSONata, Nextable, RetryArgs, State, StateArgs } from "./state";
7
+ import { SnsTopic } from "../sns-topic";
8
+ import { Queue } from "../queue";
9
+ import { Task as ServiceTask } from "../task";
10
+ import { Bus } from "../bus";
11
+ interface TaskBaseArgs extends StateArgs {
12
+ /**
13
+ * Specifies how a `Task` state integrates with the specified AWS service.
14
+ *
15
+ * The `response` integration is the default. The `Task` state calls a service and
16
+ * progress to the next state immediately after it gets an HTTP response.
17
+ *
18
+ * In `sync` integration, the `Task` state waits for the service to complete the
19
+ * job (ie. Amazon ECS task, AWS CodeBuild build, etc.) before progressing to
20
+ * the next state.
21
+ *
22
+ * In `token` integration, the `Task` state calls a service and pauses until a task token
23
+ * is returned. To resume execution, call the [`SendTaskSuccess`](https://docs.aws.amazon.com/step-functions/latest/apireference/API_SendTaskSuccess.html)
24
+ * or [`SendTaskFailure`](https://docs.aws.amazon.com/step-functions/latest/apireference/API_SendTaskFailure.html)
25
+ * API with the task token.
26
+ *
27
+ * Learn more about [service integration patterns](https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html).
28
+ *
29
+ * @default `"response"`
30
+ *
31
+ * @example
32
+ *
33
+ * ```ts
34
+ * {
35
+ * integration: "token"
36
+ * }
37
+ * ```
38
+ */
39
+ integration?: Input<"response" | "sync" | "token">;
40
+ /**
41
+ * Specifies a target role the state machine's execution role must assume before invoking the specified resource.
42
+ * See [Task state's Credentials field](https://docs.aws.amazon.com/step-functions/latest/dg/state-task.html#task-state-example-credentials) examples.
43
+ *
44
+ * @internal
45
+ *
46
+ * @example
47
+ *
48
+ * ```ts
49
+ * {
50
+ * role: "arn:aws:iam::123456789012:role/MyRole"
51
+ * }
52
+ * ```
53
+ */
54
+ role?: Input<string>;
55
+ /**
56
+ * Specifies the maximum time a task can run before it times out with the
57
+ * `States.Timeout` error and fails.
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * {
62
+ * timeout: "10 seconds"
63
+ * }
64
+ * ```
65
+ *
66
+ * Alternatively, you can specify a JSONata expression that evaluates to a number
67
+ * in seconds.
68
+ *
69
+ * ```ts
70
+ * {
71
+ * time: "{% $states.input.timeout %}"
72
+ * }
73
+ * ```
74
+ *
75
+ * @default `"99999999 seconds"`
76
+ */
77
+ timeout?: Input<JSONata | Duration>;
78
+ }
79
+ export interface TaskArgs extends TaskBaseArgs {
80
+ /**
81
+ * Specifies the maximum time a task can run before it times out with the
82
+ * `States.Timeout` error and fails.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * {
87
+ * timeout: "10 seconds"
88
+ * }
89
+ * ```
90
+ *
91
+ * Alternatively, you can specify a JSONata expression that evaluates to a number
92
+ * in seconds.
93
+ *
94
+ * ```ts
95
+ * {
96
+ * time: "{% $states.input.timeout %}"
97
+ * }
98
+ * ```
99
+ *
100
+ * @default `"60 seconds"` for HTTP tasks, `"99999999 seconds"` for all other tasks.
101
+ */
102
+ timeout?: Input<JSONata | Duration>;
103
+ /**
104
+ * The ARN of the task. Follows the format.
105
+ *
106
+ * ```ts
107
+ * {
108
+ * resource: "arn:aws:states:::service:task_type:name"
109
+ * }
110
+ * ```
111
+ *
112
+ * @example
113
+ *
114
+ * For example, to start an AWS CodeBuild build.
115
+ *
116
+ * ```ts
117
+ * {
118
+ * resource: "arn:aws:states:::codebuild:startBuild"
119
+ * }
120
+ * ```
121
+ *
122
+ * Learn more about [task ARNs](https://docs.aws.amazon.com/step-functions/latest/dg/state-task.html#task-types).
123
+ *
124
+ */
125
+ resource: Input<string>;
126
+ /**
127
+ * The arguments to be passed to the APIs of the connected resources. Values can
128
+ * include outputs from other resources and JSONata expressions.
129
+ *
130
+ * @example
131
+ *
132
+ * ```ts
133
+ * {
134
+ * arguments: {
135
+ * product: "{% $states.input.order.product %}",
136
+ * url: api.url,
137
+ * count: 32
138
+ * }
139
+ * }
140
+ * ```
141
+ */
142
+ arguments?: Input<Record<string, Input<any>>>;
143
+ /**
144
+ * Permissions and the resources that the task needs to access. These permissions
145
+ * are used to create the task's IAM role.
146
+ *
147
+ * @example
148
+ * For example, allow the task to read and write to an S3 bucket called
149
+ * `my-bucket`.
150
+ *
151
+ * ```js
152
+ * {
153
+ * permissions: [
154
+ * {
155
+ * actions: ["s3:GetObject", "s3:PutObject"],
156
+ * resources: ["arn:aws:s3:::my-bucket/*"]
157
+ * }
158
+ * ]
159
+ * }
160
+ * ```
161
+ *
162
+ * Allow the task to perform all actions on an S3 bucket called `my-bucket`.
163
+ *
164
+ * ```js
165
+ * {
166
+ * permissions: [
167
+ * {
168
+ * actions: ["s3:*"],
169
+ * resources: ["arn:aws:s3:::my-bucket/*"]
170
+ * }
171
+ * ]
172
+ * }
173
+ * ```
174
+ *
175
+ * Granting the task permissions to access all resources.
176
+ *
177
+ * ```js
178
+ * {
179
+ * permissions: [
180
+ * {
181
+ * actions: ["*"],
182
+ * resources: ["*"]
183
+ * }
184
+ * ]
185
+ * }
186
+ * ```
187
+ */
188
+ permissions?: Prettify<FunctionPermissionArgs>[];
189
+ }
190
+ /**
191
+ * The `Task` state is internally used by the `StepFunctions` component to add a [Task
192
+ * workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-task.html)
193
+ * to a state machine.
194
+ *
195
+ * :::note
196
+ * This component is not intended to be created directly.
197
+ * :::
198
+ *
199
+ * You'll find this component returned by the `task` method of the `StepFunctions`
200
+ * component.
201
+ *
202
+ * It's also returned by convenience methods like `lambdaInvoke`, `snsPublish`,
203
+ * `sqsSendMessage`, and more.
204
+ */
205
+ export declare class Task extends State implements Nextable, Failable {
206
+ protected args: TaskArgs;
207
+ private resource;
208
+ constructor(args: TaskArgs);
209
+ /**
210
+ * Add a next state to the `Task` state. If the state completes successfully,
211
+ * continue execution to the given `state`.
212
+ *
213
+ * @param state The state to transition to.
214
+ *
215
+ * @example
216
+ *
217
+ * ```ts title="sst.config.ts"
218
+ * sst.aws.StepFunctions.task({
219
+ * // ...
220
+ * })
221
+ * .next(state);
222
+ * ```
223
+ */
224
+ next<T extends State>(state: T): T;
225
+ /**
226
+ * Add a retry behavior to the `Task` state. If the state fails with any of the
227
+ * specified errors, retry the execution.
228
+ *
229
+ * @param args Properties to define the retry behavior.
230
+ *
231
+ * @example
232
+ *
233
+ * This defaults to.
234
+ *
235
+ * ```ts title="sst.config.ts" {5-8}
236
+ * sst.aws.StepFunctions.task({
237
+ * // ...
238
+ * })
239
+ * .retry({
240
+ * errors: ["States.ALL"],
241
+ * interval: "1 second",
242
+ * maxAttempts: 3,
243
+ * backoffRate: 2
244
+ * });
245
+ * ```
246
+ */
247
+ retry(args?: RetryArgs): this;
248
+ /**
249
+ * Add a catch behavior to the `Task` state. So if the state fails with any of the
250
+ * specified errors, it'll continue execution to the given `state`.
251
+ *
252
+ * @param state The state to transition to on error.
253
+ * @param args Properties to customize error handling.
254
+ *
255
+ * @example
256
+ *
257
+ * This defaults to.
258
+ *
259
+ * ```ts title="sst.config.ts" {5}
260
+ * sst.aws.StepFunctions.task({
261
+ * // ...
262
+ * })
263
+ * .catch({
264
+ * errors: ["States.ALL"]
265
+ * });
266
+ * ```
267
+ */
268
+ catch(state: State, args?: CatchArgs): this;
269
+ /**
270
+ * @internal
271
+ */
272
+ getPermissions(): FunctionPermissionArgs[];
273
+ /**
274
+ * Serialize the state into JSON state definition.
275
+ */
276
+ protected toJSON(): {
277
+ Resource: Output<string>;
278
+ Credentials: "" | {
279
+ RoleArn: Input<string>;
280
+ } | undefined;
281
+ Timeout: $util.OutputInstance<number | `${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `{% ${string} %}`> | undefined;
282
+ Arguments: Input<Record<string, any>> | undefined;
283
+ Type: string;
284
+ };
285
+ }
286
+ export interface LambdaInvokeArgs extends TaskBaseArgs {
287
+ /**
288
+ * The `Function` to invoke.
289
+ */
290
+ function: Function | Input<string | FunctionArgs | FunctionArn>;
291
+ /**
292
+ * The payload to send to the Lambda function. Values can include outputs from
293
+ * other resources and JSONata expressions.
294
+ * @example
295
+ *
296
+ * ```ts
297
+ * {
298
+ * payload: {
299
+ * env: "{% $states.input.foo %}",
300
+ * url: api.url,
301
+ * key: 1
302
+ * }
303
+ * }
304
+ * ```
305
+ */
306
+ payload?: Record<string, Input<unknown>>;
307
+ }
308
+ export interface SnsPublishArgs extends TaskBaseArgs {
309
+ /**
310
+ * The `SnsTopic` component to publish the message to.
311
+ */
312
+ topic: SnsTopic;
313
+ /**
314
+ * The message to send to the SNS topic.
315
+ */
316
+ message: Input<string>;
317
+ /**
318
+ * The message attributes to send to the SNS topic. Values can include outputs
319
+ * from other resources and JSONata expressions.
320
+ * @example
321
+ *
322
+ * ```ts
323
+ * {
324
+ * messageAttributes: {
325
+ * env: "{% $states.input.foo %}",
326
+ * url: api.url,
327
+ * key: 1
328
+ * }
329
+ * }
330
+ * ```
331
+ */
332
+ messageAttributes?: Input<Record<string, Input<string>>>;
333
+ /**
334
+ * The message deduplication ID to send to the SNS topic. This applies to FIFO
335
+ * topics only.
336
+ *
337
+ * This is a string that's used to deduplicate messages sent within the minimum
338
+ * 5 minute interval.
339
+ */
340
+ messageDeduplicationId?: Input<string>;
341
+ /**
342
+ * The message group ID to send to the SNS topic. This only applies to FIFO
343
+ * topics.
344
+ */
345
+ messageGroupId?: Input<string>;
346
+ /**
347
+ * An optional subject line when the message is delivered to email endpoints.
348
+ */
349
+ subject?: Input<string>;
350
+ }
351
+ export interface SqsSendMessageArgs extends TaskBaseArgs {
352
+ /**
353
+ * The `Queue` component to send the message to.
354
+ */
355
+ queue: Queue;
356
+ /**
357
+ * The message body to send to the SQS queue. The maximum size is 256KB.
358
+ */
359
+ messageBody: Input<string | Record<string, Input<unknown>>>;
360
+ /**
361
+ * The message attributes to send to the SQS queue. Values can include outputs
362
+ * from other resources and JSONata expressions.
363
+ * @example
364
+ *
365
+ * ```ts
366
+ * {
367
+ * messageAttributes: {
368
+ * env: "{% $states.input.foo %}",
369
+ * url: api.url,
370
+ * key: 1
371
+ * }
372
+ * }
373
+ * ```
374
+ */
375
+ messageAttributes?: Input<Record<string, Input<string>>>;
376
+ /**
377
+ * The message deduplication ID to send to the SQS queue. This applies to FIFO
378
+ * queues only.
379
+ *
380
+ * This is a string that's used to deduplicate messages sent within the minimum
381
+ * 5 minute interval.
382
+ */
383
+ messageDeduplicationId?: Input<string>;
384
+ /**
385
+ * The message group ID to send to the SQS queue. This only applies to FIFO
386
+ * queues.
387
+ */
388
+ messageGroupId?: Input<string>;
389
+ }
390
+ export interface EcsRunTaskArgs extends TaskBaseArgs {
391
+ /**
392
+ * The ECS `Task` to run.
393
+ *
394
+ * ```ts title="sst.config.ts" {6}
395
+ * const myCluster = new sst.aws.Cluster("MyCluster");
396
+ * const myTask = new sst.aws.Task("MyTask", { cluster: myCluster });
397
+ *
398
+ * sst.aws.StepFunctions.ecsRunTask({
399
+ * name: "RunTask",
400
+ * task: myTask
401
+ * });
402
+ * ```
403
+ */
404
+ task: ServiceTask;
405
+ /**
406
+ * The environment variables to apply to the ECS task. Values can include outputs
407
+ * from other resources and JSONata expressions.
408
+ * @example
409
+ *
410
+ * ```ts
411
+ * {
412
+ * environment: {
413
+ * MY_ENV: "{% $states.input.foo %}",
414
+ * MY_URL: api.url,
415
+ * MY_KEY: 1
416
+ * }
417
+ * }
418
+ * ```
419
+ */
420
+ environment?: Input<Record<string, Input<string>>>;
421
+ }
422
+ export interface EventBridgePutEventsArgs extends TaskBaseArgs {
423
+ /**
424
+ * A list of events to send to the EventBridge.
425
+ *
426
+ * @example
427
+ * ```ts
428
+ * {
429
+ * events: [
430
+ * {
431
+ * bus: myBus,
432
+ * source: "my-application",
433
+ * detailType: "order-created",
434
+ * detail: {
435
+ * orderId: "{% $states.input.orderId %}",
436
+ * customerId: "{% $states.input.customer.id %}",
437
+ * items: "{% $states.input.items %}"
438
+ * }
439
+ * }
440
+ * ]
441
+ * }
442
+ * ```
443
+ */
444
+ events: {
445
+ /**
446
+ * The `Bus` component to send the event to.
447
+ */
448
+ bus: Bus;
449
+ /**
450
+ * The source of the event. This string or JSONata expression identifies the
451
+ * service or component that generated it.
452
+ */
453
+ source?: Input<string>;
454
+ /**
455
+ * The detail type of the event. This helps subscribers filter and route events.
456
+ * This can be a string or JSONata expression.
457
+ */
458
+ detailType?: Input<string>;
459
+ /**
460
+ * The event payload containing the event details as a JSON object.
461
+ * Values can also include a JSONata expression.
462
+ *
463
+ * @example
464
+ * ```ts
465
+ * {
466
+ * detail: {
467
+ * type: "order",
468
+ * message: "{% $states.input.message %}"
469
+ * }
470
+ * }
471
+ * ```
472
+ */
473
+ detail?: Input<Record<string, Input<unknown>>>;
474
+ }[];
475
+ }
476
+ export {};
477
+ //# sourceMappingURL=task.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAU,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAC;AACrD,OAAO,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,CAAC;KAChD,EAAE,CAAC;CACL"}
@@ -0,0 +1,91 @@
1
+ import { Duration } from "../../duration";
2
+ import { Input } from "../../input";
3
+ import { JSONata, Nextable, State, StateArgs } from "./state";
4
+ export interface WaitArgs extends StateArgs {
5
+ /**
6
+ * Specify the amount of time to wait before starting the next state.
7
+ * @example
8
+ *
9
+ * ```ts
10
+ * {
11
+ * time: "10 seconds"
12
+ * }
13
+ * ```
14
+ *
15
+ * Alternatively, you can specify a JSONata expression that evaluates to a number
16
+ * in seconds.
17
+ *
18
+ * ```ts
19
+ * {
20
+ * time: "{% $states.input.wait_time %}"
21
+ * }
22
+ * ```
23
+ *
24
+ * Here `wait_time` is a number in seconds.
25
+ */
26
+ time?: Input<JSONata | Duration>;
27
+ /**
28
+ * A timestamp to wait till.
29
+ *
30
+ * Timestamps must conform to the RFC3339 profile of ISO 8601 and it needs:
31
+ *
32
+ * 1. An uppercase T as a delimiter between the date and time.
33
+ * 2. An uppercase Z to denote that a time zone offset is not present.
34
+ *
35
+ * @example
36
+ * ```ts
37
+ * {
38
+ * timestamp: "2026-01-01T00:00:00Z"
39
+ * }
40
+ * ```
41
+ *
42
+ * Alternatively, you can use a JSONata expression to evaluate to a timestamp that
43
+ * conforms to the above format.
44
+ *
45
+ * ```ts
46
+ * {
47
+ * timestamp: "{% $states.input.timestamp %}"
48
+ * }
49
+ * ```
50
+ */
51
+ timestamp?: Input<string>;
52
+ }
53
+ /**
54
+ * The `Wait` state is internally used by the `StepFunctions` component to add a [Wait
55
+ * workflow state](https://docs.aws.amazon.com/step-functions/latest/dg/state-wait.html)
56
+ * to a state machine.
57
+ *
58
+ * :::note
59
+ * This component is not intended to be created directly.
60
+ * :::
61
+ *
62
+ * You'll find this component returned by the `wait` method of the `StepFunctions` component.
63
+ */
64
+ export declare class Wait extends State implements Nextable {
65
+ protected args: WaitArgs;
66
+ constructor(args: WaitArgs);
67
+ /**
68
+ * Add a next state to the `Wait` state. After the wait completes, it'll transition
69
+ * to the given `state`.
70
+ *
71
+ * @example
72
+ *
73
+ * ```ts title="sst.config.ts"
74
+ * sst.aws.StepFunctions.wait({
75
+ * name: "Wait",
76
+ * time: "10 seconds"
77
+ * })
78
+ * .next(state);
79
+ * ```
80
+ */
81
+ next<T extends State>(state: T): T;
82
+ /**
83
+ * Serialize the state into JSON state definition.
84
+ */
85
+ protected toJSON(): {
86
+ Type: string;
87
+ Seconds: $util.OutputInstance<number | `${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `{% ${string} %}`> | undefined;
88
+ Timestamp: Input<string> | undefined;
89
+ };
90
+ }
91
+ //# sourceMappingURL=wait.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait.d.ts","sourceRoot":"","sources":["../../../../../../../.sst/platform/src/components/aws/step-functions/wait.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAa,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzE,MAAM,WAAW,QAAS,SAAQ,SAAS;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,QAAQ,CAAC,CAAC;IACjC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED;;;;;;;;;;GAUG;AACH,qBAAa,IAAK,SAAQ,KAAM,YAAW,QAAQ;IACrC,SAAS,CAAC,IAAI,EAAE,QAAQ;gBAAd,IAAI,EAAE,QAAQ;IAIpC;;;;;;;;;;;;;OAaG;IACI,IAAI,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC;IAIzC;;OAEG;IACH,SAAS,CAAC,MAAM;;;;;CAYjB"}