@qlever-llc/trellis 0.10.22 → 0.11.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/esm/auth/mod.d.ts +1 -1
  2. package/esm/auth/mod.d.ts.map +1 -1
  3. package/esm/auth/mod.js +1 -1
  4. package/esm/auth/protocol.d.ts +55 -0
  5. package/esm/auth/protocol.d.ts.map +1 -1
  6. package/esm/browser.d.ts +3 -3
  7. package/esm/browser.d.ts.map +1 -1
  8. package/esm/browser.js +1 -1
  9. package/esm/client_connect.d.ts +12 -3
  10. package/esm/client_connect.d.ts.map +1 -1
  11. package/esm/client_connect.js +112 -7
  12. package/esm/codec.d.ts +7 -6
  13. package/esm/codec.d.ts.map +1 -1
  14. package/esm/codec.js +125 -6
  15. package/esm/contract_support/canonical.d.ts +3 -0
  16. package/esm/contract_support/canonical.d.ts.map +1 -1
  17. package/esm/contract_support/canonical.js +3 -0
  18. package/esm/contract_support/mod.d.ts +125 -10
  19. package/esm/contract_support/mod.d.ts.map +1 -1
  20. package/esm/contract_support/mod.js +159 -5
  21. package/esm/contract_support/protocol.d.ts +92 -7
  22. package/esm/contract_support/protocol.d.ts.map +1 -1
  23. package/esm/contract_support/protocol.js +41 -7
  24. package/esm/contract_support/runtime.d.ts +4 -1
  25. package/esm/contract_support/runtime.d.ts.map +1 -1
  26. package/esm/errors/SchemaValidationError.d.ts +49 -0
  27. package/esm/errors/SchemaValidationError.d.ts.map +1 -0
  28. package/esm/errors/SchemaValidationError.js +67 -0
  29. package/esm/errors/index.d.ts +38 -9
  30. package/esm/errors/index.d.ts.map +1 -1
  31. package/esm/errors/index.js +16 -0
  32. package/esm/generated-sdk/auth/api.d.ts +33 -605
  33. package/esm/generated-sdk/auth/api.d.ts.map +1 -1
  34. package/esm/generated-sdk/auth/api.js +6 -1
  35. package/esm/generated-sdk/auth/client.d.ts +129 -134
  36. package/esm/generated-sdk/auth/client.d.ts.map +1 -1
  37. package/esm/generated-sdk/auth/contract.d.ts +2 -601
  38. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  39. package/esm/generated-sdk/auth/contract.js +310 -93
  40. package/esm/generated-sdk/auth/mod.d.ts +1 -1
  41. package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
  42. package/esm/generated-sdk/auth/owned_api.d.ts +88 -86
  43. package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -1
  44. package/esm/generated-sdk/auth/owned_api.js +6 -0
  45. package/esm/generated-sdk/auth/schemas.d.ts +284 -136
  46. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  47. package/esm/generated-sdk/auth/schemas.js +231 -92
  48. package/esm/generated-sdk/auth/types.d.ts +565 -89
  49. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  50. package/esm/generated-sdk/auth/types.js +1 -1
  51. package/esm/generated-sdk/health/api.d.ts +29 -18
  52. package/esm/generated-sdk/health/api.d.ts.map +1 -1
  53. package/esm/generated-sdk/health/client.d.ts +7 -21
  54. package/esm/generated-sdk/health/client.d.ts.map +1 -1
  55. package/esm/generated-sdk/health/contract.d.ts +2 -15
  56. package/esm/generated-sdk/health/contract.d.ts.map +1 -1
  57. package/esm/generated-sdk/health/contract.js +2 -10
  58. package/esm/generated-sdk/health/mod.d.ts +1 -1
  59. package/esm/generated-sdk/health/mod.d.ts.map +1 -1
  60. package/esm/generated-sdk/health/owned_api.d.ts +2 -2
  61. package/esm/generated-sdk/health/schemas.d.ts +1 -14
  62. package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
  63. package/esm/generated-sdk/health/schemas.js +1 -9
  64. package/esm/generated-sdk/health/types.d.ts +10 -5
  65. package/esm/generated-sdk/health/types.d.ts.map +1 -1
  66. package/esm/generated-sdk/health/types.js +1 -2
  67. package/esm/generated-sdk/jobs/api.d.ts +29 -109
  68. package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
  69. package/esm/generated-sdk/jobs/client.d.ts +21 -33
  70. package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
  71. package/esm/generated-sdk/jobs/contract.d.ts +2 -106
  72. package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
  73. package/esm/generated-sdk/jobs/contract.js +268 -1
  74. package/esm/generated-sdk/jobs/mod.d.ts +1 -1
  75. package/esm/generated-sdk/jobs/mod.d.ts.map +1 -1
  76. package/esm/generated-sdk/jobs/owned_api.d.ts +22 -9
  77. package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  78. package/esm/generated-sdk/jobs/owned_api.js +20 -1
  79. package/esm/generated-sdk/jobs/schemas.d.ts +437 -0
  80. package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
  81. package/esm/generated-sdk/jobs/schemas.js +211 -0
  82. package/esm/generated-sdk/jobs/types.d.ts +195 -12
  83. package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
  84. package/esm/generated-sdk/jobs/types.js +1 -1
  85. package/esm/generated-sdk/state/api.d.ts +29 -68
  86. package/esm/generated-sdk/state/api.d.ts.map +1 -1
  87. package/esm/generated-sdk/state/client.d.ts +17 -31
  88. package/esm/generated-sdk/state/client.d.ts.map +1 -1
  89. package/esm/generated-sdk/state/contract.d.ts +1 -64
  90. package/esm/generated-sdk/state/contract.d.ts.map +1 -1
  91. package/esm/generated-sdk/state/mod.d.ts +1 -1
  92. package/esm/generated-sdk/state/mod.d.ts.map +1 -1
  93. package/esm/generated-sdk/state/owned_api.d.ts +7 -7
  94. package/esm/generated-sdk/state/types.d.ts +52 -9
  95. package/esm/generated-sdk/state/types.d.ts.map +1 -1
  96. package/esm/generated-sdk/trellis-core/api.d.ts +33 -45
  97. package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
  98. package/esm/generated-sdk/trellis-core/api.js +6 -1
  99. package/esm/generated-sdk/trellis-core/client.d.ts +31 -20
  100. package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
  101. package/esm/generated-sdk/trellis-core/contract.d.ts +2 -41
  102. package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  103. package/esm/generated-sdk/trellis-core/contract.js +91 -1
  104. package/esm/generated-sdk/trellis-core/mod.d.ts +1 -1
  105. package/esm/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  106. package/esm/generated-sdk/trellis-core/owned_api.d.ts +4 -4
  107. package/esm/generated-sdk/trellis-core/schemas.d.ts +113 -0
  108. package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  109. package/esm/generated-sdk/trellis-core/schemas.js +81 -0
  110. package/esm/generated-sdk/trellis-core/types.d.ts +54 -7
  111. package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
  112. package/esm/generated-sdk/trellis-core/types.js +1 -1
  113. package/esm/health.d.ts +1 -1
  114. package/esm/health.d.ts.map +1 -1
  115. package/esm/health.js +1 -1
  116. package/esm/index.d.ts +4 -4
  117. package/esm/index.d.ts.map +1 -1
  118. package/esm/index.js +2 -2
  119. package/esm/jobs.d.ts +69 -3
  120. package/esm/jobs.d.ts.map +1 -1
  121. package/esm/jobs.js +92 -3
  122. package/esm/server/health.d.ts +2 -6
  123. package/esm/server/health.d.ts.map +1 -1
  124. package/esm/server/health_schemas.d.ts +0 -8
  125. package/esm/server/health_schemas.d.ts.map +1 -1
  126. package/esm/server/health_schemas.js +0 -5
  127. package/esm/server/internal_jobs/bindings.d.ts +11 -0
  128. package/esm/server/internal_jobs/bindings.d.ts.map +1 -1
  129. package/esm/server/internal_jobs/job-manager.d.ts +58 -2
  130. package/esm/server/internal_jobs/job-manager.d.ts.map +1 -1
  131. package/esm/server/internal_jobs/job-manager.js +429 -55
  132. package/esm/server/internal_jobs/key-coordinator.d.ts +269 -0
  133. package/esm/server/internal_jobs/key-coordinator.d.ts.map +1 -0
  134. package/esm/server/internal_jobs/key-coordinator.js +677 -0
  135. package/esm/server/internal_jobs/projection.d.ts.map +1 -1
  136. package/esm/server/internal_jobs/projection.js +2 -0
  137. package/esm/server/internal_jobs/runtime-worker.d.ts +5 -1
  138. package/esm/server/internal_jobs/runtime-worker.d.ts.map +1 -1
  139. package/esm/server/internal_jobs/runtime-worker.js +14 -2
  140. package/esm/server/internal_jobs/types.d.ts +5 -5
  141. package/esm/server/internal_jobs/types.d.ts.map +1 -1
  142. package/esm/server/internal_jobs/types.js +6 -0
  143. package/esm/server/runtime.d.ts.map +1 -1
  144. package/esm/server/service.d.ts +81 -112
  145. package/esm/server/service.d.ts.map +1 -1
  146. package/esm/server/service.js +372 -130
  147. package/esm/server.d.ts +3 -3
  148. package/esm/server.d.ts.map +1 -1
  149. package/esm/service/deno.d.ts +1 -1
  150. package/esm/service/deno.d.ts.map +1 -1
  151. package/esm/service/drizzle.d.ts +52 -0
  152. package/esm/service/drizzle.d.ts.map +1 -0
  153. package/esm/service/drizzle.js +108 -0
  154. package/esm/service/mod.d.ts +3 -3
  155. package/esm/service/mod.d.ts.map +1 -1
  156. package/esm/service/mod.js +2 -2
  157. package/esm/service/node.d.ts +1 -1
  158. package/esm/service/node.d.ts.map +1 -1
  159. package/esm/service/outbox_inbox.d.ts +76 -22
  160. package/esm/service/outbox_inbox.d.ts.map +1 -1
  161. package/esm/service/outbox_inbox.js +231 -70
  162. package/esm/telemetry/metrics.d.ts +55 -0
  163. package/esm/telemetry/metrics.d.ts.map +1 -1
  164. package/esm/telemetry/metrics.js +86 -0
  165. package/esm/telemetry/mod.d.ts +2 -1
  166. package/esm/telemetry/mod.d.ts.map +1 -1
  167. package/esm/telemetry/mod.js +1 -1
  168. package/esm/trellis.d.ts +62 -30
  169. package/esm/trellis.d.ts.map +1 -1
  170. package/esm/trellis.js +125 -42
  171. package/package.json +14 -2
  172. package/script/auth/mod.d.ts +1 -1
  173. package/script/auth/mod.d.ts.map +1 -1
  174. package/script/auth/mod.js +11 -4
  175. package/script/auth/protocol.d.ts +55 -0
  176. package/script/auth/protocol.d.ts.map +1 -1
  177. package/script/browser.d.ts +3 -3
  178. package/script/browser.d.ts.map +1 -1
  179. package/script/browser.js +3 -2
  180. package/script/client_connect.d.ts +12 -3
  181. package/script/client_connect.d.ts.map +1 -1
  182. package/script/client_connect.js +111 -6
  183. package/script/codec.d.ts +7 -6
  184. package/script/codec.d.ts.map +1 -1
  185. package/script/codec.js +124 -5
  186. package/script/contract_support/canonical.d.ts +3 -0
  187. package/script/contract_support/canonical.d.ts.map +1 -1
  188. package/script/contract_support/canonical.js +3 -0
  189. package/script/contract_support/mod.d.ts +125 -10
  190. package/script/contract_support/mod.d.ts.map +1 -1
  191. package/script/contract_support/mod.js +165 -5
  192. package/script/contract_support/protocol.d.ts +92 -7
  193. package/script/contract_support/protocol.d.ts.map +1 -1
  194. package/script/contract_support/protocol.js +42 -8
  195. package/script/contract_support/runtime.d.ts +4 -1
  196. package/script/contract_support/runtime.d.ts.map +1 -1
  197. package/script/errors/SchemaValidationError.d.ts +49 -0
  198. package/script/errors/SchemaValidationError.d.ts.map +1 -0
  199. package/script/errors/SchemaValidationError.js +74 -0
  200. package/script/errors/index.d.ts +38 -9
  201. package/script/errors/index.d.ts.map +1 -1
  202. package/script/errors/index.js +20 -1
  203. package/script/generated-sdk/auth/api.d.ts +33 -605
  204. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  205. package/script/generated-sdk/auth/api.js +6 -1
  206. package/script/generated-sdk/auth/client.d.ts +129 -134
  207. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  208. package/script/generated-sdk/auth/contract.d.ts +2 -601
  209. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  210. package/script/generated-sdk/auth/contract.js +310 -93
  211. package/script/generated-sdk/auth/mod.d.ts +1 -1
  212. package/script/generated-sdk/auth/mod.d.ts.map +1 -1
  213. package/script/generated-sdk/auth/owned_api.d.ts +88 -86
  214. package/script/generated-sdk/auth/owned_api.d.ts.map +1 -1
  215. package/script/generated-sdk/auth/owned_api.js +6 -0
  216. package/script/generated-sdk/auth/schemas.d.ts +284 -136
  217. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  218. package/script/generated-sdk/auth/schemas.js +231 -92
  219. package/script/generated-sdk/auth/types.d.ts +565 -89
  220. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  221. package/script/generated-sdk/auth/types.js +1 -1
  222. package/script/generated-sdk/health/api.d.ts +29 -18
  223. package/script/generated-sdk/health/api.d.ts.map +1 -1
  224. package/script/generated-sdk/health/client.d.ts +7 -21
  225. package/script/generated-sdk/health/client.d.ts.map +1 -1
  226. package/script/generated-sdk/health/contract.d.ts +2 -15
  227. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  228. package/script/generated-sdk/health/contract.js +2 -10
  229. package/script/generated-sdk/health/mod.d.ts +1 -1
  230. package/script/generated-sdk/health/mod.d.ts.map +1 -1
  231. package/script/generated-sdk/health/owned_api.d.ts +2 -2
  232. package/script/generated-sdk/health/schemas.d.ts +1 -14
  233. package/script/generated-sdk/health/schemas.d.ts.map +1 -1
  234. package/script/generated-sdk/health/schemas.js +1 -9
  235. package/script/generated-sdk/health/types.d.ts +10 -5
  236. package/script/generated-sdk/health/types.d.ts.map +1 -1
  237. package/script/generated-sdk/health/types.js +1 -2
  238. package/script/generated-sdk/jobs/api.d.ts +29 -109
  239. package/script/generated-sdk/jobs/api.d.ts.map +1 -1
  240. package/script/generated-sdk/jobs/client.d.ts +21 -33
  241. package/script/generated-sdk/jobs/client.d.ts.map +1 -1
  242. package/script/generated-sdk/jobs/contract.d.ts +2 -106
  243. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  244. package/script/generated-sdk/jobs/contract.js +268 -1
  245. package/script/generated-sdk/jobs/mod.d.ts +1 -1
  246. package/script/generated-sdk/jobs/mod.d.ts.map +1 -1
  247. package/script/generated-sdk/jobs/owned_api.d.ts +22 -9
  248. package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  249. package/script/generated-sdk/jobs/owned_api.js +19 -0
  250. package/script/generated-sdk/jobs/schemas.d.ts +437 -0
  251. package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
  252. package/script/generated-sdk/jobs/schemas.js +212 -1
  253. package/script/generated-sdk/jobs/types.d.ts +195 -12
  254. package/script/generated-sdk/jobs/types.d.ts.map +1 -1
  255. package/script/generated-sdk/jobs/types.js +1 -1
  256. package/script/generated-sdk/state/api.d.ts +29 -68
  257. package/script/generated-sdk/state/api.d.ts.map +1 -1
  258. package/script/generated-sdk/state/client.d.ts +17 -31
  259. package/script/generated-sdk/state/client.d.ts.map +1 -1
  260. package/script/generated-sdk/state/contract.d.ts +1 -64
  261. package/script/generated-sdk/state/contract.d.ts.map +1 -1
  262. package/script/generated-sdk/state/mod.d.ts +1 -1
  263. package/script/generated-sdk/state/mod.d.ts.map +1 -1
  264. package/script/generated-sdk/state/owned_api.d.ts +7 -7
  265. package/script/generated-sdk/state/types.d.ts +52 -9
  266. package/script/generated-sdk/state/types.d.ts.map +1 -1
  267. package/script/generated-sdk/trellis-core/api.d.ts +33 -45
  268. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  269. package/script/generated-sdk/trellis-core/api.js +6 -1
  270. package/script/generated-sdk/trellis-core/client.d.ts +31 -20
  271. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  272. package/script/generated-sdk/trellis-core/contract.d.ts +2 -41
  273. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  274. package/script/generated-sdk/trellis-core/contract.js +91 -1
  275. package/script/generated-sdk/trellis-core/mod.d.ts +1 -1
  276. package/script/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  277. package/script/generated-sdk/trellis-core/owned_api.d.ts +4 -4
  278. package/script/generated-sdk/trellis-core/schemas.d.ts +113 -0
  279. package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  280. package/script/generated-sdk/trellis-core/schemas.js +81 -0
  281. package/script/generated-sdk/trellis-core/types.d.ts +54 -7
  282. package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
  283. package/script/generated-sdk/trellis-core/types.js +1 -1
  284. package/script/health.d.ts +1 -1
  285. package/script/health.d.ts.map +1 -1
  286. package/script/health.js +1 -2
  287. package/script/index.d.ts +4 -4
  288. package/script/index.d.ts.map +1 -1
  289. package/script/index.js +2 -2
  290. package/script/jobs.d.ts +69 -3
  291. package/script/jobs.d.ts.map +1 -1
  292. package/script/jobs.js +93 -3
  293. package/script/server/health.d.ts +2 -6
  294. package/script/server/health.d.ts.map +1 -1
  295. package/script/server/health_schemas.d.ts +0 -8
  296. package/script/server/health_schemas.d.ts.map +1 -1
  297. package/script/server/health_schemas.js +1 -6
  298. package/script/server/internal_jobs/bindings.d.ts +11 -0
  299. package/script/server/internal_jobs/bindings.d.ts.map +1 -1
  300. package/script/server/internal_jobs/job-manager.d.ts +58 -2
  301. package/script/server/internal_jobs/job-manager.d.ts.map +1 -1
  302. package/script/server/internal_jobs/job-manager.js +429 -54
  303. package/script/server/internal_jobs/key-coordinator.d.ts +269 -0
  304. package/script/server/internal_jobs/key-coordinator.d.ts.map +1 -0
  305. package/script/server/internal_jobs/key-coordinator.js +690 -0
  306. package/script/server/internal_jobs/projection.d.ts.map +1 -1
  307. package/script/server/internal_jobs/projection.js +2 -0
  308. package/script/server/internal_jobs/runtime-worker.d.ts +5 -1
  309. package/script/server/internal_jobs/runtime-worker.d.ts.map +1 -1
  310. package/script/server/internal_jobs/runtime-worker.js +14 -2
  311. package/script/server/internal_jobs/types.d.ts +5 -5
  312. package/script/server/internal_jobs/types.d.ts.map +1 -1
  313. package/script/server/internal_jobs/types.js +6 -0
  314. package/script/server/runtime.d.ts.map +1 -1
  315. package/script/server/service.d.ts +81 -112
  316. package/script/server/service.d.ts.map +1 -1
  317. package/script/server/service.js +369 -127
  318. package/script/server.d.ts +3 -3
  319. package/script/server.d.ts.map +1 -1
  320. package/script/service/deno.d.ts +1 -1
  321. package/script/service/deno.d.ts.map +1 -1
  322. package/script/service/drizzle.d.ts +52 -0
  323. package/script/service/drizzle.d.ts.map +1 -0
  324. package/script/service/drizzle.js +113 -0
  325. package/script/service/mod.d.ts +3 -3
  326. package/script/service/mod.d.ts.map +1 -1
  327. package/script/service/mod.js +4 -3
  328. package/script/service/node.d.ts +1 -1
  329. package/script/service/node.d.ts.map +1 -1
  330. package/script/service/outbox_inbox.d.ts +76 -22
  331. package/script/service/outbox_inbox.d.ts.map +1 -1
  332. package/script/service/outbox_inbox.js +233 -70
  333. package/script/telemetry/metrics.d.ts +55 -0
  334. package/script/telemetry/metrics.d.ts.map +1 -1
  335. package/script/telemetry/metrics.js +88 -0
  336. package/script/telemetry/mod.d.ts +2 -1
  337. package/script/telemetry/mod.d.ts.map +1 -1
  338. package/script/telemetry/mod.js +3 -1
  339. package/script/trellis.d.ts +62 -30
  340. package/script/trellis.d.ts.map +1 -1
  341. package/script/trellis.js +124 -41
  342. package/src/auth/mod.ts +7 -0
  343. package/src/browser.ts +5 -7
  344. package/src/client_connect.ts +200 -12
  345. package/src/codec.ts +186 -11
  346. package/src/contract_support/canonical.ts +3 -0
  347. package/src/contract_support/mod.ts +380 -9
  348. package/src/contract_support/protocol.ts +57 -10
  349. package/src/contract_support/runtime.ts +7 -0
  350. package/src/errors/SchemaValidationError.ts +67 -0
  351. package/src/errors/index.ts +28 -0
  352. package/src/health.ts +0 -1
  353. package/src/index.ts +7 -8
  354. package/src/jobs.ts +138 -1
  355. package/src/sdk/_generated/auth/api.ts +38 -7
  356. package/src/sdk/_generated/auth/client.ts +168 -530
  357. package/src/sdk/_generated/auth/contract.ts +310 -93
  358. package/src/sdk/_generated/auth/mod.ts +0 -1
  359. package/src/sdk/_generated/auth/owned_api.ts +92 -86
  360. package/src/sdk/_generated/auth/schemas.ts +231 -92
  361. package/src/sdk/_generated/auth/types.ts +1069 -273
  362. package/src/sdk/_generated/core/api.ts +38 -7
  363. package/src/sdk/_generated/core/client.ts +47 -73
  364. package/src/sdk/_generated/core/contract.ts +91 -1
  365. package/src/sdk/_generated/core/mod.ts +0 -1
  366. package/src/sdk/_generated/core/owned_api.ts +4 -4
  367. package/src/sdk/_generated/core/schemas.ts +81 -0
  368. package/src/sdk/_generated/core/types.ts +79 -15
  369. package/src/sdk/_generated/health/api.ts +29 -5
  370. package/src/sdk/_generated/health/client.ts +11 -58
  371. package/src/sdk/_generated/health/contract.ts +2 -10
  372. package/src/sdk/_generated/health/mod.ts +0 -1
  373. package/src/sdk/_generated/health/owned_api.ts +2 -2
  374. package/src/sdk/_generated/health/schemas.ts +1 -9
  375. package/src/sdk/_generated/health/types.ts +23 -2
  376. package/src/sdk/_generated/jobs/api.ts +29 -5
  377. package/src/sdk/_generated/jobs/client.ts +25 -109
  378. package/src/sdk/_generated/jobs/contract.ts +269 -1
  379. package/src/sdk/_generated/jobs/mod.ts +0 -1
  380. package/src/sdk/_generated/jobs/owned_api.ts +30 -9
  381. package/src/sdk/_generated/jobs/schemas.ts +213 -0
  382. package/src/sdk/_generated/jobs/types.ts +252 -18
  383. package/src/sdk/_generated/state/api.ts +29 -5
  384. package/src/sdk/_generated/state/client.ts +18 -95
  385. package/src/sdk/_generated/state/mod.ts +0 -1
  386. package/src/sdk/_generated/state/owned_api.ts +7 -7
  387. package/src/sdk/_generated/state/types.ts +91 -15
  388. package/src/server/health.ts +2 -6
  389. package/src/server/health_schemas.ts +0 -6
  390. package/src/server/internal_jobs/bindings.ts +11 -0
  391. package/src/server/internal_jobs/job-manager.ts +553 -24
  392. package/src/server/internal_jobs/key-coordinator.ts +1080 -0
  393. package/src/server/internal_jobs/projection.ts +2 -0
  394. package/src/server/internal_jobs/runtime-worker.ts +17 -1
  395. package/src/server/internal_jobs/types.ts +6 -0
  396. package/src/server/runtime.ts +4 -0
  397. package/src/server/service.ts +645 -625
  398. package/src/server.ts +14 -7
  399. package/src/service/deno.ts +0 -5
  400. package/src/service/drizzle.ts +184 -0
  401. package/src/service/mod.ts +17 -7
  402. package/src/service/node.ts +0 -5
  403. package/src/service/outbox_inbox.ts +354 -88
  404. package/src/telemetry/metrics.ts +198 -1
  405. package/src/telemetry/mod.ts +6 -0
  406. package/src/trellis.ts +286 -105
