@aerokit/sdk 12.80.0 → 12.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/dist/cjs/bpm/deployer.js +1 -1
  2. package/dist/cjs/bpm/index.js +1 -1
  3. package/dist/cjs/bpm/process.js +1 -1
  4. package/dist/cjs/bpm/tasks.js +1 -1
  5. package/dist/cjs/bpm/tracer.js +1 -1
  6. package/dist/cjs/bpm/values.js +1 -1
  7. package/dist/cjs/cache/cache.js +1 -1
  8. package/dist/cjs/cache/index.js +1 -1
  9. package/dist/cjs/cms/cmis.js +1 -1
  10. package/dist/cjs/cms/index.js +1 -1
  11. package/dist/cjs/component/decorators.js +1 -1
  12. package/dist/cjs/component/index.js +1 -1
  13. package/dist/cjs/core/configurations.js +1 -1
  14. package/dist/cjs/core/context.js +1 -1
  15. package/dist/cjs/core/env.js +1 -1
  16. package/dist/cjs/core/globals.js +1 -1
  17. package/dist/cjs/core/index.js +1 -1
  18. package/dist/cjs/db/dao.js +1 -1
  19. package/dist/cjs/db/database.js +1 -1
  20. package/dist/cjs/db/decorators.js +1 -1
  21. package/dist/cjs/db/index.js +1 -1
  22. package/dist/cjs/db/insert.js +1 -1
  23. package/dist/cjs/db/orm.js +1 -1
  24. package/dist/cjs/db/ormstatements.js +1 -1
  25. package/dist/cjs/db/procedure.js +1 -1
  26. package/dist/cjs/db/query.js +1 -1
  27. package/dist/cjs/db/repository.js +1 -1
  28. package/dist/cjs/db/sequence.js +1 -1
  29. package/dist/cjs/db/sql.js +1 -1
  30. package/dist/cjs/db/store.js +1 -1
  31. package/dist/cjs/db/translator.js +1 -1
  32. package/dist/cjs/db/update.js +1 -1
  33. package/dist/cjs/etcd/client.js +1 -1
  34. package/dist/cjs/etcd/index.js +1 -1
  35. package/dist/cjs/extensions/decorators.js +1 -1
  36. package/dist/cjs/extensions/extensions.js +1 -1
  37. package/dist/cjs/extensions/index.js +1 -1
  38. package/dist/cjs/git/client.js +1 -1
  39. package/dist/cjs/git/index.js +1 -1
  40. package/dist/cjs/http/client-async.js +1 -1
  41. package/dist/cjs/http/client.js +1 -1
  42. package/dist/cjs/http/decorators.js +1 -1
  43. package/dist/cjs/http/errors/ForbiddenError.js +1 -1
  44. package/dist/cjs/http/errors/ValidationError.js +1 -1
  45. package/dist/cjs/http/errors.js +1 -1
  46. package/dist/cjs/http/index.js +1 -1
  47. package/dist/cjs/http/request.js +1 -1
  48. package/dist/cjs/http/response.js +1 -1
  49. package/dist/cjs/http/rs/resource-http-controller.js +1 -1
  50. package/dist/cjs/http/rs/resource-mappings.js +1 -1
  51. package/dist/cjs/http/rs/resource-method.js +1 -1
  52. package/dist/cjs/http/rs/resource.js +1 -1
  53. package/dist/cjs/http/rs.js +1 -1
  54. package/dist/cjs/http/session.js +1 -1
  55. package/dist/cjs/http/upload.js +1 -1
  56. package/dist/cjs/http/utils.js +1 -1
  57. package/dist/cjs/indexing/index.js +1 -1
  58. package/dist/cjs/indexing/searcher.js +1 -1
  59. package/dist/cjs/indexing/writer.js +1 -1
  60. package/dist/cjs/integrations/index.js +1 -1
  61. package/dist/cjs/integrations/integrations.js +1 -1
  62. package/dist/cjs/io/bytes.js +1 -1
  63. package/dist/cjs/io/files.js +1 -1
  64. package/dist/cjs/io/image.js +1 -1
  65. package/dist/cjs/io/index.js +1 -1
  66. package/dist/cjs/io/streams.js +1 -1
  67. package/dist/cjs/io/zip.js +1 -1
  68. package/dist/cjs/job/decorators.js +1 -1
  69. package/dist/cjs/job/index.js +1 -1
  70. package/dist/cjs/job/scheduler.js +1 -1
  71. package/dist/cjs/junit/index.js +1 -1
  72. package/dist/cjs/junit/junit.js +1 -1
  73. package/dist/cjs/kafka/consumer.js +1 -1
  74. package/dist/cjs/kafka/index.js +1 -1
  75. package/dist/cjs/kafka/producer.js +1 -1
  76. package/dist/cjs/log/index.js +1 -1
  77. package/dist/cjs/log/logging.js +1 -1
  78. package/dist/cjs/mail/client.js +1 -1
  79. package/dist/cjs/mail/index.js +1 -1
  80. package/dist/cjs/messaging/consumer.js +1 -1
  81. package/dist/cjs/messaging/decorators.js +1 -1
  82. package/dist/cjs/messaging/index.js +1 -1
  83. package/dist/cjs/messaging/producer.js +1 -1
  84. package/dist/cjs/mongodb/client.js +1 -1
  85. package/dist/cjs/mongodb/dao.js +1 -1
  86. package/dist/cjs/mongodb/index.js +1 -1
  87. package/dist/cjs/net/decorators.js +1 -1
  88. package/dist/cjs/net/index.js +1 -1
  89. package/dist/cjs/net/soap.js +1 -1
  90. package/dist/cjs/net/websockets.js +1 -1
  91. package/dist/cjs/pdf/index.js +1 -1
  92. package/dist/cjs/pdf/pdf.js +3 -3
  93. package/dist/cjs/platform/command.js +1 -1
  94. package/dist/cjs/platform/engines.js +1 -1
  95. package/dist/cjs/platform/index.js +1 -1
  96. package/dist/cjs/platform/lifecycle.js +1 -1
  97. package/dist/cjs/platform/os.js +1 -1
  98. package/dist/cjs/platform/problems.js +1 -1
  99. package/dist/cjs/platform/registry.js +1 -1
  100. package/dist/cjs/platform/repository.js +1 -1
  101. package/dist/cjs/platform/workspace.js +1 -1
  102. package/dist/cjs/qldb/index.js +1 -1
  103. package/dist/cjs/qldb/qldb.js +1 -1
  104. package/dist/cjs/rabbitmq/consumer.js +1 -1
  105. package/dist/cjs/rabbitmq/index.js +1 -1
  106. package/dist/cjs/rabbitmq/producer.js +1 -1
  107. package/dist/cjs/redis/client.js +1 -1
  108. package/dist/cjs/redis/index.js +1 -1
  109. package/dist/cjs/security/decorators.js +1 -1
  110. package/dist/cjs/security/index.js +1 -1
  111. package/dist/cjs/security/oauth.js +1 -1
  112. package/dist/cjs/security/user.js +1 -1
  113. package/dist/cjs/template/engines.js +1 -1
  114. package/dist/cjs/template/index.js +1 -1
  115. package/dist/cjs/utils/alphanumeric.js +2 -2
  116. package/dist/cjs/utils/base64.js +1 -1
  117. package/dist/cjs/utils/converter.js +1 -1
  118. package/dist/cjs/utils/digest.js +1 -1
  119. package/dist/cjs/utils/escape.js +1 -1
  120. package/dist/cjs/utils/hex.js +1 -1
  121. package/dist/cjs/utils/index.js +1 -1
  122. package/dist/cjs/utils/jsonpath.js +1 -1
  123. package/dist/cjs/utils/qrcode.js +1 -1
  124. package/dist/cjs/utils/url.js +1 -1
  125. package/dist/cjs/utils/utf8.js +1 -1
  126. package/dist/cjs/utils/uuid.js +1 -1
  127. package/dist/cjs/utils/xml.js +1 -1
  128. package/dist/dts/bpm/deployer.d.ts +35 -3
  129. package/dist/dts/bpm/index.d.ts +14 -0
  130. package/dist/dts/bpm/process.d.ts +28 -3
  131. package/dist/dts/bpm/tasks.d.ts +32 -1
  132. package/dist/dts/bpm/tracer.d.ts +35 -0
  133. package/dist/dts/bpm/values.d.ts +17 -3
  134. package/dist/dts/cache/cache.d.ts +38 -0
  135. package/dist/dts/cache/index.d.ts +10 -0
  136. package/dist/dts/cms/cmis.d.ts +28 -3
  137. package/dist/dts/cms/index.d.ts +10 -0
  138. package/dist/dts/component/decorators.d.ts +35 -5
  139. package/dist/dts/component/index.d.ts +10 -0
  140. package/dist/dts/core/configurations.d.ts +43 -4
  141. package/dist/dts/core/context.d.ts +35 -2
  142. package/dist/dts/core/env.d.ts +29 -2
  143. package/dist/dts/core/globals.d.ts +34 -2
  144. package/dist/dts/core/index.d.ts +13 -0
  145. package/dist/dts/db/database.d.ts +34 -0
  146. package/dist/dts/db/decorators.d.ts +55 -2
  147. package/dist/dts/db/index.d.ts +19 -0
  148. package/dist/dts/db/orm.d.ts +43 -0
  149. package/dist/dts/db/procedure.d.ts +37 -0
  150. package/dist/dts/db/query.d.ts +25 -1
  151. package/dist/dts/db/repository.d.ts +52 -0
  152. package/dist/dts/db/sequence.d.ts +31 -2
  153. package/dist/dts/db/sql.d.ts +33 -0
  154. package/dist/dts/db/store.d.ts +27 -0
  155. package/dist/dts/db/translator.d.ts +34 -1
  156. package/dist/dts/db/update.d.ts +38 -0
  157. package/dist/dts/etcd/client.d.ts +36 -0
  158. package/dist/dts/etcd/index.d.ts +10 -0
  159. package/dist/dts/extensions/decorators.d.ts +28 -0
  160. package/dist/dts/extensions/extensions.d.ts +30 -1
  161. package/dist/dts/extensions/index.d.ts +11 -0
  162. package/dist/dts/git/client.d.ts +28 -0
  163. package/dist/dts/git/index.d.ts +10 -0
  164. package/dist/dts/http/client-async.d.ts +29 -1
  165. package/dist/dts/http/client.d.ts +29 -1
  166. package/dist/dts/http/decorators.d.ts +38 -0
  167. package/dist/dts/http/errors/ForbiddenError.d.ts +6 -2
  168. package/dist/dts/http/errors/ValidationError.d.ts +6 -2
  169. package/dist/dts/http/errors.d.ts +14 -0
  170. package/dist/dts/http/index.d.ts +18 -0
  171. package/dist/dts/http/request.d.ts +30 -3
  172. package/dist/dts/http/response.d.ts +40 -3
  173. package/dist/dts/http/rs/resource-mappings.d.ts +30 -0
  174. package/dist/dts/http/rs.d.ts +38 -0
  175. package/dist/dts/http/session.d.ts +34 -3
  176. package/dist/dts/http/upload.d.ts +27 -2
  177. package/dist/dts/http/utils.d.ts +42 -0
  178. package/dist/dts/indexing/index.d.ts +11 -0
  179. package/dist/dts/indexing/searcher.d.ts +35 -2
  180. package/dist/dts/indexing/writer.d.ts +23 -2
  181. package/dist/dts/integrations/index.d.ts +10 -0
  182. package/dist/dts/integrations/integrations.d.ts +27 -3
  183. package/dist/dts/io/bytes.d.ts +33 -2
  184. package/dist/dts/io/files.d.ts +34 -2
  185. package/dist/dts/io/image.d.ts +27 -2
  186. package/dist/dts/io/index.d.ts +14 -0
  187. package/dist/dts/io/streams.d.ts +40 -0
  188. package/dist/dts/io/zip.d.ts +32 -0
  189. package/dist/dts/job/decorators.d.ts +29 -0
  190. package/dist/dts/job/index.d.ts +11 -0
  191. package/dist/dts/job/scheduler.d.ts +33 -2
  192. package/dist/dts/junit/index.d.ts +10 -0
  193. package/dist/dts/junit/junit.d.ts +31 -0
  194. package/dist/dts/kafka/consumer.d.ts +31 -0
  195. package/dist/dts/kafka/index.d.ts +11 -0
  196. package/dist/dts/kafka/producer.d.ts +31 -0
  197. package/dist/dts/log/index.d.ts +10 -0
  198. package/dist/dts/log/logging.d.ts +32 -0
  199. package/dist/dts/mail/client.d.ts +27 -0
  200. package/dist/dts/mail/index.d.ts +10 -0
  201. package/dist/dts/messaging/consumer.d.ts +29 -2
  202. package/dist/dts/messaging/decorators.d.ts +32 -0
  203. package/dist/dts/messaging/index.d.ts +12 -0
  204. package/dist/dts/messaging/producer.d.ts +27 -2
  205. package/dist/dts/mongodb/client.d.ts +37 -0
  206. package/dist/dts/mongodb/dao.d.ts +53 -0
  207. package/dist/dts/mongodb/index.d.ts +11 -0
  208. package/dist/dts/net/decorators.d.ts +27 -0
  209. package/dist/dts/net/index.d.ts +13 -0
  210. package/dist/dts/net/soap.d.ts +34 -0
  211. package/dist/dts/net/websockets.d.ts +34 -0
  212. package/dist/dts/pdf/index.d.ts +10 -0
  213. package/dist/dts/pdf/pdf.d.ts +41 -2
  214. package/dist/dts/platform/command.d.ts +26 -0
  215. package/dist/dts/platform/engines.d.ts +38 -0
  216. package/dist/dts/platform/index.d.ts +19 -0
  217. package/dist/dts/platform/lifecycle.d.ts +29 -0
  218. package/dist/dts/platform/os.d.ts +30 -0
  219. package/dist/dts/platform/problems.d.ts +36 -0
  220. package/dist/dts/platform/registry.d.ts +39 -0
  221. package/dist/dts/platform/repository.d.ts +40 -0
  222. package/dist/dts/platform/workspace.d.ts +42 -0
  223. package/dist/dts/qldb/index.d.ts +12 -0
  224. package/dist/dts/qldb/qldb.d.ts +14 -0
  225. package/dist/dts/rabbitmq/consumer.d.ts +24 -3
  226. package/dist/dts/rabbitmq/index.d.ts +13 -0
  227. package/dist/dts/rabbitmq/producer.d.ts +20 -3
  228. package/dist/dts/redis/client.d.ts +31 -3
  229. package/dist/dts/redis/index.d.ts +12 -0
  230. package/dist/dts/security/decorators.d.ts +34 -0
  231. package/dist/dts/security/index.d.ts +14 -0
  232. package/dist/dts/security/oauth.d.ts +27 -0
  233. package/dist/dts/security/user.d.ts +39 -0
  234. package/dist/dts/template/engines.d.ts +31 -0
  235. package/dist/dts/template/index.d.ts +12 -0
  236. package/dist/dts/utils/alphanumeric.d.ts +36 -2
  237. package/dist/dts/utils/base64.d.ts +30 -0
  238. package/dist/dts/utils/converter.d.ts +37 -2
  239. package/dist/dts/utils/digest.d.ts +31 -0
  240. package/dist/dts/utils/escape.d.ts +28 -3
  241. package/dist/dts/utils/hex.d.ts +30 -0
  242. package/dist/dts/utils/index.d.ts +23 -0
  243. package/dist/dts/utils/jsonpath.d.ts +43 -0
  244. package/dist/dts/utils/qrcode.d.ts +24 -3
  245. package/dist/dts/utils/url.d.ts +37 -3
  246. package/dist/dts/utils/utf8.d.ts +34 -3
  247. package/dist/dts/utils/uuid.d.ts +28 -2
  248. package/dist/dts/utils/xml.d.ts +31 -2
  249. package/dist/esm/bpm/deployer.mjs +1 -1
  250. package/dist/esm/bpm/index.mjs +1 -1
  251. package/dist/esm/bpm/process.mjs +1 -1
  252. package/dist/esm/bpm/tasks.mjs +1 -1
  253. package/dist/esm/bpm/tracer.mjs +1 -1
  254. package/dist/esm/bpm/values.mjs +1 -1
  255. package/dist/esm/cache/cache.mjs +1 -1
  256. package/dist/esm/cache/index.mjs +1 -1
  257. package/dist/esm/cms/cmis.mjs +1 -1
  258. package/dist/esm/cms/index.mjs +1 -1
  259. package/dist/esm/component/decorators.mjs +1 -1
  260. package/dist/esm/component/index.mjs +1 -1
  261. package/dist/esm/core/configurations.mjs +1 -1
  262. package/dist/esm/core/context.mjs +1 -1
  263. package/dist/esm/core/env.mjs +1 -1
  264. package/dist/esm/core/globals.mjs +1 -1
  265. package/dist/esm/core/index.mjs +1 -1
  266. package/dist/esm/db/dao.mjs +1 -1
  267. package/dist/esm/db/database.mjs +1 -1
  268. package/dist/esm/db/decorators.mjs +1 -1
  269. package/dist/esm/db/index.mjs +1 -1
  270. package/dist/esm/db/insert.mjs +1 -1
  271. package/dist/esm/db/orm.mjs +1 -1
  272. package/dist/esm/db/ormstatements.mjs +1 -1
  273. package/dist/esm/db/procedure.mjs +1 -1
  274. package/dist/esm/db/query.mjs +1 -1
  275. package/dist/esm/db/repository.mjs +1 -1
  276. package/dist/esm/db/sequence.mjs +1 -1
  277. package/dist/esm/db/sql.mjs +1 -1
  278. package/dist/esm/db/store.mjs +1 -1
  279. package/dist/esm/db/translator.mjs +1 -1
  280. package/dist/esm/db/update.mjs +1 -1
  281. package/dist/esm/etcd/client.mjs +1 -1
  282. package/dist/esm/etcd/index.mjs +1 -1
  283. package/dist/esm/extensions/decorators.mjs +1 -1
  284. package/dist/esm/extensions/extensions.mjs +1 -1
  285. package/dist/esm/extensions/index.mjs +1 -1
  286. package/dist/esm/git/client.mjs +1 -1
  287. package/dist/esm/git/index.mjs +1 -1
  288. package/dist/esm/http/client-async.mjs +1 -1
  289. package/dist/esm/http/client.mjs +1 -1
  290. package/dist/esm/http/decorators.mjs +1 -1
  291. package/dist/esm/http/errors/ForbiddenError.mjs +1 -1
  292. package/dist/esm/http/errors/ValidationError.mjs +1 -1
  293. package/dist/esm/http/errors.mjs +1 -1
  294. package/dist/esm/http/index.mjs +1 -1
  295. package/dist/esm/http/request.mjs +1 -1
  296. package/dist/esm/http/response.mjs +1 -1
  297. package/dist/esm/http/rs/resource-http-controller.mjs +1 -1
  298. package/dist/esm/http/rs/resource-mappings.mjs +1 -1
  299. package/dist/esm/http/rs/resource-method.mjs +1 -1
  300. package/dist/esm/http/rs/resource.mjs +1 -1
  301. package/dist/esm/http/rs.mjs +1 -1
  302. package/dist/esm/http/session.mjs +1 -1
  303. package/dist/esm/http/upload.mjs +1 -1
  304. package/dist/esm/http/utils.mjs +1 -1
  305. package/dist/esm/indexing/index.mjs +1 -1
  306. package/dist/esm/indexing/searcher.mjs +1 -1
  307. package/dist/esm/indexing/writer.mjs +1 -1
  308. package/dist/esm/integrations/index.mjs +1 -1
  309. package/dist/esm/integrations/integrations.mjs +1 -1
  310. package/dist/esm/io/bytes.mjs +1 -1
  311. package/dist/esm/io/files.mjs +1 -1
  312. package/dist/esm/io/image.mjs +1 -1
  313. package/dist/esm/io/index.mjs +1 -1
  314. package/dist/esm/io/streams.mjs +1 -1
  315. package/dist/esm/io/zip.mjs +1 -1
  316. package/dist/esm/job/decorators.mjs +1 -1
  317. package/dist/esm/job/index.mjs +1 -1
  318. package/dist/esm/job/scheduler.mjs +1 -1
  319. package/dist/esm/junit/index.mjs +1 -1
  320. package/dist/esm/junit/junit.mjs +1 -1
  321. package/dist/esm/kafka/consumer.mjs +1 -1
  322. package/dist/esm/kafka/index.mjs +1 -1
  323. package/dist/esm/kafka/producer.mjs +1 -1
  324. package/dist/esm/log/index.mjs +1 -1
  325. package/dist/esm/log/logging.mjs +1 -1
  326. package/dist/esm/mail/client.mjs +1 -1
  327. package/dist/esm/mail/index.mjs +1 -1
  328. package/dist/esm/messaging/consumer.mjs +1 -1
  329. package/dist/esm/messaging/decorators.mjs +1 -1
  330. package/dist/esm/messaging/index.mjs +1 -1
  331. package/dist/esm/messaging/producer.mjs +1 -1
  332. package/dist/esm/mongodb/client.mjs +2 -2
  333. package/dist/esm/mongodb/dao.mjs +1 -1
  334. package/dist/esm/mongodb/index.mjs +1 -1
  335. package/dist/esm/net/decorators.mjs +1 -1
  336. package/dist/esm/net/index.mjs +1 -1
  337. package/dist/esm/net/soap.mjs +1 -1
  338. package/dist/esm/net/websockets.mjs +1 -1
  339. package/dist/esm/pdf/index.mjs +1 -1
  340. package/dist/esm/pdf/pdf.mjs +3 -3
  341. package/dist/esm/platform/command.mjs +1 -1
  342. package/dist/esm/platform/engines.mjs +1 -1
  343. package/dist/esm/platform/index.mjs +1 -1
  344. package/dist/esm/platform/lifecycle.mjs +1 -1
  345. package/dist/esm/platform/os.mjs +1 -1
  346. package/dist/esm/platform/problems.mjs +1 -1
  347. package/dist/esm/platform/registry.mjs +1 -1
  348. package/dist/esm/platform/repository.mjs +1 -1
  349. package/dist/esm/platform/workspace.mjs +1 -1
  350. package/dist/esm/qldb/index.mjs +1 -1
  351. package/dist/esm/qldb/qldb.mjs +1 -1
  352. package/dist/esm/rabbitmq/consumer.mjs +1 -1
  353. package/dist/esm/rabbitmq/index.mjs +1 -1
  354. package/dist/esm/rabbitmq/producer.mjs +1 -1
  355. package/dist/esm/redis/client.mjs +1 -1
  356. package/dist/esm/redis/index.mjs +1 -1
  357. package/dist/esm/security/decorators.mjs +1 -1
  358. package/dist/esm/security/index.mjs +1 -1
  359. package/dist/esm/security/oauth.mjs +1 -1
  360. package/dist/esm/security/user.mjs +1 -1
  361. package/dist/esm/template/engines.mjs +1 -1
  362. package/dist/esm/template/index.mjs +1 -1
  363. package/dist/esm/utils/alphanumeric.mjs +2 -2
  364. package/dist/esm/utils/base64.mjs +1 -1
  365. package/dist/esm/utils/converter.mjs +1 -1
  366. package/dist/esm/utils/digest.mjs +1 -1
  367. package/dist/esm/utils/escape.mjs +1 -1
  368. package/dist/esm/utils/hex.mjs +1 -1
  369. package/dist/esm/utils/index.mjs +1 -1
  370. package/dist/esm/utils/jsonpath.mjs +1 -1
  371. package/dist/esm/utils/qrcode.mjs +1 -1
  372. package/dist/esm/utils/url.mjs +1 -1
  373. package/dist/esm/utils/utf8.mjs +1 -1
  374. package/dist/esm/utils/uuid.mjs +1 -1
  375. package/dist/esm/utils/xml.mjs +1 -1
  376. package/package.json +1 -1
