Phoenix.Sync (Phoenix.Sync v0.3.4)

View Source

Summary

Types

param_override()

@type param_override() ::
  {:namespace, String.t()}
  | {:table, String.t()}
  | {:where, String.t()}
  | {:columns, String.t()}

param_overrides()

@type param_overrides() :: [param_override()]

shape_definition()

@type shape_definition() :: String.t() | Ecto.Queryable.t() | shape_specification()

shape_specification()

@type shape_specification() :: [
  table: binary(),
  query: atom() | struct(),
  namespace: binary(),
  where: binary(),
  columns: [binary()],
  replica: term(),
  storage: map() | nil
]

Functions

client!()

See Phoenix.Sync.Client.new!/0.

plug_opts()

See Phoenix.Sync.Application.plug_opts/0.

plug_opts(config)

See Phoenix.Sync.Application.plug_opts/1.