@hasna/connectors 1.3.33 → 1.3.35

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 (673) hide show
  1. package/bin/index.js +1119 -268
  2. package/bin/mcp.js +378 -201
  3. package/bin/serve.js +452 -275
  4. package/dashboard/dist/assets/index-DJjxFlTl.css +1 -0
  5. package/dashboard/dist/assets/index-DNPZ58_i.js +284 -0
  6. package/dashboard/dist/index.html +2 -2
  7. package/dist/cli/components/App.d.ts +2 -1
  8. package/dist/cli/components/CategorySelect.d.ts +2 -1
  9. package/dist/cli/components/ConnectorSelect.d.ts +2 -1
  10. package/dist/cli/components/Header.d.ts +2 -1
  11. package/dist/cli/components/InstallProgress.d.ts +2 -1
  12. package/dist/cli/components/SearchView.d.ts +2 -1
  13. package/dist/index.js +109 -110
  14. package/package.json +3 -2
  15. package/connectors/connect-github/bin/index.js +0 -3518
  16. package/connectors/connect-github/dist/index.js +0 -520
  17. package/connectors/connect-yousign/bun.lock +0 -32
  18. package/connectors/connect-yousign/node_modules/@types/bun/LICENSE +0 -21
  19. package/connectors/connect-yousign/node_modules/@types/bun/README.md +0 -20
  20. package/connectors/connect-yousign/node_modules/@types/bun/index.d.ts +0 -1
  21. package/connectors/connect-yousign/node_modules/@types/bun/package.json +0 -53
  22. package/connectors/connect-yousign/node_modules/@types/node/LICENSE +0 -21
  23. package/connectors/connect-yousign/node_modules/@types/node/README.md +0 -15
  24. package/connectors/connect-yousign/node_modules/@types/node/assert/strict.d.ts +0 -105
  25. package/connectors/connect-yousign/node_modules/@types/node/assert.d.ts +0 -955
  26. package/connectors/connect-yousign/node_modules/@types/node/async_hooks.d.ts +0 -623
  27. package/connectors/connect-yousign/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  28. package/connectors/connect-yousign/node_modules/@types/node/buffer.d.ts +0 -1810
  29. package/connectors/connect-yousign/node_modules/@types/node/child_process.d.ts +0 -1433
  30. package/connectors/connect-yousign/node_modules/@types/node/cluster.d.ts +0 -486
  31. package/connectors/connect-yousign/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  32. package/connectors/connect-yousign/node_modules/@types/node/console.d.ts +0 -151
  33. package/connectors/connect-yousign/node_modules/@types/node/constants.d.ts +0 -20
  34. package/connectors/connect-yousign/node_modules/@types/node/crypto.d.ts +0 -4065
  35. package/connectors/connect-yousign/node_modules/@types/node/dgram.d.ts +0 -564
  36. package/connectors/connect-yousign/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  37. package/connectors/connect-yousign/node_modules/@types/node/dns/promises.d.ts +0 -503
  38. package/connectors/connect-yousign/node_modules/@types/node/dns.d.ts +0 -922
  39. package/connectors/connect-yousign/node_modules/@types/node/domain.d.ts +0 -166
  40. package/connectors/connect-yousign/node_modules/@types/node/events.d.ts +0 -1047
  41. package/connectors/connect-yousign/node_modules/@types/node/fs/promises.d.ts +0 -1329
  42. package/connectors/connect-yousign/node_modules/@types/node/fs.d.ts +0 -4678
  43. package/connectors/connect-yousign/node_modules/@types/node/globals.d.ts +0 -150
  44. package/connectors/connect-yousign/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  45. package/connectors/connect-yousign/node_modules/@types/node/http.d.ts +0 -2188
  46. package/connectors/connect-yousign/node_modules/@types/node/http2.d.ts +0 -2480
  47. package/connectors/connect-yousign/node_modules/@types/node/https.d.ts +0 -405
  48. package/connectors/connect-yousign/node_modules/@types/node/index.d.ts +0 -115
  49. package/connectors/connect-yousign/node_modules/@types/node/inspector/promises.d.ts +0 -41
  50. package/connectors/connect-yousign/node_modules/@types/node/inspector.d.ts +0 -269
  51. package/connectors/connect-yousign/node_modules/@types/node/inspector.generated.d.ts +0 -4401
  52. package/connectors/connect-yousign/node_modules/@types/node/module.d.ts +0 -757
  53. package/connectors/connect-yousign/node_modules/@types/node/net.d.ts +0 -933
  54. package/connectors/connect-yousign/node_modules/@types/node/os.d.ts +0 -507
  55. package/connectors/connect-yousign/node_modules/@types/node/package.json +0 -155
  56. package/connectors/connect-yousign/node_modules/@types/node/path/posix.d.ts +0 -8
  57. package/connectors/connect-yousign/node_modules/@types/node/path/win32.d.ts +0 -8
  58. package/connectors/connect-yousign/node_modules/@types/node/path.d.ts +0 -187
  59. package/connectors/connect-yousign/node_modules/@types/node/perf_hooks.d.ts +0 -643
  60. package/connectors/connect-yousign/node_modules/@types/node/process.d.ts +0 -2175
  61. package/connectors/connect-yousign/node_modules/@types/node/punycode.d.ts +0 -117
  62. package/connectors/connect-yousign/node_modules/@types/node/querystring.d.ts +0 -152
  63. package/connectors/connect-yousign/node_modules/@types/node/quic.d.ts +0 -910
  64. package/connectors/connect-yousign/node_modules/@types/node/readline/promises.d.ts +0 -161
  65. package/connectors/connect-yousign/node_modules/@types/node/readline.d.ts +0 -542
  66. package/connectors/connect-yousign/node_modules/@types/node/repl.d.ts +0 -415
  67. package/connectors/connect-yousign/node_modules/@types/node/sea.d.ts +0 -162
  68. package/connectors/connect-yousign/node_modules/@types/node/sqlite.d.ts +0 -1065
  69. package/connectors/connect-yousign/node_modules/@types/node/stream/consumers.d.ts +0 -38
  70. package/connectors/connect-yousign/node_modules/@types/node/stream/promises.d.ts +0 -211
  71. package/connectors/connect-yousign/node_modules/@types/node/stream/web.d.ts +0 -296
  72. package/connectors/connect-yousign/node_modules/@types/node/stream.d.ts +0 -1770
  73. package/connectors/connect-yousign/node_modules/@types/node/string_decoder.d.ts +0 -67
  74. package/connectors/connect-yousign/node_modules/@types/node/test/reporters.d.ts +0 -96
  75. package/connectors/connect-yousign/node_modules/@types/node/test.d.ts +0 -2275
  76. package/connectors/connect-yousign/node_modules/@types/node/timers/promises.d.ts +0 -108
  77. package/connectors/connect-yousign/node_modules/@types/node/timers.d.ts +0 -159
  78. package/connectors/connect-yousign/node_modules/@types/node/tls.d.ts +0 -1203
  79. package/connectors/connect-yousign/node_modules/@types/node/trace_events.d.ts +0 -197
  80. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  81. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  82. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  83. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  84. package/connectors/connect-yousign/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  85. package/connectors/connect-yousign/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  86. package/connectors/connect-yousign/node_modules/@types/node/tty.d.ts +0 -250
  87. package/connectors/connect-yousign/node_modules/@types/node/url.d.ts +0 -541
  88. package/connectors/connect-yousign/node_modules/@types/node/util/types.d.ts +0 -558
  89. package/connectors/connect-yousign/node_modules/@types/node/util.d.ts +0 -1687
  90. package/connectors/connect-yousign/node_modules/@types/node/v8.d.ts +0 -988
  91. package/connectors/connect-yousign/node_modules/@types/node/vm.d.ts +0 -1208
  92. package/connectors/connect-yousign/node_modules/@types/node/wasi.d.ts +0 -202
  93. package/connectors/connect-yousign/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  94. package/connectors/connect-yousign/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  95. package/connectors/connect-yousign/node_modules/@types/node/web-globals/console.d.ts +0 -9
  96. package/connectors/connect-yousign/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  97. package/connectors/connect-yousign/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  98. package/connectors/connect-yousign/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  99. package/connectors/connect-yousign/node_modules/@types/node/web-globals/events.d.ts +0 -106
  100. package/connectors/connect-yousign/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  101. package/connectors/connect-yousign/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  102. package/connectors/connect-yousign/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  103. package/connectors/connect-yousign/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  104. package/connectors/connect-yousign/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  105. package/connectors/connect-yousign/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  106. package/connectors/connect-yousign/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  107. package/connectors/connect-yousign/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  108. package/connectors/connect-yousign/node_modules/@types/node/web-globals/url.d.ts +0 -24
  109. package/connectors/connect-yousign/node_modules/@types/node/worker_threads.d.ts +0 -717
  110. package/connectors/connect-yousign/node_modules/@types/node/zlib.d.ts +0 -682
  111. package/connectors/connect-yousign/node_modules/bun-types/CLAUDE.md +0 -105
  112. package/connectors/connect-yousign/node_modules/bun-types/README.md +0 -33
  113. package/connectors/connect-yousign/node_modules/bun-types/bun.d.ts +0 -8481
  114. package/connectors/connect-yousign/node_modules/bun-types/bun.ns.d.ts +0 -5
  115. package/connectors/connect-yousign/node_modules/bun-types/bundle.d.ts +0 -74
  116. package/connectors/connect-yousign/node_modules/bun-types/deprecated.d.ts +0 -184
  117. package/connectors/connect-yousign/node_modules/bun-types/devserver.d.ts +0 -187
  118. package/connectors/connect-yousign/node_modules/bun-types/docs/README.md +0 -28
  119. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -447
  120. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
  121. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -304
  122. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/executables.mdx +0 -1318
  123. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
  124. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
  125. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/html-static.mdx +0 -498
  126. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/index.mdx +0 -1840
  127. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
  128. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
  129. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
  130. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/plugins.mdx +0 -477
  131. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/standalone-html.mdx +0 -314
  132. package/connectors/connect-yousign/node_modules/bun-types/docs/feedback.mdx +0 -75
  133. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
  134. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
  135. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
  136. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
  137. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
  138. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
  139. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
  140. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
  141. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
  142. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
  143. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
  144. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
  145. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
  146. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
  147. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
  148. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
  149. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
  150. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
  151. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
  152. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
  153. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
  154. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
  155. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
  156. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
  157. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -194
  158. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
  159. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
  160. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
  161. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
  162. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
  163. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
  164. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
  165. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
  166. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
  167. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
  168. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
  169. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
  170. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
  171. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
  172. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
  173. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
  174. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
  175. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
  176. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
  177. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
  178. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
  179. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
  180. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
  181. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
  182. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
  183. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
  184. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
  185. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
  186. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
  187. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
  188. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
  189. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
  190. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
  191. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
  192. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
  193. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
  194. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
  195. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
  196. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
  197. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
  198. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
  199. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
  200. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
  201. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
  202. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
  203. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/index.mdx +0 -10
  204. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
  205. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
  206. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
  207. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
  208. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
  209. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
  210. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
  211. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
  212. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
  213. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
  214. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
  215. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
  216. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
  217. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
  218. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
  219. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
  220. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
  221. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
  222. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
  223. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
  224. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
  225. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
  226. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
  227. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
  228. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
  229. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
  230. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
  231. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
  232. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
  233. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
  234. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
  235. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
  236. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
  237. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
  238. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
  239. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
  240. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
  241. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
  242. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -149
  243. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
  244. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
  245. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
  246. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
  247. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
  248. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-json5.mdx +0 -74
  249. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
  250. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
  251. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
  252. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
  253. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
  254. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
  255. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
  256. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -51
  257. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
  258. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
  259. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
  260. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
  261. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
  262. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
  263. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
  264. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
  265. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
  266. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
  267. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
  268. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
  269. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
  270. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
  271. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
  272. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
  273. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
  274. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
  275. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
  276. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
  277. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
  278. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
  279. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
  280. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
  281. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
  282. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
  283. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
  284. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
  285. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
  286. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
  287. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
  288. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
  289. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
  290. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
  291. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
  292. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
  293. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
  294. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
  295. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
  296. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
  297. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
  298. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
  299. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
  300. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
  301. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
  302. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
  303. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
  304. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
  305. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
  306. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
  307. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
  308. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
  309. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
  310. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
  311. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
  312. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
  313. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
  314. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
  315. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
  316. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
  317. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
  318. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
  319. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
  320. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
  321. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
  322. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
  323. package/connectors/connect-yousign/node_modules/bun-types/docs/index.mdx +0 -133
  324. package/connectors/connect-yousign/node_modules/bun-types/docs/installation.mdx +0 -372
  325. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
  326. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
  327. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
  328. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
  329. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
  330. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/install.mdx +0 -591
  331. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
  332. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
  333. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
  334. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
  335. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
  336. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
  337. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
  338. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
  339. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/filter.mdx +0 -127
  340. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
  341. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -220
  342. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -64
  343. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
  344. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/npmrc.mdx +0 -245
  345. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
  346. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
  347. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
  348. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
  349. package/connectors/connect-yousign/node_modules/bun-types/docs/project/benchmarking.mdx +0 -296
  350. package/connectors/connect-yousign/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
  351. package/connectors/connect-yousign/node_modules/bun-types/docs/project/building-windows.mdx +0 -143
  352. package/connectors/connect-yousign/node_modules/bun-types/docs/project/contributing.mdx +0 -366
  353. package/connectors/connect-yousign/node_modules/bun-types/docs/project/feedback.mdx +0 -20
  354. package/connectors/connect-yousign/node_modules/bun-types/docs/project/license.mdx +0 -78
  355. package/connectors/connect-yousign/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
  356. package/connectors/connect-yousign/node_modules/bun-types/docs/quickstart.mdx +0 -251
  357. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/archive.mdx +0 -452
  358. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
  359. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
  360. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -59
  361. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -754
  362. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
  363. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/child-process.mdx +0 -659
  364. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/color.mdx +0 -267
  365. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/console.mdx +0 -67
  366. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
  367. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
  368. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
  369. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/ffi.mdx +0 -567
  370. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
  371. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
  372. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/file-types.mdx +0 -482
  373. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
  374. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
  375. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
  376. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
  377. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
  378. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
  379. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
  380. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
  381. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/server.mdx +0 -645
  382. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
  383. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
  384. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/index.mdx +0 -223
  385. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/json5.mdx +0 -271
  386. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/jsonl.mdx +0 -188
  387. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
  388. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/markdown.mdx +0 -344
  389. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
  390. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
  391. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
  392. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
  393. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -180
  394. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
  395. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
  396. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
  397. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
  398. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/repl.mdx +0 -176
  399. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/s3.mdx +0 -881
  400. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
  401. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
  402. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
  403. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
  404. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -721
  405. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
  406. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -269
  407. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
  408. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
  409. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/typescript.mdx +0 -58
  410. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/utils.mdx +0 -1010
  411. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
  412. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
  413. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
  414. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/yaml.mdx +0 -469
  415. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
  416. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -197
  417. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
  418. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
  419. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
  420. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
  421. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
  422. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
  423. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
  424. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
  425. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
  426. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -305
  427. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -105
  428. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
  429. package/connectors/connect-yousign/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
  430. package/connectors/connect-yousign/node_modules/bun-types/docs/test/configuration.mdx +0 -520
  431. package/connectors/connect-yousign/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
  432. package/connectors/connect-yousign/node_modules/bun-types/docs/test/discovery.mdx +0 -90
  433. package/connectors/connect-yousign/node_modules/bun-types/docs/test/dom.mdx +0 -226
  434. package/connectors/connect-yousign/node_modules/bun-types/docs/test/index.mdx +0 -409
  435. package/connectors/connect-yousign/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
  436. package/connectors/connect-yousign/node_modules/bun-types/docs/test/mocks.mdx +0 -637
  437. package/connectors/connect-yousign/node_modules/bun-types/docs/test/reporters.mdx +0 -126
  438. package/connectors/connect-yousign/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
  439. package/connectors/connect-yousign/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
  440. package/connectors/connect-yousign/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
  441. package/connectors/connect-yousign/node_modules/bun-types/docs/typescript.mdx +0 -54
  442. package/connectors/connect-yousign/node_modules/bun-types/extensions.d.ts +0 -40
  443. package/connectors/connect-yousign/node_modules/bun-types/fetch.d.ts +0 -79
  444. package/connectors/connect-yousign/node_modules/bun-types/ffi.d.ts +0 -1154
  445. package/connectors/connect-yousign/node_modules/bun-types/globals.d.ts +0 -2067
  446. package/connectors/connect-yousign/node_modules/bun-types/html-rewriter.d.ts +0 -186
  447. package/connectors/connect-yousign/node_modules/bun-types/index.d.ts +0 -32
  448. package/connectors/connect-yousign/node_modules/bun-types/jsc.d.ts +0 -233
  449. package/connectors/connect-yousign/node_modules/bun-types/jsx.d.ts +0 -11
  450. package/connectors/connect-yousign/node_modules/bun-types/overrides.d.ts +0 -376
  451. package/connectors/connect-yousign/node_modules/bun-types/package.json +0 -37
  452. package/connectors/connect-yousign/node_modules/bun-types/redis.d.ts +0 -3352
  453. package/connectors/connect-yousign/node_modules/bun-types/s3.d.ts +0 -1335
  454. package/connectors/connect-yousign/node_modules/bun-types/security.d.ts +0 -101
  455. package/connectors/connect-yousign/node_modules/bun-types/serve.d.ts +0 -1296
  456. package/connectors/connect-yousign/node_modules/bun-types/shell.d.ts +0 -380
  457. package/connectors/connect-yousign/node_modules/bun-types/sql.d.ts +0 -887
  458. package/connectors/connect-yousign/node_modules/bun-types/sqlite.d.ts +0 -1322
  459. package/connectors/connect-yousign/node_modules/bun-types/test-globals.d.ts +0 -22
  460. package/connectors/connect-yousign/node_modules/bun-types/test.d.ts +0 -2392
  461. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
  462. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
  463. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
  464. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
  465. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
  466. package/connectors/connect-yousign/node_modules/bun-types/wasm.d.ts +0 -193
  467. package/connectors/connect-yousign/node_modules/chalk/license +0 -9
  468. package/connectors/connect-yousign/node_modules/chalk/package.json +0 -83
  469. package/connectors/connect-yousign/node_modules/chalk/readme.md +0 -297
  470. package/connectors/connect-yousign/node_modules/chalk/source/index.d.ts +0 -325
  471. package/connectors/connect-yousign/node_modules/chalk/source/index.js +0 -225
  472. package/connectors/connect-yousign/node_modules/chalk/source/utilities.js +0 -33
  473. package/connectors/connect-yousign/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  474. package/connectors/connect-yousign/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  475. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  476. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  477. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  478. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  479. package/connectors/connect-yousign/node_modules/commander/LICENSE +0 -22
  480. package/connectors/connect-yousign/node_modules/commander/Readme.md +0 -1157
  481. package/connectors/connect-yousign/node_modules/commander/esm.mjs +0 -16
  482. package/connectors/connect-yousign/node_modules/commander/index.js +0 -24
  483. package/connectors/connect-yousign/node_modules/commander/lib/argument.js +0 -149
  484. package/connectors/connect-yousign/node_modules/commander/lib/command.js +0 -2509
  485. package/connectors/connect-yousign/node_modules/commander/lib/error.js +0 -39
  486. package/connectors/connect-yousign/node_modules/commander/lib/help.js +0 -520
  487. package/connectors/connect-yousign/node_modules/commander/lib/option.js +0 -330
  488. package/connectors/connect-yousign/node_modules/commander/lib/suggestSimilar.js +0 -101
  489. package/connectors/connect-yousign/node_modules/commander/package-support.json +0 -16
  490. package/connectors/connect-yousign/node_modules/commander/package.json +0 -84
  491. package/connectors/connect-yousign/node_modules/commander/typings/esm.d.mts +0 -3
  492. package/connectors/connect-yousign/node_modules/commander/typings/index.d.ts +0 -969
  493. package/connectors/connect-yousign/node_modules/typescript/LICENSE.txt +0 -55
  494. package/connectors/connect-yousign/node_modules/typescript/README.md +0 -50
  495. package/connectors/connect-yousign/node_modules/typescript/SECURITY.md +0 -41
  496. package/connectors/connect-yousign/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  497. package/connectors/connect-yousign/node_modules/typescript/bin/tsc +0 -2
  498. package/connectors/connect-yousign/node_modules/typescript/bin/tsserver +0 -2
  499. package/connectors/connect-yousign/node_modules/typescript/lib/_tsc.js +0 -133818
  500. package/connectors/connect-yousign/node_modules/typescript/lib/_tsserver.js +0 -659
  501. package/connectors/connect-yousign/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  502. package/connectors/connect-yousign/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  503. package/connectors/connect-yousign/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  504. package/connectors/connect-yousign/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  505. package/connectors/connect-yousign/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  506. package/connectors/connect-yousign/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  507. package/connectors/connect-yousign/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  508. package/connectors/connect-yousign/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  509. package/connectors/connect-yousign/node_modules/typescript/lib/lib.d.ts +0 -22
  510. package/connectors/connect-yousign/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  511. package/connectors/connect-yousign/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  512. package/connectors/connect-yousign/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  513. package/connectors/connect-yousign/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  514. package/connectors/connect-yousign/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  515. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  516. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  517. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  518. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  519. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  520. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  521. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  522. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  523. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  524. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  525. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  526. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  527. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  528. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  529. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  530. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  531. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  532. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  533. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  534. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  535. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  536. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  537. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  538. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  539. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  540. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  541. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  542. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  543. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  544. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  545. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  546. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  547. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  548. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  549. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  550. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  551. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  552. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  553. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  554. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  555. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  556. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  557. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  558. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  559. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  560. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  561. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  562. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  563. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  564. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  565. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  566. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  567. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  568. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  569. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  570. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  571. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  572. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  573. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  574. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  575. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  576. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  577. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  578. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  579. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  580. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  581. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  582. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  583. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  584. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  585. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  586. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  587. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  588. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  589. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  590. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  591. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  592. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  593. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  594. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  595. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  596. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  597. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  598. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  599. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  600. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  601. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  602. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  603. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  604. package/connectors/connect-yousign/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  605. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  606. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  607. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  608. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  609. package/connectors/connect-yousign/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  610. package/connectors/connect-yousign/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  611. package/connectors/connect-yousign/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  612. package/connectors/connect-yousign/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  613. package/connectors/connect-yousign/node_modules/typescript/lib/tsc.js +0 -8
  614. package/connectors/connect-yousign/node_modules/typescript/lib/tsserver.js +0 -8
  615. package/connectors/connect-yousign/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  616. package/connectors/connect-yousign/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  617. package/connectors/connect-yousign/node_modules/typescript/lib/typesMap.json +0 -497
  618. package/connectors/connect-yousign/node_modules/typescript/lib/typescript.d.ts +0 -11437
  619. package/connectors/connect-yousign/node_modules/typescript/lib/typescript.js +0 -200276
  620. package/connectors/connect-yousign/node_modules/typescript/lib/typingsInstaller.js +0 -8
  621. package/connectors/connect-yousign/node_modules/typescript/lib/watchGuard.js +0 -53
  622. package/connectors/connect-yousign/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  623. package/connectors/connect-yousign/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  624. package/connectors/connect-yousign/node_modules/typescript/package.json +0 -120
  625. package/connectors/connect-yousign/node_modules/undici-types/LICENSE +0 -21
  626. package/connectors/connect-yousign/node_modules/undici-types/README.md +0 -6
  627. package/connectors/connect-yousign/node_modules/undici-types/agent.d.ts +0 -32
  628. package/connectors/connect-yousign/node_modules/undici-types/api.d.ts +0 -43
  629. package/connectors/connect-yousign/node_modules/undici-types/balanced-pool.d.ts +0 -30
  630. package/connectors/connect-yousign/node_modules/undici-types/cache-interceptor.d.ts +0 -173
  631. package/connectors/connect-yousign/node_modules/undici-types/cache.d.ts +0 -36
  632. package/connectors/connect-yousign/node_modules/undici-types/client-stats.d.ts +0 -15
  633. package/connectors/connect-yousign/node_modules/undici-types/client.d.ts +0 -108
  634. package/connectors/connect-yousign/node_modules/undici-types/connector.d.ts +0 -34
  635. package/connectors/connect-yousign/node_modules/undici-types/content-type.d.ts +0 -21
  636. package/connectors/connect-yousign/node_modules/undici-types/cookies.d.ts +0 -30
  637. package/connectors/connect-yousign/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  638. package/connectors/connect-yousign/node_modules/undici-types/dispatcher.d.ts +0 -276
  639. package/connectors/connect-yousign/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  640. package/connectors/connect-yousign/node_modules/undici-types/errors.d.ts +0 -161
  641. package/connectors/connect-yousign/node_modules/undici-types/eventsource.d.ts +0 -66
  642. package/connectors/connect-yousign/node_modules/undici-types/fetch.d.ts +0 -211
  643. package/connectors/connect-yousign/node_modules/undici-types/formdata.d.ts +0 -108
  644. package/connectors/connect-yousign/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  645. package/connectors/connect-yousign/node_modules/undici-types/global-origin.d.ts +0 -7
  646. package/connectors/connect-yousign/node_modules/undici-types/h2c-client.d.ts +0 -73
  647. package/connectors/connect-yousign/node_modules/undici-types/handlers.d.ts +0 -15
  648. package/connectors/connect-yousign/node_modules/undici-types/header.d.ts +0 -160
  649. package/connectors/connect-yousign/node_modules/undici-types/index.d.ts +0 -88
  650. package/connectors/connect-yousign/node_modules/undici-types/interceptors.d.ts +0 -73
  651. package/connectors/connect-yousign/node_modules/undici-types/mock-agent.d.ts +0 -68
  652. package/connectors/connect-yousign/node_modules/undici-types/mock-call-history.d.ts +0 -111
  653. package/connectors/connect-yousign/node_modules/undici-types/mock-client.d.ts +0 -27
  654. package/connectors/connect-yousign/node_modules/undici-types/mock-errors.d.ts +0 -12
  655. package/connectors/connect-yousign/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  656. package/connectors/connect-yousign/node_modules/undici-types/mock-pool.d.ts +0 -27
  657. package/connectors/connect-yousign/node_modules/undici-types/package.json +0 -55
  658. package/connectors/connect-yousign/node_modules/undici-types/patch.d.ts +0 -29
  659. package/connectors/connect-yousign/node_modules/undici-types/pool-stats.d.ts +0 -19
  660. package/connectors/connect-yousign/node_modules/undici-types/pool.d.ts +0 -41
  661. package/connectors/connect-yousign/node_modules/undici-types/proxy-agent.d.ts +0 -29
  662. package/connectors/connect-yousign/node_modules/undici-types/readable.d.ts +0 -68
  663. package/connectors/connect-yousign/node_modules/undici-types/retry-agent.d.ts +0 -8
  664. package/connectors/connect-yousign/node_modules/undici-types/retry-handler.d.ts +0 -125
  665. package/connectors/connect-yousign/node_modules/undici-types/round-robin-pool.d.ts +0 -41
  666. package/connectors/connect-yousign/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  667. package/connectors/connect-yousign/node_modules/undici-types/util.d.ts +0 -18
  668. package/connectors/connect-yousign/node_modules/undici-types/utility.d.ts +0 -7
  669. package/connectors/connect-yousign/node_modules/undici-types/webidl.d.ts +0 -341
  670. package/connectors/connect-yousign/node_modules/undici-types/websocket.d.ts +0 -186
  671. package/dashboard/dist/assets/index-CSlS3oNV.css +0 -1
  672. package/dashboard/dist/assets/index-NCasN7x4.js +0 -284
  673. package/dist/server/server.test.d.ts +0 -1
