@boboddy/sdk 0.0.12-alpha → 0.0.16-alpha

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 (262) hide show
  1. package/dist/boboddy-config-parser.d.ts +34 -0
  2. package/dist/boboddy-config-parser.js +510 -0
  3. package/dist/client.d.ts +4 -0
  4. package/dist/client.js +1419 -0
  5. package/dist/{packages/sdks/js/src/define-step.d.ts → define-step.d.ts} +21 -1
  6. package/dist/define-step.js +12014 -0
  7. package/dist/generated/client/client.gen.d.ts +2 -0
  8. package/dist/generated/client/index.d.ts +8 -0
  9. package/dist/generated/client/types.gen.d.ts +117 -0
  10. package/dist/generated/client/utils.gen.d.ts +33 -0
  11. package/dist/generated/client.gen.d.ts +12 -0
  12. package/dist/generated/core/auth.gen.d.ts +18 -0
  13. package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
  14. package/dist/generated/core/params.gen.d.ts +43 -0
  15. package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
  16. package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
  17. package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
  18. package/dist/generated/core/types.gen.d.ts +78 -0
  19. package/dist/generated/core/utils.gen.d.ts +19 -0
  20. package/dist/generated/index.d.ts +2 -0
  21. package/dist/generated/sdk.gen.d.ts +162 -0
  22. package/dist/generated/types.gen.d.ts +9193 -0
  23. package/dist/index.d.ts +5 -0
  24. package/dist/index.js +16394 -47
  25. package/dist/jsonc.d.ts +3 -0
  26. package/dist/jsonc.js +133 -0
  27. package/dist/opencode-mcp.js +14326 -0
  28. package/dist/step-definitions-client.d.ts +197 -0
  29. package/dist/step-definitions-client.js +1372 -0
  30. package/dist/step-execution-plane-client.d.ts +190 -0
  31. package/package.json +30 -17
  32. package/dist/apps/api/src/app.d.ts +0 -19731
  33. package/dist/apps/api/src/contracts.d.ts +0 -20
  34. package/dist/apps/api/src/http/error-handler.d.ts +0 -23
  35. package/dist/apps/api/src/http/routes/auth.d.ts +0 -57
  36. package/dist/apps/api/src/http/routes/authenticated.d.ts +0 -79
  37. package/dist/apps/api/src/http/routes/feedback-requests.d.ts +0 -281
  38. package/dist/apps/api/src/http/routes/linear-pipeline-definitions.d.ts +0 -1563
  39. package/dist/apps/api/src/http/routes/linear-pipeline-executions.d.ts +0 -2540
  40. package/dist/apps/api/src/http/routes/project-context-entries.d.ts +0 -387
  41. package/dist/apps/api/src/http/routes/projects.d.ts +0 -1906
  42. package/dist/apps/api/src/http/routes/step-definition-templates.d.ts +0 -479
  43. package/dist/apps/api/src/http/routes/step-definitions.d.ts +0 -917
  44. package/dist/apps/api/src/http/routes/step-execution-route-helpers.d.ts +0 -64
  45. package/dist/apps/api/src/http/routes/step-executions.d.ts +0 -1485
  46. package/dist/apps/api/src/http/routes/work-items.d.ts +0 -966
  47. package/dist/apps/api/src/problem-details.d.ts +0 -9
  48. package/dist/packages/core/src/access/authorization/application/user-authorization-service.d.ts +0 -12
  49. package/dist/packages/core/src/access/authorization/infra/project-authorization-service.d.ts +0 -9
  50. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/ai-container-launcher.d.ts +0 -21
  51. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/create-project-runtime-session.d.ts +0 -15
  52. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/devcontainer-launcher.d.ts +0 -21
  53. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/get-project-runtime-session.d.ts +0 -13
  54. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/git-clone-service.d.ts +0 -11
  55. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/list-project-runtime-sessions.d.ts +0 -13
  56. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-contract-mapper.d.ts +0 -3
  57. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-execution-target.d.ts +0 -3
  58. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-network-metadata.d.ts +0 -15
  59. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-repo.d.ts +0 -10
  60. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/runtime-session-network-manager.d.ts +0 -14
  61. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/stop-project-runtime-session.d.ts +0 -31
  62. package/dist/packages/core/src/agent-sessions/project-runtime-session/application/workspace-manager.d.ts +0 -10
  63. package/dist/packages/core/src/agent-sessions/project-runtime-session/contracts/project-runtime-session-contracts.d.ts +0 -62
  64. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity-helpers.d.ts +0 -12
  65. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity.d.ts +0 -99
  66. package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-execution-target.d.ts +0 -16
  67. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/devcontainer-cli-launcher.d.ts +0 -6
  68. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/docker-ai-container-launcher.d.ts +0 -8
  69. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/drizzle-project-runtime-session-repo.d.ts +0 -11
  70. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/git-cli-clone-service.d.ts +0 -4
  71. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-jsonc.d.ts +0 -4
  72. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager-support.d.ts +0 -42
  73. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager.d.ts +0 -24
  74. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-working-directory.d.ts +0 -5
  75. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-docker-runtime-session-network-manager.d.ts +0 -17
  76. package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-workspace-manager.d.ts +0 -11
  77. package/dist/packages/core/src/agent-sessions/runtime-command/application/complete-claimed-runtime-command.d.ts +0 -13
  78. package/dist/packages/core/src/agent-sessions/runtime-command/application/create-runtime-command.d.ts +0 -19
  79. package/dist/packages/core/src/agent-sessions/runtime-command/application/fail-claimed-runtime-command.d.ts +0 -13
  80. package/dist/packages/core/src/agent-sessions/runtime-command/application/interrupt-claimed-runtime-command.d.ts +0 -13
  81. package/dist/packages/core/src/agent-sessions/runtime-command/application/run-runtime-command-locally.d.ts +0 -27
  82. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-claim-helpers.d.ts +0 -1
  83. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-contract-mapper.d.ts +0 -3
  84. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-output-summary.d.ts +0 -4
  85. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-repo.d.ts +0 -20
  86. package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-runner.d.ts +0 -25
  87. package/dist/packages/core/src/agent-sessions/runtime-command/contracts/runtime-command-contracts.d.ts +0 -194
  88. package/dist/packages/core/src/agent-sessions/runtime-command/domain/runtime-command-entity.d.ts +0 -111
  89. package/dist/packages/core/src/agent-sessions/runtime-command/infra/drizzle-runtime-command-repo.d.ts +0 -20
  90. package/dist/packages/core/src/agent-sessions/runtime-command/infra/local-runtime-command-runner.d.ts +0 -25
  91. package/dist/packages/core/src/agent-sessions/runtime-environment/domain/runtime-environment.d.ts +0 -12
  92. package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-publisher.d.ts +0 -24
  93. package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-repo.d.ts +0 -17
  94. package/dist/packages/core/src/agent-sessions/runtime-operation-event/domain/runtime-operation-event.d.ts +0 -35
  95. package/dist/packages/core/src/agent-sessions/runtime-operation-event/infra/file-runtime-operation-event-repo.d.ts +0 -25
  96. package/dist/packages/core/src/agent-sessions/runtime-service/application/create-runtime-service.d.ts +0 -19
  97. package/dist/packages/core/src/agent-sessions/runtime-service/application/get-runtime-service.d.ts +0 -13
  98. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-contract-mapper.d.ts +0 -3
  99. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-output-summary.d.ts +0 -10
  100. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-repo.d.ts +0 -9
  101. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-runner.d.ts +0 -23
  102. package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-session-service-exposure-provider.d.ts +0 -19
  103. package/dist/packages/core/src/agent-sessions/runtime-service/application/start-runtime-service-locally.d.ts +0 -23
  104. package/dist/packages/core/src/agent-sessions/runtime-service/application/stop-runtime-service.d.ts +0 -34
  105. package/dist/packages/core/src/agent-sessions/runtime-service/contracts/runtime-service-contracts.d.ts +0 -140
  106. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-access-point.d.ts +0 -12
  107. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-entity.d.ts +0 -76
  108. package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-healthcheck.d.ts +0 -20
  109. package/dist/packages/core/src/agent-sessions/runtime-service/infra/drizzle-runtime-service-repo.d.ts +0 -9
  110. package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-readiness-probe.d.ts +0 -42
  111. package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-runner.d.ts +0 -32
  112. package/dist/packages/core/src/common/contracts/json.d.ts +0 -9
  113. package/dist/packages/core/src/common/contracts/uuid-v7.d.ts +0 -8
  114. package/dist/packages/core/src/lib/db/db-executor.d.ts +0 -4
  115. package/dist/packages/core/src/lib/db/index.d.ts +0 -7
  116. package/dist/packages/core/src/lib/db/schema.d.ts +0 -4950
  117. package/dist/packages/core/src/lib/di.d.ts +0 -113
  118. package/dist/packages/core/src/lib/domain-events/domain-event.d.ts +0 -12
  119. package/dist/packages/core/src/lib/domain-events/in-memory-domain-event-dispatcher.d.ts +0 -7
  120. package/dist/packages/core/src/lib/errors.d.ts +0 -37
  121. package/dist/packages/core/src/lib/logger.d.ts +0 -7
  122. package/dist/packages/core/src/lib/result.d.ts +0 -15
  123. package/dist/packages/core/src/lib/time-provider.d.ts +0 -5
  124. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/add-linear-pipeline-step-definition.d.ts +0 -13
  125. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/archive-linear-pipeline-definition.d.ts +0 -13
  126. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/create-linear-pipeline-definition.d.ts +0 -11
  127. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/get-linear-pipeline-definition.d.ts +0 -11
  128. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-contract-mapper.d.ts +0 -3
  129. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-repo.d.ts +0 -9
  130. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/list-linear-pipeline-definitions.d.ts +0 -9
  131. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/remove-linear-pipeline-step-definition.d.ts +0 -13
  132. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/set-linear-pipeline-step-advancement-policy-definition.d.ts +0 -13
  133. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-definition.d.ts +0 -13
  134. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-step-definition.d.ts +0 -13
  135. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/contracts/linear-pipeline-definition-contracts.d.ts +0 -357
  136. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/domain/linear-pipeline-definition-entity.d.ts +0 -36
  137. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-advancement-policy-definition-entity.d.ts +0 -42
  138. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-definition-entity.d.ts +0 -42
  139. package/dist/packages/core/src/pipeline-definitions/pipeline-definition/infra/drizzle-linear-pipeline-definition-repo.d.ts +0 -11
  140. package/dist/packages/core/src/pipeline-definitions/step-definition/application/archive-step-definition.d.ts +0 -13
  141. package/dist/packages/core/src/pipeline-definitions/step-definition/application/create-step-definition.d.ts +0 -11
  142. package/dist/packages/core/src/pipeline-definitions/step-definition/application/get-step-definition.d.ts +0 -11
  143. package/dist/packages/core/src/pipeline-definitions/step-definition/application/list-step-definitions.d.ts +0 -9
  144. package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-contract-mapper.d.ts +0 -3
  145. package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-repo.d.ts +0 -9
  146. package/dist/packages/core/src/pipeline-definitions/step-definition/application/update-step-definition.d.ts +0 -13
  147. package/dist/packages/core/src/pipeline-definitions/step-definition/contracts/step-definition-contracts.d.ts +0 -281
  148. package/dist/packages/core/src/pipeline-definitions/step-definition/domain/step-definition-entity.d.ts +0 -53
  149. package/dist/packages/core/src/pipeline-definitions/step-definition/entities/computed-signal-definition-entity.d.ts +0 -31
  150. package/dist/packages/core/src/pipeline-definitions/step-definition/entities/signal-extractor-definition-entity.d.ts +0 -30
  151. package/dist/packages/core/src/pipeline-definitions/step-definition/infra/drizzle-step-definition-repo.d.ts +0 -11
  152. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/get-step-definition-template.d.ts +0 -8
  153. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/instantiate-step-definition-template.d.ts +0 -15
  154. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/list-step-definition-templates.d.ts +0 -5
  155. package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/step-definition-template-repo.d.ts +0 -7
  156. package/dist/packages/core/src/pipeline-definitions/step-definition-template/contracts/step-definition-template-contracts.d.ts +0 -98
  157. package/dist/packages/core/src/pipeline-definitions/step-definition-template/domain/step-definition-template-entity.d.ts +0 -37
  158. package/dist/packages/core/src/pipeline-definitions/step-definition-template/infra/drizzle-step-definition-template-repo.d.ts +0 -9
  159. package/dist/packages/core/src/pipeline-executions/feedback-request/application/create-feedback-requests-on-step-signal-created.d.ts +0 -9
  160. package/dist/packages/core/src/pipeline-executions/feedback-request/application/decline-feedback-request.d.ts +0 -13
  161. package/dist/packages/core/src/pipeline-executions/feedback-request/application/feedback-request-repo.d.ts +0 -8
  162. package/dist/packages/core/src/pipeline-executions/feedback-request/application/list-feedback-requests-by-step-signal.d.ts +0 -14
  163. package/dist/packages/core/src/pipeline-executions/feedback-request/contracts/feedback-request-contracts.d.ts +0 -21
  164. package/dist/packages/core/src/pipeline-executions/feedback-request/domain/feedback-request-entity.d.ts +0 -29
  165. package/dist/packages/core/src/pipeline-executions/feedback-request/infra/drizzle-feedback-request-repo.d.ts +0 -10
  166. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/accept-linear-pipeline-step-run.d.ts +0 -19
  167. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/apply-linear-pipeline-step-result-and-advance.d.ts +0 -21
  168. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/cancel-linear-pipeline-execution.d.ts +0 -15
  169. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-execution.d.ts +0 -15
  170. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-step-run-attempt.d.ts +0 -17
  171. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/get-linear-pipeline-execution.d.ts +0 -15
  172. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-contract-mapper.d.ts +0 -3
  173. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-helpers.d.ts +0 -52
  174. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-repo.d.ts +0 -15
  175. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-step-input-resolution.d.ts +0 -5
  176. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions-by-definition.d.ts +0 -15
  177. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions.d.ts +0 -13
  178. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/mark-linear-pipeline-step-run-attempt-running.d.ts +0 -15
  179. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/project-linear-pipeline-executions.d.ts +0 -10
  180. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/queue-first-linear-pipeline-step-run.d.ts +0 -19
  181. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/retrigger-linear-pipeline-step-run.d.ts +0 -17
  182. package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/start-linear-pipeline-execution.d.ts +0 -19
  183. package/dist/packages/core/src/pipeline-executions/pipeline-execution/contracts/linear-pipeline-execution-contracts.d.ts +0 -330
  184. package/dist/packages/core/src/pipeline-executions/pipeline-execution/domain/linear-pipeline-execution-entity.d.ts +0 -43
  185. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-execution-event-entity.d.ts +0 -25
  186. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-evaluation-entity.d.ts +0 -45
  187. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-attempt-entity.d.ts +0 -24
  188. package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-entity.d.ts +0 -63
  189. package/dist/packages/core/src/pipeline-executions/pipeline-execution/infra/drizzle-linear-pipeline-execution-repo.d.ts +0 -19
  190. package/dist/packages/core/src/pipeline-executions/step-execution/application/add-step-execution-result.d.ts +0 -13
  191. package/dist/packages/core/src/pipeline-executions/step-execution/application/claim-step-executions.d.ts +0 -19
  192. package/dist/packages/core/src/pipeline-executions/step-execution/application/complete-claimed-step-execution.d.ts +0 -39
  193. package/dist/packages/core/src/pipeline-executions/step-execution/application/create-step-execution.d.ts +0 -11
  194. package/dist/packages/core/src/pipeline-executions/step-execution/application/extract-step-execution-signals.d.ts +0 -17
  195. package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution-worker-context.d.ts +0 -17
  196. package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution.d.ts +0 -13
  197. package/dist/packages/core/src/pipeline-executions/step-execution/application/heartbeat-step-execution-claim.d.ts +0 -21
  198. package/dist/packages/core/src/pipeline-executions/step-execution/application/list-step-executions-by-project.d.ts +0 -11
  199. package/dist/packages/core/src/pipeline-executions/step-execution/application/load-status-adjusted-step-executions.d.ts +0 -31
  200. package/dist/packages/core/src/pipeline-executions/step-execution/application/mark-step-execution-running.d.ts +0 -13
  201. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-claim-helpers.d.ts +0 -13
  202. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-contract-mapper.d.ts +0 -7
  203. package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-repo.d.ts +0 -29
  204. package/dist/packages/core/src/pipeline-executions/step-execution/contracts/step-execution-contracts.d.ts +0 -325
  205. package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-execution-entity.d.ts +0 -61
  206. package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-signal-created.domain-event.d.ts +0 -18
  207. package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-execution-result-entity.d.ts +0 -32
  208. package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-signal-entity.d.ts +0 -36
  209. package/dist/packages/core/src/pipeline-executions/step-execution/infra/drizzle-step-execution-repo.d.ts +0 -31
  210. package/dist/packages/core/src/projects/project/application/create-project.d.ts +0 -13
  211. package/dist/packages/core/src/projects/project/application/default-pipelines/default-create-failing-test-step-definition.d.ts +0 -4
  212. package/dist/packages/core/src/projects/project/application/default-pipelines/default-description-quality-step-definition.d.ts +0 -4
  213. package/dist/packages/core/src/projects/project/application/default-pipelines/default-fix-failing-test-step-definition.d.ts +0 -4
  214. package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-conventions.d.ts +0 -9
  215. package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-definitions.d.ts +0 -7
  216. package/dist/packages/core/src/projects/project/application/default-pipelines/default-step-definitions.d.ts +0 -8
  217. package/dist/packages/core/src/projects/project/application/default-pipelines/default-web-repro-playwright-step-definition.d.ts +0 -4
  218. package/dist/packages/core/src/projects/project/application/get-project.d.ts +0 -11
  219. package/dist/packages/core/src/projects/project/application/list-projects.d.ts +0 -9
  220. package/dist/packages/core/src/projects/project/application/project-authorization.d.ts +0 -4
  221. package/dist/packages/core/src/projects/project/application/project-contract-mapper.d.ts +0 -3
  222. package/dist/packages/core/src/projects/project/application/project-repo.d.ts +0 -9
  223. package/dist/packages/core/src/projects/project/application/seed-default-pipelines-on-project-created.d.ts +0 -12
  224. package/dist/packages/core/src/projects/project/application/update-project-membership.d.ts +0 -13
  225. package/dist/packages/core/src/projects/project/contracts/project-contracts.d.ts +0 -37
  226. package/dist/packages/core/src/projects/project/domain/project-created.domain-event.d.ts +0 -13
  227. package/dist/packages/core/src/projects/project/domain/project-entity.d.ts +0 -31
  228. package/dist/packages/core/src/projects/project/domain/project-git-url.d.ts +0 -7
  229. package/dist/packages/core/src/projects/project/domain/project-membership.d.ts +0 -21
  230. package/dist/packages/core/src/projects/project/domain/project-permission.d.ts +0 -7
  231. package/dist/packages/core/src/projects/project/infra/drizzle-project-repo.d.ts +0 -11
  232. package/dist/packages/core/src/projects/project-context/application/create-project-context-entry.d.ts +0 -11
  233. package/dist/packages/core/src/projects/project-context/application/delete-project-context-entry.d.ts +0 -11
  234. package/dist/packages/core/src/projects/project-context/application/list-project-context-entries.d.ts +0 -12
  235. package/dist/packages/core/src/projects/project-context/application/project-context-entry-repo.d.ts +0 -8
  236. package/dist/packages/core/src/projects/project-context/contracts/project-context-entry-contracts.d.ts +0 -46
  237. package/dist/packages/core/src/projects/project-context/domain/project-context-entry-entity.d.ts +0 -27
  238. package/dist/packages/core/src/projects/project-context/infra/drizzle-project-context-entry-repo.d.ts +0 -10
  239. package/dist/packages/core/src/projects/project-opencode-config/application/project-opencode-runtime-metadata.d.ts +0 -17
  240. package/dist/packages/core/src/work-items/work-item/application/create-work-item.d.ts +0 -16
  241. package/dist/packages/core/src/work-items/work-item/application/delete-work-items.d.ts +0 -14
  242. package/dist/packages/core/src/work-items/work-item/application/get-work-items.d.ts +0 -14
  243. package/dist/packages/core/src/work-items/work-item/application/list-work-items-by-project.d.ts +0 -13
  244. package/dist/packages/core/src/work-items/work-item/application/upsert-work-item.d.ts +0 -14
  245. package/dist/packages/core/src/work-items/work-item/application/work-item-contract-mapper.d.ts +0 -4
  246. package/dist/packages/core/src/work-items/work-item/application/work-item-repo.d.ts +0 -27
  247. package/dist/packages/core/src/work-items/work-item/contracts/work-item-contracts.d.ts +0 -119
  248. package/dist/packages/core/src/work-items/work-item/domain/date-utils.d.ts +0 -1
  249. package/dist/packages/core/src/work-items/work-item/domain/work-item-entity.d.ts +0 -58
  250. package/dist/packages/core/src/work-items/work-item/domain/work-item-field-value.d.ts +0 -3
  251. package/dist/packages/core/src/work-items/work-item/domain/work-item-id.d.ts +0 -6
  252. package/dist/packages/core/src/work-items/work-item/domain/work-item-platform.d.ts +0 -2
  253. package/dist/packages/core/src/work-items/work-item/domain/work-item-projection-fingerprint-entity.d.ts +0 -18
  254. package/dist/packages/core/src/work-items/work-item/infra/drizzle-work-item-repo.d.ts +0 -25
  255. package/dist/packages/sdks/js/script/build.d.ts +0 -1
  256. package/dist/packages/sdks/js/src/client.d.ts +0 -2
  257. package/dist/packages/sdks/js/src/index.d.ts +0 -1
  258. package/dist/packages/sdks/js/src/step-definitions-client.d.ts +0 -202
  259. package/dist/packages/sdks/js/src/step-execution-plane-client.d.ts +0 -370
  260. package/dist/packages/sdks/js/src/treaty.d.ts +0 -13
  261. package/dist/packages/sdks/js/test/define-step.test.d.ts +0 -1
  262. /package/dist/{packages/core/src/common/contracts/opencode-mcp.d.ts → opencode-mcp.d.ts} +0 -0
