From 83cd7ce064b8a46a106dc855d748b1bd7e45af01 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 4 Jan 2019 17:25:39 +0100 Subject: Removes 'id' field from ataxia entry values. While sometimes usefull as a way to retrieve the object's ID, they were both redundant (you can't get the object without its ID anyway) and bothersome to maintain (insert + update, which would have required setting up a bounty for any insert). --- src/shared/struct/shr_inventory.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared/struct/shr_inventory.erl') diff --git a/src/shared/struct/shr_inventory.erl b/src/shared/struct/shr_inventory.erl index 0225fcb..1f04533 100644 --- a/src/shared/struct/shr_inventory.erl +++ b/src/shared/struct/shr_inventory.erl @@ -3,6 +3,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +-type id() :: ataxia_id:type(). -record ( inventory, @@ -18,7 +19,7 @@ -opaque type() :: #inventory{}. --export_type([type/0]). +-export_type([type/0, id/0]). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% EXPORTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3-70-g09d2