vanhecke/celmex/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.AssetGroups

Cortex asset-group listings.

type alias AssetGroup =
{ id : Maybe Int
, name : Maybe String
, type_ : Maybe String
, description : Maybe String
, filter : List FilterPart
, creationTime : Maybe Int
, createdBy : Maybe String
, createdByPretty : Maybe String
, lastUpdateTime : Maybe Int
, modifiedBy : Maybe String
, modifiedByPretty : Maybe String
, membershipPredicate : Maybe Value
, isUsedBySbac : Maybe Bool
}

One asset group. Field names mirror the wire format's XDM.ASSET_GROUP.* dotted-uppercase shape.

type alias AssetGroupsResponse =
{ data : List AssetGroup
, filterCount : Maybe Int
, totalCount : Maybe Int
}

Paginated envelope returned by list.

type alias FilterPart =
{ prettyName : Maybe String
, dataType : Maybe String
, renderType : Maybe String
, entityMap : Maybe String
, dmlType : Maybe String
}

One render-instruction in an AssetGroup's filter description. The filter is emitted as a flat list of parts the UI concatenates (attribute, operator, value, connector).

list : Request AssetGroupsResponse

POST /public_api/v1/asset-groups

List configured asset groups on the tenant.