Skip to content

Commit

Permalink
Better align identity data
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Apr 13, 2024
1 parent b50ed28 commit a59920a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/kino/hub.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ defmodule Kino.Hub do
| %{type: :none}

@type user_info :: %{
id: String.t(),
name: String.t() | nil,
email: String.t() | nil,
source: atom(),
payload: map() | nil
required(:id) => String.t(),
required(:source) => atom(),
optional(:name) => String.t(),
optional(:email) => String.t(),
optional(:payload) => map()
}

@doc """
Expand Down

0 comments on commit a59920a

Please sign in to comment.