@boboddy/sdk 0.0.11-alpha → 0.0.13-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.
- package/dist/client.js +62 -0
- package/dist/define-step.js +1018 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1016 -0
- package/dist/step-definitions-client.js +47 -0
- package/dist/treaty.js +34 -0
- package/package.json +1 -1
- package/dist/apps/api/src/app.d.ts +0 -19731
- package/dist/apps/api/src/contracts.d.ts +0 -20
- package/dist/apps/api/src/http/error-handler.d.ts +0 -23
- package/dist/apps/api/src/http/routes/auth.d.ts +0 -57
- package/dist/apps/api/src/http/routes/authenticated.d.ts +0 -79
- package/dist/apps/api/src/http/routes/feedback-requests.d.ts +0 -281
- package/dist/apps/api/src/http/routes/linear-pipeline-definitions.d.ts +0 -1563
- package/dist/apps/api/src/http/routes/linear-pipeline-executions.d.ts +0 -2540
- package/dist/apps/api/src/http/routes/project-context-entries.d.ts +0 -387
- package/dist/apps/api/src/http/routes/projects.d.ts +0 -1906
- package/dist/apps/api/src/http/routes/step-definition-templates.d.ts +0 -479
- package/dist/apps/api/src/http/routes/step-definitions.d.ts +0 -917
- package/dist/apps/api/src/http/routes/step-execution-route-helpers.d.ts +0 -64
- package/dist/apps/api/src/http/routes/step-executions.d.ts +0 -1485
- package/dist/apps/api/src/http/routes/work-items.d.ts +0 -966
- package/dist/apps/api/src/problem-details.d.ts +0 -9
- package/dist/packages/core/src/access/authorization/application/user-authorization-service.d.ts +0 -12
- package/dist/packages/core/src/access/authorization/infra/project-authorization-service.d.ts +0 -9
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/ai-container-launcher.d.ts +0 -21
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/create-project-runtime-session.d.ts +0 -15
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/devcontainer-launcher.d.ts +0 -21
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/get-project-runtime-session.d.ts +0 -13
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/git-clone-service.d.ts +0 -11
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/list-project-runtime-sessions.d.ts +0 -13
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-execution-target.d.ts +0 -3
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-network-metadata.d.ts +0 -15
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/project-runtime-session-repo.d.ts +0 -10
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/runtime-session-network-manager.d.ts +0 -14
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/stop-project-runtime-session.d.ts +0 -31
- package/dist/packages/core/src/agent-sessions/project-runtime-session/application/workspace-manager.d.ts +0 -10
- package/dist/packages/core/src/agent-sessions/project-runtime-session/contracts/project-runtime-session-contracts.d.ts +0 -62
- package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity-helpers.d.ts +0 -12
- package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-entity.d.ts +0 -99
- package/dist/packages/core/src/agent-sessions/project-runtime-session/domain/project-runtime-session-execution-target.d.ts +0 -16
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/devcontainer-cli-launcher.d.ts +0 -6
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/docker-ai-container-launcher.d.ts +0 -8
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/drizzle-project-runtime-session-repo.d.ts +0 -11
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/git-cli-clone-service.d.ts +0 -4
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-jsonc.d.ts +0 -4
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager-support.d.ts +0 -42
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-port-forward-manager.d.ts +0 -24
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-devcontainer-working-directory.d.ts +0 -5
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-docker-runtime-session-network-manager.d.ts +0 -17
- package/dist/packages/core/src/agent-sessions/project-runtime-session/infra/local-workspace-manager.d.ts +0 -11
- package/dist/packages/core/src/agent-sessions/runtime-command/application/complete-claimed-runtime-command.d.ts +0 -13
- package/dist/packages/core/src/agent-sessions/runtime-command/application/create-runtime-command.d.ts +0 -19
- package/dist/packages/core/src/agent-sessions/runtime-command/application/fail-claimed-runtime-command.d.ts +0 -13
- package/dist/packages/core/src/agent-sessions/runtime-command/application/interrupt-claimed-runtime-command.d.ts +0 -13
- package/dist/packages/core/src/agent-sessions/runtime-command/application/run-runtime-command-locally.d.ts +0 -27
- package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-claim-helpers.d.ts +0 -1
- package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-output-summary.d.ts +0 -4
- package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-repo.d.ts +0 -20
- package/dist/packages/core/src/agent-sessions/runtime-command/application/runtime-command-runner.d.ts +0 -25
- package/dist/packages/core/src/agent-sessions/runtime-command/contracts/runtime-command-contracts.d.ts +0 -194
- package/dist/packages/core/src/agent-sessions/runtime-command/domain/runtime-command-entity.d.ts +0 -111
- package/dist/packages/core/src/agent-sessions/runtime-command/infra/drizzle-runtime-command-repo.d.ts +0 -20
- package/dist/packages/core/src/agent-sessions/runtime-command/infra/local-runtime-command-runner.d.ts +0 -25
- package/dist/packages/core/src/agent-sessions/runtime-environment/domain/runtime-environment.d.ts +0 -12
- package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-publisher.d.ts +0 -24
- package/dist/packages/core/src/agent-sessions/runtime-operation-event/application/runtime-operation-event-repo.d.ts +0 -17
- package/dist/packages/core/src/agent-sessions/runtime-operation-event/domain/runtime-operation-event.d.ts +0 -35
- package/dist/packages/core/src/agent-sessions/runtime-operation-event/infra/file-runtime-operation-event-repo.d.ts +0 -25
- package/dist/packages/core/src/agent-sessions/runtime-service/application/create-runtime-service.d.ts +0 -19
- package/dist/packages/core/src/agent-sessions/runtime-service/application/get-runtime-service.d.ts +0 -13
- package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-output-summary.d.ts +0 -10
- package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-repo.d.ts +0 -9
- package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-service-runner.d.ts +0 -23
- package/dist/packages/core/src/agent-sessions/runtime-service/application/runtime-session-service-exposure-provider.d.ts +0 -19
- package/dist/packages/core/src/agent-sessions/runtime-service/application/start-runtime-service-locally.d.ts +0 -23
- package/dist/packages/core/src/agent-sessions/runtime-service/application/stop-runtime-service.d.ts +0 -34
- package/dist/packages/core/src/agent-sessions/runtime-service/contracts/runtime-service-contracts.d.ts +0 -140
- package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-access-point.d.ts +0 -12
- package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-entity.d.ts +0 -76
- package/dist/packages/core/src/agent-sessions/runtime-service/domain/runtime-service-healthcheck.d.ts +0 -20
- package/dist/packages/core/src/agent-sessions/runtime-service/infra/drizzle-runtime-service-repo.d.ts +0 -9
- package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-readiness-probe.d.ts +0 -42
- package/dist/packages/core/src/agent-sessions/runtime-service/infra/local-runtime-service-runner.d.ts +0 -32
- package/dist/packages/core/src/common/contracts/json.d.ts +0 -9
- package/dist/packages/core/src/common/contracts/opencode-mcp.d.ts +0 -73
- package/dist/packages/core/src/common/contracts/uuid-v7.d.ts +0 -8
- package/dist/packages/core/src/lib/db/db-executor.d.ts +0 -4
- package/dist/packages/core/src/lib/db/index.d.ts +0 -7
- package/dist/packages/core/src/lib/db/schema.d.ts +0 -4950
- package/dist/packages/core/src/lib/di.d.ts +0 -113
- package/dist/packages/core/src/lib/domain-events/domain-event.d.ts +0 -12
- package/dist/packages/core/src/lib/domain-events/in-memory-domain-event-dispatcher.d.ts +0 -7
- package/dist/packages/core/src/lib/errors.d.ts +0 -37
- package/dist/packages/core/src/lib/logger.d.ts +0 -7
- package/dist/packages/core/src/lib/result.d.ts +0 -15
- package/dist/packages/core/src/lib/time-provider.d.ts +0 -5
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/add-linear-pipeline-step-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/archive-linear-pipeline-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/create-linear-pipeline-definition.d.ts +0 -11
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/get-linear-pipeline-definition.d.ts +0 -11
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/linear-pipeline-definition-repo.d.ts +0 -9
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/list-linear-pipeline-definitions.d.ts +0 -9
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/remove-linear-pipeline-step-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/set-linear-pipeline-step-advancement-policy-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/application/update-linear-pipeline-step-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/contracts/linear-pipeline-definition-contracts.d.ts +0 -357
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/domain/linear-pipeline-definition-entity.d.ts +0 -36
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-advancement-policy-definition-entity.d.ts +0 -42
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/entities/linear-pipeline-step-definition-entity.d.ts +0 -42
- package/dist/packages/core/src/pipeline-definitions/pipeline-definition/infra/drizzle-linear-pipeline-definition-repo.d.ts +0 -11
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/archive-step-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/create-step-definition.d.ts +0 -11
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/get-step-definition.d.ts +0 -11
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/list-step-definitions.d.ts +0 -9
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/step-definition-repo.d.ts +0 -9
- package/dist/packages/core/src/pipeline-definitions/step-definition/application/update-step-definition.d.ts +0 -13
- package/dist/packages/core/src/pipeline-definitions/step-definition/contracts/step-definition-contracts.d.ts +0 -281
- package/dist/packages/core/src/pipeline-definitions/step-definition/domain/step-definition-entity.d.ts +0 -53
- package/dist/packages/core/src/pipeline-definitions/step-definition/entities/computed-signal-definition-entity.d.ts +0 -31
- package/dist/packages/core/src/pipeline-definitions/step-definition/entities/signal-extractor-definition-entity.d.ts +0 -30
- package/dist/packages/core/src/pipeline-definitions/step-definition/infra/drizzle-step-definition-repo.d.ts +0 -11
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/get-step-definition-template.d.ts +0 -8
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/instantiate-step-definition-template.d.ts +0 -15
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/list-step-definition-templates.d.ts +0 -5
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/application/step-definition-template-repo.d.ts +0 -7
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/contracts/step-definition-template-contracts.d.ts +0 -98
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/domain/step-definition-template-entity.d.ts +0 -37
- package/dist/packages/core/src/pipeline-definitions/step-definition-template/infra/drizzle-step-definition-template-repo.d.ts +0 -9
- package/dist/packages/core/src/pipeline-executions/feedback-request/application/create-feedback-requests-on-step-signal-created.d.ts +0 -9
- package/dist/packages/core/src/pipeline-executions/feedback-request/application/decline-feedback-request.d.ts +0 -13
- package/dist/packages/core/src/pipeline-executions/feedback-request/application/feedback-request-repo.d.ts +0 -8
- package/dist/packages/core/src/pipeline-executions/feedback-request/application/list-feedback-requests-by-step-signal.d.ts +0 -14
- package/dist/packages/core/src/pipeline-executions/feedback-request/contracts/feedback-request-contracts.d.ts +0 -21
- package/dist/packages/core/src/pipeline-executions/feedback-request/domain/feedback-request-entity.d.ts +0 -29
- package/dist/packages/core/src/pipeline-executions/feedback-request/infra/drizzle-feedback-request-repo.d.ts +0 -10
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/accept-linear-pipeline-step-run.d.ts +0 -19
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/apply-linear-pipeline-step-result-and-advance.d.ts +0 -21
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/cancel-linear-pipeline-execution.d.ts +0 -15
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-execution.d.ts +0 -15
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/create-linear-pipeline-step-run-attempt.d.ts +0 -17
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/get-linear-pipeline-execution.d.ts +0 -15
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-helpers.d.ts +0 -52
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-execution-repo.d.ts +0 -15
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/linear-pipeline-step-input-resolution.d.ts +0 -5
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions-by-definition.d.ts +0 -15
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/list-linear-pipeline-executions.d.ts +0 -13
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/mark-linear-pipeline-step-run-attempt-running.d.ts +0 -15
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/project-linear-pipeline-executions.d.ts +0 -10
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/queue-first-linear-pipeline-step-run.d.ts +0 -19
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/retrigger-linear-pipeline-step-run.d.ts +0 -17
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/application/start-linear-pipeline-execution.d.ts +0 -19
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/contracts/linear-pipeline-execution-contracts.d.ts +0 -330
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/domain/linear-pipeline-execution-entity.d.ts +0 -43
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-execution-event-entity.d.ts +0 -25
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-evaluation-entity.d.ts +0 -45
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-attempt-entity.d.ts +0 -24
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/entities/linear-pipeline-step-run-entity.d.ts +0 -63
- package/dist/packages/core/src/pipeline-executions/pipeline-execution/infra/drizzle-linear-pipeline-execution-repo.d.ts +0 -19
- package/dist/packages/core/src/pipeline-executions/step-execution/application/add-step-execution-result.d.ts +0 -13
- package/dist/packages/core/src/pipeline-executions/step-execution/application/claim-step-executions.d.ts +0 -19
- package/dist/packages/core/src/pipeline-executions/step-execution/application/complete-claimed-step-execution.d.ts +0 -39
- package/dist/packages/core/src/pipeline-executions/step-execution/application/create-step-execution.d.ts +0 -11
- package/dist/packages/core/src/pipeline-executions/step-execution/application/extract-step-execution-signals.d.ts +0 -17
- package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution-worker-context.d.ts +0 -17
- package/dist/packages/core/src/pipeline-executions/step-execution/application/get-step-execution.d.ts +0 -13
- package/dist/packages/core/src/pipeline-executions/step-execution/application/heartbeat-step-execution-claim.d.ts +0 -21
- package/dist/packages/core/src/pipeline-executions/step-execution/application/list-step-executions-by-project.d.ts +0 -11
- package/dist/packages/core/src/pipeline-executions/step-execution/application/load-status-adjusted-step-executions.d.ts +0 -31
- package/dist/packages/core/src/pipeline-executions/step-execution/application/mark-step-execution-running.d.ts +0 -13
- package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-claim-helpers.d.ts +0 -13
- package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-contract-mapper.d.ts +0 -7
- package/dist/packages/core/src/pipeline-executions/step-execution/application/step-execution-repo.d.ts +0 -29
- package/dist/packages/core/src/pipeline-executions/step-execution/contracts/step-execution-contracts.d.ts +0 -325
- package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-execution-entity.d.ts +0 -61
- package/dist/packages/core/src/pipeline-executions/step-execution/domain/step-signal-created.domain-event.d.ts +0 -18
- package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-execution-result-entity.d.ts +0 -32
- package/dist/packages/core/src/pipeline-executions/step-execution/entities/step-signal-entity.d.ts +0 -36
- package/dist/packages/core/src/pipeline-executions/step-execution/infra/drizzle-step-execution-repo.d.ts +0 -31
- package/dist/packages/core/src/projects/project/application/create-project.d.ts +0 -13
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-create-failing-test-step-definition.d.ts +0 -4
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-description-quality-step-definition.d.ts +0 -4
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-fix-failing-test-step-definition.d.ts +0 -4
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-conventions.d.ts +0 -9
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-linear-pipeline-definitions.d.ts +0 -7
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-step-definitions.d.ts +0 -8
- package/dist/packages/core/src/projects/project/application/default-pipelines/default-web-repro-playwright-step-definition.d.ts +0 -4
- package/dist/packages/core/src/projects/project/application/get-project.d.ts +0 -11
- package/dist/packages/core/src/projects/project/application/list-projects.d.ts +0 -9
- package/dist/packages/core/src/projects/project/application/project-authorization.d.ts +0 -4
- package/dist/packages/core/src/projects/project/application/project-contract-mapper.d.ts +0 -3
- package/dist/packages/core/src/projects/project/application/project-repo.d.ts +0 -9
- package/dist/packages/core/src/projects/project/application/seed-default-pipelines-on-project-created.d.ts +0 -12
- package/dist/packages/core/src/projects/project/application/update-project-membership.d.ts +0 -13
- package/dist/packages/core/src/projects/project/contracts/project-contracts.d.ts +0 -37
- package/dist/packages/core/src/projects/project/domain/project-created.domain-event.d.ts +0 -13
- package/dist/packages/core/src/projects/project/domain/project-entity.d.ts +0 -31
- package/dist/packages/core/src/projects/project/domain/project-git-url.d.ts +0 -7
- package/dist/packages/core/src/projects/project/domain/project-membership.d.ts +0 -21
- package/dist/packages/core/src/projects/project/domain/project-permission.d.ts +0 -7
- package/dist/packages/core/src/projects/project/infra/drizzle-project-repo.d.ts +0 -11
- package/dist/packages/core/src/projects/project-context/application/create-project-context-entry.d.ts +0 -11
- package/dist/packages/core/src/projects/project-context/application/delete-project-context-entry.d.ts +0 -11
- package/dist/packages/core/src/projects/project-context/application/list-project-context-entries.d.ts +0 -12
- package/dist/packages/core/src/projects/project-context/application/project-context-entry-repo.d.ts +0 -8
- package/dist/packages/core/src/projects/project-context/contracts/project-context-entry-contracts.d.ts +0 -46
- package/dist/packages/core/src/projects/project-context/domain/project-context-entry-entity.d.ts +0 -27
- package/dist/packages/core/src/projects/project-context/infra/drizzle-project-context-entry-repo.d.ts +0 -10
- package/dist/packages/core/src/projects/project-opencode-config/application/project-opencode-runtime-metadata.d.ts +0 -17
- package/dist/packages/core/src/work-items/work-item/application/create-work-item.d.ts +0 -16
- package/dist/packages/core/src/work-items/work-item/application/delete-work-items.d.ts +0 -14
- package/dist/packages/core/src/work-items/work-item/application/get-work-items.d.ts +0 -14
- package/dist/packages/core/src/work-items/work-item/application/list-work-items-by-project.d.ts +0 -13
- package/dist/packages/core/src/work-items/work-item/application/upsert-work-item.d.ts +0 -14
- package/dist/packages/core/src/work-items/work-item/application/work-item-contract-mapper.d.ts +0 -4
- package/dist/packages/core/src/work-items/work-item/application/work-item-repo.d.ts +0 -27
- package/dist/packages/core/src/work-items/work-item/contracts/work-item-contracts.d.ts +0 -119
- package/dist/packages/core/src/work-items/work-item/domain/date-utils.d.ts +0 -1
- package/dist/packages/core/src/work-items/work-item/domain/work-item-entity.d.ts +0 -58
- package/dist/packages/core/src/work-items/work-item/domain/work-item-field-value.d.ts +0 -3
- package/dist/packages/core/src/work-items/work-item/domain/work-item-id.d.ts +0 -6
- package/dist/packages/core/src/work-items/work-item/domain/work-item-platform.d.ts +0 -2
- package/dist/packages/core/src/work-items/work-item/domain/work-item-projection-fingerprint-entity.d.ts +0 -18
- package/dist/packages/core/src/work-items/work-item/infra/drizzle-work-item-repo.d.ts +0 -25
- package/dist/packages/sdks/js/script/build.d.ts +0 -1
- package/dist/packages/sdks/js/src/index.d.ts +0 -1
- package/dist/packages/sdks/js/test/define-step.test.d.ts +0 -1
- /package/dist/{packages/sdks/js/src/client.d.ts → client.d.ts} +0 -0
- /package/dist/{packages/sdks/js/src/define-step.d.ts → define-step.d.ts} +0 -0
- /package/dist/{packages/sdks/js/src/step-definitions-client.d.ts → step-definitions-client.d.ts} +0 -0
- /package/dist/{packages/sdks/js/src/step-execution-plane-client.d.ts → step-execution-plane-client.d.ts} +0 -0
- /package/dist/{packages/sdks/js/src/treaty.d.ts → treaty.d.ts} +0 -0
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const signalExtractorDefinitionSchema: 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
|
-
key: z.ZodString;
|
|
5
|
-
sourcePath: z.ZodString;
|
|
6
|
-
type: z.ZodEnum<{
|
|
7
|
-
string: "string";
|
|
8
|
-
number: "number";
|
|
9
|
-
boolean: "boolean";
|
|
10
|
-
object: "object";
|
|
11
|
-
array: "array";
|
|
12
|
-
}>;
|
|
13
|
-
required: z.ZodBoolean;
|
|
14
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15
|
-
createdAt: z.ZodISODateTime;
|
|
16
|
-
updatedAt: z.ZodISODateTime;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
export declare const computedSignalDefinitionSchema: z.ZodObject<{
|
|
19
|
-
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>>;
|
|
20
|
-
key: z.ZodString;
|
|
21
|
-
type: z.ZodEnum<{
|
|
22
|
-
custom: "custom";
|
|
23
|
-
average: "average";
|
|
24
|
-
weighted_average: "weighted_average";
|
|
25
|
-
sum: "sum";
|
|
26
|
-
min: "min";
|
|
27
|
-
max: "max";
|
|
28
|
-
}>;
|
|
29
|
-
inputSignalKeys: z.ZodArray<z.ZodString>;
|
|
30
|
-
configJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
31
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
32
|
-
createdAt: z.ZodISODateTime;
|
|
33
|
-
updatedAt: z.ZodISODateTime;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
|
-
export declare const stepDefinitionSchema: z.ZodObject<{
|
|
36
|
-
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>>;
|
|
37
|
-
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>>;
|
|
38
|
-
key: z.ZodString;
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
description: z.ZodNullable<z.ZodString>;
|
|
41
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
42
|
-
version: z.ZodNumber;
|
|
43
|
-
kind: z.ZodEnum<{
|
|
44
|
-
built_in: "built_in";
|
|
45
|
-
user_defined: "user_defined";
|
|
46
|
-
}>;
|
|
47
|
-
inputSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
48
|
-
resultSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
49
|
-
opencodeMcpJson: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
50
|
-
type: z.ZodLiteral<"local">;
|
|
51
|
-
command: z.ZodArray<z.ZodString>;
|
|
52
|
-
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
55
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
56
|
-
type: z.ZodLiteral<"remote">;
|
|
57
|
-
url: z.ZodString;
|
|
58
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
60
|
-
oauth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
62
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
63
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
64
|
-
redirectUri: z.ZodOptional<z.ZodString>;
|
|
65
|
-
}, z.core.$strict>, z.ZodLiteral<false>]>>;
|
|
66
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
67
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
68
|
-
enabled: z.ZodBoolean;
|
|
69
|
-
}, z.core.$strict>]>>>;
|
|
70
|
-
status: z.ZodEnum<{
|
|
71
|
-
draft: "draft";
|
|
72
|
-
active: "active";
|
|
73
|
-
archived: "archived";
|
|
74
|
-
}>;
|
|
75
|
-
signalExtractorDefinitions: z.ZodArray<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
|
-
key: z.ZodString;
|
|
78
|
-
sourcePath: z.ZodString;
|
|
79
|
-
type: z.ZodEnum<{
|
|
80
|
-
string: "string";
|
|
81
|
-
number: "number";
|
|
82
|
-
boolean: "boolean";
|
|
83
|
-
object: "object";
|
|
84
|
-
array: "array";
|
|
85
|
-
}>;
|
|
86
|
-
required: z.ZodBoolean;
|
|
87
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
88
|
-
createdAt: z.ZodISODateTime;
|
|
89
|
-
updatedAt: z.ZodISODateTime;
|
|
90
|
-
}, z.core.$strip>>;
|
|
91
|
-
computedSignalDefinitions: z.ZodArray<z.ZodObject<{
|
|
92
|
-
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>>;
|
|
93
|
-
key: z.ZodString;
|
|
94
|
-
type: z.ZodEnum<{
|
|
95
|
-
custom: "custom";
|
|
96
|
-
average: "average";
|
|
97
|
-
weighted_average: "weighted_average";
|
|
98
|
-
sum: "sum";
|
|
99
|
-
min: "min";
|
|
100
|
-
max: "max";
|
|
101
|
-
}>;
|
|
102
|
-
inputSignalKeys: z.ZodArray<z.ZodString>;
|
|
103
|
-
configJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
104
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
105
|
-
createdAt: z.ZodISODateTime;
|
|
106
|
-
updatedAt: z.ZodISODateTime;
|
|
107
|
-
}, z.core.$strip>>;
|
|
108
|
-
createdAt: z.ZodISODateTime;
|
|
109
|
-
updatedAt: z.ZodISODateTime;
|
|
110
|
-
}, z.core.$strip>;
|
|
111
|
-
export declare const createSignalExtractorDefinitionInputSchema: z.ZodObject<{
|
|
112
|
-
key: z.ZodString;
|
|
113
|
-
sourcePath: z.ZodString;
|
|
114
|
-
type: z.ZodEnum<{
|
|
115
|
-
string: "string";
|
|
116
|
-
number: "number";
|
|
117
|
-
boolean: "boolean";
|
|
118
|
-
object: "object";
|
|
119
|
-
array: "array";
|
|
120
|
-
}>;
|
|
121
|
-
required: z.ZodBoolean;
|
|
122
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
123
|
-
}, z.core.$strip>;
|
|
124
|
-
export declare const createComputedSignalDefinitionInputSchema: z.ZodObject<{
|
|
125
|
-
key: z.ZodString;
|
|
126
|
-
type: z.ZodEnum<{
|
|
127
|
-
custom: "custom";
|
|
128
|
-
average: "average";
|
|
129
|
-
weighted_average: "weighted_average";
|
|
130
|
-
sum: "sum";
|
|
131
|
-
min: "min";
|
|
132
|
-
max: "max";
|
|
133
|
-
}>;
|
|
134
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
135
|
-
inputSignalKeys: z.ZodArray<z.ZodString>;
|
|
136
|
-
configJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
137
|
-
}, z.core.$strip>;
|
|
138
|
-
export declare const createStepDefinitionInputSchema: z.ZodObject<{
|
|
139
|
-
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>>;
|
|
140
|
-
key: z.ZodString;
|
|
141
|
-
name: z.ZodString;
|
|
142
|
-
description: z.ZodNullable<z.ZodString>;
|
|
143
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
144
|
-
version: z.ZodNumber;
|
|
145
|
-
kind: z.ZodEnum<{
|
|
146
|
-
built_in: "built_in";
|
|
147
|
-
user_defined: "user_defined";
|
|
148
|
-
}>;
|
|
149
|
-
inputSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
150
|
-
resultSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
151
|
-
opencodeMcpJson: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
152
|
-
type: z.ZodLiteral<"local">;
|
|
153
|
-
command: z.ZodArray<z.ZodString>;
|
|
154
|
-
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
155
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
157
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
-
type: z.ZodLiteral<"remote">;
|
|
159
|
-
url: z.ZodString;
|
|
160
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
162
|
-
oauth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
163
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
164
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
165
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
166
|
-
redirectUri: z.ZodOptional<z.ZodString>;
|
|
167
|
-
}, z.core.$strict>, z.ZodLiteral<false>]>>;
|
|
168
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
169
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
-
enabled: z.ZodBoolean;
|
|
171
|
-
}, z.core.$strict>]>>>>;
|
|
172
|
-
status: z.ZodEnum<{
|
|
173
|
-
draft: "draft";
|
|
174
|
-
active: "active";
|
|
175
|
-
archived: "archived";
|
|
176
|
-
}>;
|
|
177
|
-
signalExtractorDefinitions: z.ZodArray<z.ZodObject<{
|
|
178
|
-
key: z.ZodString;
|
|
179
|
-
sourcePath: z.ZodString;
|
|
180
|
-
type: z.ZodEnum<{
|
|
181
|
-
string: "string";
|
|
182
|
-
number: "number";
|
|
183
|
-
boolean: "boolean";
|
|
184
|
-
object: "object";
|
|
185
|
-
array: "array";
|
|
186
|
-
}>;
|
|
187
|
-
required: z.ZodBoolean;
|
|
188
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
189
|
-
}, z.core.$strip>>;
|
|
190
|
-
computedSignalDefinitions: z.ZodArray<z.ZodObject<{
|
|
191
|
-
key: z.ZodString;
|
|
192
|
-
type: z.ZodEnum<{
|
|
193
|
-
custom: "custom";
|
|
194
|
-
average: "average";
|
|
195
|
-
weighted_average: "weighted_average";
|
|
196
|
-
sum: "sum";
|
|
197
|
-
min: "min";
|
|
198
|
-
max: "max";
|
|
199
|
-
}>;
|
|
200
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
201
|
-
inputSignalKeys: z.ZodArray<z.ZodString>;
|
|
202
|
-
configJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
203
|
-
}, z.core.$strip>>;
|
|
204
|
-
}, z.core.$strip>;
|
|
205
|
-
export declare const updateStepDefinitionInputSchema: z.ZodObject<{
|
|
206
|
-
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>>;
|
|
207
|
-
key: z.ZodString;
|
|
208
|
-
name: z.ZodString;
|
|
209
|
-
description: z.ZodNullable<z.ZodString>;
|
|
210
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
211
|
-
version: z.ZodNumber;
|
|
212
|
-
kind: z.ZodEnum<{
|
|
213
|
-
built_in: "built_in";
|
|
214
|
-
user_defined: "user_defined";
|
|
215
|
-
}>;
|
|
216
|
-
inputSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
217
|
-
resultSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
218
|
-
opencodeMcpJson: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
219
|
-
type: z.ZodLiteral<"local">;
|
|
220
|
-
command: z.ZodArray<z.ZodString>;
|
|
221
|
-
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
222
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
224
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
225
|
-
type: z.ZodLiteral<"remote">;
|
|
226
|
-
url: z.ZodString;
|
|
227
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
229
|
-
oauth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
230
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
231
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
232
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
233
|
-
redirectUri: z.ZodOptional<z.ZodString>;
|
|
234
|
-
}, z.core.$strict>, z.ZodLiteral<false>]>>;
|
|
235
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
236
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
237
|
-
enabled: z.ZodBoolean;
|
|
238
|
-
}, z.core.$strict>]>>>>;
|
|
239
|
-
status: z.ZodEnum<{
|
|
240
|
-
draft: "draft";
|
|
241
|
-
active: "active";
|
|
242
|
-
archived: "archived";
|
|
243
|
-
}>;
|
|
244
|
-
signalExtractorDefinitions: z.ZodArray<z.ZodObject<{
|
|
245
|
-
key: z.ZodString;
|
|
246
|
-
sourcePath: z.ZodString;
|
|
247
|
-
type: z.ZodEnum<{
|
|
248
|
-
string: "string";
|
|
249
|
-
number: "number";
|
|
250
|
-
boolean: "boolean";
|
|
251
|
-
object: "object";
|
|
252
|
-
array: "array";
|
|
253
|
-
}>;
|
|
254
|
-
required: z.ZodBoolean;
|
|
255
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
256
|
-
}, z.core.$strip>>;
|
|
257
|
-
computedSignalDefinitions: z.ZodArray<z.ZodObject<{
|
|
258
|
-
key: z.ZodString;
|
|
259
|
-
type: z.ZodEnum<{
|
|
260
|
-
custom: "custom";
|
|
261
|
-
average: "average";
|
|
262
|
-
weighted_average: "weighted_average";
|
|
263
|
-
sum: "sum";
|
|
264
|
-
min: "min";
|
|
265
|
-
max: "max";
|
|
266
|
-
}>;
|
|
267
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
268
|
-
inputSignalKeys: z.ZodArray<z.ZodString>;
|
|
269
|
-
configJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
270
|
-
}, z.core.$strip>>;
|
|
271
|
-
}, z.core.$strip>;
|
|
272
|
-
export declare const getStepDefinitionInputSchema: 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>>;
|
|
273
|
-
export declare const listStepDefinitionsByProjectIdInputSchema: 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>>;
|
|
274
|
-
export type StepDefinitionContract = z.infer<typeof stepDefinitionSchema>;
|
|
275
|
-
export type SignalExtractorDefinitionContract = z.infer<typeof signalExtractorDefinitionSchema>;
|
|
276
|
-
export type ComputedSignalDefinitionContract = z.infer<typeof computedSignalDefinitionSchema>;
|
|
277
|
-
export type CreateStepDefinitionInput = z.input<typeof createStepDefinitionInputSchema>;
|
|
278
|
-
export type UpdateStepDefinitionInput = z.input<typeof updateStepDefinitionInputSchema>;
|
|
279
|
-
export type GetStepDefinitionInput = z.input<typeof getStepDefinitionInputSchema>;
|
|
280
|
-
export type ListStepDefinitionsByProjectIdInput = z.input<typeof listStepDefinitionsByProjectIdInputSchema>;
|
|
281
|
-
export type CreateComputedSignalDefinitionInput = z.input<typeof createComputedSignalDefinitionInputSchema>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { AnyJsonObject } from "@boboddy/core/common/contracts/json";
|
|
2
|
-
import type { OpenCodeMcpServers } from "@boboddy/core/common/contracts/opencode-mcp";
|
|
3
|
-
import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
4
|
-
import { ComputedSignalDefinitionEntity, type ComputedSignalDefinitionEntityProps } from "../entities/computed-signal-definition-entity";
|
|
5
|
-
import { SignalExtractorDefinitionEntity, type SignalExtractorDefinitionEntityProps } from "../entities/signal-extractor-definition-entity";
|
|
6
|
-
export declare const stepDefinitionKindValues: readonly ["built_in", "user_defined"];
|
|
7
|
-
export declare const stepDefinitionStatusValues: readonly ["draft", "active", "archived"];
|
|
8
|
-
export type StepDefinitionKind = (typeof stepDefinitionKindValues)[number];
|
|
9
|
-
export type StepDefinitionStatus = (typeof stepDefinitionStatusValues)[number];
|
|
10
|
-
export type StepDefinitionEntityProps = {
|
|
11
|
-
id: UuidV7;
|
|
12
|
-
projectId: UuidV7;
|
|
13
|
-
key: string;
|
|
14
|
-
name: string;
|
|
15
|
-
description?: string | null | undefined;
|
|
16
|
-
prompt?: string | null | undefined;
|
|
17
|
-
version: number;
|
|
18
|
-
kind: StepDefinitionKind;
|
|
19
|
-
inputSchemaJson?: AnyJsonObject | null | undefined;
|
|
20
|
-
resultSchemaJson?: AnyJsonObject | null | undefined;
|
|
21
|
-
opencodeMcpJson?: OpenCodeMcpServers | null | undefined;
|
|
22
|
-
status: StepDefinitionStatus;
|
|
23
|
-
signalExtractorDefinitions: readonly SignalExtractorDefinitionEntityProps[];
|
|
24
|
-
computedSignalDefinitions: readonly ComputedSignalDefinitionEntityProps[];
|
|
25
|
-
createdAt?: Date | string | null | undefined;
|
|
26
|
-
updatedAt?: Date | string | null | undefined;
|
|
27
|
-
};
|
|
28
|
-
export type CreateStepDefinitionEntityProps = Omit<StepDefinitionEntityProps, "id"> & {
|
|
29
|
-
id?: UuidV7 | undefined;
|
|
30
|
-
};
|
|
31
|
-
export declare class StepDefinitionEntity {
|
|
32
|
-
readonly id: UuidV7;
|
|
33
|
-
readonly projectId: UuidV7;
|
|
34
|
-
readonly key: string;
|
|
35
|
-
readonly name: string;
|
|
36
|
-
readonly description: string | null;
|
|
37
|
-
readonly prompt: string | null;
|
|
38
|
-
readonly version: number;
|
|
39
|
-
readonly kind: StepDefinitionKind;
|
|
40
|
-
readonly inputSchemaJson: AnyJsonObject | null;
|
|
41
|
-
readonly resultSchemaJson: AnyJsonObject | null;
|
|
42
|
-
readonly opencodeMcpJson: OpenCodeMcpServers | null;
|
|
43
|
-
readonly status: StepDefinitionStatus;
|
|
44
|
-
readonly signalExtractorDefinitions: SignalExtractorDefinitionEntity[];
|
|
45
|
-
readonly computedSignalDefinitions: ComputedSignalDefinitionEntity[];
|
|
46
|
-
readonly createdAt: Date | null | undefined;
|
|
47
|
-
readonly updatedAt: Date | null | undefined;
|
|
48
|
-
private constructor();
|
|
49
|
-
static create(props: CreateStepDefinitionEntityProps): StepDefinitionEntity;
|
|
50
|
-
static rehydrate(props: StepDefinitionEntityProps): StepDefinitionEntity;
|
|
51
|
-
archive(now: Date): StepDefinitionEntity;
|
|
52
|
-
toJSON(): StepDefinitionEntityProps;
|
|
53
|
-
}
|
|
@@ -1,31 +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 computedSignalDefinitionTypeValues: readonly ["average", "weighted_average", "sum", "min", "max", "custom"];
|
|
4
|
-
export type ComputedSignalDefinitionType = (typeof computedSignalDefinitionTypeValues)[number];
|
|
5
|
-
export type ComputedSignalDefinitionEntityProps = {
|
|
6
|
-
id: UuidV7;
|
|
7
|
-
key: string;
|
|
8
|
-
type: ComputedSignalDefinitionType;
|
|
9
|
-
inputSignalKeys: string[];
|
|
10
|
-
configJson?: AnyJsonObject | null | undefined;
|
|
11
|
-
availableWhenResultStatusIn?: readonly string[] | null | undefined;
|
|
12
|
-
createdAt?: Date | string | null | undefined;
|
|
13
|
-
updatedAt?: Date | string | null | undefined;
|
|
14
|
-
};
|
|
15
|
-
export type CreateComputedSignalDefinitionEntityProps = Omit<ComputedSignalDefinitionEntityProps, "id"> & {
|
|
16
|
-
id?: UuidV7 | undefined;
|
|
17
|
-
};
|
|
18
|
-
export declare class ComputedSignalDefinitionEntity {
|
|
19
|
-
readonly id: UuidV7;
|
|
20
|
-
readonly key: string;
|
|
21
|
-
readonly type: ComputedSignalDefinitionType;
|
|
22
|
-
readonly inputSignalKeys: string[];
|
|
23
|
-
readonly configJson: AnyJsonObject | null;
|
|
24
|
-
readonly availableWhenResultStatusIn: string[] | null;
|
|
25
|
-
readonly createdAt: Date | null | undefined;
|
|
26
|
-
readonly updatedAt: Date | null | undefined;
|
|
27
|
-
private constructor();
|
|
28
|
-
static create(props: CreateComputedSignalDefinitionEntityProps): ComputedSignalDefinitionEntity;
|
|
29
|
-
static rehydrate(props: ComputedSignalDefinitionEntityProps): ComputedSignalDefinitionEntity;
|
|
30
|
-
toJSON(): ComputedSignalDefinitionEntityProps;
|
|
31
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
2
|
-
export declare const signalExtractorDefinitionTypeValues: readonly ["string", "number", "boolean", "object", "array"];
|
|
3
|
-
export type SignalExtractorDefinitionType = (typeof signalExtractorDefinitionTypeValues)[number];
|
|
4
|
-
export type SignalExtractorDefinitionEntityProps = {
|
|
5
|
-
id: UuidV7;
|
|
6
|
-
key: string;
|
|
7
|
-
sourcePath: string;
|
|
8
|
-
type: SignalExtractorDefinitionType;
|
|
9
|
-
required: boolean;
|
|
10
|
-
availableWhenResultStatusIn?: readonly string[] | null | undefined;
|
|
11
|
-
createdAt?: Date | string | null | undefined;
|
|
12
|
-
updatedAt?: Date | string | null | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type CreateSignalExtractorDefinitionEntityProps = Omit<SignalExtractorDefinitionEntityProps, "id"> & {
|
|
15
|
-
id?: UuidV7 | undefined;
|
|
16
|
-
};
|
|
17
|
-
export declare class SignalExtractorDefinitionEntity {
|
|
18
|
-
readonly id: UuidV7;
|
|
19
|
-
readonly key: string;
|
|
20
|
-
readonly sourcePath: string;
|
|
21
|
-
readonly type: SignalExtractorDefinitionType;
|
|
22
|
-
readonly required: boolean;
|
|
23
|
-
readonly availableWhenResultStatusIn: string[] | null;
|
|
24
|
-
readonly createdAt: Date | null | undefined;
|
|
25
|
-
readonly updatedAt: Date | null | undefined;
|
|
26
|
-
private constructor();
|
|
27
|
-
static create(props: CreateSignalExtractorDefinitionEntityProps): SignalExtractorDefinitionEntity;
|
|
28
|
-
static rehydrate(props: SignalExtractorDefinitionEntityProps): SignalExtractorDefinitionEntity;
|
|
29
|
-
toJSON(): SignalExtractorDefinitionEntityProps;
|
|
30
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
|
|
2
|
-
import type { StepDefinitionRepo } from "../application/step-definition-repo";
|
|
3
|
-
import { StepDefinitionEntity, type StepDefinitionEntityProps } from "../domain/step-definition-entity";
|
|
4
|
-
export declare class DrizzleStepDefinitionRepo implements StepDefinitionRepo {
|
|
5
|
-
private toEntity;
|
|
6
|
-
private loadManyFromRows;
|
|
7
|
-
load(id: StepDefinitionEntityProps["id"], dbExecutor?: DbExecutor): Promise<StepDefinitionEntity | null>;
|
|
8
|
-
listByProjectId(projectId: StepDefinitionEntityProps["projectId"], dbExecutor?: DbExecutor): Promise<StepDefinitionEntity[]>;
|
|
9
|
-
create(stepDefinition: StepDefinitionEntity, dbExecutor?: DbExecutor): Promise<StepDefinitionEntity>;
|
|
10
|
-
save(stepDefinition: StepDefinitionEntity, dbExecutor?: DbExecutor): Promise<StepDefinitionEntity>;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
2
|
-
import { ResourceNotFoundError } from "@boboddy/core/lib/errors";
|
|
3
|
-
import { Result } from "@boboddy/core/lib/result";
|
|
4
|
-
import { type StepDefinitionTemplateContract } from "../contracts/step-definition-template-contracts";
|
|
5
|
-
import type { StepDefinitionTemplateRepo } from "./step-definition-template-repo";
|
|
6
|
-
export declare const getStepDefinitionTemplate: (id: UuidV7, { stepDefinitionTemplateRepo }: {
|
|
7
|
-
stepDefinitionTemplateRepo: StepDefinitionTemplateRepo;
|
|
8
|
-
}) => Promise<Result<StepDefinitionTemplateContract, ResourceNotFoundError>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
2
|
-
import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
|
|
3
|
-
import { ResourceNotFoundError, CoreValidationError } from "@boboddy/core/lib/errors";
|
|
4
|
-
import { Result } from "@boboddy/core/lib/result";
|
|
5
|
-
import type { TimeProvider } from "@boboddy/core/lib/time-provider";
|
|
6
|
-
import type { StepDefinitionRepo } from "../../step-definition/application/step-definition-repo";
|
|
7
|
-
import type { StepDefinitionContract } from "../../step-definition/contracts/step-definition-contracts";
|
|
8
|
-
import { type InstantiateStepDefinitionTemplateInput } from "../contracts/step-definition-template-contracts";
|
|
9
|
-
import type { StepDefinitionTemplateRepo } from "./step-definition-template-repo";
|
|
10
|
-
export declare const instantiateStepDefinitionTemplate: (templateId: UuidV7, input: InstantiateStepDefinitionTemplateInput, { userAuthz, stepDefinitionTemplateRepo, stepDefinitionRepo, timeProvider, }: {
|
|
11
|
-
userAuthz: UserAuthorizationService;
|
|
12
|
-
stepDefinitionTemplateRepo: StepDefinitionTemplateRepo;
|
|
13
|
-
stepDefinitionRepo: StepDefinitionRepo;
|
|
14
|
-
timeProvider: TimeProvider;
|
|
15
|
-
}) => Promise<Result<StepDefinitionContract, ResourceNotFoundError | CoreValidationError>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type StepDefinitionTemplateContract } from "../contracts/step-definition-template-contracts";
|
|
2
|
-
import type { StepDefinitionTemplateRepo } from "./step-definition-template-repo";
|
|
3
|
-
export declare const listStepDefinitionTemplates: ({ stepDefinitionTemplateRepo, }: {
|
|
4
|
-
stepDefinitionTemplateRepo: StepDefinitionTemplateRepo;
|
|
5
|
-
}) => Promise<StepDefinitionTemplateContract[]>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
2
|
-
import type { StepDefinitionTemplateEntity } from "../domain/step-definition-template-entity";
|
|
3
|
-
export interface StepDefinitionTemplateRepo {
|
|
4
|
-
load(id: UuidV7): Promise<StepDefinitionTemplateEntity | null>;
|
|
5
|
-
listActive(): Promise<StepDefinitionTemplateEntity[]>;
|
|
6
|
-
save(entity: StepDefinitionTemplateEntity): Promise<void>;
|
|
7
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const templateParameterTypeValues: readonly ["text", "textarea"];
|
|
3
|
-
export type TemplateParameterType = (typeof templateParameterTypeValues)[number];
|
|
4
|
-
export declare const templateParameterSchema: z.ZodObject<{
|
|
5
|
-
key: z.ZodString;
|
|
6
|
-
label: z.ZodString;
|
|
7
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
type: z.ZodEnum<{
|
|
9
|
-
text: "text";
|
|
10
|
-
textarea: "textarea";
|
|
11
|
-
}>;
|
|
12
|
-
required: z.ZodBoolean;
|
|
13
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
export declare const templateSignalExtractorDefinitionSchema: z.ZodObject<{
|
|
16
|
-
key: z.ZodString;
|
|
17
|
-
sourcePath: z.ZodString;
|
|
18
|
-
type: z.ZodEnum<{
|
|
19
|
-
string: "string";
|
|
20
|
-
number: "number";
|
|
21
|
-
boolean: "boolean";
|
|
22
|
-
object: "object";
|
|
23
|
-
array: "array";
|
|
24
|
-
}>;
|
|
25
|
-
required: z.ZodBoolean;
|
|
26
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
export declare const stepDefinitionTemplateSchema: z.ZodObject<{
|
|
29
|
-
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>>;
|
|
30
|
-
key: z.ZodString;
|
|
31
|
-
name: z.ZodString;
|
|
32
|
-
description: z.ZodNullable<z.ZodString>;
|
|
33
|
-
promptTemplate: z.ZodNullable<z.ZodString>;
|
|
34
|
-
inputSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
35
|
-
resultSchemaJson: z.ZodNullable<z.ZodType<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown, z.core.$ZodTypeInternals<import("@boboddy/core/common/contracts/json").AnyJsonObject, unknown>>>;
|
|
36
|
-
opencodeMcpJson: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
37
|
-
type: z.ZodLiteral<"local">;
|
|
38
|
-
command: z.ZodArray<z.ZodString>;
|
|
39
|
-
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
42
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
43
|
-
type: z.ZodLiteral<"remote">;
|
|
44
|
-
url: z.ZodString;
|
|
45
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
47
|
-
oauth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
48
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
49
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
50
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
51
|
-
redirectUri: z.ZodOptional<z.ZodString>;
|
|
52
|
-
}, z.core.$strict>, z.ZodLiteral<false>]>>;
|
|
53
|
-
timeout: z.ZodOptional<z.ZodInt>;
|
|
54
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
-
enabled: z.ZodBoolean;
|
|
56
|
-
}, z.core.$strict>]>>>;
|
|
57
|
-
signalExtractorDefinitions: z.ZodArray<z.ZodObject<{
|
|
58
|
-
key: z.ZodString;
|
|
59
|
-
sourcePath: z.ZodString;
|
|
60
|
-
type: z.ZodEnum<{
|
|
61
|
-
string: "string";
|
|
62
|
-
number: "number";
|
|
63
|
-
boolean: "boolean";
|
|
64
|
-
object: "object";
|
|
65
|
-
array: "array";
|
|
66
|
-
}>;
|
|
67
|
-
required: z.ZodBoolean;
|
|
68
|
-
availableWhenResultStatusIn: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
69
|
-
}, z.core.$strip>>;
|
|
70
|
-
parameters: z.ZodArray<z.ZodObject<{
|
|
71
|
-
key: z.ZodString;
|
|
72
|
-
label: z.ZodString;
|
|
73
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
-
type: z.ZodEnum<{
|
|
75
|
-
text: "text";
|
|
76
|
-
textarea: "textarea";
|
|
77
|
-
}>;
|
|
78
|
-
required: z.ZodBoolean;
|
|
79
|
-
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
-
}, z.core.$strip>>;
|
|
81
|
-
status: z.ZodEnum<{
|
|
82
|
-
active: "active";
|
|
83
|
-
archived: "archived";
|
|
84
|
-
}>;
|
|
85
|
-
createdAt: z.ZodISODateTime;
|
|
86
|
-
updatedAt: z.ZodISODateTime;
|
|
87
|
-
}, z.core.$strip>;
|
|
88
|
-
export declare const instantiateStepDefinitionTemplateInputSchema: z.ZodObject<{
|
|
89
|
-
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>>;
|
|
90
|
-
name: z.ZodString;
|
|
91
|
-
parameterValues: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
92
|
-
}, z.core.$strip>;
|
|
93
|
-
export declare const getStepDefinitionTemplateInputSchema: 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>>;
|
|
94
|
-
export type StepDefinitionTemplateContract = z.infer<typeof stepDefinitionTemplateSchema>;
|
|
95
|
-
export type TemplateParameter = z.infer<typeof templateParameterSchema>;
|
|
96
|
-
export type TemplateSignalExtractorDefinition = z.infer<typeof templateSignalExtractorDefinitionSchema>;
|
|
97
|
-
export type InstantiateStepDefinitionTemplateInput = z.input<typeof instantiateStepDefinitionTemplateInputSchema>;
|
|
98
|
-
export type GetStepDefinitionTemplateInput = z.input<typeof getStepDefinitionTemplateInputSchema>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { AnyJsonObject } from "@boboddy/core/common/contracts/json";
|
|
2
|
-
import type { OpenCodeMcpServers } from "@boboddy/core/common/contracts/opencode-mcp";
|
|
3
|
-
import { type UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
4
|
-
import type { TemplateParameter, TemplateSignalExtractorDefinition } from "../contracts/step-definition-template-contracts";
|
|
5
|
-
export type StepDefinitionTemplateEntityProps = {
|
|
6
|
-
id: UuidV7;
|
|
7
|
-
key: string;
|
|
8
|
-
name: string;
|
|
9
|
-
description: string | null;
|
|
10
|
-
promptTemplate: string | null;
|
|
11
|
-
inputSchemaJson: AnyJsonObject | null;
|
|
12
|
-
resultSchemaJson: AnyJsonObject | null;
|
|
13
|
-
opencodeMcpJson: OpenCodeMcpServers | null;
|
|
14
|
-
signalExtractorDefinitions: TemplateSignalExtractorDefinition[];
|
|
15
|
-
parameters: TemplateParameter[];
|
|
16
|
-
status: "active" | "archived";
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
updatedAt: Date;
|
|
19
|
-
};
|
|
20
|
-
export declare class StepDefinitionTemplateEntity {
|
|
21
|
-
readonly id: UuidV7;
|
|
22
|
-
readonly key: string;
|
|
23
|
-
readonly name: string;
|
|
24
|
-
readonly description: string | null;
|
|
25
|
-
readonly promptTemplate: string | null;
|
|
26
|
-
readonly inputSchemaJson: AnyJsonObject | null;
|
|
27
|
-
readonly resultSchemaJson: AnyJsonObject | null;
|
|
28
|
-
readonly opencodeMcpJson: OpenCodeMcpServers | null;
|
|
29
|
-
readonly signalExtractorDefinitions: TemplateSignalExtractorDefinition[];
|
|
30
|
-
readonly parameters: TemplateParameter[];
|
|
31
|
-
readonly status: "active" | "archived";
|
|
32
|
-
readonly createdAt: Date;
|
|
33
|
-
readonly updatedAt: Date;
|
|
34
|
-
private constructor();
|
|
35
|
-
static rehydrate(props: StepDefinitionTemplateEntityProps): StepDefinitionTemplateEntity;
|
|
36
|
-
renderPrompt(parameterValues: Record<string, string>): string | null;
|
|
37
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
2
|
-
import { StepDefinitionTemplateEntity } from "../domain/step-definition-template-entity";
|
|
3
|
-
import type { StepDefinitionTemplateRepo } from "../application/step-definition-template-repo";
|
|
4
|
-
export declare class DrizzleStepDefinitionTemplateRepo implements StepDefinitionTemplateRepo {
|
|
5
|
-
private toEntity;
|
|
6
|
-
load(id: UuidV7): Promise<StepDefinitionTemplateEntity | null>;
|
|
7
|
-
listActive(): Promise<StepDefinitionTemplateEntity[]>;
|
|
8
|
-
save(entity: StepDefinitionTemplateEntity): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DomainEventHandler, DomainEventHandlerContext } from "@boboddy/core/lib/domain-events/domain-event";
|
|
2
|
-
import type { StepSignalCreatedDomainEvent } from "@boboddy/core/pipeline-executions/step-execution/domain/step-signal-created.domain-event";
|
|
3
|
-
import type { FeedbackRequestRepo } from "./feedback-request-repo";
|
|
4
|
-
export declare const FEEDBACK_REQUEST_SIGNAL_KEY = "$boboddy_feedback_request_v1";
|
|
5
|
-
export declare class CreateFeedbackRequestsOnStepSignalCreated implements DomainEventHandler<StepSignalCreatedDomainEvent> {
|
|
6
|
-
private readonly feedbackRequestRepo;
|
|
7
|
-
constructor(feedbackRequestRepo: FeedbackRequestRepo);
|
|
8
|
-
handle(event: StepSignalCreatedDomainEvent, context: DomainEventHandlerContext): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
2
|
-
import type { UserAuthorizationService } from "@boboddy/core/access/authorization/application/user-authorization-service";
|
|
3
|
-
import type { FeedbackRequestRepo } from "./feedback-request-repo";
|
|
4
|
-
type DeclineFeedbackRequestInput = {
|
|
5
|
-
projectId: UuidV7;
|
|
6
|
-
feedbackRequestId: UuidV7;
|
|
7
|
-
};
|
|
8
|
-
type DeclineFeedbackRequestDeps = {
|
|
9
|
-
userAuthz: UserAuthorizationService;
|
|
10
|
-
feedbackRequestRepo: FeedbackRequestRepo;
|
|
11
|
-
};
|
|
12
|
-
export declare const declineFeedbackRequest: (input: DeclineFeedbackRequestInput, deps: DeclineFeedbackRequestDeps) => Promise<null>;
|
|
13
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { DbExecutor } from "@boboddy/core/lib/db/db-executor";
|
|
2
|
-
import type { UuidV7 } from "@boboddy/core/common/contracts/uuid-v7";
|
|
3
|
-
import type { FeedbackRequestEntity } from "../domain/feedback-request-entity";
|
|
4
|
-
export interface FeedbackRequestRepo {
|
|
5
|
-
create(entity: FeedbackRequestEntity, dbExecutor?: DbExecutor): Promise<FeedbackRequestEntity>;
|
|
6
|
-
listByStepSignalId(stepSignalId: UuidV7, dbExecutor?: DbExecutor): Promise<FeedbackRequestEntity[]>;
|
|
7
|
-
updateStatus(id: UuidV7, status: FeedbackRequestEntity["status"], dbExecutor?: DbExecutor): Promise<void>;
|
|
8
|
-
}
|