Crosswake.Manifest.Types (crosswake v0.2.3)

View Source

Typed manifest contract shared by manifest generation, compatibility checks, doctor diagnostics, and support-matrix rendering.

Summary

Functions

The canonical manifest schema version this running Elixir application declares. This is the single source of truth other modules must read from instead of hand-copying the literal — see the Phase 154 fix that replaced two independently hardcoded "1.0.0" synthetic-target literals (Crosswake.Shell.Activation.target_from_request/1 and Crosswake.Compatibility.bridge_target/1) that silently fell out of sync the first time @manifest_schema_version was ever bumped.

Functions

default_origin()

@spec default_origin() :: String.t()

manifest_schema_version()

@spec manifest_schema_version() :: String.t()

The canonical manifest schema version this running Elixir application declares. This is the single source of truth other modules must read from instead of hand-copying the literal — see the Phase 154 fix that replaced two independently hardcoded "1.0.0" synthetic-target literals (Crosswake.Shell.Activation.target_from_request/1 and Crosswake.Compatibility.bridge_target/1) that silently fell out of sync the first time @manifest_schema_version was ever bumped.

new_action_class_entry(attrs)

@spec new_action_class_entry(keyword()) ::
  Crosswake.Manifest.Types.ActionClassEntry.t()

new_cache_contract(attrs)

@spec new_cache_contract(keyword()) :: Crosswake.Manifest.Types.CacheContract.t()

new_capability(attrs)

@spec new_capability(keyword()) :: Crosswake.Manifest.Types.Capability.t()

new_capability_support_entry(attrs)

@spec new_capability_support_entry(keyword()) ::
  Crosswake.Manifest.Types.CapabilitySupportEntry.t()

new_change_class_entry(attrs)

@spec new_change_class_entry(keyword()) ::
  Crosswake.Manifest.Types.ChangeClassEntry.t()

new_commerce_corridor(attrs)

@spec new_commerce_corridor(keyword()) ::
  Crosswake.Manifest.Types.CommerceCorridor.t()

new_compatibility(attrs \\ [])

@spec new_compatibility(keyword()) :: Crosswake.Manifest.Types.Compatibility.t()

new_host(attrs \\ [])

@spec new_host(keyword()) :: Crosswake.Manifest.Types.Host.t()

new_island_contract(attrs)

@spec new_island_contract(keyword()) :: Crosswake.Manifest.Types.IslandContract.t()

new_navigation_topology(attrs)

@spec new_navigation_topology(keyword()) ::
  Crosswake.Manifest.Types.NavigationTopology.t()

new_navigation_topology_entry(attrs)

@spec new_navigation_topology_entry(keyword()) ::
  Crosswake.Manifest.Types.NavigationTopologyEntry.t()

new_pack_entry(attrs)

@spec new_pack_entry(keyword()) :: Crosswake.Manifest.Types.PackEntry.t()

new_package_surface_entry(attrs)

@spec new_package_surface_entry(keyword()) ::
  Crosswake.Manifest.Types.PackageSurfaceEntry.t()

new_promotion_rule_entry(attrs)

@spec new_promotion_rule_entry(keyword()) ::
  Crosswake.Manifest.Types.PromotionRuleEntry.t()

new_rebuild_decision_entry(attrs)

@spec new_rebuild_decision_entry(keyword()) ::
  Crosswake.Manifest.Types.RebuildDecisionEntry.t()

new_release_boundary_entry(attrs)

@spec new_release_boundary_entry(keyword()) ::
  Crosswake.Manifest.Types.ReleaseBoundaryEntry.t()

new_root(attrs)

@spec new_root(keyword()) :: Crosswake.Manifest.Types.Root.t()

new_route_auth_return(attrs)

@spec new_route_auth_return(keyword()) :: Crosswake.Manifest.Types.RouteAuthReturn.t()

new_route_commerce(attrs)

@spec new_route_commerce(keyword()) :: Crosswake.Manifest.Types.RouteCommerce.t()

new_route_entry(attrs)

@spec new_route_entry(keyword()) :: Crosswake.Manifest.Types.RouteEntry.t()

new_runtime_line_row(attrs)

@spec new_runtime_line_row(keyword()) :: Crosswake.Manifest.Types.RuntimeLineRow.t()

new_support_entry(attrs)

@spec new_support_entry(keyword()) :: Crosswake.Manifest.Types.SupportEntry.t()

new_support_matrix(attrs)

@spec new_support_matrix(keyword()) :: Crosswake.Manifest.Types.SupportMatrix.t()

new_transfer_seam(attrs)

@spec new_transfer_seam(keyword()) :: Crosswake.Manifest.Types.TransferSeam.t()

to_map(root)

@spec to_map(term()) :: term()