ArchAstro. Types. KeyValueStorageEntryWithUser
(archastro v0.2.0)
Copy Markdown
A key-value storage entry enriched with owner information. Developer and server-to-server callers receive user_email and user_name populated; end-user (user-JWT) callers receive those fields as null.
Summary
Types
@type t() :: %ArchAstro.Types.KeyValueStorageEntryWithUser{ created_at: DateTime.t(), key: String.t(), updated_at: DateTime.t(), user: String.t(), user_email: String.t() | ArchAstro.Unset.t(), user_name: String.t() | ArchAstro.Unset.t(), value: String.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()