@qlever-llc/trellis 0.5.1 → 0.6.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 (490) hide show
  1. package/README.md +16 -2
  2. package/esm/_dnt.polyfills.d.ts +11 -0
  3. package/esm/_dnt.polyfills.d.ts.map +1 -1
  4. package/esm/_dnt.polyfills.js +14 -0
  5. package/esm/_dnt.shims.d.ts +6 -0
  6. package/esm/_dnt.shims.d.ts.map +1 -0
  7. package/esm/_dnt.shims.js +61 -0
  8. package/esm/auth/browser/login.d.ts +27 -0
  9. package/esm/auth/browser/login.d.ts.map +1 -0
  10. package/esm/auth/browser/login.js +94 -0
  11. package/esm/auth/browser/portal.d.ts +11 -0
  12. package/esm/auth/browser/portal.d.ts.map +1 -0
  13. package/esm/auth/browser/portal.js +33 -0
  14. package/esm/auth/browser/session.d.ts +19 -0
  15. package/esm/auth/browser/session.d.ts.map +1 -0
  16. package/esm/auth/browser/session.js +65 -0
  17. package/esm/auth/browser/storage.d.ts +12 -0
  18. package/esm/auth/browser/storage.d.ts.map +1 -0
  19. package/esm/auth/browser/storage.js +61 -0
  20. package/esm/auth/browser.d.ts +13 -0
  21. package/esm/auth/browser.d.ts.map +1 -0
  22. package/esm/auth/browser.js +11 -0
  23. package/esm/auth/keys.d.ts +5 -0
  24. package/esm/auth/keys.d.ts.map +1 -0
  25. package/esm/auth/keys.js +50 -0
  26. package/esm/auth/mod.d.ts +18 -0
  27. package/esm/auth/mod.d.ts.map +1 -0
  28. package/esm/auth/mod.js +17 -0
  29. package/esm/auth/proof.d.ts +9 -0
  30. package/esm/auth/proof.d.ts.map +1 -0
  31. package/esm/auth/proof.js +43 -0
  32. package/esm/auth/protocol.d.ts +1212 -0
  33. package/esm/auth/protocol.d.ts.map +1 -0
  34. package/esm/auth/protocol.js +682 -0
  35. package/esm/auth/schemas.d.ts +93 -0
  36. package/esm/auth/schemas.d.ts.map +1 -0
  37. package/esm/auth/schemas.js +64 -0
  38. package/esm/auth/session_auth.d.ts +20 -0
  39. package/esm/auth/session_auth.d.ts.map +1 -0
  40. package/esm/auth/session_auth.js +42 -0
  41. package/esm/auth/trellis_id.d.ts +2 -0
  42. package/esm/auth/trellis_id.d.ts.map +1 -0
  43. package/esm/auth/trellis_id.js +5 -0
  44. package/esm/auth/types.d.ts +8 -0
  45. package/esm/auth/types.d.ts.map +1 -0
  46. package/esm/auth/types.js +1 -0
  47. package/esm/auth/utils.d.ts +11 -0
  48. package/esm/auth/utils.d.ts.map +1 -0
  49. package/esm/auth/utils.js +68 -0
  50. package/esm/auth/workload_activation.d.ts +192 -0
  51. package/esm/auth/workload_activation.d.ts.map +1 -0
  52. package/esm/auth/workload_activation.js +290 -0
  53. package/esm/contracts/canonical.d.ts +14 -0
  54. package/esm/contracts/canonical.d.ts.map +1 -0
  55. package/esm/contracts/canonical.js +135 -0
  56. package/esm/contracts/mod.d.ts +466 -0
  57. package/esm/contracts/mod.d.ts.map +1 -0
  58. package/esm/contracts/mod.js +534 -0
  59. package/esm/contracts/protocol.d.ts +301 -0
  60. package/esm/contracts/protocol.d.ts.map +1 -0
  61. package/esm/contracts/protocol.js +130 -0
  62. package/esm/contracts/runtime.d.ts +48 -0
  63. package/esm/contracts/runtime.d.ts.map +1 -0
  64. package/esm/contracts/runtime.js +9 -0
  65. package/esm/contracts/schema_pointers.d.ts +18 -0
  66. package/esm/contracts/schema_pointers.d.ts.map +1 -0
  67. package/esm/contracts/schema_pointers.js +59 -0
  68. package/esm/server/deno.d.ts +7 -0
  69. package/esm/server/deno.d.ts.map +1 -0
  70. package/esm/server/deno.js +16 -0
  71. package/esm/server/health.d.ts +92 -0
  72. package/esm/server/health.d.ts.map +1 -0
  73. package/esm/server/health.js +74 -0
  74. package/esm/server/health_rpc.d.ts +16 -0
  75. package/esm/server/health_rpc.d.ts.map +1 -0
  76. package/esm/server/health_rpc.js +23 -0
  77. package/esm/server/health_schemas.d.ts +20 -0
  78. package/esm/server/health_schemas.d.ts.map +1 -0
  79. package/esm/server/health_schemas.js +18 -0
  80. package/esm/server/mod.d.ts +17 -0
  81. package/esm/server/mod.d.ts.map +1 -0
  82. package/esm/server/mod.js +17 -0
  83. package/esm/server/node.d.ts +7 -0
  84. package/esm/server/node.d.ts.map +1 -0
  85. package/esm/server/node.js +16 -0
  86. package/esm/server/runtime.d.ts +16 -0
  87. package/esm/server/runtime.d.ts.map +1 -0
  88. package/esm/server/runtime.js +1 -0
  89. package/esm/server/service.d.ts +121 -0
  90. package/esm/server/service.d.ts.map +1 -0
  91. package/esm/server/service.js +256 -0
  92. package/esm/server/subscription.d.ts +99 -0
  93. package/esm/server/subscription.d.ts.map +1 -0
  94. package/esm/server/subscription.js +25 -0
  95. package/esm/telemetry/carrier.d.ts +9 -0
  96. package/esm/telemetry/carrier.d.ts.map +1 -0
  97. package/esm/telemetry/carrier.js +20 -0
  98. package/esm/telemetry/core.d.ts +8 -0
  99. package/esm/telemetry/core.d.ts.map +1 -0
  100. package/esm/telemetry/core.js +14 -0
  101. package/esm/telemetry/env.d.ts +2 -0
  102. package/esm/telemetry/env.d.ts.map +1 -0
  103. package/esm/telemetry/env.js +10 -0
  104. package/esm/telemetry/mod.d.ts +11 -0
  105. package/esm/telemetry/mod.d.ts.map +1 -0
  106. package/esm/telemetry/mod.js +7 -0
  107. package/esm/telemetry/nats.d.ts +7 -0
  108. package/esm/telemetry/nats.d.ts.map +1 -0
  109. package/esm/telemetry/nats.js +6 -0
  110. package/esm/telemetry/result.d.ts +2 -0
  111. package/esm/telemetry/result.d.ts.map +1 -0
  112. package/esm/telemetry/result.js +18 -0
  113. package/esm/telemetry/runtime.d.ts +2 -0
  114. package/esm/telemetry/runtime.d.ts.map +1 -0
  115. package/esm/telemetry/runtime.js +53 -0
  116. package/esm/telemetry/trace.d.ts +5 -0
  117. package/esm/telemetry/trace.d.ts.map +1 -0
  118. package/esm/telemetry/trace.js +26 -0
  119. package/esm/telemetry/trellis.d.ts +3 -0
  120. package/esm/telemetry/trellis.d.ts.map +1 -0
  121. package/esm/telemetry/trellis.js +7 -0
  122. package/esm/trellis/_sdk/activity/_dnt.polyfills.d.ts +12 -0
  123. package/esm/trellis/_sdk/activity/_dnt.polyfills.d.ts.map +1 -0
  124. package/esm/trellis/_sdk/activity/_dnt.polyfills.js +15 -0
  125. package/esm/trellis/_sdk/activity/api.d.ts +10 -0
  126. package/esm/trellis/_sdk/activity/api.d.ts.map +1 -0
  127. package/esm/trellis/_sdk/activity/api.js +43 -0
  128. package/esm/trellis/_sdk/activity/contract.d.ts +8 -0
  129. package/esm/trellis/_sdk/activity/contract.d.ts.map +1 -0
  130. package/esm/trellis/_sdk/activity/contract.js +59 -0
  131. package/esm/trellis/_sdk/activity/mod.d.ts +7 -0
  132. package/esm/trellis/_sdk/activity/mod.d.ts.map +1 -0
  133. package/esm/trellis/_sdk/activity/mod.js +5 -0
  134. package/esm/trellis/_sdk/activity/package.json +3 -0
  135. package/esm/trellis/_sdk/activity/schemas.d.ts +607 -0
  136. package/esm/trellis/_sdk/activity/schemas.d.ts.map +1 -0
  137. package/esm/trellis/_sdk/activity/schemas.js +33 -0
  138. package/esm/trellis/_sdk/activity/types.d.ts +96 -0
  139. package/esm/trellis/_sdk/activity/types.d.ts.map +1 -0
  140. package/esm/trellis/_sdk/activity/types.js +3 -0
  141. package/esm/trellis/_sdk/auth/_dnt.polyfills.d.ts +12 -0
  142. package/esm/trellis/_sdk/auth/_dnt.polyfills.d.ts.map +1 -0
  143. package/esm/trellis/_sdk/auth/_dnt.polyfills.js +15 -0
  144. package/esm/trellis/_sdk/auth/api.d.ts +10 -0
  145. package/esm/trellis/_sdk/auth/api.d.ts.map +1 -0
  146. package/esm/trellis/_sdk/auth/api.js +354 -0
  147. package/esm/trellis/_sdk/auth/contract.d.ts +28 -0
  148. package/esm/trellis/_sdk/auth/contract.d.ts.map +1 -0
  149. package/esm/trellis/_sdk/auth/contract.js +83 -0
  150. package/esm/trellis/_sdk/auth/mod.d.ts +7 -0
  151. package/esm/trellis/_sdk/auth/mod.d.ts.map +1 -0
  152. package/esm/trellis/_sdk/auth/mod.js +5 -0
  153. package/esm/trellis/_sdk/auth/package.json +3 -0
  154. package/esm/trellis/_sdk/auth/schemas.d.ts +8967 -0
  155. package/esm/trellis/_sdk/auth/schemas.d.ts.map +1 -0
  156. package/esm/trellis/_sdk/auth/schemas.js +306 -0
  157. package/esm/trellis/_sdk/auth/types.d.ts +1232 -0
  158. package/esm/trellis/_sdk/auth/types.d.ts.map +1 -0
  159. package/esm/trellis/_sdk/auth/types.js +3 -0
  160. package/esm/trellis/_sdk/core/_dnt.polyfills.d.ts +12 -0
  161. package/esm/trellis/_sdk/core/_dnt.polyfills.d.ts.map +1 -0
  162. package/esm/trellis/_sdk/core/_dnt.polyfills.js +15 -0
  163. package/esm/trellis/_sdk/core/api.d.ts +10 -0
  164. package/esm/trellis/_sdk/core/api.d.ts.map +1 -0
  165. package/esm/trellis/_sdk/core/api.js +36 -0
  166. package/esm/trellis/_sdk/core/contract.d.ts +8 -0
  167. package/esm/trellis/_sdk/core/contract.d.ts.map +1 -0
  168. package/esm/trellis/_sdk/core/contract.js +59 -0
  169. package/esm/trellis/_sdk/core/mod.d.ts +7 -0
  170. package/esm/trellis/_sdk/core/mod.d.ts.map +1 -0
  171. package/esm/trellis/_sdk/core/mod.js +5 -0
  172. package/esm/trellis/_sdk/core/package.json +3 -0
  173. package/esm/trellis/_sdk/core/schemas.d.ts +1144 -0
  174. package/esm/trellis/_sdk/core/schemas.d.ts.map +1 -0
  175. package/esm/trellis/_sdk/core/schemas.js +28 -0
  176. package/esm/trellis/_sdk/core/types.d.ts +176 -0
  177. package/esm/trellis/_sdk/core/types.d.ts.map +1 -0
  178. package/esm/trellis/_sdk/core/types.js +3 -0
  179. package/esm/trellis/auth/browser.d.ts +3 -0
  180. package/esm/trellis/auth/browser.d.ts.map +1 -0
  181. package/esm/trellis/auth/browser.js +2 -0
  182. package/esm/trellis/auth.d.ts +3 -0
  183. package/esm/trellis/auth.d.ts.map +1 -0
  184. package/esm/trellis/auth.js +2 -0
  185. package/esm/trellis/browser.d.ts +2 -7
  186. package/esm/trellis/browser.d.ts.map +1 -1
  187. package/esm/trellis/browser.js +2 -7
  188. package/esm/trellis/client.d.ts +6 -4
  189. package/esm/trellis/client.d.ts.map +1 -1
  190. package/esm/trellis/client.js +28 -1
  191. package/esm/trellis/codec.d.ts +4 -3
  192. package/esm/trellis/codec.d.ts.map +1 -1
  193. package/esm/trellis/codec.js +15 -2
  194. package/esm/trellis/contract.d.ts +11 -0
  195. package/esm/trellis/contract.d.ts.map +1 -0
  196. package/esm/trellis/contract.js +15 -0
  197. package/esm/trellis/contracts.d.ts +5 -0
  198. package/esm/trellis/contracts.d.ts.map +1 -0
  199. package/esm/trellis/contracts.js +3 -0
  200. package/esm/trellis/env.d.ts +1 -1
  201. package/esm/trellis/env.d.ts.map +1 -1
  202. package/esm/trellis/env.js +1 -1
  203. package/esm/trellis/errors/AuthError.d.ts +1 -1
  204. package/esm/trellis/errors/AuthError.d.ts.map +1 -1
  205. package/esm/trellis/errors/AuthError.js +11 -0
  206. package/esm/trellis/errors/RemoteError.d.ts +3 -3
  207. package/esm/trellis/errors/RemoteError.d.ts.map +1 -1
  208. package/esm/trellis/errors/RemoteError.js +3 -3
  209. package/esm/trellis/errors/TrellisError.d.ts +1 -1
  210. package/esm/trellis/errors/TrellisError.js +1 -1
  211. package/esm/trellis/errors/index.d.ts +2 -1
  212. package/esm/trellis/errors/index.d.ts.map +1 -1
  213. package/esm/trellis/errors/index.js +3 -2
  214. package/esm/trellis/globals.d.ts +9 -1
  215. package/esm/trellis/globals.d.ts.map +1 -1
  216. package/esm/trellis/globals.js +16 -8
  217. package/esm/trellis/helpers.d.ts +2 -1
  218. package/esm/trellis/helpers.d.ts.map +1 -1
  219. package/esm/trellis/helpers.js +1 -0
  220. package/esm/trellis/index.d.ts +13 -5
  221. package/esm/trellis/index.d.ts.map +1 -1
  222. package/esm/trellis/index.js +8 -3
  223. package/esm/trellis/kv.d.ts +10 -7
  224. package/esm/trellis/kv.d.ts.map +1 -1
  225. package/esm/trellis/kv.js +57 -34
  226. package/esm/trellis/models/trellis/TrellisError.d.ts +1 -1
  227. package/esm/trellis/models/trellis/TrellisError.js +1 -1
  228. package/esm/trellis/operations.d.ts +81 -0
  229. package/esm/trellis/operations.d.ts.map +1 -0
  230. package/esm/trellis/operations.js +206 -0
  231. package/esm/trellis/sdk/activity.d.ts +3 -0
  232. package/esm/trellis/sdk/activity.d.ts.map +1 -0
  233. package/esm/trellis/sdk/activity.js +2 -0
  234. package/esm/trellis/sdk/auth.d.ts +4 -0
  235. package/esm/trellis/sdk/auth.d.ts.map +1 -0
  236. package/esm/trellis/sdk/auth.js +3 -0
  237. package/esm/trellis/sdk/core.d.ts +4 -0
  238. package/esm/trellis/sdk/core.d.ts.map +1 -0
  239. package/esm/trellis/sdk/core.js +3 -0
  240. package/esm/trellis/server/deno.d.ts +3 -0
  241. package/esm/trellis/server/deno.d.ts.map +1 -0
  242. package/esm/trellis/server/deno.js +2 -0
  243. package/esm/trellis/server/health.d.ts +5 -0
  244. package/esm/trellis/server/health.d.ts.map +1 -0
  245. package/esm/trellis/server/health.js +3 -0
  246. package/esm/trellis/server/mod.d.ts +3 -0
  247. package/esm/trellis/server/mod.d.ts.map +1 -0
  248. package/esm/trellis/server/mod.js +2 -0
  249. package/esm/trellis/server/node.d.ts +3 -0
  250. package/esm/trellis/server/node.d.ts.map +1 -0
  251. package/esm/trellis/server/node.js +2 -0
  252. package/esm/trellis/server/runtime.d.ts +4 -0
  253. package/esm/trellis/server/runtime.d.ts.map +1 -0
  254. package/esm/trellis/server/runtime.js +2 -0
  255. package/esm/trellis/server.d.ts +21 -0
  256. package/esm/trellis/server.d.ts.map +1 -0
  257. package/esm/trellis/server.js +536 -0
  258. package/esm/trellis/server_logger.d.ts +3 -0
  259. package/esm/trellis/server_logger.d.ts.map +1 -0
  260. package/esm/trellis/server_logger.js +7 -0
  261. package/esm/trellis/tasks.d.ts +3 -3
  262. package/esm/trellis/tasks.d.ts.map +1 -1
  263. package/esm/trellis/tasks.js +1 -1
  264. package/esm/trellis/tracing.d.ts +2 -2
  265. package/esm/trellis/tracing.d.ts.map +1 -1
  266. package/esm/trellis/tracing.js +2 -2
  267. package/esm/trellis/trellis.d.ts +167 -78
  268. package/esm/trellis/trellis.d.ts.map +1 -1
  269. package/esm/trellis/trellis.js +281 -87
  270. package/esm/trellis/workload.d.ts +45 -0
  271. package/esm/trellis/workload.d.ts.map +1 -0
  272. package/esm/trellis/workload.js +144 -0
  273. package/package.json +64 -5
  274. package/script/auth/browser/login.d.ts +27 -0
  275. package/script/auth/browser/login.d.ts.map +1 -0
  276. package/script/auth/browser/login.js +100 -0
  277. package/script/auth/browser/portal.d.ts +11 -0
  278. package/script/auth/browser/portal.d.ts.map +1 -0
  279. package/script/auth/browser/portal.js +40 -0
  280. package/script/auth/browser/session.d.ts +19 -0
  281. package/script/auth/browser/session.d.ts.map +1 -0
  282. package/script/auth/browser/session.js +79 -0
  283. package/script/auth/browser/storage.d.ts +12 -0
  284. package/script/auth/browser/storage.d.ts.map +1 -0
  285. package/script/auth/browser/storage.js +67 -0
  286. package/script/auth/browser.d.ts +13 -0
  287. package/script/auth/browser.d.ts.map +1 -0
  288. package/script/auth/browser.js +46 -0
  289. package/script/auth/keys.d.ts +5 -0
  290. package/script/auth/keys.d.ts.map +1 -0
  291. package/script/auth/keys.js +56 -0
  292. package/script/auth/mod.d.ts +18 -0
  293. package/script/auth/mod.d.ts.map +1 -0
  294. package/script/auth/mod.js +172 -0
  295. package/script/auth/proof.d.ts +9 -0
  296. package/script/auth/proof.d.ts.map +1 -0
  297. package/script/auth/proof.js +48 -0
  298. package/script/auth/protocol.d.ts +1212 -0
  299. package/script/auth/protocol.d.ts.map +1 -0
  300. package/script/auth/protocol.js +687 -0
  301. package/script/auth/schemas.d.ts +93 -0
  302. package/script/auth/schemas.d.ts.map +1 -0
  303. package/script/auth/schemas.js +67 -0
  304. package/script/auth/session_auth.d.ts +20 -0
  305. package/script/auth/session_auth.d.ts.map +1 -0
  306. package/script/auth/session_auth.js +45 -0
  307. package/script/auth/trellis_id.d.ts +2 -0
  308. package/script/auth/trellis_id.d.ts.map +1 -0
  309. package/script/auth/trellis_id.js +8 -0
  310. package/script/auth/types.d.ts +8 -0
  311. package/script/auth/types.d.ts.map +1 -0
  312. package/script/auth/utils.d.ts +11 -0
  313. package/script/auth/utils.d.ts.map +1 -0
  314. package/script/auth/utils.js +77 -0
  315. package/script/auth/workload_activation.d.ts +192 -0
  316. package/script/auth/workload_activation.d.ts.map +1 -0
  317. package/script/auth/workload_activation.js +308 -0
  318. package/script/contracts/canonical.d.ts +14 -0
  319. package/script/contracts/canonical.d.ts.map +1 -0
  320. package/script/contracts/canonical.js +144 -0
  321. package/script/contracts/mod.d.ts +466 -0
  322. package/script/contracts/mod.d.ts.map +1 -0
  323. package/script/contracts/mod.js +557 -0
  324. package/script/contracts/protocol.d.ts +301 -0
  325. package/script/contracts/protocol.d.ts.map +1 -0
  326. package/script/contracts/protocol.js +136 -0
  327. package/script/contracts/runtime.d.ts +48 -0
  328. package/script/contracts/runtime.d.ts.map +1 -0
  329. package/script/contracts/runtime.js +13 -0
  330. package/script/contracts/schema_pointers.d.ts +18 -0
  331. package/script/contracts/schema_pointers.d.ts.map +1 -0
  332. package/script/contracts/schema_pointers.js +63 -0
  333. package/script/telemetry/carrier.d.ts +9 -0
  334. package/script/telemetry/carrier.d.ts.map +1 -0
  335. package/script/telemetry/carrier.js +25 -0
  336. package/script/telemetry/core.d.ts +8 -0
  337. package/script/telemetry/core.d.ts.map +1 -0
  338. package/script/telemetry/core.js +24 -0
  339. package/script/telemetry/env.d.ts +2 -0
  340. package/script/telemetry/env.d.ts.map +1 -0
  341. package/script/telemetry/env.js +12 -0
  342. package/script/telemetry/mod.d.ts +11 -0
  343. package/script/telemetry/mod.d.ts.map +1 -0
  344. package/script/telemetry/mod.js +29 -0
  345. package/script/telemetry/nats.d.ts +7 -0
  346. package/script/telemetry/nats.d.ts.map +1 -0
  347. package/script/telemetry/nats.js +9 -0
  348. package/script/telemetry/result.d.ts +2 -0
  349. package/script/telemetry/result.d.ts.map +1 -0
  350. package/script/telemetry/result.js +21 -0
  351. package/script/telemetry/runtime.d.ts +2 -0
  352. package/script/telemetry/runtime.d.ts.map +1 -0
  353. package/script/telemetry/runtime.js +79 -0
  354. package/script/telemetry/trace.d.ts +5 -0
  355. package/script/telemetry/trace.d.ts.map +1 -0
  356. package/script/telemetry/trace.js +31 -0
  357. package/script/telemetry/trellis.d.ts +3 -0
  358. package/script/telemetry/trellis.d.ts.map +1 -0
  359. package/script/telemetry/trellis.js +14 -0
  360. package/script/trellis/_sdk/activity/_dnt.polyfills.d.ts +12 -0
  361. package/script/trellis/_sdk/activity/_dnt.polyfills.d.ts.map +1 -0
  362. package/script/trellis/_sdk/activity/_dnt.polyfills.js +16 -0
  363. package/script/trellis/_sdk/activity/api.d.ts +10 -0
  364. package/script/trellis/_sdk/activity/api.d.ts.map +1 -0
  365. package/script/trellis/_sdk/activity/api.js +46 -0
  366. package/script/trellis/_sdk/activity/contract.d.ts +8 -0
  367. package/script/trellis/_sdk/activity/contract.d.ts.map +1 -0
  368. package/script/trellis/_sdk/activity/contract.js +62 -0
  369. package/script/trellis/_sdk/activity/mod.d.ts +7 -0
  370. package/script/trellis/_sdk/activity/mod.d.ts.map +1 -0
  371. package/script/trellis/_sdk/activity/mod.js +30 -0
  372. package/script/trellis/_sdk/activity/package.json +3 -0
  373. package/script/trellis/_sdk/activity/schemas.d.ts +607 -0
  374. package/script/trellis/_sdk/activity/schemas.d.ts.map +1 -0
  375. package/script/trellis/_sdk/activity/schemas.js +36 -0
  376. package/script/trellis/_sdk/activity/types.d.ts +96 -0
  377. package/script/trellis/_sdk/activity/types.d.ts.map +1 -0
  378. package/script/trellis/_sdk/activity/types.js +6 -0
  379. package/script/trellis/_sdk/auth/_dnt.polyfills.d.ts +12 -0
  380. package/script/trellis/_sdk/auth/_dnt.polyfills.d.ts.map +1 -0
  381. package/script/trellis/_sdk/auth/_dnt.polyfills.js +16 -0
  382. package/script/trellis/_sdk/auth/api.d.ts +10 -0
  383. package/script/trellis/_sdk/auth/api.d.ts.map +1 -0
  384. package/script/trellis/_sdk/auth/api.js +357 -0
  385. package/script/trellis/_sdk/auth/contract.d.ts +28 -0
  386. package/script/trellis/_sdk/auth/contract.d.ts.map +1 -0
  387. package/script/trellis/_sdk/auth/contract.js +86 -0
  388. package/script/trellis/_sdk/auth/mod.d.ts +7 -0
  389. package/script/trellis/_sdk/auth/mod.d.ts.map +1 -0
  390. package/script/trellis/_sdk/auth/mod.js +31 -0
  391. package/script/trellis/_sdk/auth/package.json +3 -0
  392. package/script/trellis/_sdk/auth/schemas.d.ts +8967 -0
  393. package/script/trellis/_sdk/auth/schemas.d.ts.map +1 -0
  394. package/script/trellis/_sdk/auth/schemas.js +309 -0
  395. package/script/trellis/_sdk/auth/types.d.ts +1232 -0
  396. package/script/trellis/_sdk/auth/types.d.ts.map +1 -0
  397. package/script/trellis/_sdk/auth/types.js +6 -0
  398. package/script/trellis/_sdk/core/_dnt.polyfills.d.ts +12 -0
  399. package/script/trellis/_sdk/core/_dnt.polyfills.d.ts.map +1 -0
  400. package/script/trellis/_sdk/core/_dnt.polyfills.js +16 -0
  401. package/script/trellis/_sdk/core/api.d.ts +10 -0
  402. package/script/trellis/_sdk/core/api.d.ts.map +1 -0
  403. package/script/trellis/_sdk/core/api.js +39 -0
  404. package/script/trellis/_sdk/core/contract.d.ts +8 -0
  405. package/script/trellis/_sdk/core/contract.d.ts.map +1 -0
  406. package/script/trellis/_sdk/core/contract.js +62 -0
  407. package/script/trellis/_sdk/core/mod.d.ts +7 -0
  408. package/script/trellis/_sdk/core/mod.d.ts.map +1 -0
  409. package/script/trellis/_sdk/core/mod.js +30 -0
  410. package/script/trellis/_sdk/core/package.json +3 -0
  411. package/script/trellis/_sdk/core/schemas.d.ts +1144 -0
  412. package/script/trellis/_sdk/core/schemas.d.ts.map +1 -0
  413. package/script/trellis/_sdk/core/schemas.js +31 -0
  414. package/script/trellis/_sdk/core/types.d.ts +176 -0
  415. package/script/trellis/_sdk/core/types.d.ts.map +1 -0
  416. package/script/trellis/_sdk/core/types.js +6 -0
  417. package/script/trellis/auth.d.ts +2 -0
  418. package/script/trellis/auth.d.ts.map +1 -0
  419. package/script/trellis/auth.js +17 -0
  420. package/script/trellis/client.d.ts +8 -6
  421. package/script/trellis/client.d.ts.map +1 -1
  422. package/script/trellis/client.js +54 -3
  423. package/script/trellis/codec.d.ts +5 -4
  424. package/script/trellis/codec.d.ts.map +1 -1
  425. package/script/trellis/codec.js +31 -17
  426. package/script/trellis/contract.d.ts +11 -0
  427. package/script/trellis/contract.d.ts.map +1 -0
  428. package/script/trellis/contract.js +18 -0
  429. package/script/trellis/contracts.d.ts +4 -0
  430. package/script/trellis/contracts.d.ts.map +1 -0
  431. package/script/trellis/contracts.js +20 -0
  432. package/script/trellis/errors/AuthError.d.ts +2 -2
  433. package/script/trellis/errors/AuthError.d.ts.map +1 -1
  434. package/script/trellis/errors/AuthError.js +13 -2
  435. package/script/trellis/errors/KVError.d.ts +1 -1
  436. package/script/trellis/errors/KVError.d.ts.map +1 -1
  437. package/script/trellis/errors/KVError.js +2 -2
  438. package/script/trellis/errors/RemoteError.d.ts +4 -4
  439. package/script/trellis/errors/RemoteError.d.ts.map +1 -1
  440. package/script/trellis/errors/RemoteError.js +11 -11
  441. package/script/trellis/errors/TrellisError.d.ts +1 -1
  442. package/script/trellis/errors/TrellisError.d.ts.map +1 -1
  443. package/script/trellis/errors/TrellisError.js +2 -2
  444. package/script/trellis/errors/ValidationError.d.ts +1 -1
  445. package/script/trellis/errors/ValidationError.d.ts.map +1 -1
  446. package/script/trellis/errors/ValidationError.js +2 -2
  447. package/script/trellis/errors/index.d.ts +14 -14
  448. package/script/trellis/errors/index.d.ts.map +1 -1
  449. package/script/trellis/errors/index.js +31 -31
  450. package/script/trellis/globals.d.ts +9 -1
  451. package/script/trellis/globals.d.ts.map +1 -1
  452. package/script/trellis/globals.js +16 -8
  453. package/script/trellis/helpers.d.ts +1 -1
  454. package/script/trellis/helpers.d.ts.map +1 -1
  455. package/script/trellis/index.d.ts +17 -10
  456. package/script/trellis/index.d.ts.map +1 -1
  457. package/script/trellis/index.js +57 -22
  458. package/script/trellis/kv.d.ts +11 -8
  459. package/script/trellis/kv.d.ts.map +1 -1
  460. package/script/trellis/kv.js +91 -68
  461. package/script/trellis/models/trellis/TrellisError.d.ts +1 -1
  462. package/script/trellis/models/trellis/TrellisError.d.ts.map +1 -1
  463. package/script/trellis/models/trellis/TrellisError.js +8 -8
  464. package/script/trellis/operations.d.ts +81 -0
  465. package/script/trellis/operations.d.ts.map +1 -0
  466. package/script/trellis/operations.js +212 -0
  467. package/script/trellis/sdk/core.d.ts +3 -0
  468. package/script/trellis/sdk/core.d.ts.map +1 -0
  469. package/script/trellis/sdk/core.js +20 -0
  470. package/script/trellis/tasks.d.ts +3 -3
  471. package/script/trellis/tasks.d.ts.map +1 -1
  472. package/script/trellis/tasks.js +5 -5
  473. package/script/trellis/tracing.d.ts +2 -3
  474. package/script/trellis/tracing.d.ts.map +1 -1
  475. package/script/trellis/tracing.js +17 -20
  476. package/script/trellis/trellis.d.ts +169 -80
  477. package/script/trellis/trellis.d.ts.map +1 -1
  478. package/script/trellis/trellis.js +379 -177
  479. package/script/trellis/workload.d.ts +45 -0
  480. package/script/trellis/workload.d.ts.map +1 -0
  481. package/script/trellis/workload.js +172 -0
  482. package/script/_dnt.polyfills.d.ts +0 -7
  483. package/script/_dnt.polyfills.d.ts.map +0 -1
  484. package/script/trellis/browser.d.ts +0 -11
  485. package/script/trellis/browser.d.ts.map +0 -1
  486. package/script/trellis/browser.js +0 -21
  487. package/script/trellis/env.d.ts +0 -2
  488. package/script/trellis/env.d.ts.map +0 -1
  489. package/script/trellis/env.js +0 -5
  490. /package/script/{_dnt.polyfills.js → auth/types.js} +0 -0
