junobuild_satellite

Type Alias OnDeleteDocContext

Source
pub type OnDeleteDocContext = HookContext<DocContext<Option<Doc>>>;
Expand description

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

Aliased Type§

struct OnDeleteDocContext {
    pub caller: Principal,
    pub data: DocContext<Option<Doc>>,
}

Fields§

§caller: Principal§data: DocContext<Option<Doc>>