lib/ecoportal/api/v2/page/component/action.rb in ecoportal-api-v2-0.8.8 vs lib/ecoportal/api/v2/page/component/action.rb in ecoportal-api-v2-0.8.9
- old
+ new
@@ -10,17 +10,25 @@
"id" => new_uuid,
"weight" => 9999
}
end
end
-
+
passkey :id
passthrough :patch_ver, :name
- passthrough :weight, :complete, :other_information
- passdate :due_date
- pass_reader :overdue
+ passthrough :weight, :other_information
+ passboolean :complete
+
passdate :created_at, read_only: true #, :completed_at
- pass_reader :created_by, :assigned_person_member_id
+ passthrough :created_by, read_only: true
+ passthrough :assigned_person_member_id, :assigned_person_member
+
+ passdate :due_date, :reminder_date
+ passboolean :overdue, read_only: true
+
+ passthrough :duration_in_days, read_only: true
+ passarray :file_container_ids
+
end
end
end
end
end