type
DraftUpdateFor
Generated input for staging an incomplete collection working draft.
Full signature
type DraftUpdateFor<
Config extends RiduConfigShape,
Slug extends CollectionSlug<Config>,
> =
ContractFor<Config, Slug> extends {
draftUpdate: infer Input
}
? Input
: UpdateFor<Config, Slug>