ArchAstro.Types.KeyValueStorageEntry (archastro v0.2.0)

Copy Markdown

A single key-value storage entry belonging to a user. Represents one key/value pair written to a user's isolated storage namespace within an app.

Summary

Types

t()

@type t() :: %ArchAstro.Types.KeyValueStorageEntry{
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  key: String.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  user: String.t(),
  value: String.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()