@@ -1,1065 +0,0 @@
1
- /**
2
- * The `node:sqlite` module facilitates working with SQLite databases.
3
- * To access it:
4
- *
5
- * ```js
6
- * import sqlite from 'node:sqlite';
7
- * ```
8
- *
9
- * This module is only available under the `node:` scheme. The following will not
10
- * work:
11
- *
12
- * ```js
13
- * import sqlite from 'sqlite';
14
- * ```
15
- *
16
- * The following example shows the basic usage of the `node:sqlite` module to open
17
- * an in-memory database, write data to the database, and then read the data back.
18
- *
19
- * ```js
20
- * import { DatabaseSync } from 'node:sqlite';
21
- * const database = new DatabaseSync(':memory:');
22
- *
23
- * // Execute SQL statements from strings.
24
- * database.exec(`
25
- * CREATE TABLE data(
26
- * key INTEGER PRIMARY KEY,
27
- * value TEXT
28
- * ) STRICT
29
- * `);
30
- * // Create a prepared statement to insert data into the database.
31
- * const insert = database.prepare('INSERT INTO data (key, value) VALUES (?, ?)');
32
- * // Execute the prepared statement with bound values.
33
- * insert.run(1, 'hello');
34
- * insert.run(2, 'world');
35
- * // Create a prepared statement to read data from the database.
36
- * const query = database.prepare('SELECT * FROM data ORDER BY key');
37
- * // Execute the prepared statement and log the result set.
38
- * console.log(query.all());
39
- * // Prints: [ { key: 1, value: 'hello' }, { key: 2, value: 'world' } ]
40
- * ```
41
- * @since v22.5.0
42
- * @experimental
43
- * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/sqlite.js)
44
- */
45
- declare module "node:sqlite" {
46
- import { PathLike } from "node:fs";
47
- type SQLInputValue = null | number | bigint | string | NodeJS.ArrayBufferView;
48
- type SQLOutputValue = null | number | bigint | string | NodeJS.NonSharedUint8Array;
49
- interface DatabaseSyncOptions {
50
- /**
51
- * If `true`, the database is opened by the constructor. When
52
- * this value is `false`, the database must be opened via the `open()` method.
53
- * @since v22.5.0
54
- * @default true
55
- */
56
- open?: boolean | undefined;
57
- /**
58
- * If `true`, foreign key constraints
59
- * are enabled. This is recommended but can be disabled for compatibility with
60
- * legacy database schemas. The enforcement of foreign key constraints can be
61
- * enabled and disabled after opening the database using
62
- * [`PRAGMA foreign_keys`](https://www.sqlite.org/pragma.html#pragma_foreign_keys).
63
- * @since v22.10.0
64
- * @default true
65
- */
66
- enableForeignKeyConstraints?: boolean | undefined;
67
- /**
68
- * If `true`, SQLite will accept
69
- * [double-quoted string literals](https://www.sqlite.org/quirks.html#dblquote).
70
- * This is not recommended but can be
71
- * enabled for compatibility with legacy database schemas.
72
- * @since v22.10.0
73
- * @default false
74
- */
75
- enableDoubleQuotedStringLiterals?: boolean | undefined;
76
- /**
77
- * If `true`, the database is opened in read-only mode.
78
- * If the database does not exist, opening it will fail.
79
- * @since v22.12.0
80
- * @default false
81
- */
82
- readOnly?: boolean | undefined;
83
- /**
84
- * If `true`, the `loadExtension` SQL function
85
- * and the `loadExtension()` method are enabled.
86
- * You can call `enableLoadExtension(false)` later to disable this feature.
87
- * @since v22.13.0
88
- * @default false
89
- */
90
- allowExtension?: boolean | undefined;
91
- /**
92
- * The [busy timeout](https://sqlite.org/c3ref/busy_timeout.html) in milliseconds. This is the maximum amount of
93
- * time that SQLite will wait for a database lock to be released before
94
- * returning an error.
95
- * @since v24.0.0
96
- * @default 0
97
- */
98
- timeout?: number | undefined;
99
- /**
100
- * If `true`, integer fields are read as JavaScript `BigInt` values. If `false`,
101
- * integer fields are read as JavaScript numbers.
102
- * @since v24.4.0
103
- * @default false
104
- */
105
- readBigInts?: boolean | undefined;
106
- /**
107
- * If `true`, query results are returned as arrays instead of objects.
108
- * @since v24.4.0
109
- * @default false
110
- */
111
- returnArrays?: boolean | undefined;
112
- /**
113
- * If `true`, allows binding named parameters without the prefix
114
- * character (e.g., `foo` instead of `:foo`).
115
- * @since v24.4.40
116
- * @default true
117
- */
118
- allowBareNamedParameters?: boolean | undefined;
119
- /**
120
- * If `true`, unknown named parameters are ignored when binding.
121
- * If `false`, an exception is thrown for unknown named parameters.
122
- * @since v24.4.40
123
- * @default false
124
- */
125
- allowUnknownNamedParameters?: boolean | undefined;
126
- /**
127
- * If `true`, enables the defensive flag. When the defensive flag is enabled,
128
- * language features that allow ordinary SQL to deliberately corrupt the database file are disabled.
129
- * The defensive flag can also be set using `enableDefensive()`.
130
- * @since v25.1.0
131
- * @default true
132
- */
133
- defensive?: boolean | undefined;
134
- }
135
- interface CreateSessionOptions {
136
- /**
137
- * A specific table to track changes for. By default, changes to all tables are tracked.
138
- * @since v22.12.0
139
- */
140
- table?: string | undefined;
141
- /**
142
- * Name of the database to track. This is useful when multiple databases have been added using
143
- * [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html).
144
- * @since v22.12.0
145
- * @default 'main'
146
- */
147
- db?: string | undefined;
148
- }
149
- interface ApplyChangesetOptions {
150
- /**
151
- * Skip changes that, when targeted table name is supplied to this function, return a truthy value.
152
- * By default, all changes are attempted.
153
- * @since v22.12.0
154
- */
155
- filter?: ((tableName: string) => boolean) | undefined;
156
- /**
157
- * A function that determines how to handle conflicts. The function receives one argument,
158
- * which can be one of the following values:
159
- *
160
- * * `SQLITE_CHANGESET_DATA`: A `DELETE` or `UPDATE` change does not contain the expected "before" values.
161
- * * `SQLITE_CHANGESET_NOTFOUND`: A row matching the primary key of the `DELETE` or `UPDATE` change does not exist.
162
- * * `SQLITE_CHANGESET_CONFLICT`: An `INSERT` change results in a duplicate primary key.
163
- * * `SQLITE_CHANGESET_FOREIGN_KEY`: Applying a change would result in a foreign key violation.
164
- * * `SQLITE_CHANGESET_CONSTRAINT`: Applying a change results in a `UNIQUE`, `CHECK`, or `NOT NULL` constraint
165
- * violation.
166
- *
167
- * The function should return one of the following values:
168
- *
169
- * * `SQLITE_CHANGESET_OMIT`: Omit conflicting changes.
170
- * * `SQLITE_CHANGESET_REPLACE`: Replace existing values with conflicting changes (only valid with
171
- `SQLITE_CHANGESET_DATA` or `SQLITE_CHANGESET_CONFLICT` conflicts).
172
- * * `SQLITE_CHANGESET_ABORT`: Abort on conflict and roll back the database.
173
- *
174
- * When an error is thrown in the conflict handler or when any other value is returned from the handler,
175
- * applying the changeset is aborted and the database is rolled back.
176
- *
177
- * **Default**: A function that returns `SQLITE_CHANGESET_ABORT`.
178
- * @since v22.12.0
179
- */
180
- onConflict?: ((conflictType: number) => number) | undefined;
181
- }
182
- interface FunctionOptions {
183
- /**
184
- * If `true`, the [`SQLITE_DETERMINISTIC`](https://www.sqlite.org/c3ref/c_deterministic.html) flag is
185
- * set on the created function.
186
- * @default false
187
- */
188
- deterministic?: boolean | undefined;
189
- /**
190
- * If `true`, the [`SQLITE_DIRECTONLY`](https://www.sqlite.org/c3ref/c_directonly.html) flag is set on
191
- * the created function.
192
- * @default false
193
- */
194
- directOnly?: boolean | undefined;
195
- /**
196
- * If `true`, integer arguments to `function`
197
- * are converted to `BigInt`s. If `false`, integer arguments are passed as
198
- * JavaScript numbers.
199
- * @default false
200
- */
201
- useBigIntArguments?: boolean | undefined;
202
- /**
203
- * If `true`, `function` may be invoked with any number of
204
- * arguments (between zero and
205
- * [`SQLITE_MAX_FUNCTION_ARG`](https://www.sqlite.org/limits.html#max_function_arg)). If `false`,
206
- * `function` must be invoked with exactly `function.length` arguments.
207
- * @default false
208
- */
209
- varargs?: boolean | undefined;
210
- }
211
- interface AggregateOptions<T extends SQLInputValue = SQLInputValue> extends FunctionOptions {
212
- /**
213
- * The identity value for the aggregation function. This value is used when the aggregation
214
- * function is initialized. When a `Function` is passed the identity will be its return value.
215
- */
216
- start: T | (() => T);
217
- /**
218
- * The function to call for each row in the aggregation. The
219
- * function receives the current state and the row value. The return value of
220
- * this function should be the new state.
221
- */
222
- step: (accumulator: T, ...args: SQLOutputValue[]) => T;
223
- /**
224
- * The function to call to get the result of the
225
- * aggregation. The function receives the final state and should return the
226
- * result of the aggregation.
227
- */
228
- result?: ((accumulator: T) => SQLInputValue) | undefined;
229
- /**
230
- * When this function is provided, the `aggregate` method will work as a window function.
231
- * The function receives the current state and the dropped row value. The return value of this function should be the
232
- * new state.
233
- */
234
- inverse?: ((accumulator: T, ...args: SQLOutputValue[]) => T) | undefined;
235
- }
236
- interface PrepareOptions {
237
- /**
238
- * If `true`, integer fields are read as `BigInt`s.
239
- * @since v25.5.0
240
- */
241
- readBigInts?: boolean | undefined;
242
- /**
243
- * If `true`, results are returned as arrays.
244
- * @since v25.5.0
245
- */
246
- returnArrays?: boolean | undefined;
247
- /**
248
- * If `true`, allows binding named parameters without the prefix character.
249
- * @since v25.5.0
250
- */
251
- allowBareNamedParameters?: boolean | undefined;
252
- /**
253
- * If `true`, unknown named parameters are ignored.
254
- * @since v25.5.0
255
- */
256
- allowUnknownNamedParameters?: boolean | undefined;
257
- }
258
- /**
259
- * This class represents a single [connection](https://www.sqlite.org/c3ref/sqlite3.html) to a SQLite database. All APIs
260
- * exposed by this class execute synchronously.
261
- * @since v22.5.0
262
- */
263
- class DatabaseSync implements Disposable {
264
- /**
265
- * Constructs a new `DatabaseSync` instance.
266
- * @param path The path of the database.
267
- * A SQLite database can be stored in a file or completely [in memory](https://www.sqlite.org/inmemorydb.html).
268
- * To use a file-backed database, the path should be a file path.
269
- * To use an in-memory database, the path should be the special name `':memory:'`.
270
- * @param options Configuration options for the database connection.
271
- */
272
- constructor(path: PathLike, options?: DatabaseSyncOptions);
273
- /**
274
- * Registers a new aggregate function with the SQLite database. This method is a wrapper around
275
- * [`sqlite3_create_window_function()`](https://www.sqlite.org/c3ref/create_function.html).
276
- *
277
- * When used as a window function, the `result` function will be called multiple times.
278
- *
279
- * ```js
280
- * import { DatabaseSync } from 'node:sqlite';
281
- *
282
- * const db = new DatabaseSync(':memory:');
283
- * db.exec(`
284
- * CREATE TABLE t3(x, y);
285
- * INSERT INTO t3 VALUES ('a', 4),
286
- * ('b', 5),
287
- * ('c', 3),
288
- * ('d', 8),
289
- * ('e', 1);
290
- * `);
291
- *
292
- * db.aggregate('sumint', {
293
- * start: 0,
294
- * step: (acc, value) => acc + value,
295
- * });
296
- *
297
- * db.prepare('SELECT sumint(y) as total FROM t3').get(); // { total: 21 }
298
- * ```
299
- * @since v24.0.0
300
- * @param name The name of the SQLite function to create.
301
- * @param options Function configuration settings.
302
- */
303
- aggregate(name: string, options: AggregateOptions): void;
304
- aggregate<T extends SQLInputValue>(name: string, options: AggregateOptions<T>): void;
305
- /**
306
- * Closes the database connection. An exception is thrown if the database is not
307
- * open. This method is a wrapper around [`sqlite3_close_v2()`](https://www.sqlite.org/c3ref/close.html).
308
- * @since v22.5.0
309
- */
310
- close(): void;
311
- /**
312
- * Loads a shared library into the database connection. This method is a wrapper
313
- * around [`sqlite3_load_extension()`](https://www.sqlite.org/c3ref/load_extension.html). It is required to enable the
314
- * `allowExtension` option when constructing the `DatabaseSync` instance.
315
- * @since v22.13.0
316
- * @param path The path to the shared library to load.
317
- */
318
- loadExtension(path: string): void;
319
- /**
320
- * Enables or disables the `loadExtension` SQL function, and the `loadExtension()`
321
- * method. When `allowExtension` is `false` when constructing, you cannot enable
322
- * loading extensions for security reasons.
323
- * @since v22.13.0
324
- * @param allow Whether to allow loading extensions.
325
- */
326
- enableLoadExtension(allow: boolean): void;
327
- /**
328
- * Enables or disables the defensive flag. When the defensive flag is active,
329
- * language features that allow ordinary SQL to deliberately corrupt the database file are disabled.
330
- * See [`SQLITE_DBCONFIG_DEFENSIVE`](https://www.sqlite.org/c3ref/c_dbconfig_defensive.html#sqlitedbconfigdefensive) in the SQLite documentation for details.
331
- * @since v25.1.0
332
- * @param active Whether to set the defensive flag.
333
- */
334
- enableDefensive(active: boolean): void;
335
- /**
336
- * This method is a wrapper around [`sqlite3_db_filename()`](https://sqlite.org/c3ref/db_filename.html)
337
- * @since v24.0.0
338
- * @param dbName Name of the database. This can be `'main'` (the default primary database) or any other
339
- * database that has been added with [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html) **Default:** `'main'`.
340
- * @returns The location of the database file. When using an in-memory database,
341
- * this method returns null.
342
- */
343
- location(dbName?: string): string | null;
344
- /**
345
- * This method allows one or more SQL statements to be executed without returning
346
- * any results. This method is useful when executing SQL statements read from a
347
- * file. This method is a wrapper around [`sqlite3_exec()`](https://www.sqlite.org/c3ref/exec.html).
348
- * @since v22.5.0
349
- * @param sql A SQL string to execute.
350
- */
351
- exec(sql: string): void;
352
- /**
353
- * This method is used to create SQLite user-defined functions. This method is a
354
- * wrapper around [`sqlite3_create_function_v2()`](https://www.sqlite.org/c3ref/create_function.html).
355
- * @since v22.13.0
356
- * @param name The name of the SQLite function to create.
357
- * @param options Optional configuration settings for the function.
358
- * @param func The JavaScript function to call when the SQLite
359
- * function is invoked. The return value of this function should be a valid
360
- * SQLite data type: see
361
- * [Type conversion between JavaScript and SQLite](https://nodejs.org/docs/latest-v25.x/api/sqlite.html#type-conversion-between-javascript-and-sqlite).
362
- * The result defaults to `NULL` if the return value is `undefined`.
363
- */
364
- function(
365
- name: string,
366
- options: FunctionOptions,
367
- func: (...args: SQLOutputValue[]) => SQLInputValue,
368
- ): void;
369
- function(name: string, func: (...args: SQLOutputValue[]) => SQLInputValue): void;
370
- /**
371
- * Sets an authorizer callback that SQLite will invoke whenever it attempts to
372
- * access data or modify the database schema through prepared statements.
373
- * This can be used to implement security policies, audit access, or restrict certain operations.
374
- * This method is a wrapper around [`sqlite3_set_authorizer()`](https://sqlite.org/c3ref/set_authorizer.html).
375
- *
376
- * When invoked, the callback receives five arguments:
377
- *
378
- * * `actionCode` {number} The type of operation being performed (e.g.,
379
- * `SQLITE_INSERT`, `SQLITE_UPDATE`, `SQLITE_SELECT`).
380
- * * `arg1` {string|null} The first argument (context-dependent, often a table name).
381
- * * `arg2` {string|null} The second argument (context-dependent, often a column name).
382
- * * `dbName` {string|null} The name of the database.
383
- * * `triggerOrView` {string|null} The name of the trigger or view causing the access.
384
- *
385
- * The callback must return one of the following constants:
386
- *
387
- * * `SQLITE_OK` - Allow the operation.
388
- * * `SQLITE_DENY` - Deny the operation (causes an error).
389
- * * `SQLITE_IGNORE` - Ignore the operation (silently skip).
390
- *
391
- * ```js
392
- * import { DatabaseSync, constants } from 'node:sqlite';
393
- * const db = new DatabaseSync(':memory:');
394
- *
395
- * // Set up an authorizer that denies all table creation
396
- * db.setAuthorizer((actionCode) => {
397
- * if (actionCode === constants.SQLITE_CREATE_TABLE) {
398
- * return constants.SQLITE_DENY;
399
- * }
400
- * return constants.SQLITE_OK;
401
- * });
402
- *
403
- * // This will work
404
- * db.prepare('SELECT 1').get();
405
- *
406
- * // This will throw an error due to authorization denial
407
- * try {
408
- * db.exec('CREATE TABLE blocked (id INTEGER)');
409
- * } catch (err) {
410
- * console.log('Operation blocked:', err.message);
411
- * }
412
- * ```
413
- * @since v24.10.0
414
- * @param callback The authorizer function to set, or `null` to
415
- * clear the current authorizer.
416
- */
417
- setAuthorizer(
418
- callback:
419
- | ((
420
- actionCode: number,
421
- arg1: string | null,
422
- arg2: string | null,
423
- dbName: string | null,
424
- triggerOrView: string | null,
425
- ) => number)
426
- | null,
427
- ): void;
428
- /**
429
- * Whether the database is currently open or not.
430
- * @since v22.15.0
431
- */
432
- readonly isOpen: boolean;
433
- /**
434
- * Whether the database is currently within a transaction. This method
435
- * is a wrapper around [`sqlite3_get_autocommit()`](https://sqlite.org/c3ref/get_autocommit.html).
436
- * @since v24.0.0
437
- */
438
- readonly isTransaction: boolean;
439
- /**
440
- * Opens the database specified in the `path` argument of the `DatabaseSync`constructor. This method should only be used when the database is not opened via
441
- * the constructor. An exception is thrown if the database is already open.
442
- * @since v22.5.0
443
- */
444
- open(): void;
445
- /**
446
- * Compiles a SQL statement into a [prepared statement](https://www.sqlite.org/c3ref/stmt.html). This method is a wrapper
447
- * around [`sqlite3_prepare_v2()`](https://www.sqlite.org/c3ref/prepare.html).
448
- * @since v22.5.0
449
- * @param sql A SQL string to compile to a prepared statement.
450
- * @param options Optional configuration for the prepared statement.
451
- * @return The prepared statement.
452
- */
453
- prepare(sql: string, options?: PrepareOptions): StatementSync;
454
- /**
455
- * Creates a new {@link SQLTagStore}, which is a Least Recently Used (LRU) cache
456
- * for storing prepared statements. This allows for the efficient reuse of
457
- * prepared statements by tagging them with a unique identifier.
458
- *
459
- * When a tagged SQL literal is executed, the `SQLTagStore` checks if a prepared
460
- * statement for the corresponding SQL query string already exists in the cache.
461
- * If it does, the cached statement is used. If not, a new prepared statement is
462
- * created, executed, and then stored in the cache for future use. This mechanism
463
- * helps to avoid the overhead of repeatedly parsing and preparing the same SQL
464
- * statements.
465
- *
466
- * Tagged statements bind the placeholder values from the template literal as
467
- * parameters to the underlying prepared statement. For example:
468
- *
469
- * ```js
470
- * sqlTagStore.get`SELECT ${value}`;
471
- * ```
472
- *
473
- * is equivalent to:
474
- *
475
- * ```js
476
- * db.prepare('SELECT ?').get(value);
477
- * ```
478
- *
479
- * However, in the first example, the tag store will cache the underlying prepared
480
- * statement for future use.
481
- *
482
- * > **Note:** The `${value}` syntax in tagged statements _binds_ a parameter to
483
- * > the prepared statement. This differs from its behavior in _untagged_ template
484
- * > literals, where it performs string interpolation.
485
- * >
486
- * > ```js
487
- * > // This a safe example of binding a parameter to a tagged statement.
488
- * > sqlTagStore.run`INSERT INTO t1 (id) VALUES (${id})`;
489
- * >
490
- * > // This is an *unsafe* example of an untagged template string.
491
- * > // `id` is interpolated into the query text as a string.
492
- * > // This can lead to SQL injection and data corruption.
493
- * > db.run(`INSERT INTO t1 (id) VALUES (${id})`);
494
- * > ```
495
- *
496
- * The tag store will match a statement from the cache if the query strings
497
- * (including the positions of any bound placeholders) are identical.
498
- *
499
- * ```js
500
- * // The following statements will match in the cache:
501
- * sqlTagStore.get`SELECT * FROM t1 WHERE id = ${id} AND active = 1`;
502
- * sqlTagStore.get`SELECT * FROM t1 WHERE id = ${12345} AND active = 1`;
503
- *
504
- * // The following statements will not match, as the query strings
505
- * // and bound placeholders differ:
506
- * sqlTagStore.get`SELECT * FROM t1 WHERE id = ${id} AND active = 1`;
507
- * sqlTagStore.get`SELECT * FROM t1 WHERE id = 12345 AND active = 1`;
508
- *
509
- * // The following statements will not match, as matches are case-sensitive:
510
- * sqlTagStore.get`SELECT * FROM t1 WHERE id = ${id} AND active = 1`;
511
- * sqlTagStore.get`select * from t1 where id = ${id} and active = 1`;
512
- * ```
513
- *
514
- * The only way of binding parameters in tagged statements is with the `${value}`
515
- * syntax. Do not add parameter binding placeholders (`?` etc.) to the SQL query
516
- * string itself.
517
- *
518
- * ```js
519
- * import { DatabaseSync } from 'node:sqlite';
520
- *
521
- * const db = new DatabaseSync(':memory:');
522
- * const sql = db.createSQLTagStore();
523
- *
524
- * db.exec('CREATE TABLE users (id INT, name TEXT)');
525
- *
526
- * // Using the 'run' method to insert data.
527
- * // The tagged literal is used to identify the prepared statement.
528
- * sql.run`INSERT INTO users VALUES (1, 'Alice')`;
529
- * sql.run`INSERT INTO users VALUES (2, 'Bob')`;
530
- *
531
- * // Using the 'get' method to retrieve a single row.
532
- * const name = 'Alice';
533
- * const user = sql.get`SELECT * FROM users WHERE name = ${name}`;
534
- * console.log(user); // { id: 1, name: 'Alice' }
535
- *
536
- * // Using the 'all' method to retrieve all rows.
537
- * const allUsers = sql.all`SELECT * FROM users ORDER BY id`;
538
- * console.log(allUsers);
539
- * // [
540
- * // { id: 1, name: 'Alice' },
541
- * // { id: 2, name: 'Bob' }
542
- * // ]
543
- * ```
544
- * @since v24.9.0
545
- * @returns A new SQL tag store for caching prepared statements.
546
- */
547
- createTagStore(maxSize?: number): SQLTagStore;
548
- /**
549
- * Creates and attaches a session to the database. This method is a wrapper around
550
- * [`sqlite3session_create()`](https://www.sqlite.org/session/sqlite3session_create.html) and
551
- * [`sqlite3session_attach()`](https://www.sqlite.org/session/sqlite3session_attach.html).
552
- * @param options The configuration options for the session.
553
- * @returns A session handle.
554
- * @since v22.12.0
555
- */
556
- createSession(options?: CreateSessionOptions): Session;
557
- /**
558
- * An exception is thrown if the database is not
559
- * open. This method is a wrapper around
560
- * [`sqlite3changeset_apply()`](https://www.sqlite.org/session/sqlite3changeset_apply.html).
561
- *
562
- * ```js
563
- * import { DatabaseSync } from 'node:sqlite';
564
- *
565
- * const sourceDb = new DatabaseSync(':memory:');
566
- * const targetDb = new DatabaseSync(':memory:');
567
- *
568
- * sourceDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
569
- * targetDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
570
- *
571
- * const session = sourceDb.createSession();
572
- *
573
- * const insert = sourceDb.prepare('INSERT INTO data (key, value) VALUES (?, ?)');
574
- * insert.run(1, 'hello');
575
- * insert.run(2, 'world');
576
- *
577
- * const changeset = session.changeset();
578
- * targetDb.applyChangeset(changeset);
579
- * // Now that the changeset has been applied, targetDb contains the same data as sourceDb.
580
- * ```
581
- * @param changeset A binary changeset or patchset.
582
- * @param options The configuration options for how the changes will be applied.
583
- * @returns Whether the changeset was applied successfully without being aborted.
584
- * @since v22.12.0
585
- */
586
- applyChangeset(changeset: Uint8Array, options?: ApplyChangesetOptions): boolean;
587
- /**
588
- * Closes the database connection. If the database connection is already closed
589
- * then this is a no-op.
590
- * @since v22.15.0
591
- */
592
- [Symbol.dispose](): void;
593
- }
594
- /**
595
- * @since v22.12.0
596
- */
597
- interface Session {
598
- /**
599
- * Retrieves a changeset containing all changes since the changeset was created. Can be called multiple times.
600
- * An exception is thrown if the database or the session is not open. This method is a wrapper around
601
- * [`sqlite3session_changeset()`](https://www.sqlite.org/session/sqlite3session_changeset.html).
602
- * @returns Binary changeset that can be applied to other databases.
603
- * @since v22.12.0
604
- */
605
- changeset(): NodeJS.NonSharedUint8Array;
606
- /**
607
- * Similar to the method above, but generates a more compact patchset. See
608
- * [Changesets and Patchsets](https://www.sqlite.org/sessionintro.html#changesets_and_patchsets)
609
- * in the documentation of SQLite. An exception is thrown if the database or the session is not open. This method is a
610
- * wrapper around
611
- * [`sqlite3session_patchset()`](https://www.sqlite.org/session/sqlite3session_patchset.html).
612
- * @returns Binary patchset that can be applied to other databases.
613
- * @since v22.12.0
614
- */
615
- patchset(): NodeJS.NonSharedUint8Array;
616
- /**
617
- * Closes the session. An exception is thrown if the database or the session is not open. This method is a
618
- * wrapper around
619
- * [`sqlite3session_delete()`](https://www.sqlite.org/session/sqlite3session_delete.html).
620
- */
621
- close(): void;
622
- /**
623
- * Closes the session. If the session is already closed, does nothing.
624
- * @since v24.9.0
625
- */
626
- [Symbol.dispose](): void;
627
- }
628
- /**
629
- * This class represents a single LRU (Least Recently Used) cache for storing
630
- * prepared statements.
631
- *
632
- * Instances of this class are created via the `database.createTagStore()`
633
- * method, not by using a constructor. The store caches prepared statements based
634
- * on the provided SQL query string. When the same query is seen again, the store
635
- * retrieves the cached statement and safely applies the new values through
636
- * parameter binding, thereby preventing attacks like SQL injection.
637
- *
638
- * The cache has a maxSize that defaults to 1000 statements, but a custom size can
639
- * be provided (e.g., `database.createTagStore(100)`). All APIs exposed by this
640
- * class execute synchronously.
641
- * @since v24.9.0
642
- */
643
- interface SQLTagStore {
644
- /**
645
- * Executes the given SQL query and returns all resulting rows as an array of
646
- * objects.
647
- *
648
- * This function is intended to be used as a template literal tag, not to be
649
- * called directly.
650
- * @since v24.9.0
651
- * @param stringElements Template literal elements containing the SQL
652
- * query.
653
- * @param boundParameters Parameter values to be bound to placeholders in the template string.
654
- * @returns An array of objects representing the rows returned by the query.
655
- */
656
- all(
657
- stringElements: TemplateStringsArray,
658
- ...boundParameters: SQLInputValue[]
659
- ): Record<string, SQLOutputValue>[];
660
- /**
661
- * Executes the given SQL query and returns the first resulting row as an object.
662
- *
663
- * This function is intended to be used as a template literal tag, not to be
664
- * called directly.
665
- * @since v24.9.0
666
- * @param stringElements Template literal elements containing the SQL
667
- * query.
668
- * @param boundParameters Parameter values to be bound to placeholders in the template string.
669
- * @returns An object representing the first row returned by
670
- * the query, or `undefined` if no rows are returned.
671
- */
672
- get(
673
- stringElements: TemplateStringsArray,
674
- ...boundParameters: SQLInputValue[]
675
- ): Record<string, SQLOutputValue> | undefined;
676
- /**
677
- * Executes the given SQL query and returns an iterator over the resulting rows.
678
- *
679
- * This function is intended to be used as a template literal tag, not to be
680
- * called directly.
681
- * @since v24.9.0
682
- * @param stringElements Template literal elements containing the SQL
683
- * query.
684
- * @param boundParameters Parameter values to be bound to placeholders in the template string.
685
- * @returns An iterator that yields objects representing the rows returned by the query.
686
- */
687
- iterate(
688
- stringElements: TemplateStringsArray,
689
- ...boundParameters: SQLInputValue[]
690
- ): NodeJS.Iterator<Record<string, SQLOutputValue>>;
691
- /**
692
- * Executes the given SQL query, which is expected to not return any rows (e.g., INSERT, UPDATE, DELETE).
693
- *
694
- * This function is intended to be used as a template literal tag, not to be
695
- * called directly.
696
- * @since v24.9.0
697
- * @param stringElements Template literal elements containing the SQL
698
- * query.
699
- * @param boundParameters Parameter values to be bound to placeholders in the template string.
700
- * @returns An object containing information about the execution, including `changes` and `lastInsertRowid`.
701
- */
702
- run(stringElements: TemplateStringsArray, ...boundParameters: SQLInputValue[]): StatementResultingChanges;
703
- /**
704
- * A read-only property that returns the number of prepared statements currently in the cache.
705
- * @since v24.9.0
706
- */
707
- readonly size: number;
708
- /**
709
- * A read-only property that returns the maximum number of prepared statements the cache can hold.
710
- * @since v24.9.0
711
- */
712
- readonly capacity: number;
713
- /**
714
- * A read-only property that returns the `DatabaseSync` object associated with this `SQLTagStore`.
715
- * @since v24.9.0
716
- */
717
- readonly db: DatabaseSync;
718
- /**
719
- * Resets the LRU cache, clearing all stored prepared statements.
720
- * @since v24.9.0
721
- */
722
- clear(): void;
723
- }
724
- interface StatementColumnMetadata {
725
- /**
726
- * The unaliased name of the column in the origin
727
- * table, or `null` if the column is the result of an expression or subquery.
728
- * This property is the result of [`sqlite3_column_origin_name()`](https://www.sqlite.org/c3ref/column_database_name.html).
729
- */
730
- column: string | null;
731
- /**
732
- * The unaliased name of the origin database, or
733
- * `null` if the column is the result of an expression or subquery. This
734
- * property is the result of [`sqlite3_column_database_name()`](https://www.sqlite.org/c3ref/column_database_name.html).
735
- */
736
- database: string | null;
737
- /**
738
- * The name assigned to the column in the result set of a
739
- * `SELECT` statement. This property is the result of
740
- * [`sqlite3_column_name()`](https://www.sqlite.org/c3ref/column_name.html).
741
- */
742
- name: string;
743
- /**
744
- * The unaliased name of the origin table, or `null` if
745
- * the column is the result of an expression or subquery. This property is the
746
- * result of [`sqlite3_column_table_name()`](https://www.sqlite.org/c3ref/column_database_name.html).
747
- */
748
- table: string | null;
749
- /**
750
- * The declared data type of the column, or `null` if the
751
- * column is the result of an expression or subquery. This property is the
752
- * result of [`sqlite3_column_decltype()`](https://www.sqlite.org/c3ref/column_decltype.html).
753
- */
754
- type: string | null;
755
- }
756
- interface StatementResultingChanges {
757
- /**
758
- * The number of rows modified, inserted, or deleted by the most recently completed `INSERT`, `UPDATE`, or `DELETE` statement.
759
- * This field is either a number or a `BigInt` depending on the prepared statement's configuration.
760
- * This property is the result of [`sqlite3_changes64()`](https://www.sqlite.org/c3ref/changes.html).
761
- */
762
- changes: number | bigint;
763
- /**
764
- * The most recently inserted rowid.
765
- * This field is either a number or a `BigInt` depending on the prepared statement's configuration.
766
- * This property is the result of [`sqlite3_last_insert_rowid()`](https://www.sqlite.org/c3ref/last_insert_rowid.html).
767
- */
768
- lastInsertRowid: number | bigint;
769
- }
770
- /**
771
- * This class represents a single [prepared statement](https://www.sqlite.org/c3ref/stmt.html). This class cannot be
772
- * instantiated via its constructor. Instead, instances are created via the`database.prepare()` method. All APIs exposed by this class execute
773
- * synchronously.
774
- *
775
- * A prepared statement is an efficient binary representation of the SQL used to
776
- * create it. Prepared statements are parameterizable, and can be invoked multiple
777
- * times with different bound values. Parameters also offer protection against [SQL injection](https://en.wikipedia.org/wiki/SQL_injection) attacks. For these reasons, prepared statements are
778
- * preferred
779
- * over hand-crafted SQL strings when handling user input.
780
- * @since v22.5.0
781
- */
782
- class StatementSync {
783
- private constructor();
784
- /**
785
- * This method executes a prepared statement and returns all results as an array of
786
- * objects. If the prepared statement does not return any results, this method
787
- * returns an empty array. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using
788
- * the values in `namedParameters` and `anonymousParameters`.
789
- * @since v22.5.0
790
- * @param namedParameters An optional object used to bind named parameters. The keys of this object are used to configure the mapping.
791
- * @param anonymousParameters Zero or more values to bind to anonymous parameters.
792
- * @return An array of objects. Each object corresponds to a row returned by executing the prepared statement. The keys and values of each object correspond to the column names and values of
793
- * the row.
794
- */
795
- all(...anonymousParameters: SQLInputValue[]): Record<string, SQLOutputValue>[];
796
- all(
797
- namedParameters: Record<string, SQLInputValue>,
798
- ...anonymousParameters: SQLInputValue[]
799
- ): Record<string, SQLOutputValue>[];
800
- /**
801
- * This method is used to retrieve information about the columns returned by the
802
- * prepared statement.
803
- * @since v23.11.0
804
- * @returns An array of objects. Each object corresponds to a column
805
- * in the prepared statement, and contains the following properties:
806
- */
807
- columns(): StatementColumnMetadata[];
808
- /**
809
- * The source SQL text of the prepared statement with parameter
810
- * placeholders replaced by the values that were used during the most recent
811
- * execution of this prepared statement. This property is a wrapper around
812
- * [`sqlite3_expanded_sql()`](https://www.sqlite.org/c3ref/expanded_sql.html).
813
- * @since v22.5.0
814
- */
815
- readonly expandedSQL: string;
816
- /**
817
- * This method executes a prepared statement and returns the first result as an
818
- * object. If the prepared statement does not return any results, this method
819
- * returns `undefined`. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using the
820
- * values in `namedParameters` and `anonymousParameters`.
821
- * @since v22.5.0
822
- * @param namedParameters An optional object used to bind named parameters. The keys of this object are used to configure the mapping.
823
- * @param anonymousParameters Zero or more values to bind to anonymous parameters.
824
- * @return An object corresponding to the first row returned by executing the prepared statement. The keys and values of the object correspond to the column names and values of the row. If no
825
- * rows were returned from the database then this method returns `undefined`.
826
- */
827
- get(...anonymousParameters: SQLInputValue[]): Record<string, SQLOutputValue> | undefined;
828
- get(
829
- namedParameters: Record<string, SQLInputValue>,
830
- ...anonymousParameters: SQLInputValue[]
831
- ): Record<string, SQLOutputValue> | undefined;
832
- /**
833
- * This method executes a prepared statement and returns an iterator of
834
- * objects. If the prepared statement does not return any results, this method
835
- * returns an empty iterator. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using
836
- * the values in `namedParameters` and `anonymousParameters`.
837
- * @since v22.13.0
838
- * @param namedParameters An optional object used to bind named parameters.
839
- * The keys of this object are used to configure the mapping.
840
- * @param anonymousParameters Zero or more values to bind to anonymous parameters.
841
- * @returns An iterable iterator of objects. Each object corresponds to a row
842
- * returned by executing the prepared statement. The keys and values of each
843
- * object correspond to the column names and values of the row.
844
- */
845
- iterate(...anonymousParameters: SQLInputValue[]): NodeJS.Iterator<Record<string, SQLOutputValue>>;
846
- iterate(
847
- namedParameters: Record<string, SQLInputValue>,
848
- ...anonymousParameters: SQLInputValue[]
849
- ): NodeJS.Iterator<Record<string, SQLOutputValue>>;
850
- /**
851
- * This method executes a prepared statement and returns an object summarizing the
852
- * resulting changes. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using the
853
- * values in `namedParameters` and `anonymousParameters`.
854
- * @since v22.5.0
855
- * @param namedParameters An optional object used to bind named parameters. The keys of this object are used to configure the mapping.
856
- * @param anonymousParameters Zero or more values to bind to anonymous parameters.
857
- */
858
- run(...anonymousParameters: SQLInputValue[]): StatementResultingChanges;
859
- run(
860
- namedParameters: Record<string, SQLInputValue>,
861
- ...anonymousParameters: SQLInputValue[]
862
- ): StatementResultingChanges;
863
- /**
864
- * The names of SQLite parameters begin with a prefix character. By default,`node:sqlite` requires that this prefix character is present when binding
865
- * parameters. However, with the exception of dollar sign character, these
866
- * prefix characters also require extra quoting when used in object keys.
867
- *
868
- * To improve ergonomics, this method can be used to also allow bare named
869
- * parameters, which do not require the prefix character in JavaScript code. There
870
- * are several caveats to be aware of when enabling bare named parameters:
871
- *
872
- * * The prefix character is still required in SQL.
873
- * * The prefix character is still allowed in JavaScript. In fact, prefixed names
874
- * will have slightly better binding performance.
875
- * * Using ambiguous named parameters, such as `$k` and `@k`, in the same prepared
876
- * statement will result in an exception as it cannot be determined how to bind
877
- * a bare name.
878
- * @since v22.5.0
879
- * @param enabled Enables or disables support for binding named parameters without the prefix character.
880
- */
881
- setAllowBareNamedParameters(enabled: boolean): void;
882
- /**
883
- * By default, if an unknown name is encountered while binding parameters, an
884
- * exception is thrown. This method allows unknown named parameters to be ignored.
885
- * @since v22.15.0
886
- * @param enabled Enables or disables support for unknown named parameters.
887
- */
888
- setAllowUnknownNamedParameters(enabled: boolean): void;
889
- /**
890
- * When enabled, query results returned by the `all()`, `get()`, and `iterate()` methods will be returned as arrays instead
891
- * of objects.
892
- * @since v24.0.0
893
- * @param enabled Enables or disables the return of query results as arrays.
894
- */
895
- setReturnArrays(enabled: boolean): void;
896
- /**
897
- * When reading from the database, SQLite `INTEGER`s are mapped to JavaScript
898
- * numbers by default. However, SQLite `INTEGER`s can store values larger than
899
- * JavaScript numbers are capable of representing. In such cases, this method can
900
- * be used to read `INTEGER` data using JavaScript `BigInt`s. This method has no
901
- * impact on database write operations where numbers and `BigInt`s are both
902
- * supported at all times.
903
- * @since v22.5.0
904
- * @param enabled Enables or disables the use of `BigInt`s when reading `INTEGER` fields from the database.
905
- */
906
- setReadBigInts(enabled: boolean): void;
907
- /**
908
- * The source SQL text of the prepared statement. This property is a
909
- * wrapper around [`sqlite3_sql()`](https://www.sqlite.org/c3ref/expanded_sql.html).
910
- * @since v22.5.0
911
- */
912
- readonly sourceSQL: string;
913
- }
914
- interface BackupOptions {
915
- /**
916
- * Name of the source database. This can be `'main'` (the default primary database) or any other
917
- * database that have been added with [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html)
918
- * @default 'main'
919
- */
920
- source?: string | undefined;
921
- /**
922
- * Name of the target database. This can be `'main'` (the default primary database) or any other
923
- * database that have been added with [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html)
924
- * @default 'main'
925
- */
926
- target?: string | undefined;
927
- /**
928
- * Number of pages to be transmitted in each batch of the backup.
929
- * @default 100
930
- */
931
- rate?: number | undefined;
932
- /**
933
- * An optional callback function that will be called after each backup step. The argument passed
934
- * to this callback is an `Object` with `remainingPages` and `totalPages` properties, describing the current progress
935
- * of the backup operation.
936
- */
937
- progress?: ((progressInfo: BackupProgressInfo) => void) | undefined;
938
- }
939
- interface BackupProgressInfo {
940
- totalPages: number;
941
- remainingPages: number;
942
- }
943
- /**
944
- * This method makes a database backup. This method abstracts the
945
- * [`sqlite3_backup_init()`](https://www.sqlite.org/c3ref/backup_finish.html#sqlite3backupinit),
946
- * [`sqlite3_backup_step()`](https://www.sqlite.org/c3ref/backup_finish.html#sqlite3backupstep)
947
- * and [`sqlite3_backup_finish()`](https://www.sqlite.org/c3ref/backup_finish.html#sqlite3backupfinish) functions.
948
- *
949
- * The backed-up database can be used normally during the backup process. Mutations coming from the same connection - same
950
- * `DatabaseSync` - object will be reflected in the backup right away. However, mutations from other connections will cause
951
- * the backup process to restart.
952
- *
953
- * ```js
954
- * import { backup, DatabaseSync } from 'node:sqlite';
955
- *
956
- * const sourceDb = new DatabaseSync('source.db');
957
- * const totalPagesTransferred = await backup(sourceDb, 'backup.db', {
958
- * rate: 1, // Copy one page at a time.
959
- * progress: ({ totalPages, remainingPages }) => {
960
- * console.log('Backup in progress', { totalPages, remainingPages });
961
- * },
962
- * });
963
- *
964
- * console.log('Backup completed', totalPagesTransferred);
965
- * ```
966
- * @since v23.8.0
967
- * @param sourceDb The database to backup. The source database must be open.
968
- * @param path The path where the backup will be created. If the file already exists,
969
- * the contents will be overwritten.
970
- * @param options Optional configuration for the backup. The
971
- * following properties are supported:
972
- * @returns A promise that fulfills with the total number of backed-up pages upon completion, or rejects if an
973
- * error occurs.
974
- */
975
- function backup(sourceDb: DatabaseSync, path: PathLike, options?: BackupOptions): Promise<number>;
976
- /**
977
- * @since v22.13.0
978
- */
979
- namespace constants {
980
- /**
981
- * The conflict handler is invoked with this constant when processing a DELETE or UPDATE change if a row with the required PRIMARY KEY fields is present in the database, but one or more other (non primary-key) fields modified by the update do not contain the expected "before" values.
982
- * @since v22.14.0
983
- */
984
- const SQLITE_CHANGESET_DATA: number;
985
- /**
986
- * The conflict handler is invoked with this constant when processing a DELETE or UPDATE change if a row with the required PRIMARY KEY fields is not present in the database.
987
- * @since v22.14.0
988
- */
989
- const SQLITE_CHANGESET_NOTFOUND: number;
990
- /**
991
- * This constant is passed to the conflict handler while processing an INSERT change if the operation would result in duplicate primary key values.
992
- * @since v22.14.0
993
- */
994
- const SQLITE_CHANGESET_CONFLICT: number;
995
- /**
996
- * If foreign key handling is enabled, and applying a changeset leaves the database in a state containing foreign key violations, the conflict handler is invoked with this constant exactly once before the changeset is committed. If the conflict handler returns `SQLITE_CHANGESET_OMIT`, the changes, including those that caused the foreign key constraint violation, are committed. Or, if it returns `SQLITE_CHANGESET_ABORT`, the changeset is rolled back.
997
- * @since v22.14.0
998
- */
999
- const SQLITE_CHANGESET_FOREIGN_KEY: number;
1000
- /**
1001
- * Conflicting changes are omitted.
1002
- * @since v22.12.0
1003
- */
1004
- const SQLITE_CHANGESET_OMIT: number;
1005
- /**
1006
- * Conflicting changes replace existing values. Note that this value can only be returned when the type of conflict is either `SQLITE_CHANGESET_DATA` or `SQLITE_CHANGESET_CONFLICT`.
1007
- * @since v22.12.0
1008
- */
1009
- const SQLITE_CHANGESET_REPLACE: number;
1010
- /**
1011
- * Abort when a change encounters a conflict and roll back database.
1012
- * @since v22.12.0
1013
- */
1014
- const SQLITE_CHANGESET_ABORT: number;
1015
- /**
1016
- * Deny the operation and cause an error to be returned.
1017
- * @since v24.10.0
1018
- */
1019
- const SQLITE_DENY: number;
1020
- /**
1021
- * Ignore the operation and continue as if it had never been requested.
1022
- * @since 24.10.0
1023
- */
1024
- const SQLITE_IGNORE: number;
1025
- /**
1026
- * Allow the operation to proceed normally.
1027
- * @since v24.10.0
1028
- */
1029
- const SQLITE_OK: number;
1030
- const SQLITE_CREATE_INDEX: number;
1031
- const SQLITE_CREATE_TABLE: number;
1032
- const SQLITE_CREATE_TEMP_INDEX: number;
1033
- const SQLITE_CREATE_TEMP_TABLE: number;
1034
- const SQLITE_CREATE_TEMP_TRIGGER: number;
1035
- const SQLITE_CREATE_TEMP_VIEW: number;
1036
- const SQLITE_CREATE_TRIGGER: number;
1037
- const SQLITE_CREATE_VIEW: number;
1038
- const SQLITE_DELETE: number;
1039
- const SQLITE_DROP_INDEX: number;
1040
- const SQLITE_DROP_TABLE: number;
1041
- const SQLITE_DROP_TEMP_INDEX: number;
1042
- const SQLITE_DROP_TEMP_TABLE: number;
1043
- const SQLITE_DROP_TEMP_TRIGGER: number;
1044
- const SQLITE_DROP_TEMP_VIEW: number;
1045
- const SQLITE_DROP_TRIGGER: number;
1046
- const SQLITE_DROP_VIEW: number;
1047
- const SQLITE_INSERT: number;
1048
- const SQLITE_PRAGMA: number;
1049
- const SQLITE_READ: number;
1050
- const SQLITE_SELECT: number;
1051
- const SQLITE_TRANSACTION: number;
1052
- const SQLITE_UPDATE: number;
1053
- const SQLITE_ATTACH: number;
1054
- const SQLITE_DETACH: number;
1055
- const SQLITE_ALTER_TABLE: number;
1056
- const SQLITE_REINDEX: number;
1057
- const SQLITE_ANALYZE: number;
1058
- const SQLITE_CREATE_VTABLE: number;
1059
- const SQLITE_DROP_VTABLE: number;
1060
- const SQLITE_FUNCTION: number;
1061
- const SQLITE_SAVEPOINT: number;
1062
- const SQLITE_COPY: number;
1063
- const SQLITE_RECURSIVE: number;
1064
- }
1065
- }