Options
All
  • Public
  • Public/Protected
  • All
Menu

A partner edits a field inline in the inventory table. Fires on mutation success (not on the toast render). All field edits share this single event; use field to distinguish them.

This schema describes events sent to Segment from OsEditedArtworkField

example
{
  action: "editedArtworkField",
  context_module: "artworkTable",
  context_page_owner_type: "inventory",
  artwork_id: "abc123",
  field: "title",
  old_value: "Untitled",
  new_value: "Blue"
}
example

Medium with free-text flag

{
  action: "editedArtworkField",
  context_module: "artworkTable",
  context_page_owner_type: "inventory",
  artwork_id: "abc123",
  field: "medium",
  old_value: "Oil on canvas",
  new_value: "Watercolor",
  is_free_text: true
}
example

Artist autocomplete match

{
  action: "editedArtworkField",
  context_module: "artworkTable",
  context_page_owner_type: "inventory",
  artwork_id: "abc123",
  field: "artist",
  value: "matched",
  matched_id: "artist-internal-id"
}

Hierarchy

  • OsEditedArtworkField

Index

Properties

action

action: editedArtworkField

artwork_id

artwork_id: string

context_module

context_module: artworkTable

context_page_owner_type

context_page_owner_type: OsOwnerType

Optional edition_set_id

edition_set_id: undefined | string

Present only for edition-set variant rows in the Artsy CMS sub-row

field

field: "artist" | "availability" | "certificateOfAuthenticity" | "dimensions" | "location" | "medium" | "price" | "priceCurrency" | "privateNotes" | "title" | "year"

Optional is_free_text

is_free_text: undefined | false | true

Medium only: true = free text entered, false = predefined mediumType selected

Optional matched_id

matched_id: undefined | string

Artist and location only: the resolved Artsy entity ID

Optional new_value

new_value: undefined | string

Omit for privateNotes (free text — don't log contents)

Optional old_value

old_value: undefined | string

Omit for privateNotes (free text — don't log contents)

Optional value

value: "add" | "matched" | "removed"

Artist and location only: the action taken on the autocomplete

Generated using TypeDoc