@smartico/public-api 0.0.116 → 0.0.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -394,6 +394,8 @@ export interface TMissionOrBadge {
394
394
  category_ids: number[];
395
395
  /** The T&C text for the missions */
396
396
  hint_text?: string;
397
+ /** Priority (or position) of the mission in the UI. Low value indicates higher position in the UI */
398
+ position?: number;
397
399
  }
398
400
  export interface AchRelatedGame {
399
401
  /** The ID of the related game */
package/dist/index.js CHANGED
@@ -685,6 +685,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
685
685
  custom_section_id: r.ach_public_meta.custom_section_id,
686
686
  only_in_custom_section: r.ach_public_meta.only_in_custom_section,
687
687
  custom_data: IntUtils.JsonOrText(r.ach_public_meta.custom_data),
688
+ position: r.ach_public_meta.position,
688
689
  tasks: (r.achievementTasks || []).filter(function (t) {
689
690
  return t.task_type_id === exports.AchievementTaskType.CompleteAchievement;
690
691
  }).map(function (t) {