@@ -0,0 +1,1144 @@
1
+ export declare const SCHEMAS: {
2
+ readonly schemas: {
3
+ readonly TrellisBindingsGetRequest: {
4
+ readonly additionalProperties: false;
5
+ readonly properties: {
6
+ readonly contractId: {
7
+ readonly minLength: 1;
8
+ readonly type: "string";
9
+ };
10
+ readonly digest: {
11
+ readonly pattern: "^[A-Za-z0-9_-]+$";
12
+ readonly type: "string";
13
+ };
14
+ };
15
+ readonly type: "object";
16
+ };
17
+ readonly TrellisBindingsGetResponse: {
18
+ readonly additionalProperties: false;
19
+ readonly properties: {
20
+ readonly binding: {
21
+ readonly additionalProperties: false;
22
+ readonly properties: {
23
+ readonly contractId: {
24
+ readonly minLength: 1;
25
+ readonly type: "string";
26
+ };
27
+ readonly digest: {
28
+ readonly pattern: "^[A-Za-z0-9_-]+$";
29
+ readonly type: "string";
30
+ };
31
+ readonly resources: {
32
+ readonly properties: {
33
+ readonly jobs: {
34
+ readonly additionalProperties: false;
35
+ readonly properties: {
36
+ readonly namespace: {
37
+ readonly minLength: 1;
38
+ readonly type: "string";
39
+ };
40
+ readonly queues: {
41
+ readonly patternProperties: {
42
+ readonly "^.*$": {
43
+ readonly additionalProperties: false;
44
+ readonly properties: {
45
+ readonly ackWaitMs: {
46
+ readonly minimum: 1;
47
+ readonly type: "integer";
48
+ };
49
+ readonly backoffMs: {
50
+ readonly items: {
51
+ readonly minimum: 0;
52
+ readonly type: "integer";
53
+ };
54
+ readonly type: "array";
55
+ };
56
+ readonly concurrency: {
57
+ readonly minimum: 1;
58
+ readonly type: "integer";
59
+ };
60
+ readonly consumerName: {
61
+ readonly minLength: 1;
62
+ readonly type: "string";
63
+ };
64
+ readonly defaultDeadlineMs: {
65
+ readonly minimum: 1;
66
+ readonly type: "integer";
67
+ };
68
+ readonly dlq: {
69
+ readonly type: "boolean";
70
+ };
71
+ readonly logs: {
72
+ readonly type: "boolean";
73
+ };
74
+ readonly maxDeliver: {
75
+ readonly minimum: 1;
76
+ readonly type: "integer";
77
+ };
78
+ readonly payload: {
79
+ readonly additionalProperties: false;
80
+ readonly properties: {
81
+ readonly schema: {
82
+ readonly minLength: 1;
83
+ readonly type: "string";
84
+ };
85
+ };
86
+ readonly required: readonly ["schema"];
87
+ readonly type: "object";
88
+ };
89
+ readonly progress: {
90
+ readonly type: "boolean";
91
+ };
92
+ readonly publishPrefix: {
93
+ readonly minLength: 1;
94
+ readonly type: "string";
95
+ };
96
+ readonly queueType: {
97
+ readonly minLength: 1;
98
+ readonly type: "string";
99
+ };
100
+ readonly result: {
101
+ readonly additionalProperties: false;
102
+ readonly properties: {
103
+ readonly schema: {
104
+ readonly minLength: 1;
105
+ readonly type: "string";
106
+ };
107
+ };
108
+ readonly required: readonly ["schema"];
109
+ readonly type: "object";
110
+ };
111
+ readonly workSubject: {
112
+ readonly minLength: 1;
113
+ readonly type: "string";
114
+ };
115
+ };
116
+ readonly required: readonly ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"];
117
+ readonly type: "object";
118
+ };
119
+ };
120
+ readonly type: "object";
121
+ };
122
+ };
123
+ readonly required: readonly ["namespace", "queues"];
124
+ readonly type: "object";
125
+ };
126
+ readonly kv: {
127
+ readonly patternProperties: {
128
+ readonly "^.*$": {
129
+ readonly additionalProperties: false;
130
+ readonly properties: {
131
+ readonly bucket: {
132
+ readonly minLength: 1;
133
+ readonly type: "string";
134
+ };
135
+ readonly history: {
136
+ readonly minimum: 1;
137
+ readonly type: "integer";
138
+ };
139
+ readonly maxValueBytes: {
140
+ readonly minimum: 1;
141
+ readonly type: "integer";
142
+ };
143
+ readonly ttlMs: {
144
+ readonly minimum: 0;
145
+ readonly type: "integer";
146
+ };
147
+ };
148
+ readonly required: readonly ["bucket", "history", "ttlMs"];
149
+ readonly type: "object";
150
+ };
151
+ };
152
+ readonly type: "object";
153
+ };
154
+ readonly streams: {
155
+ readonly patternProperties: {
156
+ readonly "^.*$": {
157
+ readonly additionalProperties: false;
158
+ readonly properties: {
159
+ readonly discard: {
160
+ readonly minLength: 1;
161
+ readonly type: "string";
162
+ };
163
+ readonly maxAgeMs: {
164
+ readonly minimum: 0;
165
+ readonly type: "integer";
166
+ };
167
+ readonly maxBytes: {
168
+ readonly type: "integer";
169
+ };
170
+ readonly maxMsgs: {
171
+ readonly type: "integer";
172
+ };
173
+ readonly name: {
174
+ readonly minLength: 1;
175
+ readonly type: "string";
176
+ };
177
+ readonly numReplicas: {
178
+ readonly minimum: 1;
179
+ readonly type: "integer";
180
+ };
181
+ readonly retention: {
182
+ readonly minLength: 1;
183
+ readonly type: "string";
184
+ };
185
+ readonly sources: {
186
+ readonly items: {
187
+ readonly additionalProperties: false;
188
+ readonly properties: {
189
+ readonly filterSubject: {
190
+ readonly minLength: 1;
191
+ readonly type: "string";
192
+ };
193
+ readonly fromAlias: {
194
+ readonly minLength: 1;
195
+ readonly type: "string";
196
+ };
197
+ readonly streamName: {
198
+ readonly minLength: 1;
199
+ readonly type: "string";
200
+ };
201
+ readonly subjectTransformDest: {
202
+ readonly minLength: 1;
203
+ readonly type: "string";
204
+ };
205
+ };
206
+ readonly required: readonly ["fromAlias", "streamName"];
207
+ readonly type: "object";
208
+ };
209
+ readonly type: "array";
210
+ };
211
+ readonly storage: {
212
+ readonly minLength: 1;
213
+ readonly type: "string";
214
+ };
215
+ readonly subjects: {
216
+ readonly items: {
217
+ readonly minLength: 1;
218
+ readonly type: "string";
219
+ };
220
+ readonly minItems: 1;
221
+ readonly type: "array";
222
+ };
223
+ };
224
+ readonly required: readonly ["name", "subjects"];
225
+ readonly type: "object";
226
+ };
227
+ };
228
+ readonly type: "object";
229
+ };
230
+ };
231
+ readonly type: "object";
232
+ };
233
+ };
234
+ readonly required: readonly ["contractId", "digest", "resources"];
235
+ readonly type: "object";
236
+ };
237
+ };
238
+ readonly type: "object";
239
+ };
240
+ readonly TrellisCatalogRequest: {
241
+ readonly additionalProperties: false;
242
+ readonly properties: {};
243
+ readonly type: "object";
244
+ };
245
+ readonly TrellisCatalogResponse: {
246
+ readonly additionalProperties: false;
247
+ readonly properties: {
248
+ readonly catalog: {
249
+ readonly additionalProperties: false;
250
+ readonly properties: {
251
+ readonly contracts: {
252
+ readonly items: {
253
+ readonly additionalProperties: false;
254
+ readonly properties: {
255
+ readonly description: {
256
+ readonly minLength: 1;
257
+ readonly type: "string";
258
+ };
259
+ readonly digest: {
260
+ readonly type: "string";
261
+ };
262
+ readonly displayName: {
263
+ readonly minLength: 1;
264
+ readonly type: "string";
265
+ };
266
+ readonly id: {
267
+ readonly type: "string";
268
+ };
269
+ };
270
+ readonly required: readonly ["id", "digest", "displayName", "description"];
271
+ readonly type: "object";
272
+ };
273
+ readonly type: "array";
274
+ };
275
+ readonly format: {
276
+ readonly const: "trellis.catalog.v1";
277
+ readonly type: "string";
278
+ };
279
+ };
280
+ readonly required: readonly ["format", "contracts"];
281
+ readonly type: "object";
282
+ };
283
+ };
284
+ readonly required: readonly ["catalog"];
285
+ readonly type: "object";
286
+ };
287
+ readonly TrellisContractGetRequest: {
288
+ readonly additionalProperties: false;
289
+ readonly properties: {
290
+ readonly digest: {
291
+ readonly pattern: "^[A-Za-z0-9_-]+$";
292
+ readonly type: "string";
293
+ };
294
+ };
295
+ readonly required: readonly ["digest"];
296
+ readonly type: "object";
297
+ };
298
+ readonly TrellisContractGetResponse: {
299
+ readonly additionalProperties: false;
300
+ readonly properties: {
301
+ readonly contract: {
302
+ readonly properties: {
303
+ readonly description: {
304
+ readonly minLength: 1;
305
+ readonly type: "string";
306
+ };
307
+ readonly displayName: {
308
+ readonly minLength: 1;
309
+ readonly type: "string";
310
+ };
311
+ readonly errors: {
312
+ readonly patternProperties: {
313
+ readonly "^.*$": {
314
+ readonly type: "object";
315
+ };
316
+ };
317
+ readonly type: "object";
318
+ };
319
+ readonly events: {
320
+ readonly patternProperties: {
321
+ readonly "^.*$": {
322
+ readonly type: "object";
323
+ };
324
+ };
325
+ readonly type: "object";
326
+ };
327
+ readonly format: {
328
+ readonly const: "trellis.contract.v1";
329
+ readonly type: "string";
330
+ };
331
+ readonly id: {
332
+ readonly minLength: 1;
333
+ readonly type: "string";
334
+ };
335
+ readonly resources: {
336
+ readonly properties: {
337
+ readonly jobs: {
338
+ readonly additionalProperties: false;
339
+ readonly properties: {
340
+ readonly queues: {
341
+ readonly patternProperties: {
342
+ readonly "^.*$": {
343
+ readonly additionalProperties: false;
344
+ readonly properties: {
345
+ readonly ackWaitMs: {
346
+ readonly minimum: 1;
347
+ readonly type: "integer";
348
+ };
349
+ readonly backoffMs: {
350
+ readonly items: {
351
+ readonly minimum: 0;
352
+ readonly type: "integer";
353
+ };
354
+ readonly type: "array";
355
+ };
356
+ readonly concurrency: {
357
+ readonly minimum: 1;
358
+ readonly type: "integer";
359
+ };
360
+ readonly defaultDeadlineMs: {
361
+ readonly minimum: 1;
362
+ readonly type: "integer";
363
+ };
364
+ readonly dlq: {
365
+ readonly type: "boolean";
366
+ };
367
+ readonly logs: {
368
+ readonly type: "boolean";
369
+ };
370
+ readonly maxDeliver: {
371
+ readonly minimum: 1;
372
+ readonly type: "integer";
373
+ };
374
+ readonly payload: {
375
+ readonly additionalProperties: false;
376
+ readonly properties: {
377
+ readonly schema: {
378
+ readonly minLength: 1;
379
+ readonly type: "string";
380
+ };
381
+ };
382
+ readonly required: readonly ["schema"];
383
+ readonly type: "object";
384
+ };
385
+ readonly progress: {
386
+ readonly type: "boolean";
387
+ };
388
+ readonly result: {
389
+ readonly additionalProperties: false;
390
+ readonly properties: {
391
+ readonly schema: {
392
+ readonly minLength: 1;
393
+ readonly type: "string";
394
+ };
395
+ };
396
+ readonly required: readonly ["schema"];
397
+ readonly type: "object";
398
+ };
399
+ };
400
+ readonly required: readonly ["payload"];
401
+ readonly type: "object";
402
+ };
403
+ };
404
+ readonly type: "object";
405
+ };
406
+ };
407
+ readonly required: readonly ["queues"];
408
+ readonly type: "object";
409
+ };
410
+ readonly kv: {
411
+ readonly patternProperties: {
412
+ readonly "^.*$": {
413
+ readonly additionalProperties: false;
414
+ readonly properties: {
415
+ readonly history: {
416
+ readonly default: 1;
417
+ readonly minimum: 1;
418
+ readonly type: "integer";
419
+ };
420
+ readonly maxValueBytes: {
421
+ readonly minimum: 1;
422
+ readonly type: "integer";
423
+ };
424
+ readonly purpose: {
425
+ readonly minLength: 1;
426
+ readonly type: "string";
427
+ };
428
+ readonly required: {
429
+ readonly default: true;
430
+ readonly type: "boolean";
431
+ };
432
+ readonly ttlMs: {
433
+ readonly default: 0;
434
+ readonly minimum: 0;
435
+ readonly type: "integer";
436
+ };
437
+ };
438
+ readonly required: readonly ["purpose"];
439
+ readonly type: "object";
440
+ };
441
+ };
442
+ readonly type: "object";
443
+ };
444
+ readonly streams: {
445
+ readonly patternProperties: {
446
+ readonly "^.*$": {
447
+ readonly additionalProperties: false;
448
+ readonly properties: {
449
+ readonly discard: {
450
+ readonly minLength: 1;
451
+ readonly type: "string";
452
+ };
453
+ readonly maxAgeMs: {
454
+ readonly minimum: 0;
455
+ readonly type: "integer";
456
+ };
457
+ readonly maxBytes: {
458
+ readonly type: "integer";
459
+ };
460
+ readonly maxMsgs: {
461
+ readonly type: "integer";
462
+ };
463
+ readonly numReplicas: {
464
+ readonly minimum: 1;
465
+ readonly type: "integer";
466
+ };
467
+ readonly purpose: {
468
+ readonly minLength: 1;
469
+ readonly type: "string";
470
+ };
471
+ readonly required: {
472
+ readonly default: true;
473
+ readonly type: "boolean";
474
+ };
475
+ readonly retention: {
476
+ readonly minLength: 1;
477
+ readonly type: "string";
478
+ };
479
+ readonly sources: {
480
+ readonly items: {
481
+ readonly additionalProperties: false;
482
+ readonly properties: {
483
+ readonly filterSubject: {
484
+ readonly minLength: 1;
485
+ readonly type: "string";
486
+ };
487
+ readonly fromAlias: {
488
+ readonly minLength: 1;
489
+ readonly type: "string";
490
+ };
491
+ readonly subjectTransformDest: {
492
+ readonly minLength: 1;
493
+ readonly type: "string";
494
+ };
495
+ };
496
+ readonly required: readonly ["fromAlias"];
497
+ readonly type: "object";
498
+ };
499
+ readonly type: "array";
500
+ };
501
+ readonly storage: {
502
+ readonly minLength: 1;
503
+ readonly type: "string";
504
+ };
505
+ readonly subjects: {
506
+ readonly items: {
507
+ readonly minLength: 1;
508
+ readonly type: "string";
509
+ };
510
+ readonly minItems: 1;
511
+ readonly type: "array";
512
+ };
513
+ };
514
+ readonly required: readonly ["purpose", "subjects"];
515
+ readonly type: "object";
516
+ };
517
+ };
518
+ readonly type: "object";
519
+ };
520
+ };
521
+ readonly type: "object";
522
+ };
523
+ readonly rpc: {
524
+ readonly patternProperties: {
525
+ readonly "^.*$": {
526
+ readonly type: "object";
527
+ };
528
+ };
529
+ readonly type: "object";
530
+ };
531
+ readonly schemas: {
532
+ readonly patternProperties: {
533
+ readonly "^.*$": {
534
+ readonly anyOf: readonly [{
535
+ readonly type: "object";
536
+ }, {
537
+ readonly type: "boolean";
538
+ }];
539
+ };
540
+ };
541
+ readonly type: "object";
542
+ };
543
+ readonly subjects: {
544
+ readonly patternProperties: {
545
+ readonly "^.*$": {
546
+ readonly type: "object";
547
+ };
548
+ };
549
+ readonly type: "object";
550
+ };
551
+ readonly uses: {
552
+ readonly patternProperties: {
553
+ readonly "^.*$": {
554
+ readonly type: "object";
555
+ };
556
+ };
557
+ readonly type: "object";
558
+ };
559
+ };
560
+ readonly required: readonly ["format", "id", "displayName", "description"];
561
+ readonly type: "object";
562
+ };
563
+ };
564
+ readonly required: readonly ["contract"];
565
+ readonly type: "object";
566
+ };
567
+ };
568
+ readonly rpc: {
569
+ readonly "Trellis.Bindings.Get": {
570
+ readonly input: {
571
+ readonly additionalProperties: false;
572
+ readonly properties: {
573
+ readonly contractId: {
574
+ readonly minLength: 1;
575
+ readonly type: "string";
576
+ };
577
+ readonly digest: {
578
+ readonly pattern: "^[A-Za-z0-9_-]+$";
579
+ readonly type: "string";
580
+ };
581
+ };
582
+ readonly type: "object";
583
+ };
584
+ readonly output: {
585
+ readonly additionalProperties: false;
586
+ readonly properties: {
587
+ readonly binding: {
588
+ readonly additionalProperties: false;
589
+ readonly properties: {
590
+ readonly contractId: {
591
+ readonly minLength: 1;
592
+ readonly type: "string";
593
+ };
594
+ readonly digest: {
595
+ readonly pattern: "^[A-Za-z0-9_-]+$";
596
+ readonly type: "string";
597
+ };
598
+ readonly resources: {
599
+ readonly properties: {
600
+ readonly jobs: {
601
+ readonly additionalProperties: false;
602
+ readonly properties: {
603
+ readonly namespace: {
604
+ readonly minLength: 1;
605
+ readonly type: "string";
606
+ };
607
+ readonly queues: {
608
+ readonly patternProperties: {
609
+ readonly "^.*$": {
610
+ readonly additionalProperties: false;
611
+ readonly properties: {
612
+ readonly ackWaitMs: {
613
+ readonly minimum: 1;
614
+ readonly type: "integer";
615
+ };
616
+ readonly backoffMs: {
617
+ readonly items: {
618
+ readonly minimum: 0;
619
+ readonly type: "integer";
620
+ };
621
+ readonly type: "array";
622
+ };
623
+ readonly concurrency: {
624
+ readonly minimum: 1;
625
+ readonly type: "integer";
626
+ };
627
+ readonly consumerName: {
628
+ readonly minLength: 1;
629
+ readonly type: "string";
630
+ };
631
+ readonly defaultDeadlineMs: {
632
+ readonly minimum: 1;
633
+ readonly type: "integer";
634
+ };
635
+ readonly dlq: {
636
+ readonly type: "boolean";
637
+ };
638
+ readonly logs: {
639
+ readonly type: "boolean";
640
+ };
641
+ readonly maxDeliver: {
642
+ readonly minimum: 1;
643
+ readonly type: "integer";
644
+ };
645
+ readonly payload: {
646
+ readonly additionalProperties: false;
647
+ readonly properties: {
648
+ readonly schema: {
649
+ readonly minLength: 1;
650
+ readonly type: "string";
651
+ };
652
+ };
653
+ readonly required: readonly ["schema"];
654
+ readonly type: "object";
655
+ };
656
+ readonly progress: {
657
+ readonly type: "boolean";
658
+ };
659
+ readonly publishPrefix: {
660
+ readonly minLength: 1;
661
+ readonly type: "string";
662
+ };
663
+ readonly queueType: {
664
+ readonly minLength: 1;
665
+ readonly type: "string";
666
+ };
667
+ readonly result: {
668
+ readonly additionalProperties: false;
669
+ readonly properties: {
670
+ readonly schema: {
671
+ readonly minLength: 1;
672
+ readonly type: "string";
673
+ };
674
+ };
675
+ readonly required: readonly ["schema"];
676
+ readonly type: "object";
677
+ };
678
+ readonly workSubject: {
679
+ readonly minLength: 1;
680
+ readonly type: "string";
681
+ };
682
+ };
683
+ readonly required: readonly ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"];
684
+ readonly type: "object";
685
+ };
686
+ };
687
+ readonly type: "object";
688
+ };
689
+ };
690
+ readonly required: readonly ["namespace", "queues"];
691
+ readonly type: "object";
692
+ };
693
+ readonly kv: {
694
+ readonly patternProperties: {
695
+ readonly "^.*$": {
696
+ readonly additionalProperties: false;
697
+ readonly properties: {
698
+ readonly bucket: {
699
+ readonly minLength: 1;
700
+ readonly type: "string";
701
+ };
702
+ readonly history: {
703
+ readonly minimum: 1;
704
+ readonly type: "integer";
705
+ };
706
+ readonly maxValueBytes: {
707
+ readonly minimum: 1;
708
+ readonly type: "integer";
709
+ };
710
+ readonly ttlMs: {
711
+ readonly minimum: 0;
712
+ readonly type: "integer";
713
+ };
714
+ };
715
+ readonly required: readonly ["bucket", "history", "ttlMs"];
716
+ readonly type: "object";
717
+ };
718
+ };
719
+ readonly type: "object";
720
+ };
721
+ readonly streams: {
722
+ readonly patternProperties: {
723
+ readonly "^.*$": {
724
+ readonly additionalProperties: false;
725
+ readonly properties: {
726
+ readonly discard: {
727
+ readonly minLength: 1;
728
+ readonly type: "string";
729
+ };
730
+ readonly maxAgeMs: {
731
+ readonly minimum: 0;
732
+ readonly type: "integer";
733
+ };
734
+ readonly maxBytes: {
735
+ readonly type: "integer";
736
+ };
737
+ readonly maxMsgs: {
738
+ readonly type: "integer";
739
+ };
740
+ readonly name: {
741
+ readonly minLength: 1;
742
+ readonly type: "string";
743
+ };
744
+ readonly numReplicas: {
745
+ readonly minimum: 1;
746
+ readonly type: "integer";
747
+ };
748
+ readonly retention: {
749
+ readonly minLength: 1;
750
+ readonly type: "string";
751
+ };
752
+ readonly sources: {
753
+ readonly items: {
754
+ readonly additionalProperties: false;
755
+ readonly properties: {
756
+ readonly filterSubject: {
757
+ readonly minLength: 1;
758
+ readonly type: "string";
759
+ };
760
+ readonly fromAlias: {
761
+ readonly minLength: 1;
762
+ readonly type: "string";
763
+ };
764
+ readonly streamName: {
765
+ readonly minLength: 1;
766
+ readonly type: "string";
767
+ };
768
+ readonly subjectTransformDest: {
769
+ readonly minLength: 1;
770
+ readonly type: "string";
771
+ };
772
+ };
773
+ readonly required: readonly ["fromAlias", "streamName"];
774
+ readonly type: "object";
775
+ };
776
+ readonly type: "array";
777
+ };
778
+ readonly storage: {
779
+ readonly minLength: 1;
780
+ readonly type: "string";
781
+ };
782
+ readonly subjects: {
783
+ readonly items: {
784
+ readonly minLength: 1;
785
+ readonly type: "string";
786
+ };
787
+ readonly minItems: 1;
788
+ readonly type: "array";
789
+ };
790
+ };
791
+ readonly required: readonly ["name", "subjects"];
792
+ readonly type: "object";
793
+ };
794
+ };
795
+ readonly type: "object";
796
+ };
797
+ };
798
+ readonly type: "object";
799
+ };
800
+ };
801
+ readonly required: readonly ["contractId", "digest", "resources"];
802
+ readonly type: "object";
803
+ };
804
+ };
805
+ readonly type: "object";
806
+ };
807
+ };
808
+ readonly "Trellis.Catalog": {
809
+ readonly input: {
810
+ readonly additionalProperties: false;
811
+ readonly properties: {};
812
+ readonly type: "object";
813
+ };
814
+ readonly output: {
815
+ readonly additionalProperties: false;
816
+ readonly properties: {
817
+ readonly catalog: {
818
+ readonly additionalProperties: false;
819
+ readonly properties: {
820
+ readonly contracts: {
821
+ readonly items: {
822
+ readonly additionalProperties: false;
823
+ readonly properties: {
824
+ readonly description: {
825
+ readonly minLength: 1;
826
+ readonly type: "string";
827
+ };
828
+ readonly digest: {
829
+ readonly type: "string";
830
+ };
831
+ readonly displayName: {
832
+ readonly minLength: 1;
833
+ readonly type: "string";
834
+ };
835
+ readonly id: {
836
+ readonly type: "string";
837
+ };
838
+ };
839
+ readonly required: readonly ["id", "digest", "displayName", "description"];
840
+ readonly type: "object";
841
+ };
842
+ readonly type: "array";
843
+ };
844
+ readonly format: {
845
+ readonly const: "trellis.catalog.v1";
846
+ readonly type: "string";
847
+ };
848
+ };
849
+ readonly required: readonly ["format", "contracts"];
850
+ readonly type: "object";
851
+ };
852
+ };
853
+ readonly required: readonly ["catalog"];
854
+ readonly type: "object";
855
+ };
856
+ };
857
+ readonly "Trellis.Contract.Get": {
858
+ readonly input: {
859
+ readonly additionalProperties: false;
860
+ readonly properties: {
861
+ readonly digest: {
862
+ readonly pattern: "^[A-Za-z0-9_-]+$";
863
+ readonly type: "string";
864
+ };
865
+ };
866
+ readonly required: readonly ["digest"];
867
+ readonly type: "object";
868
+ };
869
+ readonly output: {
870
+ readonly additionalProperties: false;
871
+ readonly properties: {
872
+ readonly contract: {
873
+ readonly properties: {
874
+ readonly description: {
875
+ readonly minLength: 1;
876
+ readonly type: "string";
877
+ };
878
+ readonly displayName: {
879
+ readonly minLength: 1;
880
+ readonly type: "string";
881
+ };
882
+ readonly errors: {
883
+ readonly patternProperties: {
884
+ readonly "^.*$": {
885
+ readonly type: "object";
886
+ };
887
+ };
888
+ readonly type: "object";
889
+ };
890
+ readonly events: {
891
+ readonly patternProperties: {
892
+ readonly "^.*$": {
893
+ readonly type: "object";
894
+ };
895
+ };
896
+ readonly type: "object";
897
+ };
898
+ readonly format: {
899
+ readonly const: "trellis.contract.v1";
900
+ readonly type: "string";
901
+ };
902
+ readonly id: {
903
+ readonly minLength: 1;
904
+ readonly type: "string";
905
+ };
906
+ readonly resources: {
907
+ readonly properties: {
908
+ readonly jobs: {
909
+ readonly additionalProperties: false;
910
+ readonly properties: {
911
+ readonly queues: {
912
+ readonly patternProperties: {
913
+ readonly "^.*$": {
914
+ readonly additionalProperties: false;
915
+ readonly properties: {
916
+ readonly ackWaitMs: {
917
+ readonly minimum: 1;
918
+ readonly type: "integer";
919
+ };
920
+ readonly backoffMs: {
921
+ readonly items: {
922
+ readonly minimum: 0;
923
+ readonly type: "integer";
924
+ };
925
+ readonly type: "array";
926
+ };
927
+ readonly concurrency: {
928
+ readonly minimum: 1;
929
+ readonly type: "integer";
930
+ };
931
+ readonly defaultDeadlineMs: {
932
+ readonly minimum: 1;
933
+ readonly type: "integer";
934
+ };
935
+ readonly dlq: {
936
+ readonly type: "boolean";
937
+ };
938
+ readonly logs: {
939
+ readonly type: "boolean";
940
+ };
941
+ readonly maxDeliver: {
942
+ readonly minimum: 1;
943
+ readonly type: "integer";
944
+ };
945
+ readonly payload: {
946
+ readonly additionalProperties: false;
947
+ readonly properties: {
948
+ readonly schema: {
949
+ readonly minLength: 1;
950
+ readonly type: "string";
951
+ };
952
+ };
953
+ readonly required: readonly ["schema"];
954
+ readonly type: "object";
955
+ };
956
+ readonly progress: {
957
+ readonly type: "boolean";
958
+ };
959
+ readonly result: {
960
+ readonly additionalProperties: false;
961
+ readonly properties: {
962
+ readonly schema: {
963
+ readonly minLength: 1;
964
+ readonly type: "string";
965
+ };
966
+ };
967
+ readonly required: readonly ["schema"];
968
+ readonly type: "object";
969
+ };
970
+ };
971
+ readonly required: readonly ["payload"];
972
+ readonly type: "object";
973
+ };
974
+ };
975
+ readonly type: "object";
976
+ };
977
+ };
978
+ readonly required: readonly ["queues"];
979
+ readonly type: "object";
980
+ };
981
+ readonly kv: {
982
+ readonly patternProperties: {
983
+ readonly "^.*$": {
984
+ readonly additionalProperties: false;
985
+ readonly properties: {
986
+ readonly history: {
987
+ readonly default: 1;
988
+ readonly minimum: 1;
989
+ readonly type: "integer";
990
+ };
991
+ readonly maxValueBytes: {
992
+ readonly minimum: 1;
993
+ readonly type: "integer";
994
+ };
995
+ readonly purpose: {
996
+ readonly minLength: 1;
997
+ readonly type: "string";
998
+ };
999
+ readonly required: {
1000
+ readonly default: true;
1001
+ readonly type: "boolean";
1002
+ };
1003
+ readonly ttlMs: {
1004
+ readonly default: 0;
1005
+ readonly minimum: 0;
1006
+ readonly type: "integer";
1007
+ };
1008
+ };
1009
+ readonly required: readonly ["purpose"];
1010
+ readonly type: "object";
1011
+ };
1012
+ };
1013
+ readonly type: "object";
1014
+ };
1015
+ readonly streams: {
1016
+ readonly patternProperties: {
1017
+ readonly "^.*$": {
1018
+ readonly additionalProperties: false;
1019
+ readonly properties: {
1020
+ readonly discard: {
1021
+ readonly minLength: 1;
1022
+ readonly type: "string";
1023
+ };
1024
+ readonly maxAgeMs: {
1025
+ readonly minimum: 0;
1026
+ readonly type: "integer";
1027
+ };
1028
+ readonly maxBytes: {
1029
+ readonly type: "integer";
1030
+ };
1031
+ readonly maxMsgs: {
1032
+ readonly type: "integer";
1033
+ };
1034
+ readonly numReplicas: {
1035
+ readonly minimum: 1;
1036
+ readonly type: "integer";
1037
+ };
1038
+ readonly purpose: {
1039
+ readonly minLength: 1;
1040
+ readonly type: "string";
1041
+ };
1042
+ readonly required: {
1043
+ readonly default: true;
1044
+ readonly type: "boolean";
1045
+ };
1046
+ readonly retention: {
1047
+ readonly minLength: 1;
1048
+ readonly type: "string";
1049
+ };
1050
+ readonly sources: {
1051
+ readonly items: {
1052
+ readonly additionalProperties: false;
1053
+ readonly properties: {
1054
+ readonly filterSubject: {
1055
+ readonly minLength: 1;
1056
+ readonly type: "string";
1057
+ };
1058
+ readonly fromAlias: {
1059
+ readonly minLength: 1;
1060
+ readonly type: "string";
1061
+ };
1062
+ readonly subjectTransformDest: {
1063
+ readonly minLength: 1;
1064
+ readonly type: "string";
1065
+ };
1066
+ };
1067
+ readonly required: readonly ["fromAlias"];
1068
+ readonly type: "object";
1069
+ };
1070
+ readonly type: "array";
1071
+ };
1072
+ readonly storage: {
1073
+ readonly minLength: 1;
1074
+ readonly type: "string";
1075
+ };
1076
+ readonly subjects: {
1077
+ readonly items: {
1078
+ readonly minLength: 1;
1079
+ readonly type: "string";
1080
+ };
1081
+ readonly minItems: 1;
1082
+ readonly type: "array";
1083
+ };
1084
+ };
1085
+ readonly required: readonly ["purpose", "subjects"];
1086
+ readonly type: "object";
1087
+ };
1088
+ };
1089
+ readonly type: "object";
1090
+ };
1091
+ };
1092
+ readonly type: "object";
1093
+ };
1094
+ readonly rpc: {
1095
+ readonly patternProperties: {
1096
+ readonly "^.*$": {
1097
+ readonly type: "object";
1098
+ };
1099
+ };
1100
+ readonly type: "object";
1101
+ };
1102
+ readonly schemas: {
1103
+ readonly patternProperties: {
1104
+ readonly "^.*$": {
1105
+ readonly anyOf: readonly [{
1106
+ readonly type: "object";
1107
+ }, {
1108
+ readonly type: "boolean";
1109
+ }];
1110
+ };
1111
+ };
1112
+ readonly type: "object";
1113
+ };
1114
+ readonly subjects: {
1115
+ readonly patternProperties: {
1116
+ readonly "^.*$": {
1117
+ readonly type: "object";
1118
+ };
1119
+ };
1120
+ readonly type: "object";
1121
+ };
1122
+ readonly uses: {
1123
+ readonly patternProperties: {
1124
+ readonly "^.*$": {
1125
+ readonly type: "object";
1126
+ };
1127
+ };
1128
+ readonly type: "object";
1129
+ };
1130
+ };
1131
+ readonly required: readonly ["format", "id", "displayName", "description"];
1132
+ readonly type: "object";
1133
+ };
1134
+ };
1135
+ readonly required: readonly ["contract"];
1136
+ readonly type: "object";
1137
+ };
1138
+ };
1139
+ };
1140
+ readonly operations: {};
1141
+ readonly events: {};
1142
+ readonly subjects: {};
1143
+ };
1144
+ //# sourceMappingURL=schemas.d.ts.map