@@ -1,330 +0,0 @@
1
- import { z } from "zod";
2
- export declare const linearPipelineStepEvaluationSchema: z.ZodObject<{
3
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
4
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
5
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
6
- linearPipelineStepRunAttemptId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
7
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
8
- stepExecutionResultId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
9
- stepExecutionResultStatus: z.ZodNullable<z.ZodEnum<{
10
- succeeded: "succeeded";
11
- failed: "failed";
12
- }>>;
13
- linearPipelineStepAdvancementPolicyDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
14
- factsSnapshotJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>;
15
- ruleResultsJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>;
16
- finalStatus: z.ZodEnum<{
17
- pass: "pass";
18
- fail: "fail";
19
- }>;
20
- finalAction: z.ZodEnum<{
21
- continue: "continue";
22
- block: "block";
23
- needs_review: "needs_review";
24
- complete: "complete";
25
- }>;
26
- finalPayloadJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
27
- createdAt: z.ZodISODateTime;
28
- }, z.core.$strip>;
29
- export declare const linearPipelineStepRunAttemptSchema: z.ZodObject<{
30
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
31
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
32
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
33
- attemptNumber: z.ZodNumber;
34
- status: z.ZodEnum<{
35
- queued: "queued";
36
- running: "running";
37
- succeeded: "succeeded";
38
- failed: "failed";
39
- cancelled: "cancelled";
40
- skipped: "skipped";
41
- timeout: "timeout";
42
- abandoned: "abandoned";
43
- }>;
44
- evaluationId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
45
- createdAt: z.ZodISODateTime;
46
- completedAt: z.ZodNullable<z.ZodISODateTime>;
47
- }, z.core.$strip>;
48
- export declare const linearPipelineExecutionEventSchema: z.ZodObject<{
49
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
50
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
51
- type: z.ZodEnum<{
52
- pipeline_queued: "pipeline_queued";
53
- pipeline_started: "pipeline_started";
54
- step_run_created: "step_run_created";
55
- step_attempt_queued: "step_attempt_queued";
56
- step_attempt_started: "step_attempt_started";
57
- step_attempt_succeeded: "step_attempt_succeeded";
58
- step_attempt_failed: "step_attempt_failed";
59
- step_evaluated: "step_evaluated";
60
- step_satisfied_by_policy: "step_satisfied_by_policy";
61
- step_satisfied_by_user: "step_satisfied_by_user";
62
- step_unsatisfied_by_policy: "step_unsatisfied_by_policy";
63
- step_retriggered: "step_retriggered";
64
- step_blocked: "step_blocked";
65
- step_needs_review: "step_needs_review";
66
- pipeline_succeeded: "pipeline_succeeded";
67
- pipeline_failed: "pipeline_failed";
68
- pipeline_blocked: "pipeline_blocked";
69
- pipeline_needs_review: "pipeline_needs_review";
70
- pipeline_cancelled: "pipeline_cancelled";
71
- }>;
72
- payloadJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
73
- createdAt: z.ZodISODateTime;
74
- }, z.core.$strip>;
75
- export declare const linearPipelineStepRunSchema: z.ZodObject<{
76
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
77
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
78
- linearPipelineStepDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
79
- stepDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
80
- stepDefinitionVersion: z.ZodNumber;
81
- stepKey: z.ZodString;
82
- position: z.ZodNumber;
83
- status: z.ZodEnum<{
84
- needs_review: "needs_review";
85
- queued: "queued";
86
- running: "running";
87
- cancelled: "cancelled";
88
- blocked: "blocked";
89
- pending: "pending";
90
- satisfied: "satisfied";
91
- unsatisfied: "unsatisfied";
92
- skipped: "skipped";
93
- }>;
94
- satisfactionStatus: z.ZodEnum<{
95
- not_evaluated: "not_evaluated";
96
- satisfied_by_policy: "satisfied_by_policy";
97
- satisfied_by_user: "satisfied_by_user";
98
- unsatisfied_by_policy: "unsatisfied_by_policy";
99
- }>;
100
- selectedStepExecutionId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
101
- selectedStepExecutionResultId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
102
- acceptedByUserId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
103
- acceptedAt: z.ZodNullable<z.ZodISODateTime>;
104
- acceptanceReason: z.ZodNullable<z.ZodString>;
105
- attemptCount: z.ZodNumber;
106
- lastAttemptedAt: z.ZodNullable<z.ZodISODateTime>;
107
- inputJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>;
108
- outputJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>;
109
- attempts: z.ZodArray<z.ZodObject<{
110
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
111
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
112
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
113
- attemptNumber: z.ZodNumber;
114
- status: z.ZodEnum<{
115
- queued: "queued";
116
- running: "running";
117
- succeeded: "succeeded";
118
- failed: "failed";
119
- cancelled: "cancelled";
120
- skipped: "skipped";
121
- timeout: "timeout";
122
- abandoned: "abandoned";
123
- }>;
124
- evaluationId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
125
- createdAt: z.ZodISODateTime;
126
- completedAt: z.ZodNullable<z.ZodISODateTime>;
127
- }, z.core.$strip>>;
128
- evaluations: z.ZodArray<z.ZodObject<{
129
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
130
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
131
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
132
- linearPipelineStepRunAttemptId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
133
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
134
- stepExecutionResultId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
135
- stepExecutionResultStatus: z.ZodNullable<z.ZodEnum<{
136
- succeeded: "succeeded";
137
- failed: "failed";
138
- }>>;
139
- linearPipelineStepAdvancementPolicyDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
140
- factsSnapshotJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>;
141
- ruleResultsJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>;
142
- finalStatus: z.ZodEnum<{
143
- pass: "pass";
144
- fail: "fail";
145
- }>;
146
- finalAction: z.ZodEnum<{
147
- continue: "continue";
148
- block: "block";
149
- needs_review: "needs_review";
150
- complete: "complete";
151
- }>;
152
- finalPayloadJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
153
- createdAt: z.ZodISODateTime;
154
- }, z.core.$strip>>;
155
- createdAt: z.ZodISODateTime;
156
- updatedAt: z.ZodISODateTime;
157
- }, z.core.$strip>;
158
- export declare const linearPipelineExecutionSchema: z.ZodObject<{
159
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
160
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
161
- linearPipelineDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
162
- linearPipelineDefinitionVersion: z.ZodNumber;
163
- status: z.ZodEnum<{
164
- needs_review: "needs_review";
165
- queued: "queued";
166
- running: "running";
167
- succeeded: "succeeded";
168
- failed: "failed";
169
- cancelled: "cancelled";
170
- blocked: "blocked";
171
- }>;
172
- currentStepKey: z.ZodNullable<z.ZodString>;
173
- inputJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>;
174
- stepRuns: z.ZodArray<z.ZodObject<{
175
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
176
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
177
- linearPipelineStepDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
178
- stepDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
179
- stepDefinitionVersion: z.ZodNumber;
180
- stepKey: z.ZodString;
181
- position: z.ZodNumber;
182
- status: z.ZodEnum<{
183
- needs_review: "needs_review";
184
- queued: "queued";
185
- running: "running";
186
- cancelled: "cancelled";
187
- blocked: "blocked";
188
- pending: "pending";
189
- satisfied: "satisfied";
190
- unsatisfied: "unsatisfied";
191
- skipped: "skipped";
192
- }>;
193
- satisfactionStatus: z.ZodEnum<{
194
- not_evaluated: "not_evaluated";
195
- satisfied_by_policy: "satisfied_by_policy";
196
- satisfied_by_user: "satisfied_by_user";
197
- unsatisfied_by_policy: "unsatisfied_by_policy";
198
- }>;
199
- selectedStepExecutionId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
200
- selectedStepExecutionResultId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
201
- acceptedByUserId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
202
- acceptedAt: z.ZodNullable<z.ZodISODateTime>;
203
- acceptanceReason: z.ZodNullable<z.ZodString>;
204
- attemptCount: z.ZodNumber;
205
- lastAttemptedAt: z.ZodNullable<z.ZodISODateTime>;
206
- inputJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>;
207
- outputJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>;
208
- attempts: z.ZodArray<z.ZodObject<{
209
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
210
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
211
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
212
- attemptNumber: z.ZodNumber;
213
- status: z.ZodEnum<{
214
- queued: "queued";
215
- running: "running";
216
- succeeded: "succeeded";
217
- failed: "failed";
218
- cancelled: "cancelled";
219
- skipped: "skipped";
220
- timeout: "timeout";
221
- abandoned: "abandoned";
222
- }>;
223
- evaluationId: z.ZodNullable<z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>>;
224
- createdAt: z.ZodISODateTime;
225
- completedAt: z.ZodNullable<z.ZodISODateTime>;
226
- }, z.core.$strip>>;
227
- evaluations: z.ZodArray<z.ZodObject<{
228
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
229
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
230
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
231
- linearPipelineStepRunAttemptId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
232
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
233
- stepExecutionResultId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
234
- stepExecutionResultStatus: z.ZodNullable<z.ZodEnum<{
235
- succeeded: "succeeded";
236
- failed: "failed";
237
- }>>;
238
- linearPipelineStepAdvancementPolicyDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
239
- factsSnapshotJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>;
240
- ruleResultsJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>;
241
- finalStatus: z.ZodEnum<{
242
- pass: "pass";
243
- fail: "fail";
244
- }>;
245
- finalAction: z.ZodEnum<{
246
- continue: "continue";
247
- block: "block";
248
- needs_review: "needs_review";
249
- complete: "complete";
250
- }>;
251
- finalPayloadJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
252
- createdAt: z.ZodISODateTime;
253
- }, z.core.$strip>>;
254
- createdAt: z.ZodISODateTime;
255
- updatedAt: z.ZodISODateTime;
256
- }, z.core.$strip>>;
257
- events: z.ZodArray<z.ZodObject<{
258
- id: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
259
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
260
- type: z.ZodEnum<{
261
- pipeline_queued: "pipeline_queued";
262
- pipeline_started: "pipeline_started";
263
- step_run_created: "step_run_created";
264
- step_attempt_queued: "step_attempt_queued";
265
- step_attempt_started: "step_attempt_started";
266
- step_attempt_succeeded: "step_attempt_succeeded";
267
- step_attempt_failed: "step_attempt_failed";
268
- step_evaluated: "step_evaluated";
269
- step_satisfied_by_policy: "step_satisfied_by_policy";
270
- step_satisfied_by_user: "step_satisfied_by_user";
271
- step_unsatisfied_by_policy: "step_unsatisfied_by_policy";
272
- step_retriggered: "step_retriggered";
273
- step_blocked: "step_blocked";
274
- step_needs_review: "step_needs_review";
275
- pipeline_succeeded: "pipeline_succeeded";
276
- pipeline_failed: "pipeline_failed";
277
- pipeline_blocked: "pipeline_blocked";
278
- pipeline_needs_review: "pipeline_needs_review";
279
- pipeline_cancelled: "pipeline_cancelled";
280
- }>;
281
- payloadJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
282
- createdAt: z.ZodISODateTime;
283
- }, z.core.$strip>>;
284
- startedAt: z.ZodNullable<z.ZodISODateTime>;
285
- completedAt: z.ZodNullable<z.ZodISODateTime>;
286
- createdAt: z.ZodISODateTime;
287
- updatedAt: z.ZodISODateTime;
288
- }, z.core.$strip>;
289
- export declare const createLinearPipelineExecutionInputSchema: z.ZodObject<{
290
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
291
- linearPipelineDefinitionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
292
- inputJson: z.ZodOptional<z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>>;
293
- }, z.core.$strip>;
294
- export declare const applyLinearPipelineStepResultInputSchema: z.ZodObject<{
295
- status: z.ZodEnum<{
296
- succeeded: "succeeded";
297
- failed: "failed";
298
- }>;
299
- resultJson: z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>;
300
- errorJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonValue, unknown>>>;
301
- }, z.core.$strip>;
302
- export declare const acceptLinearPipelineStepRunInputSchema: z.ZodObject<{
303
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
304
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
305
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
306
- stepExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
307
- stepExecutionResultId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
308
- acceptedByUserId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
309
- acceptanceReason: z.ZodString;
310
- }, z.core.$strip>;
311
- export declare const retriggerLinearPipelineStepRunInputSchema: z.ZodObject<{
312
- projectId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
313
- linearPipelineExecutionId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
314
- linearPipelineStepRunId: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
315
- }, z.core.$strip>;
316
- export declare const getLinearPipelineExecutionInputSchema: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
317
- export declare const listLinearPipelineExecutionsByProjectIdInputSchema: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
318
- export declare const listLinearPipelineExecutionsByDefinitionIdInputSchema: z.ZodString & z.ZodType<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/uuid-v7").UuidV7, string>>;
319
- export type LinearPipelineStepEvaluationContract = z.infer<typeof linearPipelineStepEvaluationSchema>;
320
- export type LinearPipelineStepRunAttemptContract = z.infer<typeof linearPipelineStepRunAttemptSchema>;
321
- export type LinearPipelineExecutionEventContract = z.infer<typeof linearPipelineExecutionEventSchema>;
322
- export type LinearPipelineStepRunContract = z.infer<typeof linearPipelineStepRunSchema>;
323
- export type LinearPipelineExecutionContract = z.infer<typeof linearPipelineExecutionSchema>;
324
- export type CreateLinearPipelineExecutionInput = z.input<typeof createLinearPipelineExecutionInputSchema>;
325
- export type ApplyLinearPipelineStepResultInput = z.input<typeof applyLinearPipelineStepResultInputSchema>;
326
- export type AcceptLinearPipelineStepRunInput = z.input<typeof acceptLinearPipelineStepRunInputSchema>;
327
- export type RetriggerLinearPipelineStepRunInput = z.input<typeof retriggerLinearPipelineStepRunInputSchema>;
328
- export type GetLinearPipelineExecutionInput = z.input<typeof getLinearPipelineExecutionInputSchema>;
329
- export type ListLinearPipelineExecutionsByProjectIdInput = z.input<typeof listLinearPipelineExecutionsByProjectIdInputSchema>;
330
- export type ListLinearPipelineExecutionsByDefinitionIdInput = z.input<typeof listLinearPipelineExecutionsByDefinitionIdInputSchema>;
@@ -1,43 +0,0 @@
1
- import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
2
- import type { AnyJsonValue } from "@boboddy/core/common/contracts/json";
3
- import { LinearPipelineExecutionEventEntity, type LinearPipelineExecutionEventEntityProps } from "../entities/linear-pipeline-execution-event-entity";
4
- import { LinearPipelineStepRunEntity, type LinearPipelineStepRunEntityProps } from "../entities/linear-pipeline-step-run-entity";
5
- export declare const linearPipelineExecutionStatusValues: readonly ["queued", "running", "succeeded", "failed", "cancelled", "blocked", "needs_review"];
6
- export type LinearPipelineExecutionStatus = (typeof linearPipelineExecutionStatusValues)[number];
7
- export type LinearPipelineExecutionEntityProps = {
8
- id: UuidV7;
9
- projectId: UuidV7;
10
- linearPipelineDefinitionId: UuidV7;
11
- linearPipelineDefinitionVersion: number;
12
- status: LinearPipelineExecutionStatus;
13
- currentStepKey?: string | null | undefined;
14
- inputJson?: AnyJsonValue | null | undefined;
15
- stepRuns: readonly LinearPipelineStepRunEntityProps[];
16
- events: readonly LinearPipelineExecutionEventEntityProps[];
17
- startedAt?: Date | string | null | undefined;
18
- completedAt?: Date | string | null | undefined;
19
- createdAt?: Date | string | null | undefined;
20
- updatedAt?: Date | string | null | undefined;
21
- };
22
- export type CreateLinearPipelineExecutionEntityProps = Omit<LinearPipelineExecutionEntityProps, "id"> & {
23
- id?: UuidV7 | undefined;
24
- };
25
- export declare class LinearPipelineExecutionEntity {
26
- readonly id: UuidV7;
27
- readonly projectId: UuidV7;
28
- readonly linearPipelineDefinitionId: UuidV7;
29
- readonly linearPipelineDefinitionVersion: number;
30
- readonly status: LinearPipelineExecutionStatus;
31
- readonly currentStepKey: string | null;
32
- readonly inputJson: AnyJsonValue | null;
33
- readonly stepRuns: LinearPipelineStepRunEntity[];
34
- readonly events: LinearPipelineExecutionEventEntity[];
35
- readonly startedAt: Date | null | undefined;
36
- readonly completedAt: Date | null | undefined;
37
- readonly createdAt: Date | null | undefined;
38
- readonly updatedAt: Date | null | undefined;
39
- private constructor();
40
- static create(props: CreateLinearPipelineExecutionEntityProps): LinearPipelineExecutionEntity;
41
- static rehydrate(props: LinearPipelineExecutionEntityProps): LinearPipelineExecutionEntity;
42
- toJSON(): LinearPipelineExecutionEntityProps;
43
- }
@@ -1,25 +0,0 @@
1
- import type { AnyJsonObject } from "@boboddy/core/common/contracts/json";
2
- import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
3
- export declare const linearPipelineExecutionEventTypeValues: readonly ["pipeline_queued", "pipeline_started", "step_run_created", "step_attempt_queued", "step_attempt_started", "step_attempt_succeeded", "step_attempt_failed", "step_evaluated", "step_satisfied_by_policy", "step_satisfied_by_user", "step_unsatisfied_by_policy", "step_retriggered", "step_blocked", "step_needs_review", "pipeline_succeeded", "pipeline_failed", "pipeline_blocked", "pipeline_needs_review", "pipeline_cancelled"];
4
- export type LinearPipelineExecutionEventType = (typeof linearPipelineExecutionEventTypeValues)[number];
5
- export type LinearPipelineExecutionEventEntityProps = {
6
- id: UuidV7;
7
- linearPipelineExecutionId: UuidV7;
8
- type: LinearPipelineExecutionEventType;
9
- payloadJson?: AnyJsonObject | null | undefined;
10
- createdAt?: Date | string | null | undefined;
11
- };
12
- export type CreateLinearPipelineExecutionEventEntityProps = Omit<LinearPipelineExecutionEventEntityProps, "id"> & {
13
- id?: UuidV7 | undefined;
14
- };
15
- export declare class LinearPipelineExecutionEventEntity {
16
- readonly id: UuidV7;
17
- readonly linearPipelineExecutionId: UuidV7;
18
- readonly type: LinearPipelineExecutionEventType;
19
- readonly payloadJson: AnyJsonObject | null;
20
- readonly createdAt: Date | null | undefined;
21
- private constructor();
22
- static create(props: CreateLinearPipelineExecutionEventEntityProps): LinearPipelineExecutionEventEntity;
23
- static rehydrate(props: LinearPipelineExecutionEventEntityProps): LinearPipelineExecutionEventEntity;
24
- toJSON(): LinearPipelineExecutionEventEntityProps;
25
- }
@@ -1,45 +0,0 @@
1
- import type { AnyJsonObject, AnyJsonValue } from "@boboddy/core/common/contracts/json";
2
- import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
3
- import type { LinearPipelineStepAdvancementPolicyEventType } from "@boboddy/core/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-advancement-policy-definition-entity";
4
- import type { StepExecutionResultStatus } from "@boboddy/core/pipeline-executions/step-execution/entities/step-execution-result-entity";
5
- export declare const linearPipelineStepEvaluationFinalStatusValues: readonly ["pass", "fail"];
6
- export type LinearPipelineStepEvaluationFinalStatus = (typeof linearPipelineStepEvaluationFinalStatusValues)[number];
7
- export type LinearPipelineStepEvaluationEntityProps = {
8
- id: UuidV7;
9
- linearPipelineExecutionId: UuidV7;
10
- linearPipelineStepRunId: UuidV7;
11
- linearPipelineStepRunAttemptId: UuidV7;
12
- stepExecutionId: UuidV7;
13
- stepExecutionResultId: UuidV7;
14
- stepExecutionResultStatus?: StepExecutionResultStatus | null | undefined;
15
- linearPipelineStepAdvancementPolicyDefinitionId: UuidV7;
16
- factsSnapshotJson: AnyJsonObject;
17
- ruleResultsJson: AnyJsonValue;
18
- finalStatus: LinearPipelineStepEvaluationFinalStatus;
19
- finalAction: LinearPipelineStepAdvancementPolicyEventType;
20
- finalPayloadJson?: AnyJsonObject | null | undefined;
21
- createdAt?: Date | string | null | undefined;
22
- };
23
- export type CreateLinearPipelineStepEvaluationEntityProps = Omit<LinearPipelineStepEvaluationEntityProps, "id"> & {
24
- id?: UuidV7 | undefined;
25
- };
26
- export declare class LinearPipelineStepEvaluationEntity {
27
- readonly id: UuidV7;
28
- readonly linearPipelineExecutionId: UuidV7;
29
- readonly linearPipelineStepRunId: UuidV7;
30
- readonly linearPipelineStepRunAttemptId: UuidV7;
31
- readonly stepExecutionId: UuidV7;
32
- readonly stepExecutionResultId: UuidV7;
33
- readonly stepExecutionResultStatus: StepExecutionResultStatus | null;
34
- readonly linearPipelineStepAdvancementPolicyDefinitionId: UuidV7;
35
- readonly factsSnapshotJson: AnyJsonObject;
36
- readonly ruleResultsJson: AnyJsonValue;
37
- readonly finalStatus: LinearPipelineStepEvaluationFinalStatus;
38
- readonly finalAction: LinearPipelineStepAdvancementPolicyEventType;
39
- readonly finalPayloadJson: AnyJsonObject | null;
40
- readonly createdAt: Date | null | undefined;
41
- private constructor();
42
- static create(props: CreateLinearPipelineStepEvaluationEntityProps): LinearPipelineStepEvaluationEntity;
43
- static rehydrate(props: LinearPipelineStepEvaluationEntityProps): LinearPipelineStepEvaluationEntity;
44
- toJSON(): LinearPipelineStepEvaluationEntityProps;
45
- }
@@ -1,24 +0,0 @@
1
- import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
2
- export type LinearPipelineStepRunAttemptEntityProps = {
3
- id: UuidV7;
4
- linearPipelineStepRunId: UuidV7;
5
- stepExecutionId: UuidV7;
6
- attemptNumber: number;
7
- evaluationId?: UuidV7 | null | undefined;
8
- createdAt?: Date | string | null | undefined;
9
- };
10
- export type CreateLinearPipelineStepRunAttemptEntityProps = Omit<LinearPipelineStepRunAttemptEntityProps, "id"> & {
11
- id?: UuidV7 | undefined;
12
- };
13
- export declare class LinearPipelineStepRunAttemptEntity {
14
- readonly id: UuidV7;
15
- readonly linearPipelineStepRunId: UuidV7;
16
- readonly stepExecutionId: UuidV7;
17
- readonly attemptNumber: number;
18
- readonly evaluationId: UuidV7 | null;
19
- readonly createdAt: Date | null | undefined;
20
- private constructor();
21
- static create(props: CreateLinearPipelineStepRunAttemptEntityProps): LinearPipelineStepRunAttemptEntity;
22
- static rehydrate(props: LinearPipelineStepRunAttemptEntityProps): LinearPipelineStepRunAttemptEntity;
23
- toJSON(): LinearPipelineStepRunAttemptEntityProps;
24
- }
@@ -1,63 +0,0 @@
1
- import type { AnyJsonValue } from "@boboddy/core/common/contracts/json";
2
- import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
3
- import { LinearPipelineStepEvaluationEntity, type LinearPipelineStepEvaluationEntityProps } from "./linear-pipeline-step-evaluation-entity";
4
- import { LinearPipelineStepRunAttemptEntity, type LinearPipelineStepRunAttemptEntityProps } from "./linear-pipeline-step-run-attempt-entity";
5
- export declare const linearPipelineStepRunStatusValues: readonly ["pending", "queued", "running", "satisfied", "unsatisfied", "blocked", "needs_review", "skipped", "cancelled"];
6
- export declare const linearPipelineStepRunSatisfactionStatusValues: readonly ["not_evaluated", "satisfied_by_policy", "satisfied_by_user", "unsatisfied_by_policy"];
7
- export type LinearPipelineStepRunStatus = (typeof linearPipelineStepRunStatusValues)[number];
8
- export type LinearPipelineStepRunSatisfactionStatus = (typeof linearPipelineStepRunSatisfactionStatusValues)[number];
9
- export type LinearPipelineStepRunEntityProps = {
10
- id: UuidV7;
11
- linearPipelineExecutionId: UuidV7;
12
- linearPipelineStepDefinitionId: UuidV7;
13
- stepDefinitionId: UuidV7;
14
- stepDefinitionVersion: number;
15
- stepKey: string;
16
- position: number;
17
- status: LinearPipelineStepRunStatus;
18
- satisfactionStatus: LinearPipelineStepRunSatisfactionStatus;
19
- selectedStepExecutionId?: UuidV7 | null | undefined;
20
- selectedStepExecutionResultId?: UuidV7 | null | undefined;
21
- acceptedByUserId?: UuidV7 | null | undefined;
22
- acceptedAt?: Date | string | null | undefined;
23
- acceptanceReason?: string | null | undefined;
24
- attemptCount: number;
25
- lastAttemptedAt?: Date | string | null | undefined;
26
- inputJson?: AnyJsonValue | null | undefined;
27
- outputJson?: AnyJsonValue | null | undefined;
28
- attempts?: readonly LinearPipelineStepRunAttemptEntityProps[] | undefined;
29
- evaluations?: readonly LinearPipelineStepEvaluationEntityProps[] | undefined;
30
- createdAt?: Date | string | null | undefined;
31
- updatedAt?: Date | string | null | undefined;
32
- };
33
- export type CreateLinearPipelineStepRunEntityProps = Omit<LinearPipelineStepRunEntityProps, "id"> & {
34
- id?: UuidV7 | undefined;
35
- };
36
- export declare class LinearPipelineStepRunEntity {
37
- readonly id: UuidV7;
38
- readonly linearPipelineExecutionId: UuidV7;
39
- readonly linearPipelineStepDefinitionId: UuidV7;
40
- readonly stepDefinitionId: UuidV7;
41
- readonly stepDefinitionVersion: number;
42
- readonly stepKey: string;
43
- readonly position: number;
44
- readonly status: LinearPipelineStepRunStatus;
45
- readonly satisfactionStatus: LinearPipelineStepRunSatisfactionStatus;
46
- readonly selectedStepExecutionId: UuidV7 | null;
47
- readonly selectedStepExecutionResultId: UuidV7 | null;
48
- readonly acceptedByUserId: UuidV7 | null;
49
- readonly acceptedAt: Date | null | undefined;
50
- readonly acceptanceReason: string | null;
51
- readonly attemptCount: number;
52
- readonly lastAttemptedAt: Date | null | undefined;
53
- readonly inputJson: AnyJsonValue | null;
54
- readonly outputJson: AnyJsonValue | null;
55
- readonly attempts: LinearPipelineStepRunAttemptEntity[];
56
- readonly evaluations: LinearPipelineStepEvaluationEntity[];
57
- readonly createdAt: Date | null | undefined;
58
- readonly updatedAt: Date | null | undefined;
59
- private constructor();
60
- static create(props: CreateLinearPipelineStepRunEntityProps): LinearPipelineStepRunEntity;
61
- static rehydrate(props: LinearPipelineStepRunEntityProps): LinearPipelineStepRunEntity;
62
- toJSON(): LinearPipelineStepRunEntityProps;
63
- }
@@ -1,19 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import type { LinearPipelineExecutionRepo } from "../application/linear-pipeline-execution-repo";
3
- import { LinearPipelineExecutionEntity, type LinearPipelineExecutionEntityProps } from "../domain/linear-pipeline-execution-entity";
4
- import type { LinearPipelineStepRunAttemptEntityProps } from "../entities/linear-pipeline-step-run-attempt-entity";
5
- import type { LinearPipelineStepRunEntityProps } from "../entities/linear-pipeline-step-run-entity";
6
- export declare class DrizzleLinearPipelineExecutionRepo implements LinearPipelineExecutionRepo {
7
- loadStepExecutionLink(stepExecutionId: LinearPipelineStepRunAttemptEntityProps["stepExecutionId"], dbExecutor?: DbExecutor): Promise<{
8
- linearPipelineExecutionId: LinearPipelineExecutionEntityProps["id"];
9
- linearPipelineStepRunId: LinearPipelineStepRunEntityProps["id"];
10
- linearPipelineStepRunAttemptId: LinearPipelineStepRunAttemptEntityProps["id"];
11
- } | null>;
12
- private toEntity;
13
- private loadManyFromRows;
14
- load(id: LinearPipelineExecutionEntityProps["id"], dbExecutor?: DbExecutor): Promise<LinearPipelineExecutionEntity | null>;
15
- listByProjectId(projectId: LinearPipelineExecutionEntityProps["projectId"], dbExecutor?: DbExecutor): Promise<LinearPipelineExecutionEntity[]>;
16
- listByDefinitionId(linearPipelineDefinitionId: LinearPipelineExecutionEntityProps["linearPipelineDefinitionId"], dbExecutor?: DbExecutor): Promise<LinearPipelineExecutionEntity[]>;
17
- create(execution: LinearPipelineExecutionEntity, dbExecutor?: DbExecutor): Promise<LinearPipelineExecutionEntity>;
18
- save(execution: LinearPipelineExecutionEntity, dbExecutor?: DbExecutor): Promise<LinearPipelineExecutionEntity>;
19
- }
@@ -1,13 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import { ResourceNotFoundError } from "@boboddy/core/lib/errors";
3
- import type { TimeProvider } from "@boboddy/core/lib/time-provider";
4
- import { Result } from "@boboddy/core/lib/result";
5
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
6
- import { type AddStepExecutionResultInput, type StepExecutionResultContract } from "../contracts/step-execution-contracts";
7
- import type { StepExecutionRepo } from "./step-execution-repo";
8
- export declare const addStepExecutionResult: (input: AddStepExecutionResultInput, { userAuthz, stepExecutionRepo, timeProvider, dbExecutor, }: {
9
- userAuthz: UserAuthorizationService;
10
- stepExecutionRepo: StepExecutionRepo;
11
- timeProvider: TimeProvider;
12
- dbExecutor?: DbExecutor | undefined;
13
- }) => Promise<Result<StepExecutionResultContract, ResourceNotFoundError>>;
@@ -1,19 +0,0 @@
1
- import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
2
- import type { InMemoryDomainEventDispatcher } from "@boboddy/core/lib/domain-events/in-memory-domain-event-dispatcher";
3
- import type { TimeProvider } from "@boboddy/core/lib/time-provider";
4
- import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
5
- import type { LinearPipelineExecutionRepo } from "@boboddy/core/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-repo";
6
- import { type ClaimStepExecutionsInput, type StepExecutionClaimContract } from "../contracts/step-execution-contracts";
7
- import type { StepExecutionRepo } from "./step-execution-repo";
8
- import type { StepDefinitionRepo } from "@boboddy/core/pipeline-definitions/step-definition/application/step-definition-repo";
9
- import type { LinearPipelineDefinitionRepo } from "@boboddy/core/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-repo";
10
- export declare const claimStepExecutions: (input: ClaimStepExecutionsInput, { userAuthz, stepExecutionRepo, stepDefinitionRepo, linearPipelineDefinitionRepo, linearPipelineExecutionRepo, timeProvider, domainEventDispatcher, dbExecutor, }: {
11
- userAuthz: UserAuthorizationService;
12
- stepExecutionRepo: StepExecutionRepo;
13
- stepDefinitionRepo: StepDefinitionRepo;
14
- linearPipelineDefinitionRepo: LinearPipelineDefinitionRepo;
15
- linearPipelineExecutionRepo: LinearPipelineExecutionRepo;
16
- timeProvider: TimeProvider;
17
- domainEventDispatcher?: InMemoryDomainEventDispatcher;
18
- dbExecutor?: DbExecutor | undefined;
19
- }) => Promise<StepExecutionClaimContract[]>;