@shipfox/api-runners-dto 5.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +34 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inter-module.d.ts +64 -0
- package/dist/inter-module.d.ts.map +1 -0
- package/dist/inter-module.js +57 -0
- package/dist/inter-module.js.map +1 -0
- package/dist/schemas/assign-runner-instances.d.ts +11 -0
- package/dist/schemas/assign-runner-instances.d.ts.map +1 -0
- package/dist/schemas/assign-runner-instances.js +15 -0
- package/dist/schemas/assign-runner-instances.js.map +1 -0
- package/dist/schemas/index.d.ts +4 -3
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +4 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/poll-demand.d.ts +5 -1
- package/dist/schemas/poll-demand.d.ts.map +1 -1
- package/dist/schemas/poll-demand.js +4 -2
- package/dist/schemas/poll-demand.js.map +1 -1
- package/dist/schemas/provisioner-token.d.ts +10 -2
- package/dist/schemas/provisioner-token.d.ts.map +1 -1
- package/dist/schemas/provisioner-token.js +15 -6
- package/dist/schemas/provisioner-token.js.map +1 -1
- package/dist/schemas/{reconcile-provisioned-runners.d.ts → reconcile-runner-instances.d.ts} +12 -12
- package/dist/schemas/reconcile-runner-instances.d.ts.map +1 -0
- package/dist/schemas/reconcile-runner-instances.js +36 -0
- package/dist/schemas/reconcile-runner-instances.js.map +1 -0
- package/dist/schemas/register.d.ts +1 -0
- package/dist/schemas/register.d.ts.map +1 -1
- package/dist/schemas/register.js +2 -1
- package/dist/schemas/register.js.map +1 -1
- package/dist/schemas/{report-provisioned-runners.d.ts → report-runner-instances.d.ts} +17 -15
- package/dist/schemas/report-runner-instances.d.ts.map +1 -0
- package/dist/schemas/{report-provisioned-runners.js → report-runner-instances.js} +13 -12
- package/dist/schemas/report-runner-instances.js.map +1 -0
- package/dist/schemas/runner-enrollment.d.ts +51 -0
- package/dist/schemas/runner-enrollment.d.ts.map +1 -0
- package/dist/schemas/runner-enrollment.js +40 -0
- package/dist/schemas/runner-enrollment.js.map +1 -0
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +6 -1
- package/src/index.ts +34 -26
- package/src/inter-module.test.ts +40 -0
- package/src/inter-module.ts +51 -0
- package/src/schemas/assign-runner-instances.test.ts +27 -0
- package/src/schemas/assign-runner-instances.ts +19 -0
- package/src/schemas/index.ts +40 -30
- package/src/schemas/poll-demand.test.ts +1 -1
- package/src/schemas/poll-demand.ts +4 -2
- package/src/schemas/provisioner-token.test.ts +9 -0
- package/src/schemas/provisioner-token.ts +6 -4
- package/src/schemas/{reconcile-provisioned-runners.test.ts → reconcile-runner-instances.test.ts} +21 -21
- package/src/schemas/reconcile-runner-instances.ts +58 -0
- package/src/schemas/register.ts +1 -1
- package/src/schemas/{report-provisioned-runners.test.ts → report-runner-instances.test.ts} +16 -16
- package/src/schemas/{report-provisioned-runners.ts → report-runner-instances.ts} +16 -20
- package/src/schemas/runner-enrollment.ts +49 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/schemas/mint-registration-tokens.d.ts +0 -28
- package/dist/schemas/mint-registration-tokens.d.ts.map +0 -1
- package/dist/schemas/mint-registration-tokens.js +0 -24
- package/dist/schemas/mint-registration-tokens.js.map +0 -1
- package/dist/schemas/reconcile-provisioned-runners.d.ts.map +0 -1
- package/dist/schemas/reconcile-provisioned-runners.js +0 -36
- package/dist/schemas/reconcile-provisioned-runners.js.map +0 -1
- package/dist/schemas/report-provisioned-runners.d.ts.map +0 -1
- package/dist/schemas/report-provisioned-runners.js.map +0 -1
- package/src/schemas/mint-registration-tokens.test.ts +0 -28
- package/src/schemas/mint-registration-tokens.ts +0 -46
- package/src/schemas/reconcile-provisioned-runners.ts +0 -61
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled:
|
|
2
|
+
Successfully compiled: 16 files with swc (492.91ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @shipfox/api-runners-dto
|
|
2
2
|
|
|
3
|
+
## 7.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ffc7fc9: Republishes the affected release set after recovering package publication.
|
|
8
|
+
|
|
9
|
+
## 7.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- bc7cfdc: Migrates provisioners to bootstrap runner instances with explicit reservation assignment.
|
|
14
|
+
|
|
15
|
+
## 6.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- 8bdc149: Adds scoped workspace and installation provisioner identities with explicit authorization boundaries.
|
|
20
|
+
- 6741be8: Renames the provisioned-runner lifecycle contract to runner instances and provider runner IDs.
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- e52513c: Adds provisioner-owned planned capacity with immutable provider runner attachment.
|
|
25
|
+
- b70f920: Adds assigned runner activation and descendant provisioner revocation.
|
|
26
|
+
- 9006b75: Adds the Runners inter-module contract and requires the injected Runners client when composing Workflows.
|
|
27
|
+
- 3cda0c6: Adds fresh workspace provisioner capability snapshots for managed fallback policy.
|
|
28
|
+
- 795e293: Adds installation-scoped fallback demand reservations across eligible workspaces.
|
|
29
|
+
- e10c829: Adds immutable capacity assignments while retaining the registration-token protocol for existing provisioners.
|
|
30
|
+
- b00ed29: Adds runner bootstrap enrollment and isolated pre-workspace control sessions.
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [81f9544]
|
|
35
|
+
- @shipfox/inter-module@0.2.0
|
|
36
|
+
|
|
3
37
|
## 5.0.0
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, type ClaimedJobResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, claimedJobResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type ListActiveProvisionersResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, listActiveProvisionersResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,
|
|
1
|
+
export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type ListActiveProvisionersResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, listActiveProvisionersResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type ReservationGrantDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from '#schemas/index.js';
|
|
2
2
|
export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, RUNNER_JOB_QUEUED, type RunnerJobClaimedEvent, type RunnerJobLeaseExpiredEvent, type RunnerJobQueuedEvent, type RunnersEventMap, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnerJobQueuedEventSchema, runnersEventSchemas, } from './events.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,wBAAwB,EACxB,uCAAuC,EACvC,2CAA2C,EAC3C,gCAAgC,EAChC,oCAAoC,EACpC,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,gCAAgC,EACrC,oCAAoC,EACpC,0CAA0C,EAC1C,mCAAmC,EACnC,yCAAyC,EACzC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,wBAAwB,EACxB,uCAAuC,EACvC,2CAA2C,EAC3C,gCAAgC,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,mCAAmC,EACnC,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,gCAAgC,EACrC,oCAAoC,EACpC,0CAA0C,EAC1C,mCAAmC,EACnC,yCAAyC,EACzC,sCAAsC,EACtC,wBAAwB,EACxB,iCAAiC,EACjC,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,KAAK,0BAA0B,EAC/B,gCAAgC,EAChC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,+BAA+B,EAC/B,yBAAyB,EACzB,iCAAiC,EACjC,yBAAyB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,EACxB,KAAK,wCAAwC,EAC7C,KAAK,iCAAiC,EACtC,6BAA6B,EAC7B,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,kCAAkC,EAClC,sCAAsC,EACtC,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,EAC/B,mCAAmC,EACnC,sBAAsB,EACtB,2CAA2C,EAC3C,oCAAoC,EACpC,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, claimedJobResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, listActiveProvisionersResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,
|
|
1
|
+
export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, listActiveProvisionersResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, manualRegistrationTokenDtoSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from '#schemas/index.js';
|
|
2
2
|
export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, RUNNER_JOB_QUEUED, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnerJobQueuedEventSchema, runnersEventSchemas } from './events.js';
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n type ClaimedJobResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n claimedJobResponseSchema,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n type DemandStatDto,\n demandStatSchema,\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n type ListActiveProvisionersResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n listActiveProvisionersResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type DemandStatDto,\n demandStatSchema,\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n type ListActiveProvisionersResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n listActiveProvisionersResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type ReservationGrantDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n type RunnerToolCapabilitiesDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n reservationGrantSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from '#schemas/index.js';\nexport {\n RUNNER_JOB_CLAIMED,\n RUNNER_JOB_LEASE_EXPIRED,\n RUNNER_JOB_QUEUED,\n type RunnerJobClaimedEvent,\n type RunnerJobLeaseExpiredEvent,\n type RunnerJobQueuedEvent,\n type RunnersEventMap,\n runnerJobClaimedEventSchema,\n runnerJobLeaseExpiredEventSchema,\n runnerJobQueuedEventSchema,\n runnersEventSchemas,\n} from './events.js';\n"],"names":["activeProvisionerDtoSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","listActiveProvisionersResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","MAX_PROVISIONER_TOKEN_TTL_SECONDS","MAX_RECONCILE_OBSERVED_RUNNERS","manualRegistrationTokenDtoSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnerJobQueuedEventSchema","runnersEventSchemas"],"mappings":"AAAA,SAOEA,0BAA0B,EAC1BC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,+BAA+B,EAC/BC,mCAAmC,EACnCC,uCAAuC,EAQvCC,wBAAwB,EACxBC,uCAAuC,EACvCC,2CAA2C,EAC3CC,gCAAgC,EAChCC,oCAAoC,EACpCC,+BAA+B,EAC/BC,mCAAmC,EAEnCC,gBAAgB,EAGhBC,mBAAmB,EACnBC,uBAAuB,EAIvBC,oCAAoC,EACpCC,0CAA0C,EAC1CC,mCAAmC,EACnCC,yCAAyC,EACzCC,sCAAsC,EACtCC,wBAAwB,EACxBC,iCAAiC,EACjCC,iCAAiC,EACjCC,iCAAiC,EACjCC,8BAA8B,EAE9BC,gCAAgC,EAMhCC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EACxBC,kBAAkB,EAClBC,+BAA+B,EAC/BC,yBAAyB,EACzBC,iCAAiC,EACjCC,yBAAyB,EAazBC,6BAA6B,EAQ7BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,EACtCC,wBAAwB,EACxBC,4BAA4B,EAC5BC,+BAA+B,EAC/BC,mCAAmC,EACnCC,sBAAsB,EACtBC,2CAA2C,EAC3CC,oCAAoC,EACpCC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,mCAAmC,EACnCC,4BAA4B,QACvB,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,wBAAwB,EACxBC,iBAAiB,EAKjBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,0BAA0B,EAC1BC,mBAAmB,QACd,cAAc"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type InterModuleClient } from '@shipfox/inter-module';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const runnersInterModuleContract: import("@shipfox/inter-module").InterModuleContract<{
|
|
4
|
+
readonly module: "runners";
|
|
5
|
+
readonly methods: {
|
|
6
|
+
readonly enqueueJobExecution: {
|
|
7
|
+
readonly input: z.ZodObject<{
|
|
8
|
+
workspaceId: z.ZodString;
|
|
9
|
+
workflowRunId: z.ZodString;
|
|
10
|
+
workflowRunAttemptId: z.ZodString;
|
|
11
|
+
jobId: z.ZodString;
|
|
12
|
+
jobExecutionId: z.ZodString;
|
|
13
|
+
projectId: z.ZodString;
|
|
14
|
+
requiredLabels: z.ZodArray<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
readonly output: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
+
readonly errors: {
|
|
18
|
+
readonly 'empty-required-labels': z.ZodObject<{}, z.core.$strip>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly releaseJobExecution: {
|
|
22
|
+
readonly input: z.ZodObject<{
|
|
23
|
+
jobExecutionId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
readonly output: z.ZodObject<{}, z.core.$strip>;
|
|
26
|
+
};
|
|
27
|
+
readonly cancelJobs: {
|
|
28
|
+
readonly input: z.ZodObject<{
|
|
29
|
+
jobIds: z.ZodArray<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
readonly output: z.ZodObject<{}, z.core.$strip>;
|
|
32
|
+
};
|
|
33
|
+
readonly getLeaseState: {
|
|
34
|
+
readonly input: z.ZodObject<{
|
|
35
|
+
jobId: z.ZodString;
|
|
36
|
+
jobExecutionId: z.ZodString;
|
|
37
|
+
runnerSessionId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
readonly output: z.ZodObject<{
|
|
40
|
+
active: z.ZodBoolean;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
};
|
|
43
|
+
readonly getEffectiveRunnerToolCapabilities: {
|
|
44
|
+
readonly input: z.ZodObject<{
|
|
45
|
+
runnerSessionId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
readonly output: z.ZodObject<{
|
|
48
|
+
capabilities: z.ZodObject<{
|
|
49
|
+
harnesses: z.ZodObject<{
|
|
50
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
51
|
+
tools: z.ZodArray<z.ZodString>;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
claude: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
tools: z.ZodArray<z.ZodString>;
|
|
55
|
+
}, z.core.$strict>>;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
reportFresh: z.ZodBoolean;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
export type RunnersInterModuleClient = InterModuleClient<typeof runnersInterModuleContract>;
|
|
64
|
+
//# sourceMappingURL=inter-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inter-module.d.ts","sourceRoot":"","sources":["../src/inter-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAKtB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CrC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineInterModuleContract } from '@shipfox/inter-module';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { runnerToolCapabilitiesSchema } from '#schemas/tool-capabilities.js';
|
|
4
|
+
const idSchema = z.string().uuid();
|
|
5
|
+
export const runnersInterModuleContract = defineInterModuleContract({
|
|
6
|
+
module: 'runners',
|
|
7
|
+
methods: {
|
|
8
|
+
enqueueJobExecution: {
|
|
9
|
+
input: z.object({
|
|
10
|
+
workspaceId: idSchema,
|
|
11
|
+
workflowRunId: idSchema,
|
|
12
|
+
workflowRunAttemptId: idSchema,
|
|
13
|
+
jobId: idSchema,
|
|
14
|
+
jobExecutionId: idSchema,
|
|
15
|
+
projectId: idSchema,
|
|
16
|
+
requiredLabels: z.array(z.string())
|
|
17
|
+
}),
|
|
18
|
+
output: z.object({}),
|
|
19
|
+
errors: {
|
|
20
|
+
'empty-required-labels': z.object({})
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
releaseJobExecution: {
|
|
24
|
+
input: z.object({
|
|
25
|
+
jobExecutionId: idSchema
|
|
26
|
+
}),
|
|
27
|
+
output: z.object({})
|
|
28
|
+
},
|
|
29
|
+
cancelJobs: {
|
|
30
|
+
input: z.object({
|
|
31
|
+
jobIds: z.array(idSchema)
|
|
32
|
+
}),
|
|
33
|
+
output: z.object({})
|
|
34
|
+
},
|
|
35
|
+
getLeaseState: {
|
|
36
|
+
input: z.object({
|
|
37
|
+
jobId: idSchema,
|
|
38
|
+
jobExecutionId: idSchema,
|
|
39
|
+
runnerSessionId: idSchema
|
|
40
|
+
}),
|
|
41
|
+
output: z.object({
|
|
42
|
+
active: z.boolean()
|
|
43
|
+
})
|
|
44
|
+
},
|
|
45
|
+
getEffectiveRunnerToolCapabilities: {
|
|
46
|
+
input: z.object({
|
|
47
|
+
runnerSessionId: idSchema
|
|
48
|
+
}),
|
|
49
|
+
output: z.object({
|
|
50
|
+
capabilities: runnerToolCapabilitiesSchema,
|
|
51
|
+
reportFresh: z.boolean()
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=inter-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/inter-module.ts"],"sourcesContent":["import {defineInterModuleContract, type InterModuleClient} from '@shipfox/inter-module';\nimport {z} from 'zod';\nimport {runnerToolCapabilitiesSchema} from '#schemas/tool-capabilities.js';\n\nconst idSchema = z.string().uuid();\n\nexport const runnersInterModuleContract = defineInterModuleContract({\n module: 'runners',\n methods: {\n enqueueJobExecution: {\n input: z.object({\n workspaceId: idSchema,\n workflowRunId: idSchema,\n workflowRunAttemptId: idSchema,\n jobId: idSchema,\n jobExecutionId: idSchema,\n projectId: idSchema,\n requiredLabels: z.array(z.string()),\n }),\n output: z.object({}),\n errors: {\n 'empty-required-labels': z.object({}),\n },\n },\n releaseJobExecution: {\n input: z.object({jobExecutionId: idSchema}),\n output: z.object({}),\n },\n cancelJobs: {\n input: z.object({jobIds: z.array(idSchema)}),\n output: z.object({}),\n },\n getLeaseState: {\n input: z.object({\n jobId: idSchema,\n jobExecutionId: idSchema,\n runnerSessionId: idSchema,\n }),\n output: z.object({active: z.boolean()}),\n },\n getEffectiveRunnerToolCapabilities: {\n input: z.object({runnerSessionId: idSchema}),\n output: z.object({\n capabilities: runnerToolCapabilitiesSchema,\n reportFresh: z.boolean(),\n }),\n },\n },\n});\n\nexport type RunnersInterModuleClient = InterModuleClient<typeof runnersInterModuleContract>;\n"],"names":["defineInterModuleContract","z","runnerToolCapabilitiesSchema","idSchema","string","uuid","runnersInterModuleContract","module","methods","enqueueJobExecution","input","object","workspaceId","workflowRunId","workflowRunAttemptId","jobId","jobExecutionId","projectId","requiredLabels","array","output","errors","releaseJobExecution","cancelJobs","jobIds","getLeaseState","runnerSessionId","active","boolean","getEffectiveRunnerToolCapabilities","capabilities","reportFresh"],"mappings":"AAAA,SAAQA,yBAAyB,QAA+B,wBAAwB;AACxF,SAAQC,CAAC,QAAO,MAAM;AACtB,SAAQC,4BAA4B,QAAO,gCAAgC;AAE3E,MAAMC,WAAWF,EAAEG,MAAM,GAAGC,IAAI;AAEhC,OAAO,MAAMC,6BAA6BN,0BAA0B;IAClEO,QAAQ;IACRC,SAAS;QACPC,qBAAqB;YACnBC,OAAOT,EAAEU,MAAM,CAAC;gBACdC,aAAaT;gBACbU,eAAeV;gBACfW,sBAAsBX;gBACtBY,OAAOZ;gBACPa,gBAAgBb;gBAChBc,WAAWd;gBACXe,gBAAgBjB,EAAEkB,KAAK,CAAClB,EAAEG,MAAM;YAClC;YACAgB,QAAQnB,EAAEU,MAAM,CAAC,CAAC;YAClBU,QAAQ;gBACN,yBAAyBpB,EAAEU,MAAM,CAAC,CAAC;YACrC;QACF;QACAW,qBAAqB;YACnBZ,OAAOT,EAAEU,MAAM,CAAC;gBAACK,gBAAgBb;YAAQ;YACzCiB,QAAQnB,EAAEU,MAAM,CAAC,CAAC;QACpB;QACAY,YAAY;YACVb,OAAOT,EAAEU,MAAM,CAAC;gBAACa,QAAQvB,EAAEkB,KAAK,CAAChB;YAAS;YAC1CiB,QAAQnB,EAAEU,MAAM,CAAC,CAAC;QACpB;QACAc,eAAe;YACbf,OAAOT,EAAEU,MAAM,CAAC;gBACdI,OAAOZ;gBACPa,gBAAgBb;gBAChBuB,iBAAiBvB;YACnB;YACAiB,QAAQnB,EAAEU,MAAM,CAAC;gBAACgB,QAAQ1B,EAAE2B,OAAO;YAAE;QACvC;QACAC,oCAAoC;YAClCnB,OAAOT,EAAEU,MAAM,CAAC;gBAACe,iBAAiBvB;YAAQ;YAC1CiB,QAAQnB,EAAEU,MAAM,CAAC;gBACfmB,cAAc5B;gBACd6B,aAAa9B,EAAE2B,OAAO;YACxB;QACF;IACF;AACF,GAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const assignRunnerInstancesBodySchema: z.ZodObject<{
|
|
3
|
+
reservation_id: z.ZodString;
|
|
4
|
+
runner_instance_ids: z.ZodArray<z.ZodString>;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export declare const assignRunnerInstancesResponseSchema: z.ZodObject<{
|
|
7
|
+
runner_instance_ids: z.ZodArray<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type AssignRunnerInstancesBodyDto = z.infer<typeof assignRunnerInstancesBodySchema>;
|
|
10
|
+
export type AssignRunnerInstancesResponseDto = z.infer<typeof assignRunnerInstancesResponseSchema>;
|
|
11
|
+
//# sourceMappingURL=assign-runner-instances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assign-runner-instances.d.ts","sourceRoot":"","sources":["../../src/schemas/assign-runner-instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,+BAA+B;;;kBASxC,CAAC;AAEL,eAAO,MAAM,mCAAmC;;iBAE9C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const assignRunnerInstancesBodySchema = z.object({
|
|
3
|
+
reservation_id: z.string().uuid(),
|
|
4
|
+
runner_instance_ids: z.array(z.string().uuid()).min(1).max(1000)
|
|
5
|
+
}).strict().refine((body)=>new Set(body.runner_instance_ids).size === body.runner_instance_ids.length, {
|
|
6
|
+
message: 'runner_instance_ids values must be unique',
|
|
7
|
+
path: [
|
|
8
|
+
'runner_instance_ids'
|
|
9
|
+
]
|
|
10
|
+
});
|
|
11
|
+
export const assignRunnerInstancesResponseSchema = z.object({
|
|
12
|
+
runner_instance_ids: z.array(z.string().uuid())
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=assign-runner-instances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/assign-runner-instances.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const assignRunnerInstancesBodySchema = z\n .object({\n reservation_id: z.string().uuid(),\n runner_instance_ids: z.array(z.string().uuid()).min(1).max(1000),\n })\n .strict()\n .refine((body) => new Set(body.runner_instance_ids).size === body.runner_instance_ids.length, {\n message: 'runner_instance_ids values must be unique',\n path: ['runner_instance_ids'],\n });\n\nexport const assignRunnerInstancesResponseSchema = z.object({\n runner_instance_ids: z.array(z.string().uuid()),\n});\n\nexport type AssignRunnerInstancesBodyDto = z.infer<typeof assignRunnerInstancesBodySchema>;\nexport type AssignRunnerInstancesResponseDto = z.infer<typeof assignRunnerInstancesResponseSchema>;\n"],"names":["z","assignRunnerInstancesBodySchema","object","reservation_id","string","uuid","runner_instance_ids","array","min","max","strict","refine","body","Set","size","length","message","path","assignRunnerInstancesResponseSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,kCAAkCD,EAC5CE,MAAM,CAAC;IACNC,gBAAgBH,EAAEI,MAAM,GAAGC,IAAI;IAC/BC,qBAAqBN,EAAEO,KAAK,CAACP,EAAEI,MAAM,GAAGC,IAAI,IAAIG,GAAG,CAAC,GAAGC,GAAG,CAAC;AAC7D,GACCC,MAAM,GACNC,MAAM,CAAC,CAACC,OAAS,IAAIC,IAAID,KAAKN,mBAAmB,EAAEQ,IAAI,KAAKF,KAAKN,mBAAmB,CAACS,MAAM,EAAE;IAC5FC,SAAS;IACTC,MAAM;QAAC;KAAsB;AAC/B,GAAG;AAEL,OAAO,MAAMC,sCAAsClB,EAAEE,MAAM,CAAC;IAC1DI,qBAAqBN,EAAEO,KAAK,CAACP,EAAEI,MAAM,GAAGC,IAAI;AAC9C,GAAG"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
export { type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, } from './assign-runner-instances.js';
|
|
1
2
|
export { type ClaimedJobResponseDto, claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE, } from './claim-job.js';
|
|
2
3
|
export { type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, } from './heartbeat.js';
|
|
3
4
|
export { type ActiveProvisionerDto, activeProvisionerDtoSchema, type ListActiveProvisionersResponseDto, listActiveProvisionersResponseSchema, } from './list-active-provisioners.js';
|
|
4
5
|
export { type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, type ListManualRegistrationTokensResponseDto, listManualRegistrationTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type RevokeManualRegistrationTokenResponseDto, revokeManualRegistrationTokenResponseSchema, } from './manual-registration-token.js';
|
|
5
|
-
export { type MintedRegistrationTokenDto, type MintRegistrationTokensBatchBodyDto, type MintRegistrationTokensBatchResponseDto, type MintRegistrationTokensProvisionedRunnerDto, mintedRegistrationTokenSchema, mintRegistrationTokensBatchBodySchema, mintRegistrationTokensBatchResponseSchema, mintRegistrationTokensProvisionedRunnerSchema, REGISTRATION_TOKEN_BATCH_HARD_MAX, } from './mint-registration-tokens.js';
|
|
6
6
|
export { type DemandStatDto, demandStatSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, type ReservationGrantDto, reservationGrantSchema, } from './poll-demand.js';
|
|
7
7
|
export { type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, type ListProvisionerTokensResponseDto, listProvisionerTokensResponseSchema, MAX_PROVISIONER_TOKEN_TTL_SECONDS, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, type RevokeProvisionerTokenResponseDto, revokeProvisionerTokenResponseSchema, } from './provisioner-token.js';
|
|
8
|
-
export {
|
|
8
|
+
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, } from './reconcile-runner-instances.js';
|
|
9
9
|
export { type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema, } from './register.js';
|
|
10
|
-
export { type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH,
|
|
10
|
+
export { type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, } from './report-runner-instances.js';
|
|
11
|
+
export { attachRunnerControlProviderIdBodySchema, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, } from './runner-enrollment.js';
|
|
11
12
|
export { type RunnerHarnessToolCapabilitiesDto, type RunnerToolCapabilitiesDto, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from './tool-capabilities.js';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAC1B,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,iCAAiC,EACtC,oCAAoC,GACrC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,uCAAuC,EACvC,2CAA2C,EAC3C,KAAK,uCAAuC,EAC5C,0CAA0C,EAC1C,yCAAyC,EACzC,KAAK,0BAA0B,EAC/B,gCAAgC,EAChC,KAAK,wCAAwC,EAC7C,2CAA2C,GAC5C,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,qBAAqB,EAC1B,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,iCAAiC,EACtC,oCAAoC,GACrC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,uCAAuC,EACvC,2CAA2C,EAC3C,KAAK,uCAAuC,EAC5C,0CAA0C,EAC1C,yCAAyC,EACzC,KAAK,0BAA0B,EAC/B,gCAAgC,EAChC,KAAK,wCAAwC,EAC7C,2CAA2C,GAC5C,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,KAAK,mBAAmB,EACxB,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,gCAAgC,EAChC,oCAAoC,EACpC,KAAK,gCAAgC,EACrC,mCAAmC,EACnC,iCAAiC,EACjC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,iCAAiC,EACjC,yBAAyB,EACzB,KAAK,iCAAiC,EACtC,oCAAoC,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,kCAAkC,EAClC,sCAAsC,GACvC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,wBAAwB,EACxB,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,wBAAwB,EACxB,iCAAiC,EACjC,iCAAiC,EACjC,kBAAkB,EAClB,+BAA+B,EAC/B,yBAAyB,EACzB,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,uCAAuC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,mCAAmC,EACnC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
export { assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema } from './assign-runner-instances.js';
|
|
1
2
|
export { claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE } from './claim-job.js';
|
|
2
3
|
export { heartbeatBodySchema, heartbeatResponseSchema } from './heartbeat.js';
|
|
3
4
|
export { activeProvisionerDtoSchema, listActiveProvisionersResponseSchema } from './list-active-provisioners.js';
|
|
4
5
|
export { createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, listManualRegistrationTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, manualRegistrationTokenDtoSchema, revokeManualRegistrationTokenResponseSchema } from './manual-registration-token.js';
|
|
5
|
-
export { mintedRegistrationTokenSchema, mintRegistrationTokensBatchBodySchema, mintRegistrationTokensBatchResponseSchema, mintRegistrationTokensProvisionedRunnerSchema, REGISTRATION_TOKEN_BATCH_HARD_MAX } from './mint-registration-tokens.js';
|
|
6
6
|
export { demandStatSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, reservationGrantSchema } from './poll-demand.js';
|
|
7
7
|
export { createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, listProvisionerTokensResponseSchema, MAX_PROVISIONER_TOKEN_TTL_SECONDS, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, revokeProvisionerTokenResponseSchema } from './provisioner-token.js';
|
|
8
|
-
export {
|
|
8
|
+
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema } from './reconcile-runner-instances.js';
|
|
9
9
|
export { registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema } from './register.js';
|
|
10
|
-
export { activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH,
|
|
10
|
+
export { activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema } from './report-runner-instances.js';
|
|
11
|
+
export { attachRunnerControlProviderIdBodySchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema } from './runner-enrollment.js';
|
|
11
12
|
export { runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from './tool-capabilities.js';
|
|
12
13
|
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type ClaimedJobResponseDto,\n claimedJobResponseSchema,\n RUNNER_SESSION_EXHAUSTED_CODE,\n} from './claim-job.js';\nexport {\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n} from './heartbeat.js';\nexport {\n type ActiveProvisionerDto,\n activeProvisionerDtoSchema,\n type ListActiveProvisionersResponseDto,\n listActiveProvisionersResponseSchema,\n} from './list-active-provisioners.js';\nexport {\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n type ListManualRegistrationTokensResponseDto,\n listManualRegistrationTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type RevokeManualRegistrationTokenResponseDto,\n revokeManualRegistrationTokenResponseSchema,\n} from './manual-registration-token.js';\nexport {\n type
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n} from './assign-runner-instances.js';\nexport {\n type ClaimedJobResponseDto,\n claimedJobResponseSchema,\n RUNNER_SESSION_EXHAUSTED_CODE,\n} from './claim-job.js';\nexport {\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n} from './heartbeat.js';\nexport {\n type ActiveProvisionerDto,\n activeProvisionerDtoSchema,\n type ListActiveProvisionersResponseDto,\n listActiveProvisionersResponseSchema,\n} from './list-active-provisioners.js';\nexport {\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n type ListManualRegistrationTokensResponseDto,\n listManualRegistrationTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type RevokeManualRegistrationTokenResponseDto,\n revokeManualRegistrationTokenResponseSchema,\n} from './manual-registration-token.js';\nexport {\n type DemandStatDto,\n demandStatSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n type ReservationGrantDto,\n reservationGrantSchema,\n} from './poll-demand.js';\nexport {\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n type ListProvisionerTokensResponseDto,\n listProvisionerTokensResponseSchema,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type RevokeProvisionerTokenResponseDto,\n revokeProvisionerTokenResponseSchema,\n} from './provisioner-token.js';\nexport {\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n} from './reconcile-runner-instances.js';\nexport {\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n runnerLabelSchema,\n} from './register.js';\nexport {\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n} from './report-runner-instances.js';\nexport {\n attachRunnerControlProviderIdBodySchema,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","claimedJobResponseSchema","RUNNER_SESSION_EXHAUSTED_CODE","heartbeatBodySchema","heartbeatResponseSchema","activeProvisionerDtoSchema","listActiveProvisionersResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","listManualRegistrationTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","manualRegistrationTokenDtoSchema","revokeManualRegistrationTokenResponseSchema","demandStatSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","reservationGrantSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","listProvisionerTokensResponseSchema","MAX_PROVISIONER_TOKEN_TTL_SECONDS","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","revokeProvisionerTokenResponseSchema","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_RECONCILE_OBSERVED_RUNNERS","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","runnerLabelSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,SAGEA,+BAA+B,EAC/BC,mCAAmC,QAC9B,+BAA+B;AACtC,SAEEC,wBAAwB,EACxBC,6BAA6B,QACxB,iBAAiB;AACxB,SAGEC,mBAAmB,EACnBC,uBAAuB,QAClB,iBAAiB;AACxB,SAEEC,0BAA0B,EAE1BC,oCAAoC,QAC/B,gCAAgC;AACvC,SAGEC,uCAAuC,EACvCC,2CAA2C,EAE3CC,0CAA0C,EAC1CC,yCAAyC,EAEzCC,gCAAgC,EAEhCC,2CAA2C,QACtC,iCAAiC;AACxC,SAEEC,gBAAgB,EAIhBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EAExBC,sBAAsB,QACjB,mBAAmB;AAC1B,SAGEC,gCAAgC,EAChCC,oCAAoC,EAEpCC,mCAAmC,EACnCC,iCAAiC,EAGjCC,iCAAiC,EACjCC,yBAAyB,EAEzBC,oCAAoC,QAC/B,yBAAyB;AAChC,SACEC,sCAAsC,EACtCC,8BAA8B,EAM9BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,QACjC,kCAAkC;AACzC,SAGEC,wBAAwB,EACxBC,4BAA4B,EAC5BC,iBAAiB,QACZ,gBAAgB;AACvB,SAIEC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,wBAAwB,EACxBC,iCAAiC,EACjCC,iCAAiC,EACjCC,kBAAkB,EAClBC,+BAA+B,EAC/BC,yBAAyB,EAKzBC,+BAA+B,EAC/BC,mCAAmC,QAC9B,+BAA+B;AACtC,SACEC,uCAAuC,EAGvCC,+BAA+B,EAC/BC,mCAAmC,EAInCC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,QACrB,yBAAyB;AAChC,SAGEC,mCAAmC,EACnCC,4BAA4B,QACvB,yBAAyB"}
|
|
@@ -18,6 +18,7 @@ export declare const pollDemandBodySchema: z.ZodObject<{
|
|
|
18
18
|
}, z.core.$strip>>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
export declare const demandStatSchema: z.ZodObject<{
|
|
21
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
21
22
|
labels: z.ZodArray<z.ZodString>;
|
|
22
23
|
queued: z.ZodNumber;
|
|
23
24
|
reserved: z.ZodNumber;
|
|
@@ -25,12 +26,14 @@ export declare const demandStatSchema: z.ZodObject<{
|
|
|
25
26
|
}, z.core.$strip>;
|
|
26
27
|
export declare const reservationGrantSchema: z.ZodObject<{
|
|
27
28
|
reservation_id: z.ZodString;
|
|
29
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
28
30
|
labels: z.ZodArray<z.ZodString>;
|
|
29
31
|
count: z.ZodNumber;
|
|
30
32
|
expires_at: z.ZodString;
|
|
31
33
|
}, z.core.$strip>;
|
|
32
34
|
export declare const pollDemandResponseSchema: z.ZodObject<{
|
|
33
35
|
stats: z.ZodArray<z.ZodObject<{
|
|
36
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
34
37
|
labels: z.ZodArray<z.ZodString>;
|
|
35
38
|
queued: z.ZodNumber;
|
|
36
39
|
reserved: z.ZodNumber;
|
|
@@ -38,11 +41,12 @@ export declare const pollDemandResponseSchema: z.ZodObject<{
|
|
|
38
41
|
}, z.core.$strip>>;
|
|
39
42
|
reservations: z.ZodArray<z.ZodObject<{
|
|
40
43
|
reservation_id: z.ZodString;
|
|
44
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
41
45
|
labels: z.ZodArray<z.ZodString>;
|
|
42
46
|
count: z.ZodNumber;
|
|
43
47
|
expires_at: z.ZodString;
|
|
44
48
|
}, z.core.$strip>>;
|
|
45
|
-
|
|
49
|
+
terminate_provider_runner_ids: z.ZodArray<z.ZodString>;
|
|
46
50
|
}, z.core.$strip>;
|
|
47
51
|
export type PollDemandTemplateDto = z.infer<typeof pollDemandTemplateSchema>;
|
|
48
52
|
export type PollDemandBodyDto = z.infer<typeof pollDemandBodySchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poll-demand.d.ts","sourceRoot":"","sources":["../../src/schemas/poll-demand.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"poll-demand.d.ts","sourceRoot":"","sources":["../../src/schemas/poll-demand.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;iBAY3B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;iBAInC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -11,9 +11,10 @@ export const pollDemandTemplateSchema = z.object({
|
|
|
11
11
|
export const pollDemandBodySchema = z.object({
|
|
12
12
|
wait_seconds: z.number().int().min(0).optional(),
|
|
13
13
|
max_reservations: z.number().int().min(0).max(1000),
|
|
14
|
-
templates: z.array(pollDemandTemplateSchema).
|
|
14
|
+
templates: z.array(pollDemandTemplateSchema).max(100)
|
|
15
15
|
});
|
|
16
16
|
export const demandStatSchema = z.object({
|
|
17
|
+
workspace_id: z.string().uuid().optional(),
|
|
17
18
|
labels: z.array(z.string()),
|
|
18
19
|
queued: z.number().int().min(0),
|
|
19
20
|
reserved: z.number().int().min(0).describe('Active reservations for this label set; advisory, may exceed `queued` during heavy claiming.'),
|
|
@@ -21,6 +22,7 @@ export const demandStatSchema = z.object({
|
|
|
21
22
|
});
|
|
22
23
|
export const reservationGrantSchema = z.object({
|
|
23
24
|
reservation_id: z.string().uuid(),
|
|
25
|
+
workspace_id: z.string().uuid().optional(),
|
|
24
26
|
labels: z.array(z.string()),
|
|
25
27
|
count: z.number().int().positive(),
|
|
26
28
|
expires_at: z.string().datetime()
|
|
@@ -28,7 +30,7 @@ export const reservationGrantSchema = z.object({
|
|
|
28
30
|
export const pollDemandResponseSchema = z.object({
|
|
29
31
|
stats: z.array(demandStatSchema),
|
|
30
32
|
reservations: z.array(reservationGrantSchema),
|
|
31
|
-
|
|
33
|
+
terminate_provider_runner_ids: z.array(z.string())
|
|
32
34
|
});
|
|
33
35
|
|
|
34
36
|
//# sourceMappingURL=poll-demand.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schemas/poll-demand.ts"],"sourcesContent":["import {MAX_RUNNER_LABELS} from '@shipfox/runner-labels';\nimport {z} from 'zod';\nimport {runnerLabelSchema} from './register.js';\n\nexport const pollDemandTemplateSchema = z.object({\n template_key: z.string().min(1),\n labels: z.array(runnerLabelSchema).min(1).max(MAX_RUNNER_LABELS),\n available_slots: z.number().int().min(0).max(100_000),\n starting: z.number().int().min(0).max(100_000),\n running: z.number().int().min(0).max(100_000),\n});\n\nexport const pollDemandBodySchema = z.object({\n wait_seconds: z.number().int().min(0).optional(),\n max_reservations: z.number().int().min(0).max(1000),\n templates: z.array(pollDemandTemplateSchema).
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/poll-demand.ts"],"sourcesContent":["import {MAX_RUNNER_LABELS} from '@shipfox/runner-labels';\nimport {z} from 'zod';\nimport {runnerLabelSchema} from './register.js';\n\nexport const pollDemandTemplateSchema = z.object({\n template_key: z.string().min(1),\n labels: z.array(runnerLabelSchema).min(1).max(MAX_RUNNER_LABELS),\n available_slots: z.number().int().min(0).max(100_000),\n starting: z.number().int().min(0).max(100_000),\n running: z.number().int().min(0).max(100_000),\n});\n\nexport const pollDemandBodySchema = z.object({\n wait_seconds: z.number().int().min(0).optional(),\n max_reservations: z.number().int().min(0).max(1000),\n templates: z.array(pollDemandTemplateSchema).max(100),\n});\n\nexport const demandStatSchema = z.object({\n workspace_id: z.string().uuid().optional(),\n labels: z.array(z.string()),\n queued: z.number().int().min(0),\n reserved: z\n .number()\n .int()\n .min(0)\n .describe(\n 'Active reservations for this label set; advisory, may exceed `queued` during heavy claiming.',\n ),\n oldest_queued_at: z.string().datetime(),\n});\n\nexport const reservationGrantSchema = z.object({\n reservation_id: z.string().uuid(),\n workspace_id: z.string().uuid().optional(),\n labels: z.array(z.string()),\n count: z.number().int().positive(),\n expires_at: z.string().datetime(),\n});\n\nexport const pollDemandResponseSchema = z.object({\n stats: z.array(demandStatSchema),\n reservations: z.array(reservationGrantSchema),\n terminate_provider_runner_ids: z.array(z.string()),\n});\n\nexport type PollDemandTemplateDto = z.infer<typeof pollDemandTemplateSchema>;\nexport type PollDemandBodyDto = z.infer<typeof pollDemandBodySchema>;\nexport type DemandStatDto = z.infer<typeof demandStatSchema>;\nexport type ReservationGrantDto = z.infer<typeof reservationGrantSchema>;\nexport type PollDemandResponseDto = z.infer<typeof pollDemandResponseSchema>;\n"],"names":["MAX_RUNNER_LABELS","z","runnerLabelSchema","pollDemandTemplateSchema","object","template_key","string","min","labels","array","max","available_slots","number","int","starting","running","pollDemandBodySchema","wait_seconds","optional","max_reservations","templates","demandStatSchema","workspace_id","uuid","queued","reserved","describe","oldest_queued_at","datetime","reservationGrantSchema","reservation_id","count","positive","expires_at","pollDemandResponseSchema","stats","reservations","terminate_provider_runner_ids"],"mappings":"AAAA,SAAQA,iBAAiB,QAAO,yBAAyB;AACzD,SAAQC,CAAC,QAAO,MAAM;AACtB,SAAQC,iBAAiB,QAAO,gBAAgB;AAEhD,OAAO,MAAMC,2BAA2BF,EAAEG,MAAM,CAAC;IAC/CC,cAAcJ,EAAEK,MAAM,GAAGC,GAAG,CAAC;IAC7BC,QAAQP,EAAEQ,KAAK,CAACP,mBAAmBK,GAAG,CAAC,GAAGG,GAAG,CAACV;IAC9CW,iBAAiBV,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IAC7CI,UAAUb,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IACtCK,SAASd,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;AACvC,GAAG;AAEH,OAAO,MAAMM,uBAAuBf,EAAEG,MAAM,CAAC;IAC3Ca,cAAchB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGW,QAAQ;IAC9CC,kBAAkBlB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IAC9CU,WAAWnB,EAAEQ,KAAK,CAACN,0BAA0BO,GAAG,CAAC;AACnD,GAAG;AAEH,OAAO,MAAMW,mBAAmBpB,EAAEG,MAAM,CAAC;IACvCkB,cAAcrB,EAAEK,MAAM,GAAGiB,IAAI,GAAGL,QAAQ;IACxCV,QAAQP,EAAEQ,KAAK,CAACR,EAAEK,MAAM;IACxBkB,QAAQvB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC;IAC7BkB,UAAUxB,EACPW,MAAM,GACNC,GAAG,GACHN,GAAG,CAAC,GACJmB,QAAQ,CACP;IAEJC,kBAAkB1B,EAAEK,MAAM,GAAGsB,QAAQ;AACvC,GAAG;AAEH,OAAO,MAAMC,yBAAyB5B,EAAEG,MAAM,CAAC;IAC7C0B,gBAAgB7B,EAAEK,MAAM,GAAGiB,IAAI;IAC/BD,cAAcrB,EAAEK,MAAM,GAAGiB,IAAI,GAAGL,QAAQ;IACxCV,QAAQP,EAAEQ,KAAK,CAACR,EAAEK,MAAM;IACxByB,OAAO9B,EAAEW,MAAM,GAAGC,GAAG,GAAGmB,QAAQ;IAChCC,YAAYhC,EAAEK,MAAM,GAAGsB,QAAQ;AACjC,GAAG;AAEH,OAAO,MAAMM,2BAA2BjC,EAAEG,MAAM,CAAC;IAC/C+B,OAAOlC,EAAEQ,KAAK,CAACY;IACfe,cAAcnC,EAAEQ,KAAK,CAACoB;IACtBQ,+BAA+BpC,EAAEQ,KAAK,CAACR,EAAEK,MAAM;AACjD,GAAG"}
|
|
@@ -18,6 +18,7 @@ export declare const createProvisionerTokenResponseSchema: z.ZodObject<{
|
|
|
18
18
|
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
19
19
|
created_at: z.ZodString;
|
|
20
20
|
updated_at: z.ZodString;
|
|
21
|
+
scope: z.ZodLiteral<"workspace">;
|
|
21
22
|
}, z.core.$strip>;
|
|
22
23
|
export type CreateProvisionerTokenResponseDto = z.infer<typeof createProvisionerTokenResponseSchema>;
|
|
23
24
|
export declare const provisionerTokenDtoSchema: z.ZodObject<{
|
|
@@ -32,6 +33,7 @@ export declare const provisionerTokenDtoSchema: z.ZodObject<{
|
|
|
32
33
|
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
33
34
|
created_at: z.ZodString;
|
|
34
35
|
updated_at: z.ZodString;
|
|
36
|
+
scope: z.ZodLiteral<"workspace">;
|
|
35
37
|
}, z.core.$strip>;
|
|
36
38
|
export type ProvisionerTokenDto = z.infer<typeof provisionerTokenDtoSchema>;
|
|
37
39
|
export declare const listProvisionerTokensResponseSchema: z.ZodObject<{
|
|
@@ -47,6 +49,7 @@ export declare const listProvisionerTokensResponseSchema: z.ZodObject<{
|
|
|
47
49
|
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
48
50
|
created_at: z.ZodString;
|
|
49
51
|
updated_at: z.ZodString;
|
|
52
|
+
scope: z.ZodLiteral<"workspace">;
|
|
50
53
|
}, z.core.$strip>>;
|
|
51
54
|
}, z.core.$strip>;
|
|
52
55
|
export type ListProvisionerTokensResponseDto = z.infer<typeof listProvisionerTokensResponseSchema>;
|
|
@@ -62,11 +65,16 @@ export declare const revokeProvisionerTokenResponseSchema: z.ZodObject<{
|
|
|
62
65
|
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
63
66
|
created_at: z.ZodString;
|
|
64
67
|
updated_at: z.ZodString;
|
|
68
|
+
scope: z.ZodLiteral<"workspace">;
|
|
65
69
|
}, z.core.$strip>;
|
|
66
70
|
export type RevokeProvisionerTokenResponseDto = z.infer<typeof revokeProvisionerTokenResponseSchema>;
|
|
67
|
-
export declare const provisionerIdentityResponseSchema: z.ZodObject<{
|
|
71
|
+
export declare const provisionerIdentityResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
68
72
|
id: z.ZodString;
|
|
73
|
+
scope: z.ZodLiteral<"workspace">;
|
|
69
74
|
workspace_id: z.ZodString;
|
|
70
|
-
}, z.core.$strip
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
scope: z.ZodLiteral<"installation">;
|
|
78
|
+
}, z.core.$strip>], "scope">;
|
|
71
79
|
export type ProvisionerIdentityResponseDto = z.infer<typeof provisionerIdentityResponseSchema>;
|
|
72
80
|
//# sourceMappingURL=provisioner-token.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provisioner-token.d.ts","sourceRoot":"","sources":["../../src/schemas/provisioner-token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,iCAAiC,WAAa,CAAC;AAE5D,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE7F,eAAO,MAAM,oCAAoC
|
|
1
|
+
{"version":3,"file":"provisioner-token.d.ts","sourceRoot":"","sources":["../../src/schemas/provisioner-token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,iCAAiC,WAAa,CAAC;AAE5D,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE7F,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;iBAc/C,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,oCAAoC,CAC5C,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAapC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;iBAE9C,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEnG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;iBAA4B,CAAC;AAE9E,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,oCAAoC,CAC5C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;4BAG5C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -16,7 +16,8 @@ export const createProvisionerTokenResponseSchema = z.object({
|
|
|
16
16
|
revoked_at: z.string().nullable(),
|
|
17
17
|
last_seen_at: z.string().nullable(),
|
|
18
18
|
created_at: z.string(),
|
|
19
|
-
updated_at: z.string()
|
|
19
|
+
updated_at: z.string(),
|
|
20
|
+
scope: z.literal('workspace')
|
|
20
21
|
});
|
|
21
22
|
export const provisionerTokenDtoSchema = z.object({
|
|
22
23
|
id: z.string().uuid(),
|
|
@@ -29,15 +30,23 @@ export const provisionerTokenDtoSchema = z.object({
|
|
|
29
30
|
revoked_at: z.string().nullable(),
|
|
30
31
|
last_seen_at: z.string().nullable(),
|
|
31
32
|
created_at: z.string(),
|
|
32
|
-
updated_at: z.string()
|
|
33
|
+
updated_at: z.string(),
|
|
34
|
+
scope: z.literal('workspace')
|
|
33
35
|
});
|
|
34
36
|
export const listProvisionerTokensResponseSchema = z.object({
|
|
35
37
|
tokens: z.array(provisionerTokenDtoSchema)
|
|
36
38
|
});
|
|
37
39
|
export const revokeProvisionerTokenResponseSchema = provisionerTokenDtoSchema;
|
|
38
|
-
export const provisionerIdentityResponseSchema = z.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
export const provisionerIdentityResponseSchema = z.discriminatedUnion('scope', [
|
|
41
|
+
z.object({
|
|
42
|
+
id: z.string().uuid(),
|
|
43
|
+
scope: z.literal('workspace'),
|
|
44
|
+
workspace_id: z.string().uuid()
|
|
45
|
+
}),
|
|
46
|
+
z.object({
|
|
47
|
+
id: z.string().uuid(),
|
|
48
|
+
scope: z.literal('installation')
|
|
49
|
+
})
|
|
50
|
+
]);
|
|
42
51
|
|
|
43
52
|
//# sourceMappingURL=provisioner-token.js.map
|