lib/ecoportal/api/v2/page/component/people_field.rb in ecoportal-api-oozes-0.7.2 vs lib/ecoportal/api/v2/page/component/people_field.rb in ecoportal-api-oozes-0.7.3
- old
+ new
@@ -2,10 +2,17 @@
module API
class V2
class Page
class Component
class PeopleField < Page::Component
- passarray :people_ids
+ passthrough :is_me_button, :attach_mode
+ passthrough :person_schema_id
+ pass_reader :viewable_fields
+ passthrough :singular, :requires_number
+ passarray :people_ids
+ pass_reader :cached_people
+ passthrough :attached_people_permissions_enabled, :apply_attached_people_permissions_to
+ passthrough :attached_people_permissions_editable, :attached_people_permissions_flags
def add(id)
people_ids << id
end