Skip to main content

StrapiRelationChange

Upgather SDK


Upgather SDK / StrapiRelationChange

Interface: StrapiRelationChange

Strapi's own form for changing a relation without replacing it wholesale. Every member is optional: set replaces the relation, connect adds to it and disconnect removes from it, and a caller uses whichever it needs.

Named rather than written inline because the published reference renders an inline object type without its optional markers, so all three appeared to be required of every caller.

Properties​

connect?​

optional connect: string | string[]


disconnect?​

optional disconnect: string | string[]


set?​

optional set: string | string[]