Incant.Admin.Contract (incant v0.1.0)

Copy Markdown

Transport-safe description of an Incant admin surface.

Contracts are intended for discovery, SafeRPC responses, audits, and remote UI clients. They contain stable data only; local callbacks, repos, schemas, and other executable BEAM terms remain in regular Incant metadata and executors.

Summary

Types

surface()

@type surface() :: map()

t()

@type t() :: %Incant.Admin.Contract{
  dashboards: [surface()],
  datasets: [surface()],
  id: String.t(),
  module: String.t(),
  opts: map(),
  plugins: [String.t()],
  resources: [surface()],
  service: atom() | String.t() | nil,
  version: String.t() | nil
}