@@ -1,607 +1,8 @@
1
1
  import type { SdkContractModule, TrellisContractV1 } from "@qlever-llc/trellis";
2
2
  import { API } from "./api.js";
3
3
  export declare const CONTRACT_ID: "trellis.auth@v1";
4
- export declare const CONTRACT_DIGEST: "x-9_MjfSThvbn1yc9jAWbaraniKLZ74oUeUqqtZijXQ";
4
+ export declare const CONTRACT_DIGEST: "1YrFqkuEcvzJykFCGnDkhNE4ot_Lbt0T1QBDHabTHMo";
5
5
  export declare const CONTRACT: TrellisContractV1;
6
6
  export declare const sdk: SdkContractModule<typeof CONTRACT_ID, typeof API.owned>;
7
- export declare const use: import("@qlever-llc/trellis").ContractUseFn<"trellis.auth@v1", {
8
- rpc: {
9
- "Auth.Capabilities.List": {
10
- subject: string;
11
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilitiesListInput>;
12
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilitiesListOutput>;
13
- callerCapabilities: string[];
14
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
15
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
16
- };
17
- "Auth.CapabilityGroups.Delete": {
18
- subject: string;
19
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsDeleteInput>;
20
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsDeleteOutput>;
21
- callerCapabilities: string[];
22
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
23
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
24
- };
25
- "Auth.CapabilityGroups.Get": {
26
- subject: string;
27
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsGetInput>;
28
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsGetOutput>;
29
- callerCapabilities: string[];
30
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
31
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
32
- };
33
- "Auth.CapabilityGroups.List": {
34
- subject: string;
35
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsListInput>;
36
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsListOutput>;
37
- callerCapabilities: string[];
38
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
39
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
40
- };
41
- "Auth.CapabilityGroups.Put": {
42
- subject: string;
43
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsPutInput>;
44
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCapabilityGroupsPutOutput>;
45
- callerCapabilities: string[];
46
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
47
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
48
- };
49
- "Auth.CatalogIssues.Resolve": {
50
- subject: string;
51
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCatalogIssuesResolveInput>;
52
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthCatalogIssuesResolveOutput>;
53
- callerCapabilities: string[];
54
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
55
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
56
- };
57
- "Auth.Connections.Kick": {
58
- subject: string;
59
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsKickInput>;
60
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsKickOutput>;
61
- callerCapabilities: string[];
62
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
63
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
64
- };
65
- "Auth.Connections.List": {
66
- subject: string;
67
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsListInput>;
68
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsListOutput>;
69
- callerCapabilities: string[];
70
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
71
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
72
- };
73
- "Auth.DeploymentAuthority.AcceptMigration": {
74
- subject: string;
75
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityAcceptMigrationInput>;
76
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityAcceptMigrationOutput>;
77
- callerCapabilities: string[];
78
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
79
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
80
- };
81
- "Auth.DeploymentAuthority.AcceptUpdate": {
82
- subject: string;
83
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityAcceptUpdateInput>;
84
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityAcceptUpdateOutput>;
85
- callerCapabilities: string[];
86
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
87
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
88
- };
89
- "Auth.DeploymentAuthority.Get": {
90
- subject: string;
91
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGetInput>;
92
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGetOutput>;
93
- callerCapabilities: string[];
94
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
95
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
96
- };
97
- "Auth.DeploymentAuthority.GrantOverrides.List": {
98
- subject: string;
99
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGrantOverridesListInput>;
100
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGrantOverridesListOutput>;
101
- callerCapabilities: string[];
102
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
103
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
104
- };
105
- "Auth.DeploymentAuthority.GrantOverrides.Put": {
106
- subject: string;
107
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGrantOverridesPutInput>;
108
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGrantOverridesPutOutput>;
109
- callerCapabilities: string[];
110
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
111
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
112
- };
113
- "Auth.DeploymentAuthority.GrantOverrides.Remove": {
114
- subject: string;
115
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGrantOverridesRemoveInput>;
116
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityGrantOverridesRemoveOutput>;
117
- callerCapabilities: string[];
118
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
119
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
120
- };
121
- "Auth.DeploymentAuthority.List": {
122
- subject: string;
123
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityListInput>;
124
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityListOutput>;
125
- callerCapabilities: string[];
126
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
127
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
128
- };
129
- "Auth.DeploymentAuthority.Plan": {
130
- subject: string;
131
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityPlanInput>;
132
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityPlanOutput>;
133
- callerCapabilities: string[];
134
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
135
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
136
- };
137
- "Auth.DeploymentAuthority.Plans.Get": {
138
- subject: string;
139
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityPlansGetInput>;
140
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityPlansGetOutput>;
141
- callerCapabilities: string[];
142
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
143
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
144
- };
145
- "Auth.DeploymentAuthority.Plans.List": {
146
- subject: string;
147
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityPlansListInput>;
148
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityPlansListOutput>;
149
- callerCapabilities: string[];
150
- errors: readonly ["AuthError", "UnexpectedError"];
151
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError"];
152
- };
153
- "Auth.DeploymentAuthority.Reconcile": {
154
- subject: string;
155
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityReconcileInput>;
156
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityReconcileOutput>;
157
- callerCapabilities: string[];
158
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
159
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
160
- };
161
- "Auth.DeploymentAuthority.Reject": {
162
- subject: string;
163
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityRejectInput>;
164
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentAuthorityRejectOutput>;
165
- callerCapabilities: string[];
166
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
167
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
168
- };
169
- "Auth.Deployments.Create": {
170
- subject: string;
171
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsCreateInput>;
172
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsCreateOutput>;
173
- callerCapabilities: string[];
174
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
175
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
176
- };
177
- "Auth.Deployments.Disable": {
178
- subject: string;
179
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsDisableInput>;
180
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsDisableOutput>;
181
- callerCapabilities: string[];
182
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
183
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
184
- };
185
- "Auth.Deployments.Enable": {
186
- subject: string;
187
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsEnableInput>;
188
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsEnableOutput>;
189
- callerCapabilities: string[];
190
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
191
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
192
- };
193
- "Auth.Deployments.List": {
194
- subject: string;
195
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsListInput>;
196
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsListOutput>;
197
- callerCapabilities: string[];
198
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
199
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
200
- };
201
- "Auth.Deployments.Remove": {
202
- subject: string;
203
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsRemoveInput>;
204
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeploymentsRemoveOutput>;
205
- callerCapabilities: string[];
206
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
207
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
208
- };
209
- "Auth.DeviceUserAuthorities.List": {
210
- subject: string;
211
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesListInput>;
212
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesListOutput>;
213
- callerCapabilities: string[];
214
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
215
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
216
- };
217
- "Auth.DeviceUserAuthorities.Reviews.Decide": {
218
- subject: string;
219
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesReviewsDecideInput>;
220
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesReviewsDecideOutput>;
221
- callerCapabilities: string[];
222
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
223
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
224
- };
225
- "Auth.DeviceUserAuthorities.Reviews.List": {
226
- subject: string;
227
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesReviewsListInput>;
228
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesReviewsListOutput>;
229
- callerCapabilities: string[];
230
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
231
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
232
- };
233
- "Auth.DeviceUserAuthorities.Revoke": {
234
- subject: string;
235
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesRevokeInput>;
236
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesRevokeOutput>;
237
- callerCapabilities: string[];
238
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
239
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
240
- };
241
- "Auth.Devices.ConnectInfo.Get": {
242
- subject: string;
243
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesConnectInfoGetInput>;
244
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesConnectInfoGetOutput>;
245
- callerCapabilities: never[];
246
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
247
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
248
- };
249
- "Auth.Devices.Disable": {
250
- subject: string;
251
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesDisableInput>;
252
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesDisableOutput>;
253
- callerCapabilities: string[];
254
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
255
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
256
- };
257
- "Auth.Devices.Enable": {
258
- subject: string;
259
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesEnableInput>;
260
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesEnableOutput>;
261
- callerCapabilities: string[];
262
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
263
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
264
- };
265
- "Auth.Devices.List": {
266
- subject: string;
267
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesListInput>;
268
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesListOutput>;
269
- callerCapabilities: string[];
270
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
271
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
272
- };
273
- "Auth.Devices.Provision": {
274
- subject: string;
275
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesProvisionInput>;
276
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesProvisionOutput>;
277
- callerCapabilities: string[];
278
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
279
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
280
- };
281
- "Auth.Devices.Remove": {
282
- subject: string;
283
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesRemoveInput>;
284
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDevicesRemoveOutput>;
285
- callerCapabilities: string[];
286
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
287
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
288
- };
289
- "Auth.Health": {
290
- subject: string;
291
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthHealthInput>;
292
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthHealthOutput>;
293
- callerCapabilities: never[];
294
- errors: readonly ["UnexpectedError"];
295
- declaredErrorTypes: readonly ["UnexpectedError"];
296
- };
297
- "Auth.Identities.List": {
298
- subject: string;
299
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthIdentitiesListInput>;
300
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthIdentitiesListOutput>;
301
- callerCapabilities: never[];
302
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
303
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
304
- };
305
- "Auth.IdentityGrants.List": {
306
- subject: string;
307
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthIdentityGrantsListInput>;
308
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthIdentityGrantsListOutput>;
309
- callerCapabilities: never[];
310
- errors: readonly ["AuthError", "UnexpectedError"];
311
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError"];
312
- };
313
- "Auth.IdentityGrants.Revoke": {
314
- subject: string;
315
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthIdentityGrantsRevokeInput>;
316
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthIdentityGrantsRevokeOutput>;
317
- callerCapabilities: never[];
318
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
319
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
320
- };
321
- "Auth.Portals.Get": {
322
- subject: string;
323
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsGetInput>;
324
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsGetOutput>;
325
- callerCapabilities: string[];
326
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
327
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
328
- };
329
- "Auth.Portals.List": {
330
- subject: string;
331
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsListInput>;
332
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsListOutput>;
333
- callerCapabilities: string[];
334
- errors: readonly ["AuthError", "UnexpectedError"];
335
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError"];
336
- };
337
- "Auth.Portals.LoginSettings.Get": {
338
- subject: string;
339
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsLoginSettingsGetInput>;
340
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsLoginSettingsGetOutput>;
341
- callerCapabilities: string[];
342
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
343
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
344
- };
345
- "Auth.Portals.LoginSettings.Update": {
346
- subject: string;
347
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsLoginSettingsUpdateInput>;
348
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsLoginSettingsUpdateOutput>;
349
- callerCapabilities: string[];
350
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
351
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
352
- };
353
- "Auth.Portals.Put": {
354
- subject: string;
355
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsPutInput>;
356
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsPutOutput>;
357
- callerCapabilities: string[];
358
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
359
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
360
- };
361
- "Auth.Portals.Remove": {
362
- subject: string;
363
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsRemoveInput>;
364
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsRemoveOutput>;
365
- callerCapabilities: string[];
366
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
367
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
368
- };
369
- "Auth.Portals.Routes.Put": {
370
- subject: string;
371
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsRoutesPutInput>;
372
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsRoutesPutOutput>;
373
- callerCapabilities: string[];
374
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
375
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
376
- };
377
- "Auth.Portals.Routes.Remove": {
378
- subject: string;
379
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsRoutesRemoveInput>;
380
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthPortalsRoutesRemoveOutput>;
381
- callerCapabilities: string[];
382
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
383
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
384
- };
385
- "Auth.Requests.Validate": {
386
- subject: string;
387
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthRequestsValidateInput>;
388
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthRequestsValidateOutput>;
389
- callerCapabilities: string[];
390
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
391
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
392
- };
393
- "Auth.ServiceInstances.Disable": {
394
- subject: string;
395
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesDisableInput>;
396
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesDisableOutput>;
397
- callerCapabilities: string[];
398
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
399
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
400
- };
401
- "Auth.ServiceInstances.Enable": {
402
- subject: string;
403
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesEnableInput>;
404
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesEnableOutput>;
405
- callerCapabilities: string[];
406
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
407
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
408
- };
409
- "Auth.ServiceInstances.List": {
410
- subject: string;
411
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesListInput>;
412
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesListOutput>;
413
- callerCapabilities: string[];
414
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
415
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
416
- };
417
- "Auth.ServiceInstances.Provision": {
418
- subject: string;
419
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesProvisionInput>;
420
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesProvisionOutput>;
421
- callerCapabilities: string[];
422
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
423
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
424
- };
425
- "Auth.ServiceInstances.Remove": {
426
- subject: string;
427
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesRemoveInput>;
428
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthServiceInstancesRemoveOutput>;
429
- callerCapabilities: string[];
430
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
431
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
432
- };
433
- "Auth.Sessions.List": {
434
- subject: string;
435
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsListInput>;
436
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsListOutput>;
437
- callerCapabilities: string[];
438
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
439
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
440
- };
441
- "Auth.Sessions.Logout": {
442
- subject: string;
443
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsLogoutInput>;
444
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsLogoutOutput>;
445
- callerCapabilities: never[];
446
- errors: readonly ["AuthError", "UnexpectedError"];
447
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError"];
448
- };
449
- "Auth.Sessions.Me": {
450
- subject: string;
451
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsMeInput>;
452
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsMeOutput>;
453
- callerCapabilities: never[];
454
- errors: readonly ["AuthError", "UnexpectedError"];
455
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError"];
456
- };
457
- "Auth.Sessions.Revoke": {
458
- subject: string;
459
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsRevokeInput>;
460
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsRevokeOutput>;
461
- callerCapabilities: string[];
462
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
463
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
464
- };
465
- "Auth.UserIdentities.List": {
466
- subject: string;
467
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUserIdentitiesListInput>;
468
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUserIdentitiesListOutput>;
469
- callerCapabilities: string[];
470
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
471
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
472
- };
473
- "Auth.UserIdentities.Unlink": {
474
- subject: string;
475
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUserIdentitiesUnlinkInput>;
476
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUserIdentitiesUnlinkOutput>;
477
- callerCapabilities: string[];
478
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
479
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
480
- };
481
- "Auth.Users.Create": {
482
- subject: string;
483
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersCreateInput>;
484
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersCreateOutput>;
485
- callerCapabilities: string[];
486
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
487
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
488
- };
489
- "Auth.Users.Get": {
490
- subject: string;
491
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersGetInput>;
492
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersGetOutput>;
493
- callerCapabilities: string[];
494
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
495
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
496
- };
497
- "Auth.Users.IdentityLink.Create": {
498
- subject: string;
499
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersIdentityLinkCreateInput>;
500
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersIdentityLinkCreateOutput>;
501
- callerCapabilities: never[];
502
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
503
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
504
- };
505
- "Auth.Users.List": {
506
- subject: string;
507
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersListInput>;
508
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersListOutput>;
509
- callerCapabilities: string[];
510
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
511
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
512
- };
513
- "Auth.Users.Password.Change": {
514
- subject: string;
515
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersPasswordChangeInput>;
516
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersPasswordChangeOutput>;
517
- callerCapabilities: never[];
518
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
519
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
520
- };
521
- "Auth.Users.PasswordReset.Create": {
522
- subject: string;
523
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersPasswordResetCreateInput>;
524
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersPasswordResetCreateOutput>;
525
- callerCapabilities: string[];
526
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
527
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
528
- };
529
- "Auth.Users.Update": {
530
- subject: string;
531
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersUpdateInput>;
532
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthUsersUpdateOutput>;
533
- callerCapabilities: string[];
534
- errors: readonly ["AuthError", "UnexpectedError", "ValidationError"];
535
- declaredErrorTypes: readonly ["AuthError", "UnexpectedError", "ValidationError"];
536
- };
537
- };
538
- operations: {
539
- "Auth.DeviceUserAuthorities.Resolve": {
540
- subject: string;
541
- input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesResolveInput>;
542
- progress: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesResolveProgress>;
543
- output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesResolveOutput>;
544
- callerCapabilities: never[];
545
- observeCapabilities: never[];
546
- cancelCapabilities: never[];
547
- controlCapabilities: never[];
548
- };
549
- };
550
- events: {
551
- "Auth.Connections.Closed": {
552
- subject: string;
553
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsClosedEvent>;
554
- publishCapabilities: string[];
555
- subscribeCapabilities: string[];
556
- };
557
- "Auth.Connections.Kicked": {
558
- subject: string;
559
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsKickedEvent>;
560
- publishCapabilities: string[];
561
- subscribeCapabilities: string[];
562
- };
563
- "Auth.Connections.Opened": {
564
- subject: string;
565
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthConnectionsOpenedEvent>;
566
- publishCapabilities: string[];
567
- subscribeCapabilities: string[];
568
- };
569
- "Auth.DeviceUserAuthorities.Approved": {
570
- subject: string;
571
- params: readonly ["/deploymentId"];
572
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesApprovedEvent>;
573
- publishCapabilities: string[];
574
- subscribeCapabilities: string[];
575
- };
576
- "Auth.DeviceUserAuthorities.Requested": {
577
- subject: string;
578
- params: readonly ["/deploymentId"];
579
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesRequestedEvent>;
580
- publishCapabilities: string[];
581
- subscribeCapabilities: string[];
582
- };
583
- "Auth.DeviceUserAuthorities.Resolved": {
584
- subject: string;
585
- params: readonly ["/deploymentId"];
586
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesResolvedEvent>;
587
- publishCapabilities: string[];
588
- subscribeCapabilities: string[];
589
- };
590
- "Auth.DeviceUserAuthorities.ReviewRequested": {
591
- subject: string;
592
- params: readonly ["/deploymentId"];
593
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthDeviceUserAuthoritiesReviewRequestedEvent>;
594
- publishCapabilities: string[];
595
- subscribeCapabilities: string[];
596
- };
597
- "Auth.Sessions.Revoked": {
598
- subject: string;
599
- event: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").AuthSessionsRevokedEvent>;
600
- publishCapabilities: string[];
601
- subscribeCapabilities: string[];
602
- };
603
- };
604
- feeds: {};
605
- subjects: {};
606
- }>;
7
+ export declare const use: import("@qlever-llc/trellis").ContractUseFn<"trellis.auth@v1", import("./api.js").OwnedApi>;
607
8
  //# sourceMappingURL=contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/auth/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAM/B,eAAO,MAAM,WAAW,EAAG,iBAA0B,CAAC;AACtD,eAAO,MAAM,eAAe,EAC1B,6CAAsD,CAAC;AACzD,eAAO,MAAM,QAAQ,EAgiThB,iBAAiB,CAAC;AAgCvB,eAAO,MAAM,GAAG,EAAE,iBAAiB,CAAC,OAAO,WAAW,EAAE,OAAO,GAAG,CAAC,KAAK,CA0CvE,CAAC;AAEF,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAU,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/auth/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAM/B,eAAO,MAAM,WAAW,EAAG,iBAA0B,CAAC;AACtD,eAAO,MAAM,eAAe,EAC1B,6CAAsD,CAAC;AACzD,eAAO,MAAM,QAAQ,EAyvThB,iBAAiB,CAAC;AAgCvB,eAAO,MAAM,GAAG,EAAE,iBAAiB,CAAC,OAAO,WAAW,EAAE,OAAO,GAAG,CAAC,KAAK,CA0CvE,CAAC;AAEF,eAAO,MAAM,GAAG,8FAAU,CAAC"}