@@ -1,7 +1,39 @@
1
1
  /**
2
- * API Deployer
3
- * * Provides methods for managing the lifecycle of Business Process Model and Notation (BPMN) definitions,
4
- * including deployment, undeployment, and deletion.
2
+ * @module bpm/deployer
3
+ * @package @aerokit/sdk/bpm
4
+ * @name Deployer
5
+ * @overview
6
+ *
7
+ * This module provides functionalities for managing Business Process Model and Notation (BPMN) definitions,
8
+ * including deployment, undeployment, and deletion of process definitions.
9
+ *
10
+ * ### Key Features
11
+ * - Deploy BPMN process definitions from specified locations (e.g., file paths).
12
+ * - Undeploy previously deployed process definitions based on their deployment location.
13
+ * - Permanently delete process definitions by their ID, with a reason for deletion.
14
+ *
15
+ * ### Use Cases
16
+ * - Managing the lifecycle of BPMN process definitions in a workflow engine.
17
+ * - Automating deployment and cleanup of process definitions in development and production environments.
18
+ * - Integrating BPMN management into larger application workflows or administrative tools.
19
+ *
20
+ * ### Example Usage
21
+ * ```ts
22
+ * import { Deployer } from "@aerokit/sdk/bpm";
23
+ *
24
+ * // Deploy a new process definition
25
+ * const deploymentId = Deployer.deployProcess("/path/to/process.bpmn");
26
+ * console.log(`Deployed process with ID: ${deploymentId}`);
27
+ *
28
+ * // Undeploy the process definition
29
+ * Deployer.undeployProcess("/path/to/process.bpmn");
30
+ * console.log("Undeployed process from location: /path/to/process.bpmn");
31
+ *
32
+ * // Delete a deployed process definition by ID
33
+ * Deployer.deleteProcess(deploymentId, "Obsolete");
34
+ * console.log(`Deleted process with ID: ${deploymentId} for reason: Obsolete`);
35
+ * ```
36
+ *
5
37
  */
