vanhecke/celmex/1.0.0

NOTE: the latest version is 3.0.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vanhecke/celmex is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with the same repo name found; no cached copy. Use another version.

Details

Cortex.Api.LegacyExceptions

Legacy policy exception modules and their current rule set.

type alias Module =
{ moduleId : Maybe Int
, prettyName : Maybe String
, title : Maybe String
, label : Maybe String
, profileType : Maybe String
, platforms : List String
, conditionsDefinition : Value
}

A single legacy-exception module definition. conditionsDefinition is a nested JSON tree whose shape depends on module type, so it is preserved as-is.

type alias FetchResponse =
{ data : List Value
, filterCount : Maybe Int
, totalCount : Maybe Int
}

Legacy exception rules have many flexible fields (conditions structure, profile associations, etc.) that vary by module type. We preserve each rule as raw JSON and only type the paginated envelope counters.

getModules : Request (List Module)

POST /public_api/v1/legacy_exceptions/get_modules

No request body required — send empty.

fetch : Request FetchResponse

POST /public_api/v1/legacy_exceptions/fetch