@smartico/public-api 0.0.159 → 0.0.160
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.
|
@@ -390,6 +390,8 @@ export interface TMissionOrBadge {
|
|
|
390
390
|
is_opted_in: boolean;
|
|
391
391
|
/** The amount of time in milliseconds that user has to complete the mission */
|
|
392
392
|
time_limit_ms: number;
|
|
393
|
+
/** Holds time from which mission will become available, for the missions that are targeted to be available from specific date/time */
|
|
394
|
+
active_from_ts: number;
|
|
393
395
|
/** The date when the mission was started, relevant for the time limited missions */
|
|
394
396
|
dt_start: number;
|
|
395
397
|
/** The progress of the mission in percents calculated as the aggregated relative percentage of all tasks */
|
package/dist/index.js
CHANGED
|
@@ -842,6 +842,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
|
|
|
842
842
|
is_requires_optin: r.requiresOptin,
|
|
843
843
|
is_opted_in: r.isOptedIn,
|
|
844
844
|
time_limit_ms: r.time_limit_ms,
|
|
845
|
+
active_from_ts: r.active_from_ts,
|
|
845
846
|
dt_start: r.start_date_ts,
|
|
846
847
|
reward: r.ach_public_meta.reward,
|
|
847
848
|
progress: r.progress,
|