View Source Glific.Sheets.Sheet (Glific v5.1.6)

The minimal wrapper for the base Sheet structure

Link to this section Summary

Functions

Standard changeset pattern we use for all data types

Link to this section Types

@type t() :: %Glific.Sheets.Sheet{
  __meta__: Ecto.Schema.Metadata.t(),
  id: non_neg_integer() | nil,
  inserted_at: :utc_datetime | nil,
  is_active: boolean() | nil,
  label: String.t() | nil,
  last_synced_at: :utc_datetime | nil,
  organization:
    Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil,
  organization_id: non_neg_integer() | nil,
  sheet_data_count: non_neg_integer() | nil,
  updated_at: :utc_datetime | nil,
  url: String.t() | nil,
  warnings: term()
}

Link to this section Functions

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern we use for all data types