workyard-application 0.1.3

Task actions and interface contracts for Workyard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use schemars::JsonSchema;
use serde::Deserialize;
use trine::NativePath;

/// Repository selection and its per-participant overrides.
#[derive(Deserialize, JsonSchema)]
#[serde(deny_unknown_fields)]
pub struct RepositoryInput {
	/// Path to the backing repository selected by the caller.
	pub path: NativePath,
	/// Optional override for the participant’s directory name inside the task.
	pub name: Option<String>,
	/// Remote selected for branch resolution or fetch.
	pub remote: Option<String>,
	/// Starting revision for a newly created branch.
	pub from: Option<String>,
}