PhoenixKit.Users.ViewPref (phoenix_kit v2.40.1)

Copy Markdown View Source

What one user chose for one view: prefs is a JSON object of top-level fields (a table's "columns", and whatever else the view's owner keeps), keyed by the view's key. One row per (user_uuid, key).

Written only through PhoenixKit.Users.ViewPrefs, which patches fields in the upsert itself rather than through a changeset.

Summary

Types

t()

@type t() :: %PhoenixKit.Users.ViewPref{
  __meta__: term(),
  inserted_at: term(),
  key: term(),
  prefs: term(),
  updated_at: term(),
  user_uuid: term(),
  uuid: term()
}