ArchAstro.Types.InviteCreator (archastro v0.2.0)

Copy Markdown

A minimal, public-safe projection of the user who sent an invite, exposed to unauthenticated recipients so they can render a join screen. Only identity fields are included; sensitive fields such as email address and organization membership are omitted.

Summary

Types

t()

@type t() :: %ArchAstro.Types.InviteCreator{
  id: String.t(),
  name: String.t() | ArchAstro.Unset.t(),
  profile_picture: ArchAstro.Types.ImageSource.t() | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()