Vik.Shard (Vik v0.0.1-rc1)

View Source

Shards are the building blocks of Vik. They are standalone snippets of code that are compiled into Elixir modules.

They can define compile-time dependencies on other shards.

Summary

Types

t()

@type t() :: %Vik.Shard{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  slug: String.t(),
  source_code: String.t(),
  title: String.t(),
  updated_at: term()
}

Functions

new_changeset(attrs \\ %{})

save_changeset(shard, attrs \\ %{})