PhoenixKitCatalogue.Import.Source behaviour (PhoenixKitCatalogue v0.10.0)

Copy Markdown View Source

Behaviour for import sources — the inbound mirror of Export.Destination.

Summary

Callbacks

accept()

@callback accept() :: [String.t()]

flow()

@callback flow() :: :mapping | :sync

formats()

@callback formats() :: [{atom(), String.t()}]

key()

@callback key() :: atom()

label()

@callback label() :: String.t()