View Source Flagsmith.Schemas.Environment (flagsmith_engine v0.1.2)
Ecto schema representing a Flagsmith Environment definition and helpers to cast responses from the api.
Link to this section Summary
Link to this section Types
Specs
t() :: %Flagsmith.Schemas.Environment{
__configuration__: map() | nil,
amplitude_config: Flagsmith.Schemas.Environment.Integration.t() | nil,
api_key: String.t() | nil,
feature_states: [Flagsmith.Schemas.Environment.FeatureState.t()],
heap_config: Flagsmith.Schemas.Environment.Integration.t() | nil,
id: integer() | nil,
mixpanel_config: Flagsmith.Schemas.Environment.Integration.t() | nil,
project: Flagsmith.Schemas.Environment.Project.t() | nil,
segment_config: Flagsmith.Schemas.Environment.Integration.t() | nil
}
Link to this section Functions
Specs
cast(map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}
Specs
changeset(t(), map()) :: Ecto.Changeset.t()