cloudstructs 0.9.7 → 0.9.9

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 (289) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-textract/detect.lambda/index.js +1 -1
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/saml-identity-provider/index.js +2 -2
  8. package/lib/slack-app/manifest.js +1 -1
  9. package/lib/slack-app/slack-app.js +2 -2
  10. package/lib/slack-events/index.js +1 -1
  11. package/lib/slack-textract/index.js +1 -1
  12. package/lib/ssl-server-test/index.js +1 -1
  13. package/lib/state-machine-cr-provider/index.js +1 -1
  14. package/lib/static-website/index.js +1 -1
  15. package/lib/toolkit-cleaner/index.js +1 -1
  16. package/lib/url-shortener/index.js +1 -1
  17. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +1 -1
  19. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +1 -1
  20. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +23 -23
  21. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +34 -32
  22. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +1 -1
  23. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +1 -1
  24. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +63 -62
  25. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +2 -2
  26. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +10 -1
  27. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +7 -6
  28. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +23 -12
  29. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +1 -1
  30. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +66 -3
  31. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +4 -4
  32. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +1 -0
  33. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +62 -43
  34. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +1 -1
  35. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +3 -3
  36. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +1 -1
  37. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +9 -6
  38. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +2 -2
  39. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  40. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  41. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +306 -46
  42. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +12 -5
  43. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  44. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +1 -1
  45. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -1
  46. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +4 -4
  47. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -15
  48. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +1 -1
  49. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +322 -74
  50. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +1 -1
  51. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +1 -1
  52. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +1 -1
  53. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +1 -1
  54. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +11 -3
  55. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +20 -4
  56. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +45 -1
  57. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +9 -6
  58. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +1 -1
  59. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +4 -1
  60. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +1 -1
  61. package/node_modules/@slack/types/LICENSE +23 -0
  62. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +10 -9
  63. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  64. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +3 -7
  65. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  66. package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts +38 -0
  67. package/node_modules/@slack/types/dist/block-kit/composition-objects.d.ts.map +1 -1
  68. package/node_modules/@slack/types/package.json +10 -9
  69. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  70. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +1 -1
  71. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +1 -1
  72. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +23 -23
  73. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +34 -32
  74. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +1 -1
  75. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +1 -1
  76. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +63 -62
  77. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +2 -2
  78. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +10 -1
  79. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +7 -6
  80. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +23 -12
  81. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +1 -1
  82. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +66 -3
  83. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +4 -4
  84. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +1 -0
  85. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +62 -43
  86. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +1 -1
  87. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +3 -3
  88. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +1 -1
  89. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +9 -6
  90. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +2 -2
  91. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  92. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  93. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +306 -46
  94. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +12 -5
  95. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  96. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +1 -1
  97. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -1
  98. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +4 -4
  99. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -15
  100. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +1 -1
  101. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +322 -74
  102. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +1 -1
  103. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +1 -1
  104. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +1 -1
  105. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +1 -1
  106. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +11 -3
  107. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +20 -4
  108. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +45 -1
  109. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +9 -6
  110. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +1 -1
  111. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +4 -1
  112. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +1 -1
  113. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  114. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +1 -1
  115. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +1 -1
  116. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +23 -23
  117. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +34 -32
  118. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +1 -1
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +1 -1
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +63 -62
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +2 -2
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +10 -1
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +7 -6
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +23 -12
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +1 -1
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +66 -3
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +4 -4
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +1 -0
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +62 -43
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +1 -1
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +3 -3
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +1 -1
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +9 -6
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +2 -2
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +306 -46
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +12 -5
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +1 -1
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -1
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +4 -4
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -15
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +1 -1
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +322 -74
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +1 -1
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +1 -1
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +1 -1
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -1
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +11 -3
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +20 -4
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +45 -1
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +9 -6
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +1 -1
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +4 -1
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +1 -1
  157. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  158. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +1 -1
  159. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +1 -1
  160. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +23 -23
  161. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +34 -32
  162. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +1 -1
  163. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +1 -1
  164. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +63 -62
  165. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +2 -2
  166. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +10 -1
  167. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +7 -6
  168. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +23 -12
  169. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +1 -1
  170. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +66 -3
  171. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +4 -4
  172. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +1 -0
  173. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +62 -43
  174. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +1 -1
  175. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +3 -3
  176. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +1 -1
  177. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +9 -6
  178. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +2 -2
  179. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  180. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +1 -1
  181. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +306 -46
  182. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +12 -5
  183. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
  184. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +1 -1
  185. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +1 -1
  186. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +4 -4
  187. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +15 -15
  188. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +1 -1
  189. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +322 -74
  190. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +1 -1
  191. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +1 -1
  192. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +1 -1
  193. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +1 -1
  194. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +11 -3
  195. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +20 -4
  196. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +45 -1
  197. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +9 -6
  198. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +1 -1
  199. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +4 -1
  200. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +1 -1
  201. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  202. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +1 -1
  203. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +1 -1
  204. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +23 -23
  205. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +34 -32
  206. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +1 -1
  207. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +1 -1
  208. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +63 -62
  209. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +2 -2
  210. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +10 -1
  211. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +7 -6
  212. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +23 -12
  213. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +1 -1
  214. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +66 -3
  215. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +4 -4
  216. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +1 -0
  217. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +62 -43
  218. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +1 -1
  219. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +3 -3
  220. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +1 -1
  221. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +9 -6
  222. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +2 -2
  223. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  224. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  225. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +306 -46
  226. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +12 -5
  227. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  228. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +1 -1
  229. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -1
  230. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +4 -4
  231. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -15
  232. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +1 -1
  233. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +322 -74
  234. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +1 -1
  235. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +1 -1
  236. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +1 -1
  237. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -1
  238. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +11 -3
  239. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +20 -4
  240. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +45 -1
  241. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +9 -6
  242. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +1 -1
  243. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +4 -1
  244. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +1 -1
  245. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  246. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +1 -1
  247. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +1 -1
  248. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +23 -23
  249. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +34 -32
  250. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +1 -1
  251. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +1 -1
  252. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +63 -62
  253. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +2 -2
  254. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +10 -1
  255. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +7 -6
  256. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +23 -12
  257. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +1 -1
  258. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +66 -3
  259. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +4 -4
  260. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +1 -0
  261. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +62 -43
  262. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +1 -1
  263. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +3 -3
  264. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +1 -1
  265. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +9 -6
  266. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +2 -2
  267. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  268. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  269. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +306 -46
  270. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +12 -5
  271. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  272. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +1 -1
  273. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -1
  274. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +4 -4
  275. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -15
  276. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +1 -1
  277. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +322 -74
  278. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +1 -1
  279. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +1 -1
  280. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +1 -1
  281. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -1
  282. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +11 -3
  283. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +20 -4
  284. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +45 -1
  285. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +9 -6
  286. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +1 -1
  287. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +4 -1
  288. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +1 -1
  289. package/package.json +23 -19
