From 648ca7febe4f09c663386ee2ea610d8ab150e053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 29 Oct 2023 21:51:17 +0100 Subject: Identity extension data --- include/erebos/identity.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/erebos/identity.h b/include/erebos/identity.h index 336a18a..7829361 100644 --- a/include/erebos/identity.h +++ b/include/erebos/identity.h @@ -10,6 +10,7 @@ using std::vector; template class Signed; struct IdentityData; +struct StoredIdentityPart; class Identity { @@ -22,9 +23,11 @@ public: static std::optional load(const Ref &); static std::optional load(const std::vector &); static std::optional load(const std::vector>> &); + static std::optional load(const std::vector &); std::vector store() const; std::vector store(const Storage & st) const; - const vector>> & data() const; + vector>> data() const; + vector extData() const; std::optional name() const; std::optional owner() const; @@ -59,6 +62,7 @@ public: static Builder create(const Storage &); Builder modify() const; Identity update(const vector>> &) const; + Identity update(const vector &) const; private: struct Priv; -- cgit v1.2.3