@@ -188,7 +188,11 @@ public static function getRawKnownSchemas(): array
188188 'readOnly ' => true ,
189189 ],
190190 'name ' => ['type ' => Doc \Schema::TYPE_STRING ],
191- 'content ' => ['type ' => Doc \Schema::TYPE_STRING ],
191+ 'content ' => [
192+ 'type ' => Doc \Schema::TYPE_STRING ,
193+ 'format ' => Doc \Schema::FORMAT_STRING_HTML ,
194+ 'x-supports-mentions ' => true ,
195+ ],
192196 'user_recipient ' => self ::getDropdownTypeSchema (class: User::class, field: 'users_id_recipient ' , full_schema: 'User ' ) + ['x-version-introduced ' => '2.1.0 ' ],
193197 'user_editor ' => self ::getDropdownTypeSchema (class: User::class, field: 'users_id_lastupdater ' , full_schema: 'User ' ) + ['x-version-introduced ' => '2.1.0 ' ],
194198 'is_deleted ' => ['type ' => Doc \Schema::TYPE_BOOLEAN ],
@@ -605,7 +609,11 @@ public static function getRawKnownSchemas(): array
605609 'format ' => Doc \Schema::PATTERN_UUIDV4 ,
606610 'readOnly ' => true ,
607611 ],
608- 'content ' => ['type ' => Doc \Schema::TYPE_STRING ],
612+ 'content ' => [
613+ 'type ' => Doc \Schema::TYPE_STRING ,
614+ 'format ' => Doc \Schema::FORMAT_STRING_HTML ,
615+ 'x-supports-mentions ' => true ,
616+ ],
609617 'is_private ' => ['type ' => Doc \Schema::TYPE_BOOLEAN ],
610618 'user ' => self ::getDropdownTypeSchema (class: User::class, full_schema: 'User ' ),
611619 'user_editor ' => self ::getDropdownTypeSchema (class: User::class, field: 'users_id_editor ' , full_schema: 'User ' ),
@@ -773,7 +781,11 @@ public static function getRawKnownSchemas(): array
773781 ],
774782 'itemtype ' => ['type ' => Doc \Schema::TYPE_STRING ,],
775783 'items_id ' => ['type ' => Doc \Schema::TYPE_INTEGER , 'format ' => Doc \Schema::FORMAT_INTEGER_INT64 ],
776- 'content ' => ['type ' => Doc \Schema::TYPE_STRING ],
784+ 'content ' => [
785+ 'type ' => Doc \Schema::TYPE_STRING ,
786+ 'format ' => Doc \Schema::FORMAT_STRING_HTML ,
787+ 'x-supports-mentions ' => true ,
788+ ],
777789 'is_private ' => ['type ' => Doc \Schema::TYPE_BOOLEAN ],
778790 'user ' => self ::getDropdownTypeSchema (class: User::class, full_schema: 'User ' ),
779791 'user_editor ' => self ::getDropdownTypeSchema (class: User::class, field: 'users_id_editor ' , full_schema: 'User ' ),
@@ -818,7 +830,11 @@ public static function getRawKnownSchemas(): array
818830 ],
819831 'itemtype ' => ['type ' => Doc \Schema::TYPE_STRING ],
820832 'items_id ' => ['type ' => Doc \Schema::TYPE_INTEGER , 'format ' => Doc \Schema::FORMAT_INTEGER_INT64 ],
821- 'content ' => ['type ' => Doc \Schema::TYPE_STRING ],
833+ 'content ' => [
834+ 'type ' => Doc \Schema::TYPE_STRING ,
835+ 'format ' => Doc \Schema::FORMAT_STRING_HTML ,
836+ 'x-supports-mentions ' => true ,
837+ ],
822838 'user ' => self ::getDropdownTypeSchema (class: User::class, full_schema: 'User ' ),
823839 'user_editor ' => self ::getDropdownTypeSchema (class: User::class, field: 'users_id_editor ' , full_schema: 'User ' ),
824840 'approver ' => self ::getDropdownTypeSchema (class: User::class, field: 'users_id_approval ' , full_schema: 'User ' ) + ['x-version-introduced ' => '2.1.0 ' ],
@@ -895,10 +911,17 @@ public static function getRawKnownSchemas(): array
895911 'x-field ' => 'items_id_target ' ,
896912 'format ' => Doc \Schema::FORMAT_INTEGER_INT64 ,
897913 ],
898- 'submission_comment ' => ['type ' => Doc \Schema::TYPE_STRING , 'x-field ' => 'comment_submission ' ],
914+ 'submission_comment ' => [
915+ 'type ' => Doc \Schema::TYPE_STRING ,
916+ 'format ' => Doc \Schema::FORMAT_STRING_HTML ,
917+ 'x-field ' => 'comment_submission ' ,
918+ 'x-supports-mentions ' => true ,
919+ ],
899920 'approval_comment ' => [
900921 'type ' => Doc \Schema::TYPE_STRING ,
922+ 'format ' => Doc \Schema::FORMAT_STRING_HTML ,
901923 'x-field ' => 'comment_validation ' ,
924+ 'x-supports-mentions ' => true ,
902925 ],
903926 'status ' => [
904927 'type ' => Doc \Schema::TYPE_INTEGER ,
@@ -1045,7 +1068,7 @@ public static function getRawKnownSchemas(): array
10451068 'readOnly ' => true ,
10461069 ],
10471070 'name ' => ['type ' => Doc \Schema::TYPE_STRING ],
1048- 'text ' => ['type ' => Doc \Schema::TYPE_STRING ],
1071+ 'text ' => ['type ' => Doc \Schema::TYPE_STRING , ' format ' => Doc \Schema:: FORMAT_STRING_HTML ],
10491072 'comment ' => ['type ' => Doc \Schema::TYPE_STRING ],
10501073 'duration ' => ['type ' => Doc \Schema::TYPE_INTEGER ],
10511074 'before_time ' => ['type ' => Doc \Schema::TYPE_INTEGER ],
@@ -1106,7 +1129,7 @@ public static function getRawKnownSchemas(): array
11061129 'readOnly ' => true ,
11071130 ],
11081131 'name ' => ['type ' => Doc \Schema::TYPE_STRING ],
1109- 'text ' => ['type ' => Doc \Schema::TYPE_STRING ],
1132+ 'text ' => ['type ' => Doc \Schema::TYPE_STRING , ' format ' => Doc \Schema:: FORMAT_STRING_HTML ],
11101133 'template ' => self ::getDropdownTypeSchema (class: PlanningExternalEventTemplate::class, full_schema: 'ExternalEventTemplate ' ),
11111134 'category ' => self ::getDropdownTypeSchema (class: PlanningEventCategory::class, full_schema: 'EventCategory ' ),
11121135 'entity ' => self ::getDropdownTypeSchema (class: Entity::class, full_schema: 'Entity ' ),
0 commit comments