Skip to main content

Module entities

Module entities 

Source
Expand description

API entities — DTOs and query parameter types.

These types form the public API contract. They map from internal store models and are never exposed directly.

Re-exports§

pub use lease::DEFAULT_LEASE_TTL_SECS;
pub use lease::MAX_LEASE_TTL_SECS;
pub use lease::RenewLeaseRequest;
pub use lease::RenewLeaseResponse;
pub use lease::validate_lease_ttl;

Modules§

lease
Worker lease request/response types for the internal routes.

Structs§

ArtifactResponse
An artifact as exposed by the REST API.
CreateRunRequest
Request to trigger a workflow.
CreateUserRequest
Request body for creating a user (admin only).
CreatedBy
The author of a run, as exposed by the API.
KeyVersionsResponse
How the configured key ring lines up with the stored secrets.
ListRunsQuery
Query parameters for listing runs.
MeResponse
Current user profile response.
RotateSecretsRequest
Request body for rotating a batch of secrets to another key version.
RotateSecretsResponse
Outcome of one rotation batch.
RunDetailResponse
Run detail response — includes steps and payload.
RunResponse
Run response DTO — public API representation of a run.
SecretResponse
Response DTO for a secret (never exposes the value).
SetSecretRequest
Request body for creating or updating a secret.
SignInRequest
Sign-in request body.
SignUpRequest
Sign-up request body.
StatsResponse
Aggregate statistics response.
StepResponse
Step response DTO — public API representation of a step.
UpdateRoleRequest
Request body for updating a user’s role (admin only).
UserResponse
Response DTO for a user (never exposes password hash).

Enums§

CreatedByKind
What kind of principal triggered a run.
IdempotencyKeyError
Why an Idempotency-Key header value was rejected.

Functions§

validate_idempotency_key
Validate an Idempotency-Key header value.