@@ -5,7 +5,7 @@
5
5
  * ```js
6
6
  * import url from 'node:url';
7
7
  * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/url.js)
8
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/url.js)
9
9
  */
10
10
  declare module "url" {
11
11
  import { Blob as NodeBlob } from "node:buffer";
@@ -46,6 +46,14 @@ declare module "url" {
46
46
  interface UrlWithStringQuery extends Url {
47
47
  query: string | null;
48
48
  }
49
+ interface FileUrlToPathOptions {
50
+ /**
51
+ * `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
52
+ * @default undefined
53
+ */
54
+ windows?: boolean | undefined;
55
+ }
56
+ interface PathToFileUrlOptions extends FileUrlToPathOptions {}
49
57
  /**
50
58
  * The `url.parse()` method takes a URL string, parses it, and returns a URL
51
59
  * object.
@@ -298,7 +306,7 @@ declare module "url" {
298
306
  * @param url The file URL string or URL object to convert to a path.
299
307
  * @return The fully-resolved platform-specific Node.js file path.
300
308
  */
301
- function fileURLToPath(url: string | URL): string;
309
+ function fileURLToPath(url: string | URL, options?: FileUrlToPathOptions): string;
302
310
  /**
303
311
  * This function ensures that `path` is resolved absolutely, and that the URL
304
312
  * control characters are correctly encoded when converting into a File URL.
@@ -316,7 +324,7 @@ declare module "url" {
316
324
  * @param path The path to convert to a File URL.
317
325
  * @return The file URL object.
318
326
  */
