@burdenoff/be-sdk 2026.1110.2 → 2026.1110.3

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 (469) hide show
  1. package/configs/eslint/index.js +1 -1
  2. package/configs/tsconfig/tsconfig.json +1 -1
  3. package/dist/EventQueueFactory-9NGZV9jl.js +1457 -0
  4. package/dist/EventQueueFactory-9NGZV9jl.js.map +1 -0
  5. package/dist/RedisStreamsConnection-CY8WySJy.js +283 -0
  6. package/dist/RedisStreamsConnection-CY8WySJy.js.map +1 -0
  7. package/dist/ai-credits/index.d.ts +2 -3
  8. package/dist/ai-credits/index.js +3 -4
  9. package/dist/ai-credits/index.js.map +1 -1
  10. package/dist/ai-credits-Ca-NNcVx.js +546 -0
  11. package/dist/ai-credits-Ca-NNcVx.js.map +1 -0
  12. package/dist/{assistant-session-CJZhF4D6.d.ts → assistant-session-DA5ZKJOr.d.ts} +4 -5
  13. package/dist/auth/index.d.ts +2 -77
  14. package/dist/auth/index.js +3 -7
  15. package/dist/auth/index.js.map +1 -1
  16. package/dist/auth-CEuBEBQN.js +228 -0
  17. package/dist/auth-CEuBEBQN.js.map +1 -0
  18. package/dist/cache/index.d.ts +2 -3
  19. package/dist/cache/index.js +3 -7
  20. package/dist/cache/index.js.map +1 -1
  21. package/dist/cache-CU0uLwcS.js +1837 -0
  22. package/dist/cache-CU0uLwcS.js.map +1 -0
  23. package/dist/captcha/index.d.ts +2 -1
  24. package/dist/captcha/index.js +3 -3
  25. package/dist/captcha/index.js.map +1 -1
  26. package/dist/captcha-BT7yh1YS.js +77 -0
  27. package/dist/captcha-BT7yh1YS.js.map +1 -0
  28. package/dist/client/internal-client.d.ts +4 -7
  29. package/dist/client/internal-client.js +172 -4
  30. package/dist/client/internal-client.js.map +1 -1
  31. package/dist/client-BgAEvDC2.d.ts +86 -0
  32. package/dist/client-DcZ3iGES.js +565 -0
  33. package/dist/client-DcZ3iGES.js.map +1 -0
  34. package/dist/collector-endpoint-iyQYeI50.js +50 -0
  35. package/dist/collector-endpoint-iyQYeI50.js.map +1 -0
  36. package/dist/context-CZnXf2yb.js +247 -0
  37. package/dist/context-CZnXf2yb.js.map +1 -0
  38. package/dist/crypto/index.d.ts +2 -1
  39. package/dist/crypto/index.js +3 -3
  40. package/dist/crypto/index.js.map +1 -1
  41. package/dist/crypto-DO9fM0FO.js +145 -0
  42. package/dist/crypto-DO9fM0FO.js.map +1 -0
  43. package/dist/database/index.d.ts +104 -108
  44. package/dist/database/index.js +468 -6
  45. package/dist/database/index.js.map +1 -1
  46. package/dist/dataloader/index.d.ts +2 -1
  47. package/dist/dataloader/index.js +3 -3
  48. package/dist/dataloader/index.js.map +1 -1
  49. package/dist/dataloader-DwpT3YoS.js +294 -0
  50. package/dist/dataloader-DwpT3YoS.js.map +1 -0
  51. package/dist/deployed-environment-p_Tdl3sT.js +38 -0
  52. package/dist/deployed-environment-p_Tdl3sT.js.map +1 -0
  53. package/dist/dist-BGKdXVy3.js +1718 -0
  54. package/dist/dist-BGKdXVy3.js.map +1 -0
  55. package/dist/env-DdaoGjIt.js +74 -0
  56. package/dist/env-DdaoGjIt.js.map +1 -0
  57. package/dist/event-queue/index.d.ts +2 -7
  58. package/dist/event-queue/index.js +7 -9
  59. package/dist/event-queue/index.js.map +1 -1
  60. package/dist/event-queue-Cw-YJPY_.js +1384 -0
  61. package/dist/event-queue-Cw-YJPY_.js.map +1 -0
  62. package/dist/{explicit-activity-scope-CCoxVwAr.d.ts → explicit-activity-scope-D8VeGGpt.d.ts} +1 -2
  63. package/dist/export/index.d.ts +2 -2
  64. package/dist/export/index.js +3 -14
  65. package/dist/export/index.js.map +1 -1
  66. package/dist/export-B6fphx8a.js +642 -0
  67. package/dist/export-B6fphx8a.js.map +1 -0
  68. package/dist/feature-flags/index.d.ts +2 -10
  69. package/dist/feature-flags/index.js +3 -6
  70. package/dist/feature-flags/index.js.map +1 -1
  71. package/dist/feature-flags-71oDkrUe.js +422 -0
  72. package/dist/feature-flags-71oDkrUe.js.map +1 -0
  73. package/dist/files/index.d.ts +2 -3
  74. package/dist/files/index.js +3 -4
  75. package/dist/files/index.js.map +1 -1
  76. package/dist/files-DjH0099H.js +830 -0
  77. package/dist/files-DjH0099H.js.map +1 -0
  78. package/dist/gateway/index.d.ts +4 -6
  79. package/dist/gateway/index.js +7 -13
  80. package/dist/gateway/index.js.map +1 -1
  81. package/dist/gateway/security/index.d.ts +2 -2
  82. package/dist/gateway/security/index.js +3 -5
  83. package/dist/gateway/security/index.js.map +1 -1
  84. package/dist/gateway-DBFmxWks.js +50 -0
  85. package/dist/gateway-DBFmxWks.js.map +1 -0
  86. package/dist/graph/index.d.ts +3 -10
  87. package/dist/graph/index.js +4 -13
  88. package/dist/graph/index.js.map +1 -1
  89. package/dist/graph-DDYgIryR.js +2152 -0
  90. package/dist/graph-DDYgIryR.js.map +1 -0
  91. package/dist/graph-emitter-CdOXP7Tn.js +621 -0
  92. package/dist/graph-emitter-CdOXP7Tn.js.map +1 -0
  93. package/dist/graphql/index.d.ts +3 -2
  94. package/dist/graphql/index.js +4 -6
  95. package/dist/graphql/index.js.map +1 -1
  96. package/dist/graphql/services/index.d.ts +2 -24
  97. package/dist/graphql/services/index.js +3 -4
  98. package/dist/graphql/services/index.js.map +1 -1
  99. package/dist/graphql-DHAHHcww.js +161 -0
  100. package/dist/graphql-DHAHHcww.js.map +1 -0
  101. package/dist/graphql-DNkMkGBZ.d.ts +21 -0
  102. package/dist/i18n/index.d.ts +3 -3
  103. package/dist/i18n/index.js +3 -4
  104. package/dist/i18n/index.js.map +1 -1
  105. package/dist/i18n-BBMYFd0P.js +860 -0
  106. package/dist/i18n-BBMYFd0P.js.map +1 -0
  107. package/dist/import-optional-peer-B82VYxeX.js +18 -0
  108. package/dist/import-optional-peer-B82VYxeX.js.map +1 -0
  109. package/dist/index-3KOZ1zN9.d.ts +233 -0
  110. package/dist/index-BBqooJ52.d.ts +45 -0
  111. package/dist/index-BGzMYJsm.d.ts +209 -0
  112. package/dist/index-BKwHQtHQ.d.ts +63 -0
  113. package/dist/index-BMIMnp6T.d.ts +8 -0
  114. package/dist/index-BQDsNAMR.d.ts +81 -0
  115. package/dist/index-BVOL7458.d.ts +10 -0
  116. package/dist/index-BcqQs-Uq.d.ts +69 -0
  117. package/dist/index-BeVtqGO-.d.ts +208 -0
  118. package/dist/index-BiTzGUZP.d.ts +114 -0
  119. package/dist/index-BqYfCQSP.d.ts +500 -0
  120. package/dist/index-C0qLquY0.d.ts +150 -0
  121. package/dist/index-C5uEKchX.d.ts +60 -0
  122. package/dist/index-CDOqxSIi.d.ts +37 -0
  123. package/dist/index-CG6wj66Y.d.ts +148 -0
  124. package/dist/index-CIgoeobA.d.ts +145 -0
  125. package/dist/index-CPQDMSFS.d.ts +103 -0
  126. package/dist/index-CSRcgkVi.d.ts +23 -0
  127. package/dist/index-CZTnQIRU.d.ts +341 -0
  128. package/dist/index-CaM9JUcc.d.ts +144 -0
  129. package/dist/index-CkT2aUr3.d.ts +704 -0
  130. package/dist/index-CliOgq6L.d.ts +203 -0
  131. package/dist/index-CnzbJZP7.d.ts +999 -0
  132. package/dist/index-D6UeLAye.d.ts +63 -0
  133. package/dist/index-DGgh9DWn.d.ts +59 -0
  134. package/dist/index-DY3dNhMN.d.ts +420 -0
  135. package/dist/index-DZC-2o9R.d.ts +207 -0
  136. package/dist/index-DqbGqfAy.d.ts +127 -0
  137. package/dist/index-Dt1HJPTX.d.ts +12 -0
  138. package/dist/index-DtI6aBtB.d.ts +22 -0
  139. package/dist/index-FKohsiex.d.ts +38 -0
  140. package/dist/index-FbXPfen7.d.ts +132 -0
  141. package/dist/index-MArCb8Aq.d.ts +306 -0
  142. package/dist/index-N-huORcj.d.ts +303 -0
  143. package/dist/index-YOShAwkq.d.ts +45 -0
  144. package/dist/index-bZKZUvBu.d.ts +646 -0
  145. package/dist/index-yBSjMY32.d.ts +24 -0
  146. package/dist/index.d.ts +501 -544
  147. package/dist/index.js +1820 -2171
  148. package/dist/index.js.map +1 -1
  149. package/dist/init/index.d.ts +2 -2
  150. package/dist/init/index.js +3 -16
  151. package/dist/init/index.js.map +1 -1
  152. package/dist/init-Dy3KhT6Y.js +325 -0
  153. package/dist/init-Dy3KhT6Y.js.map +1 -0
  154. package/dist/instrumentation/index.d.ts +3 -4
  155. package/dist/instrumentation/index.js +5 -5
  156. package/dist/instrumentation/index.js.map +1 -1
  157. package/dist/instrumentation-xkkmDgJ0.js +1678 -0
  158. package/dist/instrumentation-xkkmDgJ0.js.map +1 -0
  159. package/dist/lake/index.d.ts +50 -54
  160. package/dist/lake/index.js +169 -193
  161. package/dist/lake/index.js.map +1 -1
  162. package/dist/layer/index.d.ts +3 -2
  163. package/dist/layer/index.js +4 -5
  164. package/dist/layer/index.js.map +1 -1
  165. package/dist/layer-BZBZZWeV.d.ts +69 -0
  166. package/dist/layer-Bcix-WCl.js +105 -0
  167. package/dist/layer-Bcix-WCl.js.map +1 -0
  168. package/dist/layer-CEKy6cm8.js +252 -0
  169. package/dist/layer-CEKy6cm8.js.map +1 -0
  170. package/dist/lifecycle/index.d.ts +2 -1
  171. package/dist/lifecycle/index.js +3 -4
  172. package/dist/lifecycle/index.js.map +1 -1
  173. package/dist/lifecycle-DeoLSX0U.js +76 -0
  174. package/dist/lifecycle-DeoLSX0U.js.map +1 -0
  175. package/dist/logger/index.d.ts +2 -3
  176. package/dist/logger/index.js +3 -3
  177. package/dist/logger/index.js.map +1 -1
  178. package/dist/logger-B6rCpb7D.js +290 -0
  179. package/dist/logger-B6rCpb7D.js.map +1 -0
  180. package/dist/metrics/index.d.ts +13 -14
  181. package/dist/metrics/index.js +3 -4
  182. package/dist/metrics/index.js.map +1 -1
  183. package/dist/metrics-BrLwNUrb.js +52 -0
  184. package/dist/metrics-BrLwNUrb.js.map +1 -0
  185. package/dist/metrics-collector-C2eShrlW.js +922 -0
  186. package/dist/metrics-collector-C2eShrlW.js.map +1 -0
  187. package/dist/middleware/index.d.ts +3 -3
  188. package/dist/middleware/index.js +3 -4
  189. package/dist/middleware/index.js.map +1 -1
  190. package/dist/middleware-CUxJVUpD.js +1243 -0
  191. package/dist/middleware-CUxJVUpD.js.map +1 -0
  192. package/dist/middleware-Cq0zFMGp.js +253 -0
  193. package/dist/middleware-Cq0zFMGp.js.map +1 -0
  194. package/dist/notifications/index.d.ts +2 -5
  195. package/dist/notifications/index.js +3 -6
  196. package/dist/notifications/index.js.map +1 -1
  197. package/dist/notifications-CdETrtFK.js +869 -0
  198. package/dist/notifications-CdETrtFK.js.map +1 -0
  199. package/dist/observability/index.d.ts +2 -3
  200. package/dist/observability/index.js +3 -4
  201. package/dist/observability/index.js.map +1 -1
  202. package/dist/observability-DBDXipTU.js +272 -0
  203. package/dist/observability-DBDXipTU.js.map +1 -0
  204. package/dist/platform/index.d.ts +2 -1
  205. package/dist/platform/index.js +3 -5
  206. package/dist/platform/index.js.map +1 -1
  207. package/dist/platform-DZwczW7v.js +1510 -0
  208. package/dist/platform-DZwczW7v.js.map +1 -0
  209. package/dist/prisma/generator/index.d.ts +1 -1
  210. package/dist/prisma/generator/index.js +97 -84
  211. package/dist/prisma/generator/index.js.map +1 -1
  212. package/dist/prisma/index.d.ts +4 -7
  213. package/dist/prisma/index.js +5 -12
  214. package/dist/prisma/index.js.map +1 -1
  215. package/dist/prisma-BzOOdt79.js +863 -0
  216. package/dist/prisma-BzOOdt79.js.map +1 -0
  217. package/dist/prisma-extension-Cfl09swM.d.ts +172 -0
  218. package/dist/product-alias/index.d.ts +2 -1
  219. package/dist/product-alias/index.js +3 -3
  220. package/dist/product-alias/index.js.map +1 -1
  221. package/dist/product-alias-BPqtskMq.js +273 -0
  222. package/dist/product-alias-BPqtskMq.js.map +1 -0
  223. package/dist/rbac/index.d.ts +2 -122
  224. package/dist/rbac/index.js +3 -6
  225. package/dist/rbac/index.js.map +1 -1
  226. package/dist/rbac-BB9l9Xph.js +1486 -0
  227. package/dist/rbac-BB9l9Xph.js.map +1 -0
  228. package/dist/resource-caps/index.d.ts +66 -72
  229. package/dist/resource-caps/index.js +430 -5
  230. package/dist/resource-caps/index.js.map +1 -1
  231. package/dist/rolldown-runtime-ad2WFvuA.js +17 -0
  232. package/dist/sdk-Dju9o-sq.js +124 -0
  233. package/dist/sdk-Dju9o-sq.js.map +1 -0
  234. package/dist/security-DIG-95Ic.js +1647 -0
  235. package/dist/security-DIG-95Ic.js.map +1 -0
  236. package/dist/server/index.d.ts +7 -164
  237. package/dist/server/index.js +2000 -1507
  238. package/dist/server/index.js.map +1 -1
  239. package/dist/service-jwt-Bu-WNA_-.js +80 -0
  240. package/dist/service-jwt-Bu-WNA_-.js.map +1 -0
  241. package/dist/services-BWzfz7vG.js +102 -0
  242. package/dist/services-BWzfz7vG.js.map +1 -0
  243. package/dist/sharding/index.d.ts +41 -44
  244. package/dist/sharding/index.js +156 -137
  245. package/dist/sharding/index.js.map +1 -1
  246. package/dist/sharing/index.d.ts +2 -1
  247. package/dist/sharing/index.js +3 -4
  248. package/dist/sharing/index.js.map +1 -1
  249. package/dist/sharing-CflDsSJ-.js +911 -0
  250. package/dist/sharing-CflDsSJ-.js.map +1 -0
  251. package/dist/stub-BqwKn4eh.js +630 -0
  252. package/dist/stub-BqwKn4eh.js.map +1 -0
  253. package/dist/tags/index.d.ts +2 -3
  254. package/dist/tags/index.js +3 -4
  255. package/dist/tags/index.js.map +1 -1
  256. package/dist/tags-B5xpbgsk.js +868 -0
  257. package/dist/{chunk-PBZFAAOM.js.map → tags-B5xpbgsk.js.map} +1 -1
  258. package/dist/telemetry/index.d.ts +64 -76
  259. package/dist/telemetry/index.js +369 -201
  260. package/dist/telemetry/index.js.map +1 -1
  261. package/dist/temporal/index.d.ts +2 -148
  262. package/dist/temporal/index.js +3 -5
  263. package/dist/temporal/index.js.map +1 -1
  264. package/dist/temporal-B534uYK8.js +706 -0
  265. package/dist/temporal-B534uYK8.js.map +1 -0
  266. package/dist/tracker/index.d.ts +5 -11
  267. package/dist/tracker/index.js +5 -20
  268. package/dist/tracker/index.js.map +1 -1
  269. package/dist/tracker-BQVoEFUo.js +839 -0
  270. package/dist/tracker-BQVoEFUo.js.map +1 -0
  271. package/dist/types-BYMYND1L.js +44 -0
  272. package/dist/types-BYMYND1L.js.map +1 -0
  273. package/dist/types-C6EKaS3V.d.ts +106 -0
  274. package/dist/types-CWybW61E.d.ts +323 -0
  275. package/dist/types-C_yfu3XK.d.ts +34 -0
  276. package/dist/types-Cj2RWXbz.js +90 -0
  277. package/dist/types-Cj2RWXbz.js.map +1 -0
  278. package/dist/types-DgaQqvxo.d.ts +70 -0
  279. package/dist/usage/index.d.ts +2 -213
  280. package/dist/usage/index.js +3 -15
  281. package/dist/usage/index.js.map +1 -1
  282. package/dist/usage-BKFZiWQn.js +682 -0
  283. package/dist/usage-BKFZiWQn.js.map +1 -0
  284. package/dist/utils/index.d.ts +2 -1
  285. package/dist/utils/index.js +3 -3
  286. package/dist/utils/index.js.map +1 -1
  287. package/dist/utils-DL85Tnbn.js +500 -0
  288. package/dist/utils-DL85Tnbn.js.map +1 -0
  289. package/dist/validation/index.d.ts +2 -2
  290. package/dist/validation/index.js +3 -3
  291. package/dist/validation/index.js.map +1 -1
  292. package/dist/validation-CPUITdMk.js +762 -0
  293. package/dist/validation-CPUITdMk.js.map +1 -0
  294. package/dist/workspace-extension-COrC0dYi.js +979 -0
  295. package/dist/workspace-extension-COrC0dYi.js.map +1 -0
  296. package/dist/{workspace-extension-BGwTOV_r.d.ts → workspace-extension-DTFTdGVF.d.ts} +43 -45
  297. package/package.json +7 -10
  298. package/dist/EventQueueFactory-GXC3A7DH.js +0 -8
  299. package/dist/EventQueueFactory-GXC3A7DH.js.map +0 -1
  300. package/dist/chunk-4XIBXZ6J.js +0 -276
  301. package/dist/chunk-4XIBXZ6J.js.map +0 -1
  302. package/dist/chunk-554Z4C2K.js +0 -1006
  303. package/dist/chunk-554Z4C2K.js.map +0 -1
  304. package/dist/chunk-5CAFHK2Z.js +0 -107
  305. package/dist/chunk-5CAFHK2Z.js.map +0 -1
  306. package/dist/chunk-63ZXJ42X.js +0 -451
  307. package/dist/chunk-63ZXJ42X.js.map +0 -1
  308. package/dist/chunk-6XEXJATV.js +0 -304
  309. package/dist/chunk-6XEXJATV.js.map +0 -1
  310. package/dist/chunk-726AR6Q7.js +0 -1532
  311. package/dist/chunk-726AR6Q7.js.map +0 -1
  312. package/dist/chunk-A5F6Z5UE.js +0 -21
  313. package/dist/chunk-A5F6Z5UE.js.map +0 -1
  314. package/dist/chunk-A6DE32ZS.js +0 -1507
  315. package/dist/chunk-A6DE32ZS.js.map +0 -1
  316. package/dist/chunk-AXJDGQPE.js +0 -690
  317. package/dist/chunk-AXJDGQPE.js.map +0 -1
  318. package/dist/chunk-BJQOGOVW.js +0 -602
  319. package/dist/chunk-BJQOGOVW.js.map +0 -1
  320. package/dist/chunk-CFXWH2IS.js +0 -52
  321. package/dist/chunk-CFXWH2IS.js.map +0 -1
  322. package/dist/chunk-DRWH5XCJ.js +0 -876
  323. package/dist/chunk-DRWH5XCJ.js.map +0 -1
  324. package/dist/chunk-E4QNLVY4.js +0 -909
  325. package/dist/chunk-E4QNLVY4.js.map +0 -1
  326. package/dist/chunk-EBDHIL7V.js +0 -774
  327. package/dist/chunk-EBDHIL7V.js.map +0 -1
  328. package/dist/chunk-ELU7VL3E.js +0 -245
  329. package/dist/chunk-ELU7VL3E.js.map +0 -1
  330. package/dist/chunk-FZRODKIN.js +0 -31
  331. package/dist/chunk-FZRODKIN.js.map +0 -1
  332. package/dist/chunk-GCIB76AJ.js +0 -882
  333. package/dist/chunk-GCIB76AJ.js.map +0 -1
  334. package/dist/chunk-HC6MPUIH.js +0 -1571
  335. package/dist/chunk-HC6MPUIH.js.map +0 -1
  336. package/dist/chunk-HNMHPSAM.js +0 -272
  337. package/dist/chunk-HNMHPSAM.js.map +0 -1
  338. package/dist/chunk-HTLEGD3Q.js +0 -1480
  339. package/dist/chunk-HTLEGD3Q.js.map +0 -1
  340. package/dist/chunk-I3KOWRT3.js +0 -89
  341. package/dist/chunk-I3KOWRT3.js.map +0 -1
  342. package/dist/chunk-ID3WR4JS.js +0 -509
  343. package/dist/chunk-ID3WR4JS.js.map +0 -1
  344. package/dist/chunk-JS52ZHTK.js +0 -1346
  345. package/dist/chunk-JS52ZHTK.js.map +0 -1
  346. package/dist/chunk-JVMAQOA3.js +0 -521
  347. package/dist/chunk-JVMAQOA3.js.map +0 -1
  348. package/dist/chunk-KH4TRQCO.js +0 -1063
  349. package/dist/chunk-KH4TRQCO.js.map +0 -1
  350. package/dist/chunk-KJOSPVB2.js +0 -57
  351. package/dist/chunk-KJOSPVB2.js.map +0 -1
  352. package/dist/chunk-KO2ZXZ7W.js +0 -61
  353. package/dist/chunk-KO2ZXZ7W.js.map +0 -1
  354. package/dist/chunk-KS2HQCJR.js +0 -56
  355. package/dist/chunk-KS2HQCJR.js.map +0 -1
  356. package/dist/chunk-LA5KPWZ2.js +0 -413
  357. package/dist/chunk-LA5KPWZ2.js.map +0 -1
  358. package/dist/chunk-MESLAC5W.js +0 -574
  359. package/dist/chunk-MESLAC5W.js.map +0 -1
  360. package/dist/chunk-MWPYA2HD.js +0 -94
  361. package/dist/chunk-MWPYA2HD.js.map +0 -1
  362. package/dist/chunk-NUB5GQTU.js +0 -270
  363. package/dist/chunk-NUB5GQTU.js.map +0 -1
  364. package/dist/chunk-OBBCR6WY.js +0 -277
  365. package/dist/chunk-OBBCR6WY.js.map +0 -1
  366. package/dist/chunk-OQDSAOG3.js +0 -1908
  367. package/dist/chunk-OQDSAOG3.js.map +0 -1
  368. package/dist/chunk-OXNCBE7P.js +0 -971
  369. package/dist/chunk-OXNCBE7P.js.map +0 -1
  370. package/dist/chunk-PBZFAAOM.js +0 -941
  371. package/dist/chunk-PN6GIF3R.js +0 -1185
  372. package/dist/chunk-PN6GIF3R.js.map +0 -1
  373. package/dist/chunk-PYD44IHJ.js +0 -728
  374. package/dist/chunk-PYD44IHJ.js.map +0 -1
  375. package/dist/chunk-QVPIACWD.js +0 -679
  376. package/dist/chunk-QVPIACWD.js.map +0 -1
  377. package/dist/chunk-QWNNFE4P.js +0 -41
  378. package/dist/chunk-QWNNFE4P.js.map +0 -1
  379. package/dist/chunk-RU266375.js +0 -327
  380. package/dist/chunk-RU266375.js.map +0 -1
  381. package/dist/chunk-RYTSVGGA.js +0 -1624
  382. package/dist/chunk-RYTSVGGA.js.map +0 -1
  383. package/dist/chunk-RZOFS2BQ.js +0 -225
  384. package/dist/chunk-RZOFS2BQ.js.map +0 -1
  385. package/dist/chunk-SBS4S2PJ.js +0 -100
  386. package/dist/chunk-SBS4S2PJ.js.map +0 -1
  387. package/dist/chunk-SPRG6G6G.js +0 -530
  388. package/dist/chunk-SPRG6G6G.js.map +0 -1
  389. package/dist/chunk-STWFX5E2.js +0 -233
  390. package/dist/chunk-STWFX5E2.js.map +0 -1
  391. package/dist/chunk-UNASM5VJ.js +0 -419
  392. package/dist/chunk-UNASM5VJ.js.map +0 -1
  393. package/dist/chunk-VAT66FJA.js +0 -245
  394. package/dist/chunk-VAT66FJA.js.map +0 -1
  395. package/dist/chunk-VFCMR5GX.js +0 -49
  396. package/dist/chunk-VFCMR5GX.js.map +0 -1
  397. package/dist/chunk-VGAHZKNJ.js +0 -66
  398. package/dist/chunk-VGAHZKNJ.js.map +0 -1
  399. package/dist/chunk-VTJTAAXC.js +0 -627
  400. package/dist/chunk-VTJTAAXC.js.map +0 -1
  401. package/dist/chunk-VXVLKRU6.js +0 -758
  402. package/dist/chunk-VXVLKRU6.js.map +0 -1
  403. package/dist/chunk-WWUU5ETI.js +0 -163
  404. package/dist/chunk-WWUU5ETI.js.map +0 -1
  405. package/dist/chunk-XE4OXN2W.js +0 -10
  406. package/dist/chunk-XE4OXN2W.js.map +0 -1
  407. package/dist/chunk-XOJORS75.js +0 -1853
  408. package/dist/chunk-XOJORS75.js.map +0 -1
  409. package/dist/chunk-YMZEUTD2.js +0 -110
  410. package/dist/chunk-YMZEUTD2.js.map +0 -1
  411. package/dist/chunk-Z77BTSOK.js +0 -617
  412. package/dist/chunk-Z77BTSOK.js.map +0 -1
  413. package/dist/chunk-ZZK3WEDI.js +0 -181
  414. package/dist/chunk-ZZK3WEDI.js.map +0 -1
  415. package/dist/client-CCXpAZ2r.d.ts +0 -89
  416. package/dist/client-DSI_760t.d.ts +0 -36
  417. package/dist/client-JU6T3UPB.js +0 -11
  418. package/dist/client-JU6T3UPB.js.map +0 -1
  419. package/dist/dist-2X4Q7PJA.js +0 -1491
  420. package/dist/dist-2X4Q7PJA.js.map +0 -1
  421. package/dist/env-4UWSUS64.js +0 -4
  422. package/dist/env-4UWSUS64.js.map +0 -1
  423. package/dist/graph-emitter-r5TylDBm.d.ts +0 -47
  424. package/dist/graphql-CMHMQjvd.d.ts +0 -23
  425. package/dist/i18n-Qm2AkPC-.d.ts +0 -33
  426. package/dist/index--yvpa6ay.d.ts +0 -83
  427. package/dist/index-4gKQKZ2B.d.ts +0 -71
  428. package/dist/index-5x0XMKXN.d.ts +0 -149
  429. package/dist/index-B70b5mYS.d.ts +0 -33
  430. package/dist/index-B8KrxO4j.d.ts +0 -755
  431. package/dist/index-BOuDKnqD.d.ts +0 -201
  432. package/dist/index-BTMt4OjA.d.ts +0 -201
  433. package/dist/index-BejbszA7.d.ts +0 -39
  434. package/dist/index-BkeOYZye.d.ts +0 -198
  435. package/dist/index-BuAj5nXg.d.ts +0 -83
  436. package/dist/index-BvkVcW8I.d.ts +0 -349
  437. package/dist/index-CWmH_-RZ.d.ts +0 -247
  438. package/dist/index-CbgWNcus.d.ts +0 -258
  439. package/dist/index-CmfPeQza.d.ts +0 -166
  440. package/dist/index-CmpG-zak.d.ts +0 -607
  441. package/dist/index-CoMKgL-p.d.ts +0 -12
  442. package/dist/index-D8HGwglK.d.ts +0 -541
  443. package/dist/index-DCaVm66D.d.ts +0 -1101
  444. package/dist/index-DE2w7E0d.d.ts +0 -83
  445. package/dist/index-DSOpj8DI.d.ts +0 -17
  446. package/dist/index-DW9q22GH.d.ts +0 -75
  447. package/dist/index-DnjJ9CwI.d.ts +0 -347
  448. package/dist/index-DwMJZ8PP.d.ts +0 -317
  449. package/dist/index-PaojfSdd.d.ts +0 -71
  450. package/dist/index-aHtYvc3i.d.ts +0 -284
  451. package/dist/index-e_18DzAg.d.ts +0 -18
  452. package/dist/index-ffmipXSA.d.ts +0 -55
  453. package/dist/index-joONjwLt.d.ts +0 -33
  454. package/dist/index-kssw5ziY.d.ts +0 -250
  455. package/dist/index-lFffh5-G.d.ts +0 -125
  456. package/dist/index-pxYge_6k.d.ts +0 -79
  457. package/dist/layer-Cv9vSwBx.d.ts +0 -70
  458. package/dist/pino-logger-H4HPW5P6.js +0 -5
  459. package/dist/pino-logger-H4HPW5P6.js.map +0 -1
  460. package/dist/prisma-extension-gYhYriA0.d.ts +0 -174
  461. package/dist/sdk-L75WWUP3.js +0 -156
  462. package/dist/sdk-L75WWUP3.js.map +0 -1
  463. package/dist/shutdown-registry-CW9LryO8.d.ts +0 -10
  464. package/dist/types-Bo2wkjSP.d.ts +0 -35
  465. package/dist/types-DVpvrAhd.d.ts +0 -71
  466. package/dist/types-DgJ4lDYA.d.ts +0 -108
  467. package/dist/types-USOv09qy.d.ts +0 -327
  468. package/dist/workspace-guard-NXVYYBVJ.js +0 -5
  469. package/dist/workspace-guard-NXVYYBVJ.js.map +0 -1
