junobuild_satellite

Type Alias OnDeleteAssetContext

Source
pub type OnDeleteAssetContext = HookContext<Option<Asset>>;
Expand description

A type alias for the context used in the on_delete_asset satellite hook.

Aliased Type§

struct OnDeleteAssetContext {
    pub caller: Principal,
    pub data: Option<Asset>,
}

Fields§

§caller: Principal§data: Option<Asset>