319
- function pathToFileURL(path: string): URL;
327
+ function pathToFileURL(path: string, options?: PathToFileUrlOptions): URL;
320
328
  /**
321
329
  * This utility function converts a URL object into an ordinary options object as
322
330
  * expected by the `http.request()` and `https.request()` APIs.
@@ -6,7 +6,7 @@
6
6
  * ```js
7
7
  * const util = require('node:util');
8
8
  * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/util.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/util.js)
10
10
  */
11
11
  declare module "util" {
12
12
  import * as types from "node:util/types";
@@ -1256,16 +1256,32 @@ declare module "util" {
1256
1256
  *
1257
1257
  * ```js
1258
1258
  * console.log(
1259
- * util.styleText('underline', util.styleText('italic', 'My italic underlined message')),
1259
+ * util.styleText(['underline', 'italic'], 'My italic underlined message'),
1260
+ * );
1261
+ * ```
1262
+ *
1263
+ * When passing an array of formats, the order of the format applied is left to right so the following style
1264
+ * might overwrite the previous one.
1265
+ *
1266
+ * ```js
1267
+ * console.log(
1268
+ * util.styleText(['red', 'green'], 'text'), // green
1260
1269
  * );
1261
1270
  * ```
1262
1271
  *
1263
1272
  * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v20.x/api/util.html#modifiers).
1264
- * @param format A text format defined in `util.inspect.colors`.
1273
+ * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
1265
1274
  * @param text The text to to be formatted.
1266
1275
  * @since v20.12.0
1267
1276
  */
1268
- export function styleText(format: ForegroundColors | BackgroundColors | Modifiers, text: string): string;
1277
+ export function styleText(
1278
+ format:
1279
+ | ForegroundColors
1280
+ | BackgroundColors
1281
+ | Modifiers
1282
+ | Array<ForegroundColors | BackgroundColors | Modifiers>,
1283
+ text: string,
1284
+ ): string;
1269
1285
  /**
1270
1286
  * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API.
1271
1287
  *
@@ -4,7 +4,7 @@
4
4
  * ```js
5
5
  * const v8 = require('node:v8');
6
6
  * ```
7
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/v8.js)
7
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/v8.js)
8
8
  */
9
9
  declare module "v8" {
10
10
  import { Readable } from "node:stream";
@@ -183,6 +183,50 @@ declare module "v8" {
183
183
  * @since v1.0.0
184
184
  */
185
185
  function setFlagsFromString(flags: string): void;
186
+ /**
187
+ * This is similar to the [`queryObjects()` console API](https://developer.chrome.com/docs/devtools/console/utilities#queryObjects-function)
188
+ * provided by the Chromium DevTools console. It can be used to search for objects that have the matching constructor on its prototype chain
189
+ * in the heap after a full garbage collection, which can be useful for memory leak regression tests. To avoid surprising results, users should
190
+ * avoid using this API on constructors whose implementation they don't control, or on constructors that can be invoked by other parties in the
191
+ * application.
192
+ *
193
+ * To avoid accidental leaks, this API does not return raw references to the objects found. By default, it returns the count of the objects
194
+ * found. If `options.format` is `'summary'`, it returns an array containing brief string representations for each object. The visibility provided
195
+ * in this API is similar to what the heap snapshot provides, while users can save the cost of serialization and parsing and directly filter the
196
+ * target objects during the search.
197
+ *
198
+ * Only objects created in the current execution context are included in the results.
199
+ *
200
+ * ```js
201
+ * import { queryObjects } from 'node:v8';
202
+ * class A { foo = 'bar'; }
203
+ * console.log(queryObjects(A)); // 0
204
+ * const a = new A();
205
+ * console.log(queryObjects(A)); // 1
206
+ * // [ "A { foo: 'bar' }" ]
207
+ * console.log(queryObjects(A, { format: 'summary' }));
208
+ *
209
+ * class B extends A { bar = 'qux'; }
210
+ * const b = new B();
211
+ * console.log(queryObjects(B)); // 1
212
+ * // [ "B { foo: 'bar', bar: 'qux' }" ]
213
+ * console.log(queryObjects(B, { format: 'summary' }));
214
+ *
215
+ * // Note that, when there are child classes inheriting from a constructor,
216
+ * // the constructor also shows up in the prototype chain of the child
217
+ * // classes's prototoype, so the child classes's prototoype would also be
218
+ * // included in the result.
219
+ * console.log(queryObjects(A)); // 3
220
+ * // [ "B { foo: 'bar', bar: 'qux' }", 'A {}', "A { foo: 'bar' }" ]
221
+ * console.log(queryObjects(A, { format: 'summary' }));
222
+ * ```
223
+ * @param ctor The constructor that can be used to search on the prototype chain in order to filter target objects in the heap.
224
+ * @since v20.13.0
225
+ * @experimental
226
+ */
227
+ function queryObjects(ctor: Function): number | string[];
228
+ function queryObjects(ctor: Function, options: { format: "count" }): number;
229
+ function queryObjects(ctor: Function, options: { format: "summary" }): string[];
186
230
  /**
187
231
  * Generates a snapshot of the current V8 heap and returns a Readable
188
232
  * Stream that may be used to read the JSON serialized representation.
@@ -34,7 +34,7 @@
34
34
  *
35
35
  * console.log(x); // 1; y is not defined.
36
36
  * ```
37
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/vm.js)
37
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/vm.js)
38
38
  */
39
39
  declare module "vm" {
40
40
  import { ImportAttributes } from "node:module";
@@ -347,11 +347,14 @@ declare module "vm" {
347
347
  sourceMapURL?: string | undefined;
348
348
  }
349
349
  /**
350
- * If given a `contextObject`, the `vm.createContext()` method will `prepare
351
- * that object` so that it can be used in calls to {@link runInContext} or `script.runInContext()`. Inside such scripts,
352
- * the `contextObject` will be the global object, retaining all of its existing
353
- * properties but also having the built-in objects and functions any standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global variables
354
- * will remain unchanged.
350
+ * If given a `contextObject`, the `vm.createContext()` method will
351
+ * [prepare that object](https://nodejs.org/docs/latest-v20.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
352
+ * and return a reference to it so that it can be used in `{@link runInContext}` or
353
+ * [`script.runInContext()`](https://nodejs.org/docs/latest-v20.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
354
+ * scripts, the `contextObject` will be the global object, retaining all of its
355
+ * existing properties but also having the built-in objects and functions any
356
+ * standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global
357
+ * variables will remain unchanged.
355
358
  *
356
359
  * ```js
357
360
  * const vm = require('node:vm');
@@ -67,7 +67,7 @@
67
67
  * wat2wasm demo.wat
68
68
  * ```
69
69
  * @experimental
70
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/wasi.js)
70
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/wasi.js)
71
71
  */
72
72
  declare module "wasi" {
73
73
  interface WASIOptions {
@@ -49,7 +49,7 @@
49
49
  *
50
50
  * Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
51
51
  * specifically `argv` and `execArgv` options.
52
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/worker_threads.js)
52
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/worker_threads.js)
53
53
  */
54
54
  declare module "worker_threads" {
55
55
  import { Blob } from "node:buffer";
@@ -237,6 +237,9 @@ declare module "worker_threads" {
237
237
  off(event: "message", listener: (value: any) => void): this;
238
238
  off(event: "messageerror", listener: (error: Error) => void): this;
239
239
  off(event: string | symbol, listener: (...args: any[]) => void): this;
240
+ addEventListener: EventTarget["addEventListener"];
241
+ dispatchEvent: EventTarget["dispatchEvent"];
242
+ removeEventListener: EventTarget["removeEventListener"];
240
243
  }
241
244
  interface WorkerOptions {
242
245
  /**
@@ -89,7 +89,7 @@
89
89
  * });
90
90
  * ```
91
91
  * @since v0.5.8
92
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/zlib.js)
92
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/zlib.js)
93
93
  */
94
94
  declare module "zlib" {
95
95
  import * as stream from "node:stream";
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014- Slack Technologies, LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+
@@ -1,5 +1,5 @@
1
1
  import { Actionable, Confirmable, Dispatchable, Focusable, Placeholdable, RichTextStyleable } from './extensions';
2
- import { Option, PlainTextElement, PlainTextOption } from './composition-objects';
2
+ import { Option, PlainTextElement, PlainTextOption, UrlImageObject, SlackFileImageObject } from './composition-objects';
3
3
  import { RichTextBlock } from './blocks';
4
4
  /**
5
5
  * @description Allows users a direct path to performing basic actions.
@@ -140,20 +140,16 @@ export interface FileInput extends Actionable {
140
140
  * only an image in it.
141
141
  * @see {@link https://api.slack.com/reference/block-kit/block-elements#image Image element reference}.
142
142
  */
143
- export interface ImageElement {
143
+ export type ImageElement = {
144
144
  /**
145
145
  * @description The type of element. In this case `type` is always `image`.
146
146
  */
147
147
  type: 'image';
148
- /**
149
- * @description The URL of the image to be displayed.
150
- */
151
- image_url: string;
152
148
  /**
153
149
  * @description A plain-text summary of the image. This should not contain any markup.
154
150
  */
155
151
  alt_text: string;
156
- }
152
+ } & (UrlImageObject | SlackFileImageObject);
157
153
  /**
158
154
  * @description Allows users to choose an option from a drop down menu.
159
155
  * The select menu also includes type-ahead functionality, where a user can type a part or all of an option string to
@@ -467,7 +463,7 @@ export interface NumberInput extends Actionable, Dispatchable, Focusable, Placeh
467
463
  }
468
464
  /**
469
465
  * @description Allows users to press a button to view a list of options.
470
- * Unlike the select menu, there is no typeahead field, and the button always appears with an ellipsis ("") rather
466
+ * Unlike the select menu, there is no typeahead field, and the button always appears with an ellipsis ('') rather
471
467
  * than customizable text. As such, it is usually used if you want a more compact layout than a select menu, or to
472
468
  * supply a list of less visually important actions after a row of buttons. You can also specify simple URL links as
473
469
  * overflow menu options, instead of actions.
@@ -553,7 +549,7 @@ export interface Timepicker extends Actionable, Confirmable, Focusable, Placehol
553
549
  */
554
550
  initial_time?: string;
555
551
  /**
556
- * @description A string in the IANA format, e.g. "America/Chicago". The timezone is displayed to end users as hint
552
+ * @description A string in the IANA format, e.g. 'America/Chicago'. The timezone is displayed to end users as hint
557
553
  * text underneath the time picker. It is also passed to the app upon certain interactions, such as view_submission.
558
554
  */
559
555
  timezone?: string;
@@ -865,6 +861,11 @@ export interface RichTextQuote {
865
861
  * @description An array of {@link RichTextElement} comprising the quote block.
866
862
  */
867
863
  elements: RichTextElement[];
864
+ /**
865
+ * @description Whether to render a quote-block-like border on the inline side of the text quote.
866
+ * `0` renders no border, while `1` renders a border. Defaults to `0`.
867
+ */
868
+ border?: 0 | 1;
868
869
  }
869
870
  /**
870
871
  * @description A block of preformatted text within a rich text field.
@@ -1 +1 @@
1
- {"version":3,"file":"block-elements.d.ts","sourceRoot":"","sources":["../../src/block-kit/block-elements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAClH,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;GAIG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AAM,WAAW,aAAc,SAAQ,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa;IACvF;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B"}
1
+ {"version":3,"file":"block-elements.d.ts","sourceRoot":"","sources":["../../src/block-kit/block-elements.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,WAAW,EACX,YAAY,EACZ,SAAS,EACT,aAAa,EACb,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;GAIG;AACH,MAAM,WAAW,MAAO,SAAQ,UAAU,EAAE,WAAW;IACrD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;OAGG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAW,SAAQ,UAAU,EAAE,WAAW,EAAE,SAAS;IACpE;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,UACf,SAAQ,UAAU,EAClB,WAAW,EACX,SAAS,EACT,aAAa;IACb;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IAC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ACH,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;OAEG;IACH,QAAQ,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC,EAAE,CAAC;IAC1C;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,aACf,SAAQ,UAAU,EAClB,YAAY,EACZ,SAAS,EACT,aAAa;IACb;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B"}
@@ -1,4 +1,4 @@
1
- import { PlainTextElement, MrkdwnElement } from './composition-objects';
1
+ import { PlainTextElement, MrkdwnElement, UrlImageObject, SlackFileImageObject } from './composition-objects';
2
2
  import { Actionable } from './extensions';
3
3
  import { Button, Checkboxes, Datepicker, DateTimepicker, EmailInput, FileInput, ImageElement, MultiSelect, NumberInput, Overflow, PlainTextInput, RadioButtons, Select, Timepicker, URLInput, WorkflowButton, RichTextSection, RichTextList, RichTextQuote, RichTextPreformatted, RichTextInput } from './block-elements';
4
4
  export interface Block {
@@ -95,15 +95,11 @@ export interface HeaderBlock extends Block {
95
95
  * @description Displays an image. A simple image block, designed to make those cat photos really pop.
96
96
  * @see {@link https://api.slack.com/reference/block-kit/blocks#image Image block reference}.
97
97
  */
98
- export interface ImageBlock extends Block {
98
+ export type ImageBlock = {
99
99
  /**
100
100
  * @description The type of block. For an image block, `type` is always `image`.
101
101
  */
102
102
  type: 'image';
103
- /**
104
- * @description The URL of the image to be displayed. Maximum length for this field is 3000 characters.
105
- */
106
- image_url: string;
107
103
  /**
108
104
  * @description A plain-text summary of the image. This should not contain any markup.
109
105
  * Maximum length for this field is 2000 characters.
@@ -114,7 +110,7 @@ export interface ImageBlock extends Block {
114
110
  * Maximum length for the text in this field is 2000 characters.
115
111
  */
116
112
  title?: PlainTextElement;
117
- }
113
+ } & Block & (UrlImageObject | SlackFileImageObject);
118
114
  /**
119
115
  * @description Collects information from users via block elements.
120
116
  * @see {@link https://api.slack.com/reference/block-kit/blocks#input Input block reference}.
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/block-kit/blocks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE1T,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,GAChF,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,aAAa,CAAC;AAEjF;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,KAAK;IACzC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;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block-kit/composition-objects#filter_conversations Conversation filter object reference}.
170
170
  */
171
171
  export type ConversationFilter = (BaseConversationFilter & Required<Pick<BaseConversationFilter, 'include'>>) | (BaseConversationFilter & Required<Pick<BaseConversationFilter, 'exclude_bot_users'>>) | (BaseConversationFilter & Required<Pick<BaseConversationFilter, 'exclude_external_shared_channels'>>);
172
+ /**
173
+ * @description Object for image which contains a image_url.
174
+ */
175
+ export interface UrlImageObject {
176
+ /**
177
+ * @description The URL of the image to be displayed.
178
+ */
179
+ image_url: string;
180
+ }
181
+ /**
182
+ * @description Object for image which contains a slack_file.
183
+ */
184
+ export interface SlackFileImageObject {
185
+ /**
186
+ * @description The slack file of the image to be displayed.
187
+ */
188
+ slack_file: SlackFile;
189
+ }
190
+ interface SlackFileViaUrl {
191
+ /**
192
+ * @description This URL can be the `url_private` or the `permalink` of the {@link Slack file https://api.slack.com/types/file}.
193
+ */
194
+ url: string;
195
+ }
196
+ interface SlackFileViaId {
197
+ /**
198
+ * @description `id` of the {@link Slack file https://api.slack.com/types/file}.
199
+ */
200
+ id: string;
201
+ }
202
+ /**
203
+ * @description Defines an object containing Slack file information to be used in an image block or image element.
204
+ * This {@link file https://api.slack.com/types/file} must be an image and you must provide either the URL or ID. In addition,
205
+ * the user posting these blocks must have access to this file. If both are provided then the payload will be rejected.
206
+ * Currently only `png`, `jpg`, `jpeg`, and `gif` Slack image files are supported.
207
+ * @see {@link https://api.slack.com/reference/block-kit/composition-objects#slack_file Slack File object reference}.
208
+ */
209
+ export type SlackFile = SlackFileViaUrl | SlackFileViaId;
172
210
  export {};
173
211
  //# sourceMappingURL=composition-objects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"composition-objects.d.ts","sourceRoot":"","sources":["../../src/block-kit/composition-objects.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,IAAI,EAAE,gBA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;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,sBAAsB,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,CAAC,sBAAsB,GAAG,QAAQ,CAAC,IAAI,CAAC,sBAAsB,EAAE,kCAAkC,CAAC,CAAC,CAAC,CAAC;AAC/S;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;CACvB;AAED,UAAU,eAAe;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,cAAc;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slack/types",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Shared type definitions for the Node Slack SDK",
5
5
  "author": "Slack Technologies, LLC",
6
6
  "license": "MIT",
@@ -36,14 +36,15 @@
36
36
  "ref-docs:model": "api-extractor run"
37
37
  },
38
38
  "devDependencies": {
39
- "@microsoft/api-extractor": "^7.3.4",
40
- "@typescript-eslint/eslint-plugin": "^4.4.1",
41
- "@typescript-eslint/parser": "^4.4.0",
42
- "eslint": "^7.32.0",
43
- "eslint-config-airbnb-base": "^14.2.1",
44
- "eslint-config-airbnb-typescript": "^12.3.1",
45
- "eslint-plugin-import": "^2.22.1",
46
- "eslint-plugin-jsdoc": "^30.6.1",
39
+ "@microsoft/api-extractor": "^7.38.0",
40
+ "@typescript-eslint/eslint-plugin": "^6.4.1",
41
+ "@typescript-eslint/parser": "^6.4.0",
42
+ "eslint": "^8.47.0",
43
+ "eslint-config-airbnb-base": "^15.0.0",
44
+ "eslint-config-airbnb-typescript": "^17.1.0",
45
+ "eslint-plugin-import": "^2.28.1",
46
+ "eslint-plugin-import-newlines": "^1.3.4",
47
+ "eslint-plugin-jsdoc": "^46.5.0",
47
48
  "eslint-plugin-node": "^11.1.0",
48
49
  "shx": "^0.3.2",
49
50
  "typescript": "^4.1.0"
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 14 May 2024 06:09:35 GMT
11
+ * Last updated: Tue, 18 Jun 2024 06:37:41 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The `node:assert` module provides a set of assertion functions for verifying
3
3
  * invariants.
4
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/assert.js)
4
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/assert.js)
5
5
  */
6
6
  declare module "assert" {
7
7
  /**
@@ -12,7 +12,7 @@
12
12
  * import async_hooks from 'node:async_hooks';
13
13
  * ```
14
14
  * @experimental
15
- * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/async_hooks.js)
15
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/async_hooks.js)
16
16
  */
17
17
  declare module "async_hooks" {
18
18
  /**