@bufferapp/publish-utils
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "@bufferapp/publish-utils", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Misc. utils for dates, parsing, etc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -87,2 +87,9 @@ const { getDateString } = require('./date'); | ||
const isFixed = ( | ||
post.pinned || | ||
post.scheduled_at || | ||
post.due_at === 0 || | ||
post.error | ||
); | ||
return { | ||
@@ -117,3 +124,4 @@ day: post.day, | ||
pinned: post.pinned, | ||
isFixed, | ||
}; | ||
}; |
@@ -12,2 +12,3 @@ module.exports = profile => ({ | ||
schedules: profile.schedules, | ||
pausedSchedules: profile.paused_schedules, | ||
service: profile.service, | ||
@@ -22,3 +23,4 @@ service_type: profile.service_type, | ||
default: profile.default, | ||
paused: profile.paused, | ||
open: false, | ||
}); |
160176
1453