Skip to content
HomePagesHomePages template kit

WritebackTarget

Where a writable `SOURCE_FIELDS` entry's edited value is written back to — the target a slot's "Update everywhere" action updates.

Where a writable SOURCE_FIELDS entry’s edited value is written back to — the target a slot’s “Update everywhere” action updates.

Import from @homepages/template-kit.

export type WritebackTarget = {
kind: "property";
column: "listing_intent";
} | {
kind: "unit";
column: "unit_label" | "beds" | "baths" | "sqft" | "price";
} | {
kind: "contact";
field: string;
};
  • A SourceFieldDescriptor with no writeback is read-only.