6
38
  export declare class Deployer {
7
39
  /**
@@ -1,3 +1,17 @@
1
+ /**
2
+ * @module bpm/index
3
+ * @package @aerokit/sdk/bpm
4
+ * @overview
5
+ *
6
+ * This module provides functionalities for Business Process Management (BPM) within the Aerokit SDK. It includes classes and methods for deploying processes, managing tasks, and tracing process execution.
7
+ *
8
+ * The main components of this module are:
9
+ * - Deployer: Responsible for deploying BPMN processes.
10
+ * - Process: Represents a BPMN process instance and provides methods to interact with it.
11
+ * - Tasks: Manages tasks associated with BPMN processes, allowing for task completion and retrieval.
12
+ * - Values: Handles the values and variables associated with BPMN processes.
13
+ * - Tracer: Provides tracing capabilities to monitor the execution of BPMN processes.
14
+ */
1
15
  export { Deployer as deployer } from "./deployer";
2
16
  export * from "./deployer";
3
17
  export { Process as process } from "./process";
@@ -1,7 +1,32 @@
1
1
  /**
2
- * API Process
3
- * * Provides methods for interacting with process instances,
4
- * including starting, updating metadata, and managing variables.
2
+ * @module bpm/process
3
+ * @package @aerokit/sdk/bpm
4
+ * @name Process
5
+ * @overview
6
+ *
7
+ * This module provides functionalities for managing and interacting with BPMN process instances, including starting processes, updating metadata, and handling process variables.
8
+ *
9
+ * ### Key Features
10
+ * - Start new process instances with optional business keys and parameters
11
+ * - Update process instance metadata such as name, business key, and business status
12
+ * - Manage process variables with support for local and global scopes, as well as transient variables
13
+ *
14
+ * ### Use Cases
15
+ * - Initiating new process instances from application code
16
+ * - Dynamically updating process instance information during execution
17
+ * - Managing process variables for data storage and retrieval within process executions
18
+ *
19
+ * ### Example Usage
20
+ * ```ts
21
+ * import { Process } from "@aerokit/sdk/bpm";
22
+ * // Start a new process instance
23
+ * const processInstanceId = Process.start("myProcessDefinitionKey", "myBusinessKey", { myVariable: "value" });
24
+ * console.log(`Started process instance with ID: ${processInstanceId}`);
25
+ * // Update process instance name
26
+ * Process.setProcessInstanceName(processInstanceId, "My Process Instance");
27
+ * // Set a process variable
28
+ * Process.setVariable(processInstanceId, "myVariable", "newValue");
29
+ * ```
5
30
  */
6
31
  import { IdentityLink } from "./tasks";
7
32
  export declare class BpmnError {
@@ -1,5 +1,36 @@
1
1
  /**
2
- * API Tasks
2
+ * @module bpm/tasks
3
+ * @package @aerokit/sdk/bpm
4
+ * @name Tasks
5
+ * @overview
6
+ *
7
+ * This module provides functionalities for managing User Tasks within a Business Process Model and Notation (BPMN) context. It allows users to list tasks, manage task variables, complete tasks, and access task-related services.
8
+ *
9
+ * ### Key Features
10
+ * - List all user tasks in the system
11
+ * - Get and set task variables, both globally and locally to the task
12
+ * - Complete tasks with optional variables and user information
13
+ * - Access the Task Service for advanced task management operations
14
+ *
15
+ * ### Use Cases
16
+ * - Managing user tasks in a workflow engine
17
+ * - Automating task completion and variable management in development and production environments
18
+ * - Integrating task management into larger application workflows or administrative tools
19
+ *
20
+ * ### Example Usage
21
+ * ```ts
22
+ * import { Tasks } from "@aerokit/sdk/bpm";
23
+ * // List all tasks
24
+ * const tasks = Tasks.list();
25
+ * console.log(tasks);
26
+ * // Get a task variable
27
+ * const variableValue = Tasks.getVariable("taskId", "variableName");
28
+ * console.log(variableValue);
29
+ * // Set a task variable
30
+ * Tasks.setVariable("taskId", "variableName", "newValue");
31
+ * // Complete a task with variables
32
+ * Tasks.complete("taskId", { "result": "approved" });
33
+ * ```
3
34
  */
4
35
  export declare class Tasks {
5
36
  static list(): TaskData[];
@@ -1,3 +1,38 @@
1
+ /**
2
+ * @module bpm/tracer
3
+ * @package @aerokit/sdk/bpm
4
+ * @name Tracer
5
+ * @overview
6
+ *
7
+ * This module provides a `Tracer` class for logging and tracing the execution of BPMN processes within the Dirigible environment. The `Tracer` class allows developers to log informational messages, warnings, and errors, as well as to track the duration of process execution from start to completion or failure.
8
+ *
9
+ * ### Key Features
10
+ * - Context-aware logging: Automatically includes process definition ID, instance ID, business key, and activity ID in log messages.
11
+ * - Execution timing: Tracks the duration of process execution and logs it upon completion or failure.
12
+ * - Flexible logging levels: Supports informational, warning, and error logging.
13
+ *
14
+ * ### Use Cases
15
+ * - Debugging and monitoring BPMN process execution in development and production environments.
16
+ * - Providing insights into process performance and identifying bottlenecks or issues.
17
+ * - Enhancing observability of BPMN processes for better maintenance and support.
18
+ *
19
+ * ### Example Usage
20
+ * ```ts
21
+ * import { Tracer } from "@aerokit/sdk/bpm";
22
+ *
23
+ * const tracer = new Tracer();
24
+ * try {
25
+ * // Perform some operations related to the BPMN process
26
+ * tracer.log("Performing step 1");
27
+ * // ...
28
+ * tracer.log("Performing step 2");
29
+ * // ...
30
+ * tracer.complete("Process completed successfully");
31
+ * } catch (error) {
32
+ * tracer.fail(`Process failed with error: ${error.message}`);
33
+ * }
34
+ * ```
35
+ */
1
36
  export declare class Tracer {
2
37
  private readonly startTime;
3
38
  private readonly logger;
@@ -1,7 +1,21 @@
1
1
  /**
2
- * Values
3
- * * Utility class for serializing (stringify) and deserializing (parse) complex variable values (like objects and arrays)
4
- * to and from JSON strings for storage or transfer across the API boundary.
2
+ * @module bpm/values
3
+ * @package @aerokit/sdk/bpm
4
+ * @name Values
5
+ * @overview
6
+ *
7
+ * The `Values` class provides utility methods for serializing and deserializing complex variable values (such as objects and arrays) to and from JSON strings. This is particularly useful for handling process variables in BPMN processes, where variables may need to be stored or transferred across API boundaries in a consistent format.
8
+ *
9
+ * ### Key Features
10
+ * - **parseValue**: Safely attempts to parse a string value as JSON, returning the original value if parsing fails.
11
+ * - **parseValuesMap**: Applies JSON parsing to all values in a Map, allowing for bulk deserialization of process variables.
12
+ * - **stringifyValue**: Converts objects and arrays into their JSON string representations, while leaving primitive types unchanged. Arrays are also converted into Java Lists for compatibility with Java APIs.
13
+ * - **stringifyValuesMap**: Applies JSON stringification to all values in a Map, enabling bulk serialization of process variables before API calls.
14
+ *
15
+ * ### Use Cases
16
+ * - Managing complex process variables in BPMN processes, including objects and arrays.
17
+ * - Ensuring consistent serialization and deserialization of variables when interacting with APIs that expect string values.
18
+ * - Facilitating the transfer of structured data across API boundaries in a format that can be easily parsed and utilized.
5
19
  */
6
20
  export declare class Values {
7
21
  /**
@@ -1,3 +1,41 @@
1
+ /**
2
+ * @module cache/cache
3
+ * @package @aerokit/sdk/cache
4
+ * @name Cache
5
+ * @overview
6
+ *
7
+ * This module provides a `Cache` class that serves as a static utility for interacting with a server-side cache facade. The `Cache` class allows developers to perform simple key-value storage, retrieval, and invalidation operations on the cache, enabling efficient data management and performance optimization within the Dirigible environment.
8
+ *
9
+ * ### Key Features
10
+ * - Simple key-value storage: Store any serializable data in the cache using a unique key.
11
+ * - Efficient retrieval: Quickly retrieve cached values using their associated keys.
12
+ * - Cache invalidation: Remove specific entries or clear the entire cache when needed.
13
+ * - Server-side management: The cache is managed on the server, allowing for centralized control over caching behavior and policies.
14
+ *
15
+ * ### Use Cases
16
+ * - Caching frequently accessed data to improve performance and reduce latency.
17
+ * - Storing intermediate results of expensive computations or API calls for reuse.
18
+ * - Managing session data or user-specific information in a scalable manner.
19
+ * - Implementing application-level caching strategies to optimize resource usage and response times.
20
+ *
21
+ * ### Example Usage
22
+ * ```ts
23
+ * import { Cache } from "@aerokit/sdk/cache";
24
+ *
25
+ * // Store a value in the cache
26
+ * Cache.set("user_123", { name: "Alice", age: 30 });
27
+ * // Retrieve a value from the cache
28
+ * const userData = Cache.get("user_123");
29
+ * console.log(userData); // Output: { name: "Alice", age: 30 }
30
+ * // Check if a key exists in the cache
31
+ * const exists = Cache.contains("user_123");
32
+ * console.log(exists); // Output: true
33
+ * // Delete a specific key from the cache
34
+ * Cache.delete("user_123");
35
+ * // Clear the entire cache
36
+ * Cache.clear();
37
+ * ```
38
+ */
1
39
  export declare class Cache {
2
40
  /**
3
41
  * Checks if the cache contains a value for the specified key.
@@ -1,2 +1,12 @@
1
+ /**
2
+ * @module cache/index
3
+ * @package @aerokit/sdk/cache
4
+ * @overview
5
+ *
6
+ * This module provides functionalities for caching within the Aerokit SDK. It includes classes and methods for managing cache instances, storing and retrieving cached data, and configuring cache settings.
7
+ *
8
+ * The main components of this module are:
9
+ * - Cache: Represents a cache instance and provides methods to interact with it, such as storing and retrieving data.
10
+ */
1
11
  export { Cache as caches } from "./cache";
2
12
  export * from "./cache";
@@ -1,7 +1,32 @@
1
1
  /**
2
- * API CMIS
3
- * * Note: This module is supported only with the Mozilla Rhino engine
4
- * * Provides static access to the CMIS (Content Management Interoperability Services) repository session and utility constants.
2
+ * @module cms/cmis
3
+ * @package @aerokit/sdk/cms
4
+ * @name Cmis
5
+ * @overview
6
+ *
7
+ * This module provides a set of classes and constants for interacting with a CMIS (Content Management Interoperability Services) repository within the Dirigible environment. It allows developers to establish sessions with the repository, navigate and manipulate folders and documents, and manage content streams. The module also defines standard CMIS properties and versioning states for consistent interaction with CMIS-compliant repositories.
8
+ *
9
+ * ### Key Features
10
+ * - Establishing sessions with CMIS repositories
11
+ * - Navigating folder structures and managing documents
12
+ * - Handling content streams for document creation and retrieval
13
+ * - Defining standard CMIS properties and versioning states for consistent API usage
14
+ *
15
+ * ### Use Cases
16
+ * - Integrating with enterprise content management systems that support CMIS
17
+ * - Building applications that require document management capabilities, such as file storage, versioning, and metadata handling
18
+ * - Automating content management tasks within a CMIS repository, such as bulk uploads, organization, and cleanup
19
+ *
20
+ * ### Example Usage
21
+ * ```ts
22
+ * import { Cmis } from "@aerokit/sdk/cms";
23
+ * const session = Cmis.getSession();
24
+ * const rootFolder = session.getRootFolder();
25
+ * const newFolder = rootFolder.createFolder({ "cmis:name": "New Folder" });
26
+ * const contentStream = session.getObjectFactory().createContentStream("example.txt", 11, "text/plain", new streams.ByteArrayInputStream("Hello World".getBytes()));
27
+ * const newDocument = newFolder.createDocument({ "cmis:name": "Example Document" }, contentStream, Cmis.VERSIONING_STATE_MAJOR);
28
+ * console.log(`Created document with ID: ${newDocument.getId()} and name: ${newDocument.getName()}`);
29
+ * ```
5
30
  */
6
31
  import * as streams from "@aerokit/sdk/io/streams";
7
32
  export declare class Cmis {
@@ -1,2 +1,12 @@
1
+ /**
2
+ * @module cms/index
3
+ * @package @aerokit/sdk/cms
4
+ * @overview
5
+ *
6
+ * This module provides functionalities for Content Management System (CMS) within the Aerokit SDK. It includes classes and methods for managing content repositories, handling content items, and interacting with CMIS-compliant systems.
7
+ *
8
+ * The main components of this module are:
9
+ * - Cmis: Represents a CMIS-compliant content repository and provides methods to interact with it, such as creating, retrieving, updating, and deleting content items.
10
+ */
1
11
  export { Cmis as cmis } from "./cmis";
2
12
  export * from "./cmis";
@@ -1,9 +1,39 @@
1
1
  /**
2
- * API DI (Dependency Injection) Decorators
3
- * * Provides a hybrid implementation of decorators for Dependency Injection (DI)
4
- * that supports both legacy JavaScript environments (like Mozilla Rhino or older GraalJS)
5
- * using the `(target, propertyKey)` signature, and modern JavaScript environments
6
- * using the decorator metadata and `context.addInitializer`.
2
+ * @module component/decorators
3
+ * @package @aerokit/sdk/component
4
+ * @name Decorators
5
+ * @overview
6
+ *
7
+ * This module provides a set of decorators for defining and managing Dependency Injection (DI) components within the Dirigible environment. The decorators are designed to be compatible with both legacy JavaScript environments (like Mozilla Rhino or older GraalJS) and modern JavaScript environments that support the latest decorator specifications.
8
+ *
9
+ * ### Key Features
10
+ * - **Component Decorator**: Marks a class as a DI component, allowing it to be registered and managed by the DI container.
11
+ * - **Injected Decorator**: An alias for the Component decorator, used for semantic clarity when a class is intended to be injected as a dependency rather than being a primary component.
12
+ * - **Inject Decorator**: Marks a class property as an injection point, specifying that a dependency should be injected at runtime based on the property name or an optional custom name.
13
+ * - **Hybrid Decorator Support**: The decorators are implemented to work seamlessly in both legacy and modern JavaScript environments, ensuring broad compatibility across different runtime contexts.
14
+ *
15
+ * ### Use Cases
16
+ * - Defining services, repositories, controllers, or any other components that require dependency injection in a Dirigible application.
17
+ * - Managing dependencies and promoting loose coupling between components for better maintainability and testability.
18
+ * - Leveraging the DI container to automatically resolve and inject dependencies based on component registration and metadata.
19
+ *
20
+ * ### Example Usage
21
+ * ```ts
22
+ * import { Component, Inject } from "@aerokit/sdk/component";
23
+ *
24
+ * @Component('MyService')
25
+ * class MyService {
26
+ * // Service implementation
27
+ * }
28
+ *
29
+ * @Component
30
+ * class MyController {
31
+ * @Inject('MyService')
32
+ * private myService!: MyService;
33
+ *
34
+ * // Controller implementation that uses myService
35
+ * }
36
+ * ```
7
37
  */
8
38
  /**
9
39
  * Extends a standard constructor function to include properties used for internal metadata storage.
@@ -1,2 +1,12 @@
1
+ /**
2
+ * @module component/index
3
+ * @package @aerokit/sdk/component
4
+ * @overview
5
+ *
6
+ * This module provides functionalities for component management within the Aerokit SDK. It includes classes and methods for defining, registering, and managing components in a modular architecture.
7
+ *
8
+ * The main components of this module are:
9
+ * - Decorators: Provides decorators for defining components and their properties in a declarative manner.
10
+ */
1
11
  export * from "./decorators";
2
12
  export * as decorators from "./decorators";
@@ -1,8 +1,47 @@
1
1
  /**
2
- * API Configurations
3
- * * Provides a static interface for accessing and manipulating configuration properties,
4
- * and checking the operating system type.
5
- */
2
+ * @module core/configurations
3
+ * @package @aerokit/sdk/core
4
+ * @name Configurations
5
+ * @overview
6
+ *
7
+ * The Configurations API provides a centralized, type-safe interface for managing application configuration properties and detecting the runtime operating system. It serves as the foundation for environment-specific settings and system-aware behavior in Aerokit applications.
8
+ *
9
+ * ### Key Features
10
+ *
11
+ * - **Static Interface**: Thread-safe, singleton-like access to configuration data
12
+ * - **Type Safety**: Full TypeScript support with proper type definitions
13
+ * - **File Loading**: Support for loading configurations from external files
14
+ * - **OS Detection**: Comprehensive operating system identification
15
+ * - **Memory Efficient**: In-memory storage with optional persistence
16
+ *
17
+ * ### Use Cases
18
+ * - Application configuration management
19
+ * - Environment variable management
20
+ * - Feature flag configuration
21
+ * - Database connection settings
22
+ * - API endpoint configuration
23
+ * - Platform-specific behavior adaptation
24
+ *
25
+ * ### Example Usage
26
+ * ```ts
27
+ * import { Configurations } from "@aerokit/sdk/core";
28
+ *
29
+ * // Set a configuration property
30
+ * Configurations.set("apiEndpoint", "https://api.example.com");
31
+ * // Get a configuration property
32
+ * const apiEndpoint = Configurations.get("apiEndpoint");
33
+ * console.log(apiEndpoint); // Output: "https://api.example.com"
34
+ *
35
+ * // Check the operating system
36
+ * if (Configurations.isOSWindows()) {
37
+ * console.log("Running on Windows");
38
+ * } else if (Configurations.isOSMac()) {
39
+ * console.log("Running on Mac");
40
+ * } else if (Configurations.isOSUNIX()) {
41
+ * console.log("Running on UNIX");
42
+ * }
43
+ * ```
44
+ */
6
45
  export declare class Configurations {
7
46
  /**
8
47
  * Retrieves the configuration value associated with the given key.
@@ -1,6 +1,39 @@
1
1
  /**
2
- * API Context
3
- * * Provides a static interface for accessing and manipulating key-value pairs in a global, application-wide context.
2
+ * @module core/context
3
+ * @package @aerokit/sdk/core
4
+ * @name Context
5
+ * @overview
6
+ *
7
+ * The Context API provides a simple, static interface for storing and retrieving key-value pairs in a global application context. It allows components and modules to share data across the entire application without needing to pass values through function parameters or component props. The Context API is designed to be lightweight and easy to use, making it ideal for managing global state, configuration settings, or any other data that needs to be accessible throughout the application.
8
+ *
9
+ * ### Key Features
10
+ * - **Global Accessibility**: Values stored in the context can be accessed from anywhere in the application, facilitating data sharing across components and modules.
11
+ * - **Simple API**: The Context API provides straightforward `get` and `set` methods for managing context values, making it easy to use without complex setup.
12
+ * - **Dynamic Storage**: The context can store any type of value, including primitives, objects, arrays, and even functions, allowing for flexible data management.
13
+ * - **Overwriting Values**: Setting a value with an existing name will overwrite the previous value, enabling dynamic updates to the context as needed.
14
+ *
15
+ * ### Use Cases
16
+ * - Managing global configuration settings that need to be accessed by multiple components or modules.
17
+ * - Sharing state or data across different parts of the application without prop drilling or complex state management solutions.
18
+ * - Storing references to services, utilities, or other shared resources that need to be accessible throughout the application.
19
+ * - Facilitating communication between components that do not have a direct parent-child relationship by using the context as a shared data store.
20
+ *
21
+ * ### Example Usage
22
+ * ```ts
23
+ * import { Context } from "@aerokit/sdk/core";
24
+ *
25
+ * // Set a value in the context
26
+ * Context.set("apiEndpoint", "https://api.example.com");
27
+ *
28
+ * // Get a value from the context
29
+ * const apiEndpoint = Context.get("apiEndpoint");
30
+ * console.log(apiEndpoint); // Output: "https://api.example.com"
31
+ *
32
+ * // Overwrite an existing value in the context
33
+ * Context.set("apiEndpoint", "https://api.newexample.com");
34
+ * const newApiEndpoint = Context.get("apiEndpoint");
35
+ * console.log(newApiEndpoint); // Output: "https://api.newexample.com"
36
+ * ```
4
37
  */
5
38
  export declare class Context {
6
39
  /**
@@ -1,6 +1,33 @@
1
1
  /**
2
- * API Env
3
- * * Provides a static interface for accessing and listing environment variables exposed to the runtime.
2
+ * @module core/env
3
+ * @package @aerokit/sdk/core
4
+ * @name Env
5
+ * @description
6
+ *
7
+ * The `Env` module provides a static interface for accessing environment variables exposed to the runtime. It allows you to retrieve individual environment variable values by name, as well as list all available environment variables in a structured format.
8
+ *
9
+ * ### Key Features
10
+ * - **Simple Access**: Retrieve environment variable values using a straightforward `get` method.
11
+ * - **Comprehensive Listing**: Obtain a complete map of all environment variables using the `list` method, which returns an object with key-value pairs.
12
+ * - **Type Safety**: The `get` method returns `undefined` if an environment variable is not set, allowing for safe handling of missing variables.
13
+ *
14
+ * ### Use Cases
15
+ * - Accessing configuration settings that are provided through environment variables, such as API keys, database connection strings, or feature flags.
16
+ * - Listing all available environment variables for debugging purposes or to dynamically adjust application behavior based on the runtime environment.
17
+ * - Integrating with external services that require environment variable configuration, ensuring that sensitive information is not hardcoded in the application code.
18
+ *
19
+ * ### Example Usage
20
+ * ```ts
21
+ * import { Env } from "@aerokit/sdk/core";
22
+ *
23
+ * // Get a specific environment variable
24
+ * const apiKey = Env.get("API_KEY");
25
+ * console.log(apiKey); // Output: "your-api-key" or undefined if not set
26
+ *
27
+ * // List all environment variables
28
+ * const envVars = Env.list();
29
+ * console.log(envVars); // Output: { API_KEY: "your-api-key", NODE_ENV: "production", ... }
30
+ * ```
4
31
  */
5
32
  /**
6
33
  * Interface representing a map of environment variable names to their string values.
@@ -1,6 +1,38 @@
1
1
  /**
2
- * API Globals
3
- * * Provides a static interface for accessing and manipulating global application variables, typically backed by a central configuration or registry.
2
+ * @module core/globals
3
+ * @package @aerokit/sdk/core
4
+ * @name Globals
5
+ * @overview
6
+ *
7
+ * The Globals API provides a static interface for accessing and manipulating global application variables, typically backed by a central configuration or registry. It allows components and modules to share global state across the entire application without needing to pass values through function parameters or component props. The Globals API is designed to be lightweight and easy to use, making it ideal for managing global state, configuration settings, or any other data that needs to be accessible throughout the application.
8
+ *
9
+ * ### Key Features
10
+ * - **Global Accessibility**: Values stored in the globals can be accessed from anywhere in the application, facilitating data sharing across components and modules.
11
+ * - **Simple API**: The Globals API provides straightforward `get`, `set`, and `list` methods for managing global variables, making it easy to use without complex setup.
12
+ * - **Dynamic Storage**: The globals can store string values, allowing for flexible data management.
13
+ * - **Overwriting Values**: Setting a value with an existing name will overwrite the previous value, enabling dynamic updates to the globals as needed.
14
+ *
15
+ * ### Use Cases
16
+ * - Managing global configuration settings that need to be accessed by multiple components or modules.
17
+ * - Sharing state or data across different parts of the application without prop drilling or complex state management solutions.
18
+ * - Storing references to services, utilities, or other shared resources that need to be accessible throughout the application.
19
+ * - Facilitating communication between components that do not have a direct parent-child relationship by using the globals as a shared data store.
20
+ *
21
+ * ### Example Usage
22
+ * ```ts
23
+ * import { Globals } from "@aerokit/sdk/core";
24
+ *
25
+ * // Set a value in the globals
26
+ * Globals.set("apiEndpoint", "https://api.example.com");
27
+ *
28
+ * // Get a value from the globals
29
+ * const apiEndpoint = Globals.get("apiEndpoint");
30
+ * console.log(apiEndpoint); // Output: "https://api.example.com"
31
+ *
32
+ * // List all global variables
33
+ * const globalVars = Globals.list();
34
+ * console.log(globalVars); // Output: { apiEndpoint: "https://api.example.com", ... }
35
+ * ```
4
36
  */
5
37
  /**
6
38
  * Interface representing a map of global variable names to their string values.
@@ -1,3 +1,16 @@
1
+ /**
2
+ * @module core/index
3
+ * @package @aerokit/sdk/core
4
+ * @overview
5
+ *
6
+ * This module provides core functionalities for the Aerokit SDK. It includes classes and methods for managing configurations, context, environment variables, and global variables that are essential for the operation of the SDK.
7
+ *
8
+ * The main components of this module are:
9
+ * - Configurations: Manages the configuration settings for the SDK, allowing for retrieval and management of configuration values.
10
+ * - Context: Provides a context for the execution of SDK operations, allowing for the storage and retrieval of contextual information.
11
+ * - Env: Handles environment variables, providing methods to access and manage environment-specific settings.
12
+ * - Globals: Manages global variables that can be accessed throughout the SDK, allowing for shared state and information across different modules.
13
+ */
1
14
  export * from "./configurations";
2
15
  export { Configurations as configurations } from "./configurations";
3
16
  export * from "./context";
@@ -1,3 +1,37 @@
1
+ /**
2
+ * @module db/database
3
+ * @package @aerokit/sdk/db
4
+ * @name Database
5
+ * @overview
6
+ *
7
+ * This module provides a `Database` class that serves as an interface for interacting with relational databases in the Dirigible environment. It includes functionalities for executing SQL queries, managing database connections, and retrieving metadata about the database structure. The module also defines a set of SQL type constants and helper functions for handling specific data types like CLOBs and BLOBs.
8
+ *
9
+ * ### Key Features
10
+ * - **SQL Execution**: Execute arbitrary SQL queries and updates against the connected database.
11
+ * - **Metadata Retrieval**: Access detailed metadata about database schemas, tables, columns, and other structural elements.
12
+ * - **Type Handling**: Provides utilities for working with various SQL data types, including CLOBs and BLOBs, with special handling for HANA databases.
13
+ * - **Database System Detection**: Automatically detects the underlying database system to apply appropriate handling for specific data types and features.
14
+ * - **Prepared Statements**: Support for prepared statements to enhance security and performance when executing parameterized queries.
15
+ *
16
+ * ### Use Cases
17
+ * - Performing database operations such as querying, inserting, updating, and deleting records in a relational database.
18
+ * - Retrieving and analyzing database metadata to understand the structure of the database and its components.
19
+ * - Handling large data types like CLOBs and BLOBs in a way that is compatible with different database systems, including HANA.
20
+ * - Implementing data access layers in applications that require interaction with relational databases, while abstracting away database-specific details.
21
+ *
22
+ * ### Example Usage
23
+ * ```ts
24
+ * import { Database, SQLTypes } from "@aerokit/sdk/db";
25
+ * // Execute a simple query
26
+ * const resultSet = Database.executeQuery("SELECT * FROM Users WHERE age > ?", [30], [SQLTypes.INTEGER]);
27
+ * while (resultSet.next()) {
28
+ * console.log(resultSet.getString("name"));
29
+ * }
30
+ * // Retrieve database metadata
31
+ * const metadata = Database.getMetadata();
32
+ * console.log(metadata.databaseProductName);
33
+ * ```
34
+ */
1
35
  import { InputStream } from "@aerokit/sdk/io/streams";
2
36
  /**
3
37
  * Mapping of SQL type names to their java.sql.Types integer constants.