@@ -1,18 +0,0 @@
1
- declare function encrypt(text: string, key: string): string;
2
- declare function decrypt(encryptedText: string, key: string): string;
3
- declare function generateEncryptionKey(): string;
4
- declare function isEncrypted(text: string): boolean;
5
- declare function encryptIfNeeded(text: string, key: string): string;
6
- declare function decryptIfNeeded(text: string, key: string): string;
7
-
8
- declare const index_decrypt: typeof decrypt;
9
- declare const index_decryptIfNeeded: typeof decryptIfNeeded;
10
- declare const index_encrypt: typeof encrypt;
11
- declare const index_encryptIfNeeded: typeof encryptIfNeeded;
12
- declare const index_generateEncryptionKey: typeof generateEncryptionKey;
13
- declare const index_isEncrypted: typeof isEncrypted;
14
- declare namespace index {
15
- export { index_decrypt as decrypt, index_decryptIfNeeded as decryptIfNeeded, index_encrypt as encrypt, index_encryptIfNeeded as encryptIfNeeded, index_generateEncryptionKey as generateEncryptionKey, index_isEncrypted as isEncrypted };
16
- }
17
-
18
- export { decryptIfNeeded as a, encryptIfNeeded as b, isEncrypted as c, decrypt as d, encrypt as e, generateEncryptionKey as g, index as i };
@@ -1,55 +0,0 @@
1
- import { L as LayerConfig, S as ServiceLayer, a as LayerFullConfig, D as DEFAULT_GATEWAY_ROUTING, b as DEFAULT_LAYER_RESOURCES, c as DEFAULT_LAYER_STREAMS, G as GatewayRoutingConfig, d as LayerGatewayConfig, e as LayerResourceUrls } from './layer-Cv9vSwBx.js';
2
-
3
- declare class LayerManager {
4
- private config;
5
- private gatewayConfig;
6
- private resourceConfig;
7
- private routingConfig;
8
- constructor(config: LayerConfig);
9
- private resolveGatewayConfig;
10
- private resolveResourceConfig;
11
- getLayer(): ServiceLayer;
12
- getServiceName(): string;
13
- getServiceIdentity(): string;
14
- getInternalGatewayUrl(): string;
15
- getCrossLayerGatewayUrl(): string;
16
- getEventQueueUrl(): string;
17
- getValkeyUrl(): string;
18
- getTemporalAddress(): string;
19
- getTemporalNamespace(): string;
20
- getRbacGatewayUrl(): string;
21
- getDefaultStreams(): Array<{
22
- name: string;
23
- subjects: string[];
24
- description?: string;
25
- }>;
26
- getFullConfig(): LayerFullConfig;
27
- isWspaceLayer(): boolean;
28
- isGlobalLayer(): boolean;
29
- getOppositeLayer(): ServiceLayer;
30
- }
31
- declare function createLayerManagerFromEnv(): LayerManager;
32
- declare function detectLayerFromServiceName(serviceName: string): ServiceLayer | undefined;
33
- declare function getGatewayUrlForLayer(sourceLayer: ServiceLayer, targetLayer: ServiceLayer, sourceManager?: LayerManager): string;
34
- declare function validateLayerConfig(config: LayerConfig): void;
35
-
36
- declare const index_DEFAULT_GATEWAY_ROUTING: typeof DEFAULT_GATEWAY_ROUTING;
37
- declare const index_DEFAULT_LAYER_RESOURCES: typeof DEFAULT_LAYER_RESOURCES;
38
- declare const index_DEFAULT_LAYER_STREAMS: typeof DEFAULT_LAYER_STREAMS;
39
- declare const index_GatewayRoutingConfig: typeof GatewayRoutingConfig;
40
- declare const index_LayerConfig: typeof LayerConfig;
41
- declare const index_LayerFullConfig: typeof LayerFullConfig;
42
- declare const index_LayerGatewayConfig: typeof LayerGatewayConfig;
43
- type index_LayerManager = LayerManager;
44
- declare const index_LayerManager: typeof LayerManager;
45
- declare const index_LayerResourceUrls: typeof LayerResourceUrls;
46
- declare const index_ServiceLayer: typeof ServiceLayer;
47
- declare const index_createLayerManagerFromEnv: typeof createLayerManagerFromEnv;
48
- declare const index_detectLayerFromServiceName: typeof detectLayerFromServiceName;
49
- declare const index_getGatewayUrlForLayer: typeof getGatewayUrlForLayer;
50
- declare const index_validateLayerConfig: typeof validateLayerConfig;
51
- declare namespace index {
52
- export { index_DEFAULT_GATEWAY_ROUTING as DEFAULT_GATEWAY_ROUTING, index_DEFAULT_LAYER_RESOURCES as DEFAULT_LAYER_RESOURCES, index_DEFAULT_LAYER_STREAMS as DEFAULT_LAYER_STREAMS, index_GatewayRoutingConfig as GatewayRoutingConfig, index_LayerConfig as LayerConfig, index_LayerFullConfig as LayerFullConfig, index_LayerGatewayConfig as LayerGatewayConfig, index_LayerManager as LayerManager, index_LayerResourceUrls as LayerResourceUrls, index_ServiceLayer as ServiceLayer, index_createLayerManagerFromEnv as createLayerManagerFromEnv, index_detectLayerFromServiceName as detectLayerFromServiceName, index_getGatewayUrlForLayer as getGatewayUrlForLayer, index_validateLayerConfig as validateLayerConfig };
53
- }
54
-
55
- export { LayerManager as L, createLayerManagerFromEnv as c, detectLayerFromServiceName as d, getGatewayUrlForLayer as g, index as i, validateLayerConfig as v };
@@ -1,33 +0,0 @@
1
- import { DatabaseService, Logger, PrismaTransactionClient, createDatabaseService } from './graphql/services/index.js';
2
-
3
- interface RedisStreamsEventTarget {
4
- addEventListener(type: string, listener: (event: Event) => void): void;
5
- removeEventListener(type: string, listener: (event: Event) => void): void;
6
- dispatchEvent(event: Event): boolean;
7
- close(): Promise<void>;
8
- isHealthy(): boolean;
9
- }
10
- interface RedisStreamsEventTargetOptions {
11
- redisUrl?: string;
12
- password?: string;
13
- subjectPrefix?: string;
14
- maxLen?: number;
15
- serializer?: {
16
- stringify: (data: unknown) => string | Promise<string>;
17
- parse: (msg: string) => unknown | Promise<unknown>;
18
- };
19
- }
20
- declare function createRedisStreamsEventTarget(options?: RedisStreamsEventTargetOptions): Promise<RedisStreamsEventTarget>;
21
-
22
- declare const index_DatabaseService: typeof DatabaseService;
23
- declare const index_Logger: typeof Logger;
24
- declare const index_PrismaTransactionClient: typeof PrismaTransactionClient;
25
- type index_RedisStreamsEventTarget = RedisStreamsEventTarget;
26
- type index_RedisStreamsEventTargetOptions = RedisStreamsEventTargetOptions;
27
- declare const index_createDatabaseService: typeof createDatabaseService;
28
- declare const index_createRedisStreamsEventTarget: typeof createRedisStreamsEventTarget;
29
- declare namespace index {
30
- export { index_DatabaseService as DatabaseService, index_Logger as Logger, index_PrismaTransactionClient as PrismaTransactionClient, type index_RedisStreamsEventTarget as RedisStreamsEventTarget, type index_RedisStreamsEventTargetOptions as RedisStreamsEventTargetOptions, index_createDatabaseService as createDatabaseService, index_createRedisStreamsEventTarget as createRedisStreamsEventTarget };
31
- }
32
-
33
- export { type RedisStreamsEventTarget as R, type RedisStreamsEventTargetOptions as a, createRedisStreamsEventTarget as c, index as i };
@@ -1,250 +0,0 @@
1
- declare enum ShareVisibility {
2
- PRIVATE = "PRIVATE",
3
- SHARED_WITH_USERS = "SHARED_WITH_USERS",
4
- SHARED_WITH_VIBE = "SHARED_WITH_VIBE",
5
- PUBLIC_LINK = "PUBLIC_LINK"
6
- }
7
- declare enum ShareRole {
8
- VIEWER = "VIEWER",
9
- COMMENTER = "COMMENTER",
10
- EDITOR = "EDITOR",
11
- MANAGER = "MANAGER"
12
- }
13
- declare enum ShareStatus {
14
- PENDING = "PENDING",
15
- ACCEPTED = "ACCEPTED",
16
- REVOKED = "REVOKED",
17
- EXPIRED = "EXPIRED"
18
- }
19
- declare const ROLE_ORDER: Record<ShareRole, number>;
20
- declare function roleAtLeast(role: ShareRole, required: ShareRole): boolean;
21
- declare function maxRole(a: ShareRole, b: ShareRole): ShareRole;
22
- interface ShareCapabilities {
23
- canView: boolean;
24
- canComment: boolean;
25
- canEdit: boolean;
26
- canManage: boolean;
27
- canExecute: boolean;
28
- }
29
- declare const ROLE_CAPABILITIES: Record<ShareRole, ShareCapabilities>;
30
- declare function capabilitiesFor(role: ShareRole): ShareCapabilities;
31
- declare const RESOURCE_CAPABILITY_MAP: Record<string, Partial<Record<ShareRole, string>>>;
32
- declare function roleToLegacy(resourceType: string, role: ShareRole): string;
33
- declare function legacyToRole(resourceType: string, legacy: string): ShareRole;
34
- declare function normalizeStatus(status: string): ShareStatus;
35
- interface ShareGrantRecord {
36
- id: string;
37
- workspaceId: string;
38
- resourceType: string;
39
- resourceId: string;
40
- granteeUserId: string | null;
41
- granteeEmail: string | null;
42
- role: ShareRole;
43
- visibility: ShareVisibility;
44
- status: ShareStatus;
45
- token: string | null;
46
- expiresAt: Date | null;
47
- message: string | null;
48
- createdBy: string;
49
- onBehalfOf: string;
50
- acceptedAt: Date | null;
51
- acceptedBy: string | null;
52
- revokedAt: Date | null;
53
- revokedBy: string | null;
54
- lastAccessAt: Date | null;
55
- accessCount: number;
56
- context: unknown;
57
- createdAt: Date;
58
- updatedAt: Date;
59
- deletedAt: Date | null;
60
- }
61
- interface ShareGrantDelegate {
62
- findFirst(args: {
63
- where: Record<string, unknown>;
64
- orderBy?: unknown;
65
- }): Promise<ShareGrantRecord | null>;
66
- findMany(args: {
67
- where: Record<string, unknown>;
68
- orderBy?: unknown;
69
- take?: number;
70
- skip?: number;
71
- }): Promise<ShareGrantRecord[]>;
72
- create(args: {
73
- data: Record<string, unknown>;
74
- }): Promise<ShareGrantRecord>;
75
- update(args: {
76
- where: Record<string, unknown>;
77
- data: Record<string, unknown>;
78
- }): Promise<ShareGrantRecord>;
79
- updateMany(args: {
80
- where: Record<string, unknown>;
81
- data: Record<string, unknown>;
82
- }): Promise<{
83
- count: number;
84
- }>;
85
- count(args: {
86
- where: Record<string, unknown>;
87
- }): Promise<number>;
88
- }
89
- interface ResourceMeta {
90
- ownerId: string;
91
- vibeId: string | null;
92
- visibility: ShareVisibility;
93
- name: string;
94
- }
95
- interface SendShareEmailArgs {
96
- recipientEmail: string | null;
97
- recipientUserId: string | null;
98
- resourceType: string;
99
- resourceName: string;
100
- role: ShareRole;
101
- acceptUrl: string;
102
- message: string | null;
103
- sharerName: string | null;
104
- idempotencyKey: string;
105
- }
106
- interface ShareServiceDeps {
107
- resolveUserByEmail(email: string): Promise<string | null>;
108
- isWorkspaceMember(userId: string, workspaceId: string): Promise<boolean | null>;
109
- hasVibeAccess(actorId: string, vibeId: string, workspaceId: string): Promise<boolean>;
110
- loadResourceMeta(resourceId: string): Promise<ResourceMeta | null>;
111
- sendShareEmail(args: SendShareEmailArgs): Promise<void>;
112
- buildAcceptUrl(token: string): string;
113
- }
114
- interface ShareServiceOptions {
115
- sharedWithVibeRole?: ShareRole;
116
- requireWorkspaceMember?: boolean;
117
- }
118
- interface ShareActor {
119
- id: string;
120
- email?: string | null;
121
- name?: string | null;
122
- }
123
- interface CreateUserShareInput {
124
- resourceId: string;
125
- granteeEmail: string;
126
- role: ShareRole;
127
- message?: string | null;
128
- expiresAt?: Date | null;
129
- }
130
- interface CreateLinkShareInput {
131
- resourceId: string;
132
- role: ShareRole;
133
- expiresAt?: Date | null;
134
- }
135
- type AccessVia = 'owner' | 'public_link' | 'vibe' | 'user_grant' | 'none';
136
- interface AccessResult {
137
- allowed: boolean;
138
- effectiveRole: ShareRole | null;
139
- via: AccessVia;
140
- }
141
-
142
- interface ShareServiceConfig {
143
- prisma: ShareGrantDelegate;
144
- resourceType: string;
145
- workspaceId: string;
146
- deps: ShareServiceDeps;
147
- options?: ShareServiceOptions;
148
- }
149
- declare class ShareService {
150
- private readonly prisma;
151
- private readonly resourceType;
152
- private readonly workspaceId;
153
- private readonly deps;
154
- private readonly sharedWithVibeRole;
155
- private readonly requireWorkspaceMember;
156
- constructor(config: ShareServiceConfig);
157
- resolveAccess(actorId: string, resourceId: string): Promise<AccessResult>;
158
- private queryActiveAccessGrants;
159
- canAccess(actorId: string, resourceId: string, requiredRole: ShareRole): Promise<boolean>;
160
- assertAccess(actorId: string, resourceId: string, requiredRole: ShareRole, mode?: 'read' | 'mutate'): Promise<void>;
161
- createUserShare(actor: ShareActor, input: CreateUserShareInput): Promise<ShareGrantRecord>;
162
- createLinkShare(actor: ShareActor, input: CreateLinkShareInput): Promise<ShareGrantRecord>;
163
- acceptShare(token: string, actor: ShareActor): Promise<ShareGrantRecord>;
164
- declineShare(token: string, actor: ShareActor): Promise<boolean>;
165
- shareGrantByToken(token: string): Promise<ShareGrantRecord | null>;
166
- revoke(grantId: string, actor: ShareActor): Promise<ShareGrantRecord>;
167
- updateRole(grantId: string, role: ShareRole, actor: ShareActor): Promise<ShareGrantRecord>;
168
- resourceShares(resourceId: string): Promise<ShareGrantRecord[]>;
169
- sharesSharedWithMe(actorId: string, opts?: {
170
- resourceType?: string;
171
- take?: number;
172
- skip?: number;
173
- }): Promise<ShareGrantRecord[]>;
174
- listAccessibleResourceIds(actorId: string): Promise<string[]>;
175
- listPublicResourceIds(): Promise<string[]>;
176
- touchAccess(grantId: string): Promise<void>;
177
- private findActiveByToken;
178
- private fireShareEmail;
179
- }
180
-
181
- declare const SHARE_EMAIL_TEMPLATE_SLUG = "resource-shared";
182
- declare const RESOURCE_TYPE_LABELS: Record<string, string>;
183
- declare function resourceTypeLabel(resourceType: string): string;
184
- declare function roleLabel(role: ShareRole): string;
185
- declare function buildShareEmailVariables(args: SendShareEmailArgs): Record<string, unknown>;
186
- interface ShareEmailNotifier {
187
- sendWithTemplate(input: {
188
- templateSlug: string;
189
- variables: Record<string, unknown>;
190
- recipient: {
191
- email?: string;
192
- userId?: string;
193
- name?: string;
194
- };
195
- }): Promise<string>;
196
- }
197
- declare function makeSendShareEmail(notifier: ShareEmailNotifier): (args: SendShareEmailArgs) => Promise<void>;
198
-
199
- declare const SHARE_GRANT_SDL = "\n enum ShareRole {\n VIEWER\n COMMENTER\n EDITOR\n MANAGER\n }\n\n enum ShareGrantVisibility {\n PRIVATE\n SHARED_WITH_USERS\n SHARED_WITH_VIBE\n PUBLIC_LINK\n }\n\n enum ShareGrantStatus {\n PENDING\n ACCEPTED\n REVOKED\n EXPIRED\n }\n\n type ShareCapabilities {\n canView: Boolean!\n canComment: Boolean!\n canEdit: Boolean!\n canManage: Boolean!\n canExecute: Boolean!\n }\n\n type ShareGrant @key(fields: \"id\") {\n id: ID!\n resourceType: String!\n resourceId: ID!\n granteeUserId: ID\n granteeEmail: String\n role: ShareRole!\n visibility: ShareGrantVisibility!\n status: ShareGrantStatus!\n expiresAt: DateTime\n message: String\n createdBy: ID!\n acceptedAt: DateTime\n createdAt: DateTime!\n \"Public accept/link URL (present for invites and public links).\"\n shareUrl: String\n \"Capabilities implied by this grant's role.\"\n capabilities: ShareCapabilities!\n }\n\n type ShareGrantList {\n items: [ShareGrant!]!\n total: Int!\n }\n\n \"Safe, pre-login preview of a share invitation.\"\n type ShareGrantPreview {\n id: ID!\n resourceType: String!\n resourceName: String\n role: ShareRole!\n visibility: ShareGrantVisibility!\n status: ShareGrantStatus!\n sharerName: String\n expiresAt: DateTime\n }\n\n input ShareEntityInput {\n resourceId: ID!\n email: String!\n role: ShareRole!\n message: String\n expiresAt: DateTime\n }\n\n input UpdateShareRoleInput {\n resourceId: ID!\n shareId: ID!\n role: ShareRole!\n }\n\n input RevokeShareInput {\n resourceId: ID!\n shareId: ID!\n }\n\n input CreateShareLinkInput {\n resourceId: ID!\n role: ShareRole!\n expiresAt: DateTime\n }\n\n extend type Query {\n \"Pre-login preview of a share invite by token.\"\n shareGrantByToken(token: String!): ShareGrantPreview @rbac(public: true)\n \"Grants where the current user is the accepted grantee.\"\n sharesSharedWithMe(resourceType: String, pagination: PaginationInput): ShareGrantList! @rbac(scopeType: \"self\")\n }\n\n extend type Mutation {\n \"Accept a share invitation (recipient identified by the opaque token + email/id).\"\n acceptShare(token: String!): ShareGrant! @rbac(public: true)\n \"Decline a share invitation.\"\n declineShare(token: String!): Boolean! @rbac(public: true)\n }\n";
200
- declare function buildPerEntityShareSdl(entity: string, rbacResource: string): string;
201
-
202
- declare const SHARE_GRANT_PRISMA = "\nenum ShareRole {\n VIEWER\n COMMENTER\n EDITOR\n MANAGER\n}\n\nenum ShareGrantVisibility {\n PRIVATE\n SHARED_WITH_USERS\n SHARED_WITH_VIBE\n PUBLIC_LINK\n}\n\nenum ShareGrantStatus {\n PENDING\n ACCEPTED\n REVOKED\n EXPIRED\n}\n\n/// Generic resource share grant. `resourceType` discriminates the entity; one\n/// row per (resource, recipient) or per public link. See @burdenoff/be-sdk/sharing.\nmodel ShareGrant {\n id String @id @default(uuid())\n workspaceId String @map(\"workspace_id\") @db.VarChar(255)\n resourceType String @map(\"resource_type\") @db.VarChar(64)\n resourceId String @map(\"resource_id\") @db.VarChar(255)\n granteeUserId String? @map(\"grantee_user_id\") @db.VarChar(255)\n granteeEmail String? @map(\"grantee_email\") @db.VarChar(320)\n role ShareRole @default(VIEWER)\n visibility ShareGrantVisibility @default(SHARED_WITH_USERS)\n status ShareGrantStatus @default(PENDING)\n token String? @unique @db.VarChar(64)\n expiresAt DateTime? @map(\"expires_at\")\n message String? @db.Text\n createdBy String @map(\"created_by\") @db.VarChar(255)\n onBehalfOf String @map(\"on_behalf_of\") @db.VarChar(255)\n acceptedAt DateTime? @map(\"accepted_at\")\n acceptedBy String? @map(\"accepted_by\") @db.VarChar(255)\n revokedAt DateTime? @map(\"revoked_at\")\n revokedBy String? @map(\"revoked_by\") @db.VarChar(255)\n lastAccessAt DateTime? @map(\"last_access_at\")\n accessCount Int @default(0) @map(\"access_count\")\n context Json?\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n deletedAt DateTime? @map(\"deleted_at\")\n\n @@index([workspaceId])\n @@index([resourceType, resourceId])\n @@index([granteeUserId])\n @@index([granteeEmail])\n @@index([status])\n @@index([expiresAt])\n @@index([resourceType, resourceId, status])\n @@map(\"share_grants\")\n}\n";
203
- declare const SHARE_GRANT_PARTIAL_UNIQUE_SQL = "\nCREATE UNIQUE INDEX IF NOT EXISTS share_grants_active_user_uq\n ON share_grants (resource_type, resource_id, grantee_user_id)\n WHERE status IN ('PENDING', 'ACCEPTED') AND deleted_at IS NULL AND grantee_user_id IS NOT NULL;\n";
204
-
205
- type index_AccessResult = AccessResult;
206
- type index_AccessVia = AccessVia;
207
- type index_CreateLinkShareInput = CreateLinkShareInput;
208
- type index_CreateUserShareInput = CreateUserShareInput;
209
- declare const index_RESOURCE_CAPABILITY_MAP: typeof RESOURCE_CAPABILITY_MAP;
210
- declare const index_RESOURCE_TYPE_LABELS: typeof RESOURCE_TYPE_LABELS;
211
- declare const index_ROLE_CAPABILITIES: typeof ROLE_CAPABILITIES;
212
- declare const index_ROLE_ORDER: typeof ROLE_ORDER;
213
- type index_ResourceMeta = ResourceMeta;
214
- declare const index_SHARE_EMAIL_TEMPLATE_SLUG: typeof SHARE_EMAIL_TEMPLATE_SLUG;
215
- declare const index_SHARE_GRANT_PARTIAL_UNIQUE_SQL: typeof SHARE_GRANT_PARTIAL_UNIQUE_SQL;
216
- declare const index_SHARE_GRANT_PRISMA: typeof SHARE_GRANT_PRISMA;
217
- declare const index_SHARE_GRANT_SDL: typeof SHARE_GRANT_SDL;
218
- type index_SendShareEmailArgs = SendShareEmailArgs;
219
- type index_ShareActor = ShareActor;
220
- type index_ShareCapabilities = ShareCapabilities;
221
- type index_ShareEmailNotifier = ShareEmailNotifier;
222
- type index_ShareGrantDelegate = ShareGrantDelegate;
223
- type index_ShareGrantRecord = ShareGrantRecord;
224
- type index_ShareRole = ShareRole;
225
- declare const index_ShareRole: typeof ShareRole;
226
- type index_ShareService = ShareService;
227
- declare const index_ShareService: typeof ShareService;
228
- type index_ShareServiceConfig = ShareServiceConfig;
229
- type index_ShareServiceDeps = ShareServiceDeps;
230
- type index_ShareServiceOptions = ShareServiceOptions;
231
- type index_ShareStatus = ShareStatus;
232
- declare const index_ShareStatus: typeof ShareStatus;
233
- type index_ShareVisibility = ShareVisibility;
234
- declare const index_ShareVisibility: typeof ShareVisibility;
235
- declare const index_buildPerEntityShareSdl: typeof buildPerEntityShareSdl;
236
- declare const index_buildShareEmailVariables: typeof buildShareEmailVariables;
237
- declare const index_capabilitiesFor: typeof capabilitiesFor;
238
- declare const index_legacyToRole: typeof legacyToRole;
239
- declare const index_makeSendShareEmail: typeof makeSendShareEmail;
240
- declare const index_maxRole: typeof maxRole;
241
- declare const index_normalizeStatus: typeof normalizeStatus;
242
- declare const index_resourceTypeLabel: typeof resourceTypeLabel;
243
- declare const index_roleAtLeast: typeof roleAtLeast;
244
- declare const index_roleLabel: typeof roleLabel;
245
- declare const index_roleToLegacy: typeof roleToLegacy;
246
- declare namespace index {
247
- export { type index_AccessResult as AccessResult, type index_AccessVia as AccessVia, type index_CreateLinkShareInput as CreateLinkShareInput, type index_CreateUserShareInput as CreateUserShareInput, index_RESOURCE_CAPABILITY_MAP as RESOURCE_CAPABILITY_MAP, index_RESOURCE_TYPE_LABELS as RESOURCE_TYPE_LABELS, index_ROLE_CAPABILITIES as ROLE_CAPABILITIES, index_ROLE_ORDER as ROLE_ORDER, type index_ResourceMeta as ResourceMeta, index_SHARE_EMAIL_TEMPLATE_SLUG as SHARE_EMAIL_TEMPLATE_SLUG, index_SHARE_GRANT_PARTIAL_UNIQUE_SQL as SHARE_GRANT_PARTIAL_UNIQUE_SQL, index_SHARE_GRANT_PRISMA as SHARE_GRANT_PRISMA, index_SHARE_GRANT_SDL as SHARE_GRANT_SDL, type index_SendShareEmailArgs as SendShareEmailArgs, type index_ShareActor as ShareActor, type index_ShareCapabilities as ShareCapabilities, type index_ShareEmailNotifier as ShareEmailNotifier, type index_ShareGrantDelegate as ShareGrantDelegate, type index_ShareGrantRecord as ShareGrantRecord, index_ShareRole as ShareRole, index_ShareService as ShareService, type index_ShareServiceConfig as ShareServiceConfig, type index_ShareServiceDeps as ShareServiceDeps, type index_ShareServiceOptions as ShareServiceOptions, index_ShareStatus as ShareStatus, index_ShareVisibility as ShareVisibility, index_buildPerEntityShareSdl as buildPerEntityShareSdl, index_buildShareEmailVariables as buildShareEmailVariables, index_capabilitiesFor as capabilitiesFor, index_legacyToRole as legacyToRole, index_makeSendShareEmail as makeSendShareEmail, index_maxRole as maxRole, index_normalizeStatus as normalizeStatus, index_resourceTypeLabel as resourceTypeLabel, index_roleAtLeast as roleAtLeast, index_roleLabel as roleLabel, index_roleToLegacy as roleToLegacy };
248
- }
249
-
250
- export { type AccessResult as A, legacyToRole as B, type CreateLinkShareInput as C, makeSendShareEmail as D, maxRole as E, normalizeStatus as F, resourceTypeLabel as G, roleAtLeast as H, roleLabel as I, roleToLegacy as J, RESOURCE_CAPABILITY_MAP as R, SHARE_EMAIL_TEMPLATE_SLUG as S, type AccessVia as a, type CreateUserShareInput as b, RESOURCE_TYPE_LABELS as c, ROLE_CAPABILITIES as d, ROLE_ORDER as e, type ResourceMeta as f, SHARE_GRANT_PARTIAL_UNIQUE_SQL as g, SHARE_GRANT_PRISMA as h, index as i, SHARE_GRANT_SDL as j, type SendShareEmailArgs as k, type ShareActor as l, type ShareCapabilities as m, type ShareEmailNotifier as n, type ShareGrantDelegate as o, type ShareGrantRecord as p, ShareRole as q, ShareService as r, type ShareServiceConfig as s, type ShareServiceDeps as t, type ShareServiceOptions as u, ShareStatus as v, ShareVisibility as w, buildPerEntityShareSdl as x, buildShareEmailVariables as y, capabilitiesFor as z };
@@ -1,125 +0,0 @@
1
- import { I as I18n, c as createI18n, g as getI18n, i as initializeI18n } from './i18n-Qm2AkPC-.js';
2
- import { b as I18nContext, d as TranslationVariables, L as LocaleCode, e as ParsedLocale, c as LanguageCode, f as TranslationDictionary, F as FlatTranslationMap, a as I18nConfig, I as II18n, g as LanguageInfo, h as PluralForms, P as PluralTranslateFunction, R as RTL_LANGUAGES, i as TextDirection, T as TranslateFunction, j as getTextDirection } from './types-DVpvrAhd.js';
3
-
4
- interface I18nCapableContext {
5
- i18n?: I18nContext;
6
- }
7
- declare function t(ctx: I18nCapableContext, key: string, defaultMessage: string, variables?: TranslationVariables): string;
8
- type Translator = (key: string, defaultMessage: string, variables?: TranslationVariables) => string;
9
- declare function createTranslator(ctx: I18nCapableContext): Translator;
10
- declare function hasI18n(ctx: I18nCapableContext): ctx is I18nCapableContext & {
11
- i18n: I18nContext;
12
- };
13
- declare function getLocale(ctx: I18nCapableContext, defaultLocale?: string): string;
14
- declare function getLanguage(ctx: I18nCapableContext, defaultLanguage?: string): string;
15
-
16
- declare function parseLocaleString(localeStr: string): ParsedLocale | null;
17
- declare function parseAcceptLanguage(header: string | null | undefined): ParsedLocale[];
18
- declare function extractLocaleFromRequest(request: Request, defaultLocale?: LocaleCode): ParsedLocale;
19
- declare function normalizeLocale(locale: string): LocaleCode;
20
- declare function getLanguageFromLocale(locale: LocaleCode): LanguageCode;
21
- declare function getRegionFromLocale(locale: LocaleCode): string | undefined;
22
- declare function findBestMatch(requested: ParsedLocale[], available: LocaleCode[], defaultLocale: LocaleCode): LocaleCode;
23
-
24
- declare function flattenDictionary(obj: TranslationDictionary, prefix?: string): FlatTranslationMap;
25
- declare function loadTranslationFile(filePath: string, baseDir: string): Promise<TranslationDictionary>;
26
- declare function loadTranslationsForLocale(config: I18nConfig, locale: LocaleCode): Promise<FlatTranslationMap>;
27
- declare function discoverLocales(localesPath: string): Promise<LocaleCode[]>;
28
- declare function preloadAllTranslations(config: I18nConfig): Promise<void>;
29
- declare function clearTranslationCache(namespace?: string): void;
30
- declare function getCachedTranslations(namespace: string | undefined, locale: LocaleCode): FlatTranslationMap | undefined;
31
- declare function setCachedTranslations(namespace: string | undefined, locale: LocaleCode, translations: FlatTranslationMap): void;
32
-
33
- declare const Locales: {
34
- readonly EN_US: "en-US";
35
- readonly EN_GB: "en-GB";
36
- readonly EN_AU: "en-AU";
37
- readonly EN_CA: "en-CA";
38
- readonly EN_IN: "en-IN";
39
- readonly ES_ES: "es-ES";
40
- readonly ES_MX: "es-MX";
41
- readonly FR_FR: "fr-FR";
42
- readonly FR_CA: "fr-CA";
43
- readonly DE_DE: "de-DE";
44
- readonly DE_AT: "de-AT";
45
- readonly DE_CH: "de-CH";
46
- readonly IT_IT: "it-IT";
47
- readonly PT_PT: "pt-PT";
48
- readonly PT_BR: "pt-BR";
49
- readonly RU_RU: "ru-RU";
50
- readonly ZH_CN: "zh-CN";
51
- readonly ZH_TW: "zh-TW";
52
- readonly ZH_HK: "zh-HK";
53
- readonly JA_JP: "ja-JP";
54
- readonly KO_KR: "ko-KR";
55
- readonly AR_SA: "ar-SA";
56
- readonly AR_AE: "ar-AE";
57
- readonly HI_IN: "hi-IN";
58
- readonly TA_IN: "ta-IN";
59
- readonly NL_NL: "nl-NL";
60
- readonly PL_PL: "pl-PL";
61
- readonly TR_TR: "tr-TR";
62
- readonly VI_VN: "vi-VN";
63
- readonly TH_TH: "th-TH";
64
- readonly ID_ID: "id-ID";
65
- readonly HE_IL: "he-IL";
66
- readonly UK_UA: "uk-UA";
67
- };
68
- declare const DEFAULT_I18N_CONFIG: {
69
- readonly defaultLocale: "en-US";
70
- readonly fallbackLocale: "en-US";
71
- readonly enableCache: true;
72
- readonly lazyLoad: false;
73
- readonly logMissing: true;
74
- readonly returnKeyOnMissing: true;
75
- };
76
-
77
- declare const index_DEFAULT_I18N_CONFIG: typeof DEFAULT_I18N_CONFIG;
78
- declare const index_FlatTranslationMap: typeof FlatTranslationMap;
79
- declare const index_I18n: typeof I18n;
80
- type index_I18nCapableContext = I18nCapableContext;
81
- declare const index_I18nConfig: typeof I18nConfig;
82
- declare const index_I18nContext: typeof I18nContext;
83
- declare const index_II18n: typeof II18n;
84
- declare const index_LanguageCode: typeof LanguageCode;
85
- declare const index_LanguageInfo: typeof LanguageInfo;
86
- declare const index_LocaleCode: typeof LocaleCode;
87
- declare const index_Locales: typeof Locales;
88
- declare const index_ParsedLocale: typeof ParsedLocale;
89
- declare const index_PluralForms: typeof PluralForms;
90
- declare const index_PluralTranslateFunction: typeof PluralTranslateFunction;
91
- declare const index_RTL_LANGUAGES: typeof RTL_LANGUAGES;
92
- declare const index_TextDirection: typeof TextDirection;
93
- declare const index_TranslateFunction: typeof TranslateFunction;
94
- declare const index_TranslationDictionary: typeof TranslationDictionary;
95
- declare const index_TranslationVariables: typeof TranslationVariables;
96
- type index_Translator = Translator;
97
- declare const index_clearTranslationCache: typeof clearTranslationCache;
98
- declare const index_createI18n: typeof createI18n;
99
- declare const index_createTranslator: typeof createTranslator;
100
- declare const index_discoverLocales: typeof discoverLocales;
101
- declare const index_extractLocaleFromRequest: typeof extractLocaleFromRequest;
102
- declare const index_findBestMatch: typeof findBestMatch;
103
- declare const index_flattenDictionary: typeof flattenDictionary;
104
- declare const index_getCachedTranslations: typeof getCachedTranslations;
105
- declare const index_getI18n: typeof getI18n;
106
- declare const index_getLanguage: typeof getLanguage;
107
- declare const index_getLanguageFromLocale: typeof getLanguageFromLocale;
108
- declare const index_getLocale: typeof getLocale;
109
- declare const index_getRegionFromLocale: typeof getRegionFromLocale;
110
- declare const index_getTextDirection: typeof getTextDirection;
111
- declare const index_hasI18n: typeof hasI18n;
112
- declare const index_initializeI18n: typeof initializeI18n;
113
- declare const index_loadTranslationFile: typeof loadTranslationFile;
114
- declare const index_loadTranslationsForLocale: typeof loadTranslationsForLocale;
115
- declare const index_normalizeLocale: typeof normalizeLocale;
116
- declare const index_parseAcceptLanguage: typeof parseAcceptLanguage;
117
- declare const index_parseLocaleString: typeof parseLocaleString;
118
- declare const index_preloadAllTranslations: typeof preloadAllTranslations;
119
- declare const index_setCachedTranslations: typeof setCachedTranslations;
120
- declare const index_t: typeof t;
121
- declare namespace index {
122
- export { index_DEFAULT_I18N_CONFIG as DEFAULT_I18N_CONFIG, index_FlatTranslationMap as FlatTranslationMap, index_I18n as I18n, type index_I18nCapableContext as I18nCapableContext, index_I18nConfig as I18nConfig, index_I18nContext as I18nContext, index_II18n as II18n, index_LanguageCode as LanguageCode, index_LanguageInfo as LanguageInfo, index_LocaleCode as LocaleCode, index_Locales as Locales, index_ParsedLocale as ParsedLocale, index_PluralForms as PluralForms, index_PluralTranslateFunction as PluralTranslateFunction, index_RTL_LANGUAGES as RTL_LANGUAGES, index_TextDirection as TextDirection, index_TranslateFunction as TranslateFunction, index_TranslationDictionary as TranslationDictionary, index_TranslationVariables as TranslationVariables, type index_Translator as Translator, index_clearTranslationCache as clearTranslationCache, index_createI18n as createI18n, index_createTranslator as createTranslator, index_discoverLocales as discoverLocales, index_extractLocaleFromRequest as extractLocaleFromRequest, index_findBestMatch as findBestMatch, index_flattenDictionary as flattenDictionary, index_getCachedTranslations as getCachedTranslations, index_getI18n as getI18n, index_getLanguage as getLanguage, index_getLanguageFromLocale as getLanguageFromLocale, index_getLocale as getLocale, index_getRegionFromLocale as getRegionFromLocale, index_getTextDirection as getTextDirection, index_hasI18n as hasI18n, index_initializeI18n as initializeI18n, index_loadTranslationFile as loadTranslationFile, index_loadTranslationsForLocale as loadTranslationsForLocale, index_normalizeLocale as normalizeLocale, index_parseAcceptLanguage as parseAcceptLanguage, index_parseLocaleString as parseLocaleString, index_preloadAllTranslations as preloadAllTranslations, index_setCachedTranslations as setCachedTranslations, index_t as t };
123
- }
124
-
125
- export { DEFAULT_I18N_CONFIG as D, type I18nCapableContext as I, Locales as L, type Translator as T, getLocale as a, clearTranslationCache as b, createTranslator as c, discoverLocales as d, extractLocaleFromRequest as e, findBestMatch as f, getLanguage as g, hasI18n as h, index as i, flattenDictionary as j, getCachedTranslations as k, getLanguageFromLocale as l, getRegionFromLocale as m, loadTranslationFile as n, loadTranslationsForLocale as o, normalizeLocale as p, parseAcceptLanguage as q, parseLocaleString as r, preloadAllTranslations as s, t, setCachedTranslations as u };
@@ -1,79 +0,0 @@
1
- import { a as SDKContext } from './index-DE2w7E0d.js';
2
-
3
- declare function redactSensitiveString(value: string): string;
4
- declare function redactSensitiveFields<T>(value: T): T;
5
- type LogLevel = 'debug' | 'info' | 'warn' | 'error';
6
- interface LogMeta {
7
- [key: string]: unknown;
8
- context?: SDKContext;
9
- timestamp?: string;
10
- correlationId?: string;
11
- }
12
- interface LoggerConfig {
13
- level: LogLevel;
14
- console: boolean;
15
- transport?: LoggerTransport;
16
- }
17
- interface LoggerTransport {
18
- log(level: string, message: string, meta?: Record<string, unknown>): void;
19
- }
20
- declare class Logger {
21
- private level;
22
- private enableConsole;
23
- private context?;
24
- private transport?;
25
- constructor(config?: LoggerConfig);
26
- setContext(context: SDKContext): void;
27
- getContext(): SDKContext | undefined;
28
- debug(message: string, ...args: unknown[]): void;
29
- info(message: string, ...args: unknown[]): void;
30
- warn(message: string, ...args: unknown[]): void;
31
- error(message: string, ...args: unknown[]): void;
32
- log(message: string, ...args: unknown[]): void;
33
- trace(message: string, ...args: unknown[]): void;
34
- private parseArgs;
35
- private logInternal;
36
- private logToConsole;
37
- private shouldLog;
38
- createChild(childContext: Partial<SDKContext>): Logger;
39
- child(context: string): Logger;
40
- withMetadata(metadata: Record<string, unknown>): {
41
- log: (message: string, ...args: unknown[]) => void;
42
- error: (message: string, ...args: unknown[]) => void;
43
- warn: (message: string, ...args: unknown[]) => void;
44
- info: (message: string, ...args: unknown[]) => void;
45
- debug: (message: string, ...args: unknown[]) => void;
46
- trace: (message: string, ...args: unknown[]) => void;
47
- };
48
- close(): Promise<void>;
49
- setLevel(level: LogLevel): void;
50
- getLevel(): LogLevel;
51
- setConsoleEnabled(enabled: boolean): void;
52
- isConsoleEnabled(): boolean;
53
- addTransport(transport: LoggerTransport): void;
54
- removeTransport(): void;
55
- }
56
- declare const logger: Logger;
57
- declare const log: (message: string, ...args: unknown[]) => void;
58
- declare const warn: (message: string, ...args: unknown[]) => void;
59
- declare const error: (message: string, ...args: unknown[]) => void;
60
- declare const debug: (message: string, ...args: unknown[]) => void;
61
-
62
- type index_LogLevel = LogLevel;
63
- type index_LogMeta = LogMeta;
64
- type index_Logger = Logger;
65
- declare const index_Logger: typeof Logger;
66
- type index_LoggerConfig = LoggerConfig;
67
- type index_LoggerTransport = LoggerTransport;
68
- declare const index_debug: typeof debug;
69
- declare const index_error: typeof error;
70
- declare const index_log: typeof log;
71
- declare const index_logger: typeof logger;
72
- declare const index_redactSensitiveFields: typeof redactSensitiveFields;
73
- declare const index_redactSensitiveString: typeof redactSensitiveString;
74
- declare const index_warn: typeof warn;
75
- declare namespace index {
76
- export { type index_LogLevel as LogLevel, type index_LogMeta as LogMeta, index_Logger as Logger, type index_LoggerConfig as LoggerConfig, type index_LoggerTransport as LoggerTransport, index_debug as debug, index_error as error, index_log as log, index_logger as logger, index_redactSensitiveFields as redactSensitiveFields, index_redactSensitiveString as redactSensitiveString, index_warn as warn };
77
- }
78
-
79
- export { Logger as L, type LogLevel as a, type LogMeta as b, type LoggerConfig as c, type LoggerTransport as d, debug as e, error as f, log as g, redactSensitiveString as h, index as i, logger as l, redactSensitiveFields as r, warn as w };
@@ -1,70 +0,0 @@
1
- type ServiceLayer = 'wspace' | 'global';
2
- interface LayerConfig {
3
- layer: ServiceLayer;
4
- serviceName: string;
5
- serviceIdentity?: string;
6
- }
7
- interface LayerGatewayConfig {
8
- internalGatewayUrl: string;
9
- crossLayerGatewayUrl: string;
10
- }
11
- interface LayerResourceUrls {
12
- eventQueueUrl: string;
13
- valkeyUrl: string;
14
- temporalAddress: string;
15
- temporalNamespace: string;
16
- rbacGatewayUrl: string;
17
- }
18
- interface LayerFullConfig extends LayerConfig {
19
- gateways: LayerGatewayConfig;
20
- resources: LayerResourceUrls;
21
- }
22
- interface GatewayRoutingConfig {
23
- layer: ServiceLayer;
24
- internalGateway: {
25
- host: string;
26
- port: number;
27
- graphqlPath: string;
28
- };
29
- crossLayerGateway: {
30
- host: string;
31
- port: number;
32
- graphqlPath: string;
33
- };
34
- }
35
- declare const DEFAULT_GATEWAY_ROUTING: Record<ServiceLayer, GatewayRoutingConfig>;
36
- declare const DEFAULT_LAYER_STREAMS: Record<ServiceLayer, Array<{
37
- name: string;
38
- subjects: string[];
39
- description?: string;
40
- }>>;
41
- declare const DEFAULT_LAYER_RESOURCES: Record<ServiceLayer, LayerResourceUrls>;
42
- interface CircuitBreakerConfig {
43
- failureThreshold: number;
44
- resetTimeout: number;
45
- failureWindow: number;
46
- }
47
- declare const DEFAULT_CIRCUIT_BREAKER_CONFIG: CircuitBreakerConfig;
48
- interface GatewayRetryConfig {
49
- maxAttempts: number;
50
- initialDelay: number;
51
- maxDelay: number;
52
- backoffMultiplier: number;
53
- }
54
- declare const DEFAULT_GATEWAY_RETRY_CONFIG: GatewayRetryConfig;
55
- interface GatewayRequestHeaders {
56
- 'x-actor-id'?: string;
57
- 'x-actor-type'?: 'user' | 'app' | 'service' | 'super_admin';
58
- 'x-workspace-id'?: string;
59
- 'x-service-identity'?: string;
60
- 'x-call-type'?: 'internal' | 'cross-layer';
61
- 'x-bypass-permission'?: string;
62
- 'x-rbac-bypass'?: 'true' | 'false';
63
- 'x-bypass-source'?: string;
64
- 'x-bypass-timestamp'?: string;
65
- 'cf-access-client-id'?: string;
66
- 'cf-access-client-secret'?: string;
67
- 'x-delegated-authorization'?: string;
68
- }
69
-
70
- export { type CircuitBreakerConfig as C, DEFAULT_GATEWAY_ROUTING as D, type GatewayRoutingConfig as G, type LayerConfig as L, type ServiceLayer as S, type LayerFullConfig as a, DEFAULT_LAYER_RESOURCES as b, DEFAULT_LAYER_STREAMS as c, type LayerGatewayConfig as d, type LayerResourceUrls as e, type GatewayRequestHeaders as f, type GatewayRetryConfig as g, DEFAULT_CIRCUIT_BREAKER_CONFIG as h, DEFAULT_GATEWAY_RETRY_CONFIG as i };
@@ -1,5 +0,0 @@
1
- export { createPinoLogger } from './chunk-WWUU5ETI.js';
2
- import './chunk-RU266375.js';
3
- import './chunk-XE4OXN2W.js';
4
- //# sourceMappingURL=pino-logger-H4HPW5P6.js.map
5
- //# sourceMappingURL=pino-logger-H4HPW5P6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"pino-logger-H4HPW5P6.js"}