@shipfox/api-runners-dto 12.0.0 → 12.4.0
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 +15 -0
- package/dist/events.d.ts +3 -3
- 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 +20 -20
- package/dist/inter-module.d.ts.map +1 -1
- package/dist/schemas/admin-runner-instances.d.ts +25 -25
- package/dist/schemas/assign-runner-instances.d.ts +2 -0
- package/dist/schemas/assign-runner-instances.d.ts.map +1 -1
- package/dist/schemas/assign-runner-instances.js +2 -0
- package/dist/schemas/assign-runner-instances.js.map +1 -1
- package/dist/schemas/claim-job.d.ts +1 -1
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +2 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/poll-demand.d.ts +2 -0
- package/dist/schemas/poll-demand.d.ts.map +1 -1
- package/dist/schemas/poll-demand.js +2 -0
- package/dist/schemas/poll-demand.js.map +1 -1
- package/dist/schemas/reconcile-runner-instances.d.ts +10 -6
- package/dist/schemas/reconcile-runner-instances.d.ts.map +1 -1
- package/dist/schemas/reconcile-runner-instances.js +3 -0
- package/dist/schemas/reconcile-runner-instances.js.map +1 -1
- package/dist/schemas/register.d.ts +2 -2
- package/dist/schemas/report-runner-instances.d.ts +15 -15
- package/dist/schemas/runner-enrollment.d.ts +2 -0
- package/dist/schemas/runner-enrollment.d.ts.map +1 -1
- package/dist/schemas/runner-enrollment.js +7 -2
- package/dist/schemas/runner-enrollment.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -0
- package/src/schemas/assign-runner-instances.ts +3 -0
- package/src/schemas/index.ts +4 -0
- package/src/schemas/poll-demand.test.ts +21 -0
- package/src/schemas/poll-demand.ts +9 -0
- package/src/schemas/reconcile-runner-instances.test.ts +27 -3
- package/src/schemas/reconcile-runner-instances.ts +4 -0
- package/src/schemas/runner-enrollment.ts +9 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled: 18 files with swc (
|
|
2
|
+
Successfully compiled: 18 files with swc (228.64ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @shipfox/api-runners-dto
|
|
2
2
|
|
|
3
|
+
## 12.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9e16946: Runners are enrolled only when the reservation still has capacity, and partial-enrollment errors now report reservation shortfalls separately from launch grants.
|
|
8
|
+
- 4fa8526: Adds opt-in reconciliation data so provisioners can retry intended reservation assignments.
|
|
9
|
+
|
|
10
|
+
## 12.2.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 78b771c: Accept provider-specific reservation TTLs in runner demand polling and enforce a server-side ceiling.
|
|
15
|
+
- Updated dependencies [df2ed79]
|
|
16
|
+
- @shipfox/runner-labels@0.2.0
|
|
17
|
+
|
|
3
18
|
## 12.0.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/events.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const RUNNER_JOB_LEASE_EXPIRED:
|
|
3
|
-
export declare const RUNNER_JOB_QUEUED:
|
|
4
|
-
export declare const RUNNER_JOB_CLAIMED:
|
|
2
|
+
export declare const RUNNER_JOB_LEASE_EXPIRED: 'runners.job.lease_expired';
|
|
3
|
+
export declare const RUNNER_JOB_QUEUED: 'runners.job.queued';
|
|
4
|
+
export declare const RUNNER_JOB_CLAIMED: 'runners.job.claimed';
|
|
5
5
|
export declare const runnerJobLeaseExpiredEventSchema: z.ZodObject<{
|
|
6
6
|
workflowRunId: z.ZodString;
|
|
7
7
|
workflowRunAttemptId: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AdministratorProvisionerTokenDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListActiveProvisionersResponseDto, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, 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 RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerAdministratorInstanceDto, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from '#schemas/index.js';
|
|
1
|
+
export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AdministratorProvisionerTokenDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListActiveProvisionersResponseDto, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, 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, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, RESERVATION_EXPIRED_ERROR_CODE, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type ReservationGrantDto, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerAdministratorInstanceDto, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, 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,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,mCAAmC,EACnC,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,0CAA0C,EAC/C,KAAK,8CAA8C,EACnD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,wBAAwB,EACxB,6CAA6C,EAC7C,iDAAiD,EACjD,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,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,EAC/C,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,gCAAgC,EACrC,KAAK,wCAAwC,EAC7C,KAAK,2CAA2C,EAChD,oCAAoC,EACpC,6CAA6C,EAC7C,gDAAgD,EAChD,0CAA0C,EAC1C,mCAAmC,EACnC,2CAA2C,EAC3C,8CAA8C,EAC9C,yCAAyC,EACzC,sCAAsC,EACtC,wBAAwB,EACxB,iCAAiC,EACjC,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B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AAwC,EACxC,iCAAiC,EACjC,uCAAuC,EACvC,6CAA6C,EAC7C,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,EAC9B,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, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, installationProvisionerTokenStatusSchema, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, 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_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from '#schemas/index.js';
|
|
1
|
+
export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, installationProvisionerTokenStatusSchema, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, 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, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, RESERVATION_EXPIRED_ERROR_CODE, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, 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 type AdministratorProvisionerTokenDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n administratorProvisionerTokenSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\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 InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListActiveProvisionersResponseDto,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listActiveProvisionersResponseSchema,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\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 RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerAdministratorInstanceDto,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\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 revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\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","administratorProvisionerTokenSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","installationProvisionerTokenStatusSchema","listActiveProvisionersResponseSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","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_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnerJobQueuedEventSchema","runnersEventSchemas"],"mappings":"AAAA,SAQEA,0BAA0B,EAC1BC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,mCAAmC,EACnCC,+BAA+B,EAC/BC,mCAAmC,EACnCC,uCAAuC,EAUvCC,wBAAwB,EACxBC,6CAA6C,EAC7CC,iDAAiD,EACjDC,uCAAuC,EACvCC,2CAA2C,EAC3CC,gCAAgC,EAChCC,oCAAoC,EACpCC,+BAA+B,EAC/BC,mCAAmC,EAEnCC,gBAAgB,EAGhBC,mBAAmB,EACnBC,uBAAuB,EAEvBC,wCAAwC,EAQxCC,oCAAoC,EACpCC,6CAA6C,EAC7CC,gDAAgD,EAChDC,0CAA0C,EAC1CC,mCAAmC,EACnCC,2CAA2C,EAC3CC,8CAA8C,EAC9CC,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,EAezBC,2CAA2C,EAC3CC,6BAA6B,EAW7BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,EACtCC,wBAAwB,EACxBC,4BAA4B,EAC5BC,+BAA+B,EAC/BC,mCAAmC,EACnCC,sBAAsB,EACtBC,6CAA6C,EAC7CC,iDAAiD,EACjDC,2CAA2C,EAC3CC,oCAAoC,EACpCC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,EAC7CC,+BAA+B,EAC/BC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,8BAA8B,EAC9BC,mCAAmC,EACnCC,4BAA4B,QACvB,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,wBAAwB,EACxBC,iBAAiB,EAKjBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,0BAA0B,EAC1BC,mBAAmB,QACd,cAAc"}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n type AdministratorProvisionerTokenDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n administratorProvisionerTokenSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\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 InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListActiveProvisionersResponseDto,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listActiveProvisionersResponseSchema,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\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 RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER,\n RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE,\n RESERVATION_EXPIRED_ERROR_CODE,\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 RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerAdministratorInstanceDto,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\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 revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\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","administratorProvisionerTokenSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","installationProvisionerTokenStatusSchema","listActiveProvisionersResponseSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","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","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE","RESERVATION_EXPIRED_ERROR_CODE","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnerJobQueuedEventSchema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AA0B,EAC1BC,8BAA8B,EAC9BC,mCAAmC,EACnCC,4BAA4B,QACvB,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,wBAAwB,EACxBC,iBAAiB,EAKjBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,0BAA0B,EAC1BC,mBAAmB,QACd,cAAc"}
|
package/dist/inter-module.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { z } from 'zod';
|
|
|
3
3
|
export declare const runnersInterModuleContract: import("@shipfox/inter-module").InterModuleContract<{
|
|
4
4
|
readonly module: "runners";
|
|
5
5
|
readonly methods: {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
enqueueJobExecution: {
|
|
7
|
+
input: z.ZodObject<{
|
|
8
8
|
workspaceId: z.ZodString;
|
|
9
9
|
workflowRunId: z.ZodString;
|
|
10
10
|
workflowRunAttemptId: z.ZodString;
|
|
@@ -13,38 +13,38 @@ export declare const runnersInterModuleContract: import("@shipfox/inter-module")
|
|
|
13
13
|
projectId: z.ZodString;
|
|
14
14
|
requiredLabels: z.ZodArray<z.ZodString>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
output: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
+
errors: {
|
|
18
|
+
'empty-required-labels': z.ZodObject<{}, z.core.$strip>;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
releaseJobExecution: {
|
|
22
|
+
input: z.ZodObject<{
|
|
23
23
|
jobExecutionId: z.ZodString;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
|
-
|
|
25
|
+
output: z.ZodObject<{}, z.core.$strip>;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
cancelJobs: {
|
|
28
|
+
input: z.ZodObject<{
|
|
29
29
|
jobIds: z.ZodArray<z.ZodString>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
|
-
|
|
31
|
+
output: z.ZodObject<{}, z.core.$strip>;
|
|
32
32
|
};
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
getLeaseState: {
|
|
34
|
+
input: z.ZodObject<{
|
|
35
35
|
jobId: z.ZodString;
|
|
36
36
|
jobExecutionId: z.ZodString;
|
|
37
37
|
runnerSessionId: z.ZodString;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
|
-
|
|
39
|
+
output: z.ZodObject<{
|
|
40
40
|
active: z.ZodBoolean;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
};
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
getEffectiveRunnerToolCapabilities: {
|
|
44
|
+
input: z.ZodObject<{
|
|
45
45
|
runnerSessionId: z.ZodString;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
|
-
|
|
47
|
+
output: z.ZodObject<{
|
|
48
48
|
capabilities: z.ZodObject<{
|
|
49
49
|
harnesses: z.ZodObject<{
|
|
50
50
|
pi: z.ZodOptional<z.ZodObject<{
|
|
@@ -58,11 +58,11 @@ export declare const runnersInterModuleContract: import("@shipfox/inter-module")
|
|
|
58
58
|
reportFresh: z.ZodBoolean;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
};
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
getWorkspaceJobCounts: {
|
|
62
|
+
input: z.ZodObject<{
|
|
63
63
|
workspaceIds: z.ZodArray<z.ZodString>;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
|
-
|
|
65
|
+
output: z.ZodObject<{
|
|
66
66
|
counts: z.ZodArray<z.ZodObject<{
|
|
67
67
|
workspaceId: z.ZodString;
|
|
68
68
|
queued: z.ZodNumber;
|
|
@@ -1 +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
|
|
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;;;QAGnC,mBAAmB;YACjB,KAAK;;;;;;;;;YASL,MAAM;YACN,MAAM;gBACJ,uBAAuB;;;QAG3B,mBAAmB;YACjB,KAAK;;;YACL,MAAM;;QAER,UAAU;YACR,KAAK;;;YACL,MAAM;;QAER,aAAa;YACX,KAAK;;;;;YAKL,MAAM;;;;QAER,kCAAkC;YAChC,KAAK;;;YACL,MAAM;;;;;;;;;;;;;;QAKR,qBAAqB;YACnB,KAAK;;;YACL,MAAM;;;;;;;;;EAWV,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const runnerAdministratorLifecycleStateSchema: z.ZodEnum<{
|
|
3
|
-
unassigned: "unassigned";
|
|
4
|
-
assigned: "assigned";
|
|
5
3
|
activated: "activated";
|
|
4
|
+
assigned: "assigned";
|
|
6
5
|
claimed: "claimed";
|
|
7
6
|
completed: "completed";
|
|
7
|
+
unassigned: "unassigned";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const runnerAdministratorEnrollmentStateSchema: z.ZodEnum<{
|
|
10
10
|
activated: "activated";
|
|
11
|
-
pending: "pending";
|
|
12
11
|
enrolled: "enrolled";
|
|
12
|
+
pending: "pending";
|
|
13
13
|
}>;
|
|
14
14
|
export declare const runnerAdministratorAssignmentPresenceSchema: z.ZodEnum<{
|
|
15
|
-
unassigned: "unassigned";
|
|
16
15
|
assigned: "assigned";
|
|
16
|
+
unassigned: "unassigned";
|
|
17
17
|
}>;
|
|
18
18
|
export declare const runnerAdministratorReconciliationStatusSchema: z.ZodEnum<{
|
|
19
|
-
unknown: "unknown";
|
|
20
19
|
current: "current";
|
|
21
20
|
stale: "stale";
|
|
22
21
|
terminal: "terminal";
|
|
22
|
+
unknown: "unknown";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const runnerAdministratorInstanceSchema: z.ZodObject<{
|
|
25
25
|
id: z.ZodString;
|
|
26
26
|
lifecycle_state: z.ZodEnum<{
|
|
27
|
-
unassigned: "unassigned";
|
|
28
|
-
assigned: "assigned";
|
|
29
27
|
activated: "activated";
|
|
28
|
+
assigned: "assigned";
|
|
30
29
|
claimed: "claimed";
|
|
31
30
|
completed: "completed";
|
|
31
|
+
unassigned: "unassigned";
|
|
32
32
|
}>;
|
|
33
33
|
compute_state: z.ZodEnum<{
|
|
34
|
-
|
|
34
|
+
failed: "failed";
|
|
35
35
|
running: "running";
|
|
36
|
-
|
|
36
|
+
starting: "starting";
|
|
37
37
|
stopped: "stopped";
|
|
38
|
-
|
|
38
|
+
stopping: "stopping";
|
|
39
39
|
terminated: "terminated";
|
|
40
40
|
}>;
|
|
41
41
|
enrollment_state: z.ZodEnum<{
|
|
42
42
|
activated: "activated";
|
|
43
|
-
pending: "pending";
|
|
44
43
|
enrolled: "enrolled";
|
|
44
|
+
pending: "pending";
|
|
45
45
|
}>;
|
|
46
46
|
assignment_presence: z.ZodEnum<{
|
|
47
|
-
unassigned: "unassigned";
|
|
48
47
|
assigned: "assigned";
|
|
48
|
+
unassigned: "unassigned";
|
|
49
49
|
}>;
|
|
50
50
|
assigned_workspace: z.ZodNullable<z.ZodObject<{
|
|
51
51
|
id: z.ZodString;
|
|
@@ -61,25 +61,25 @@ export declare const runnerAdministratorInstanceSchema: z.ZodObject<{
|
|
|
61
61
|
name: z.ZodNullable<z.ZodString>;
|
|
62
62
|
}, z.core.$strip>;
|
|
63
63
|
reconciliation_status: z.ZodEnum<{
|
|
64
|
-
unknown: "unknown";
|
|
65
64
|
current: "current";
|
|
66
65
|
stale: "stale";
|
|
67
66
|
terminal: "terminal";
|
|
67
|
+
unknown: "unknown";
|
|
68
68
|
}>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
export type RunnerAdministratorInstanceDto = z.infer<typeof runnerAdministratorInstanceSchema>;
|
|
71
71
|
export declare const listRunnerAdministratorInstancesQuerySchema: z.ZodObject<{
|
|
72
72
|
state: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
|
|
73
|
+
failed: "failed";
|
|
74
74
|
running: "running";
|
|
75
|
-
|
|
75
|
+
starting: "starting";
|
|
76
76
|
stopped: "stopped";
|
|
77
|
-
|
|
77
|
+
stopping: "stopping";
|
|
78
78
|
terminated: "terminated";
|
|
79
79
|
}>>;
|
|
80
80
|
assignment: z.ZodOptional<z.ZodEnum<{
|
|
81
|
-
unassigned: "unassigned";
|
|
82
81
|
assigned: "assigned";
|
|
82
|
+
unassigned: "unassigned";
|
|
83
83
|
}>>;
|
|
84
84
|
label: z.ZodOptional<z.ZodString>;
|
|
85
85
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -90,28 +90,28 @@ export declare const listRunnerAdministratorInstancesResponseSchema: z.ZodObject
|
|
|
90
90
|
runners: z.ZodArray<z.ZodObject<{
|
|
91
91
|
id: z.ZodString;
|
|
92
92
|
lifecycle_state: z.ZodEnum<{
|
|
93
|
-
unassigned: "unassigned";
|
|
94
|
-
assigned: "assigned";
|
|
95
93
|
activated: "activated";
|
|
94
|
+
assigned: "assigned";
|
|
96
95
|
claimed: "claimed";
|
|
97
96
|
completed: "completed";
|
|
97
|
+
unassigned: "unassigned";
|
|
98
98
|
}>;
|
|
99
99
|
compute_state: z.ZodEnum<{
|
|
100
|
-
|
|
100
|
+
failed: "failed";
|
|
101
101
|
running: "running";
|
|
102
|
-
|
|
102
|
+
starting: "starting";
|
|
103
103
|
stopped: "stopped";
|
|
104
|
-
|
|
104
|
+
stopping: "stopping";
|
|
105
105
|
terminated: "terminated";
|
|
106
106
|
}>;
|
|
107
107
|
enrollment_state: z.ZodEnum<{
|
|
108
108
|
activated: "activated";
|
|
109
|
-
pending: "pending";
|
|
110
109
|
enrolled: "enrolled";
|
|
110
|
+
pending: "pending";
|
|
111
111
|
}>;
|
|
112
112
|
assignment_presence: z.ZodEnum<{
|
|
113
|
-
unassigned: "unassigned";
|
|
114
113
|
assigned: "assigned";
|
|
114
|
+
unassigned: "unassigned";
|
|
115
115
|
}>;
|
|
116
116
|
assigned_workspace: z.ZodNullable<z.ZodObject<{
|
|
117
117
|
id: z.ZodString;
|
|
@@ -127,10 +127,10 @@ export declare const listRunnerAdministratorInstancesResponseSchema: z.ZodObject
|
|
|
127
127
|
name: z.ZodNullable<z.ZodString>;
|
|
128
128
|
}, z.core.$strip>;
|
|
129
129
|
reconciliation_status: z.ZodEnum<{
|
|
130
|
-
unknown: "unknown";
|
|
131
130
|
current: "current";
|
|
132
131
|
stale: "stale";
|
|
133
132
|
terminal: "terminal";
|
|
133
|
+
unknown: "unknown";
|
|
134
134
|
}>;
|
|
135
135
|
}, z.core.$strip>>;
|
|
136
136
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const RESERVATION_EXPIRED_ERROR_CODE = "reservation-expired";
|
|
3
|
+
export declare const RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE = "runner-instance-not-assignable";
|
|
2
4
|
export declare const assignRunnerInstancesBodySchema: z.ZodObject<{
|
|
3
5
|
reservation_id: z.ZodString;
|
|
4
6
|
runner_instance_ids: z.ZodArray<z.ZodString>;
|
|
@@ -1 +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"}
|
|
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,8BAA8B,wBAAwB,CAAC;AACpE,eAAO,MAAM,yCAAyC,mCAAmC,CAAC;AAE1F,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"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export const RESERVATION_EXPIRED_ERROR_CODE = 'reservation-expired';
|
|
3
|
+
export const RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE = 'runner-instance-not-assignable';
|
|
2
4
|
export const assignRunnerInstancesBodySchema = z.object({
|
|
3
5
|
reservation_id: z.string().uuid(),
|
|
4
6
|
runner_instance_ids: z.array(z.string().uuid()).min(1).max(1000)
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/assign-runner-instances.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const RESERVATION_EXPIRED_ERROR_CODE = 'reservation-expired';\nexport const RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE = 'runner-instance-not-assignable';\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","RESERVATION_EXPIRED_ERROR_CODE","RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE","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,iCAAiC,sBAAsB;AACpE,OAAO,MAAMC,4CAA4C,iCAAiC;AAE1F,OAAO,MAAMC,kCAAkCH,EAC5CI,MAAM,CAAC;IACNC,gBAAgBL,EAAEM,MAAM,GAAGC,IAAI;IAC/BC,qBAAqBR,EAAES,KAAK,CAACT,EAAEM,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,sCAAsCpB,EAAEI,MAAM,CAAC;IAC1DI,qBAAqBR,EAAES,KAAK,CAACT,EAAEM,MAAM,GAAGC,IAAI;AAC9C,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const RUNNER_SESSION_EXHAUSTED_CODE:
|
|
2
|
+
export declare const RUNNER_SESSION_EXHAUSTED_CODE: 'runner-session-exhausted';
|
|
3
3
|
export declare const claimedJobResponseSchema: z.ZodObject<{
|
|
4
4
|
workflow_run_id: z.ZodString;
|
|
5
5
|
workflow_run_attempt_id: z.ZodString;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { type AdministratorProvisionerTokenDto, administratorProvisionerTokenSchema, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, } from './admin-provisioner-token.js';
|
|
2
2
|
export { type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, type RunnerAdministratorInstanceDto, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, } from './admin-runner-instances.js';
|
|
3
|
-
export { type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, } from './assign-runner-instances.js';
|
|
3
|
+
export { type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, RESERVATION_EXPIRED_ERROR_CODE, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE, } from './assign-runner-instances.js';
|
|
4
4
|
export { type ClaimedJobResponseDto, claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE, } from './claim-job.js';
|
|
5
5
|
export { type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, } from './heartbeat.js';
|
|
6
6
|
export { type ActiveProvisionerDto, activeProvisionerDtoSchema, type ListActiveProvisionersResponseDto, listActiveProvisionersResponseSchema, } from './list-active-provisioners.js';
|
|
7
7
|
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';
|
|
8
8
|
export { type DemandStatDto, demandStatSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, type ReservationGrantDto, reservationGrantSchema, } from './poll-demand.js';
|
|
9
9
|
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';
|
|
10
|
-
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';
|
|
10
|
+
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, } from './reconcile-runner-instances.js';
|
|
11
11
|
export { type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema, } from './register.js';
|
|
12
12
|
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';
|
|
13
13
|
export { attachRunnerControlProviderIdBodySchema, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, } from './runner-enrollment.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,EACnC,KAAK,0CAA0C,EAC/C,KAAK,8CAA8C,EACnD,6CAA6C,EAC7C,iDAAiD,EACjD,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,0CAA0C,EAC/C,KAAK,6CAA6C,EAClD,6CAA6C,EAC7C,gDAAgD,EAChD,KAAK,0CAA0C,EAC/C,KAAK,8CAA8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4B,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,2CAA2C,EAC3C,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,GAC/B,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,13 @@
|
|
|
1
1
|
export { administratorProvisionerTokenSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, installationProvisionerTokenStatusSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema } from './admin-provisioner-token.js';
|
|
2
2
|
export { listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema } from './admin-runner-instances.js';
|
|
3
|
-
export { assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema } from './assign-runner-instances.js';
|
|
3
|
+
export { assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, RESERVATION_EXPIRED_ERROR_CODE, RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE } from './assign-runner-instances.js';
|
|
4
4
|
export { claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE } from './claim-job.js';
|
|
5
5
|
export { heartbeatBodySchema, heartbeatResponseSchema } from './heartbeat.js';
|
|
6
6
|
export { activeProvisionerDtoSchema, listActiveProvisionersResponseSchema } from './list-active-provisioners.js';
|
|
7
7
|
export { createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, listManualRegistrationTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, manualRegistrationTokenDtoSchema, revokeManualRegistrationTokenResponseSchema } from './manual-registration-token.js';
|
|
8
8
|
export { demandStatSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, reservationGrantSchema } from './poll-demand.js';
|
|
9
9
|
export { createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, listProvisionerTokensResponseSchema, MAX_PROVISIONER_TOKEN_TTL_SECONDS, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, revokeProvisionerTokenResponseSchema } from './provisioner-token.js';
|
|
10
|
-
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema } from './reconcile-runner-instances.js';
|
|
10
|
+
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER, RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema } from './reconcile-runner-instances.js';
|
|
11
11
|
export { registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema } from './register.js';
|
|
12
12
|
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';
|
|
13
13
|
export { attachRunnerControlProviderIdBodySchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema } from './runner-enrollment.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AdministratorProvisionerTokenDto,\n administratorProvisionerTokenSchema,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n} from './admin-provisioner-token.js';\nexport {\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n type RunnerAdministratorInstanceDto,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n} from './admin-runner-instances.js';\nexport {\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 RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["administratorProvisionerTokenSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","installationProvisionerTokenStatusSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","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","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,SAEEA,mCAAmC,EAGnCC,6CAA6C,EAC7CC,iDAAiD,EAEjDC,wCAAwC,EAGxCC,6CAA6C,EAC7CC,gDAAgD,EAGhDC,6CAA6C,EAC7CC,iDAAiD,QAC5C,+BAA+B;AACtC,SAGEC,2CAA2C,EAC3CC,8CAA8C,EAE9CC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CA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B"}
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AdministratorProvisionerTokenDto,\n administratorProvisionerTokenSchema,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n} from './admin-provisioner-token.js';\nexport {\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n type RunnerAdministratorInstanceDto,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n} from './admin-runner-instances.js';\nexport {\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n RESERVATION_EXPIRED_ERROR_CODE,\n RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE,\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 RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER,\n RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE,\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 RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["administratorProvisionerTokenSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","installationProvisionerTokenStatusSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","RESERVATION_EXPIRED_ERROR_CODE","RUNNER_INSTANCE_NOT_ASSIGNABLE_ERROR_CODE","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","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER","RECONCILE_RUNNER_INSTANCES_INTENDED_RESERVATION_HEADER_VALUE","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","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,SAEEA,mCAAmC,EAGnCC,6CAA6C,EAC7CC,iDAAiD,EAEjDC,wCAAwC,EAGxCC,6CAA6C,EAC7CC,gDAAgD,EAGhDC,6CAA6C,EAC7CC,iDAAiD,QAC5C,+BAA+B;AACtC,SAGEC,2CAA2C,EAC3CC,8CAA8C,EAE9CC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,QACxC,8BAA8B;AACrC,SAGEC,+BAA+B,EAC/BC,mCAAmC,EACnCC,8BAA8B,EAC9BC,yCAAyC,QACpC,+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,EAC9BC,sDAAsD,EACtDC,4DAA4D,EAM5DC,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,EACnCC,2CAA2C,EAM3CC,+BAA+B,EAC/BC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,8BAA8B,QACzB,yBAAyB;AAChC,SAGEC,mCAAmC,EACnCC,4BAA4B,QACvB,yBAAyB"}
|
|
@@ -8,6 +8,7 @@ export declare const pollDemandTemplateSchema: z.ZodObject<{
|
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export declare const pollDemandBodySchema: z.ZodObject<{
|
|
10
10
|
wait_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
reservation_ttl_seconds: z.ZodOptional<z.ZodNumber>;
|
|
11
12
|
max_reservations: z.ZodNumber;
|
|
12
13
|
templates: z.ZodArray<z.ZodObject<{
|
|
13
14
|
template_key: z.ZodString;
|
|
@@ -46,6 +47,7 @@ export declare const pollDemandResponseSchema: z.ZodObject<{
|
|
|
46
47
|
count: z.ZodNumber;
|
|
47
48
|
expires_at: z.ZodString;
|
|
48
49
|
}, z.core.$strip>>;
|
|
50
|
+
newly_reserved_count: z.ZodOptional<z.ZodNumber>;
|
|
49
51
|
terminate_provider_runner_ids: z.ZodArray<z.ZodString>;
|
|
50
52
|
}, z.core.$strip>;
|
|
51
53
|
export type PollDemandTemplateDto = z.infer<typeof pollDemandTemplateSchema>;
|
|
@@ -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
|
|
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;;;;;;;;;;;iBAK/B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;iBAY3B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;iBAYnC,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"}
|
|
@@ -10,6 +10,7 @@ export const pollDemandTemplateSchema = z.object({
|
|
|
10
10
|
});
|
|
11
11
|
export const pollDemandBodySchema = z.object({
|
|
12
12
|
wait_seconds: z.number().int().min(0).optional(),
|
|
13
|
+
reservation_ttl_seconds: z.number().int().min(1).optional(),
|
|
13
14
|
max_reservations: z.number().int().min(0).max(1000),
|
|
14
15
|
templates: z.array(pollDemandTemplateSchema).max(1000)
|
|
15
16
|
});
|
|
@@ -30,6 +31,7 @@ export const reservationGrantSchema = z.object({
|
|
|
30
31
|
export const pollDemandResponseSchema = z.object({
|
|
31
32
|
stats: z.array(demandStatSchema),
|
|
32
33
|
reservations: z.array(reservationGrantSchema),
|
|
34
|
+
newly_reserved_count: z.number().int().min(0).optional().describe('Reservation units created by this poll, including units satisfied by adopted runners.'),
|
|
33
35
|
terminate_provider_runner_ids: z.array(z.string())
|
|
34
36
|
});
|
|
35
37
|
|
|
@@ -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).max(1000),\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,
|
|
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 reservation_ttl_seconds: z.number().int().min(1).optional(),\n max_reservations: z.number().int().min(0).max(1000),\n templates: z.array(pollDemandTemplateSchema).max(1000),\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 newly_reserved_count: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe(\n 'Reservation units created by this poll, including units satisfied by adopted runners.',\n ),\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","reservation_ttl_seconds","max_reservations","templates","demandStatSchema","workspace_id","uuid","queued","reserved","describe","oldest_queued_at","datetime","reservationGrantSchema","reservation_id","count","positive","expires_at","pollDemandResponseSchema","stats","reservations","newly_reserved_count","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,yBAAyBlB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGW,QAAQ;IACzDE,kBAAkBnB,EAAEW,MAAM,GAAGC,GAAG,GAAGN,GAAG,CAAC,GAAGG,GAAG,CAAC;IAC9CW,WAAW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