pub struct AuthoringConfig {
pub gleam_path: Option<PathBuf>,
pub project_root: Option<PathBuf>,
pub workspace_dir: Option<PathBuf>,
}Expand description
Server-side authoring settings from [authoring].
The AWL studio is on by default, rooted at <AION_HOME>/authoring, so a
stock aion server provides its document, layout, check, deploy, revision,
run, and scaffold surfaces without preliminary configuration. Operators can
override it explicitly.
Only the separate Gleam authoring loop remains dark by default: without
gleam_path, /authoring/* is not mounted and nothing invokes gleam
(CN7). Setting gleam_path commissions that loop and makes project_root
required.
Fields§
§gleam_path: Option<PathBuf>Path to the external gleam binary the toolchain spawns. None
(the default) leaves only the Gleam authoring loop dark; setting it gates
the /authoring/* endpoints on. There is no default binary — the
operator names it explicitly.
project_root: Option<PathBuf>Built Gleam workflow project root submitted source is written into and
packaged from. REQUIRED when gleam_path is set; no default (house
rule) — a Gleam project needs gleam.toml, the aion_flow dependency,
workflow.toml, and schemas/, so the operator provisions and names
the project root.
workspace_dir: Option<PathBuf>Root directory exposed by the full AWL studio surface. The merged server
loader defaults this to <AION_HOME>/authoring after config and
environment overlays. authoring.workspace_dir or
AION_AUTHORING_WORKSPACE_DIR therefore overrides it explicitly.
Trait Implementations§
Source§impl Clone for AuthoringConfig
impl Clone for AuthoringConfig
Source§fn clone(&self) -> AuthoringConfig
fn clone(&self) -> AuthoringConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuthoringConfig
impl Debug for AuthoringConfig
Source§impl Default for AuthoringConfig
impl Default for AuthoringConfig
Source§fn default() -> AuthoringConfig
fn default() -> AuthoringConfig
Source§impl<'de> Deserialize<'de> for AuthoringConfigwhere
AuthoringConfig: Default,
impl<'de> Deserialize<'de> for AuthoringConfigwhere
AuthoringConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for AuthoringConfig
impl RefUnwindSafe for AuthoringConfig
impl Send for AuthoringConfig
impl Sync for AuthoringConfig
impl Unpin for AuthoringConfig
impl UnsafeUnpin for AuthoringConfig
impl UnwindSafe for AuthoringConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request